Commit Graph

4 Commits

Author SHA1 Message Date
codinget ab4c9a6228 Prefix all theme display names with "Doki Theme: "
Groups all generated themes together in the Gitea theme picker.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-22 17:51:17 +00:00
codinget 000599e191 Fix series name for themes with a character subdir but no variant
Three layout depths exist under definitions/:
  series/file.json              (e.g. Megumin)
  series/character/file.json    (e.g. Rem, Ram, Beatrice, Miku)
  series/character/variant/file.json  (most themes)

Counting from the end of the path produced wrong series names for the
middle case. Always read the series as the first directory after
'definitions/' instead.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-22 17:49:50 +00:00
codinget bfcc21fb27 Fix invisible borders on Rem and Ram themes
Both themes set borderColor == baseBackground in their IDE editor-scheme
override (a seamless look for code editors). For the web UI secondary
colour, fall back to secondaryBackground when borderColor would match
the page background exactly.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-22 17:42:02 +00:00
codinget f2baf869c9 Add TypeScript theme generator for doki-master-theme palettes
Generates one Gitea-compatible CSS theme file per doki-master-theme
definition (88 themes). Each file contains a gitea-theme-meta-info
block and a :root block with the full set of CSS custom properties
derived from the character's colour palette.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-22 17:38:38 +00:00