Increase max length of custom themes to 32

This commit is contained in:
schroda
2026-01-02 22:40:03 +01:00
parent 4eaa701851
commit ce4eb98cbc
2 changed files with 2 additions and 1 deletions

View File

@@ -12,6 +12,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/).
### Changed
- (**Theme**) Improve automatic theme background colors
- (**Theme**) Adjust "primary color" of dynamic color theme on manga pages
- (**Theme**) Increase max length of custom theme names to 32 (previously 16)
## [20251230.01] (r2937) - 2025-12-30

View File

@@ -179,7 +179,7 @@ export const ThemeCreationDialog = ({
onChange={(e) => {
const name = e.target.value.trim();
const isValidLength = name.length <= 16;
const isValidLength = name.length <= 32;
const isUnique = isThemeNameUnique(name, customThemes);
setInvalidName(!isValidLength || !isUnique);