Skip to content

feat: Add color themes - #14

Merged
AnmiTaliDev merged 1 commit into
mainfrom
feature/theming
Jul 31, 2026
Merged

AnmiTaliDev merged 1 commit into
mainfrom
feature/theming

Conversation

@AnmiTaliDev

Copy link
Copy Markdown
Owner

Introduce built-in 256-color dark/light themes plus a mono fallback that reproduces the original reverse-video/underline look. Resolve the active theme from --theme=NAME, DAF_THEME, a minimal key=value config file, or a meson-configured build default, in that order. Rework render.c to switch styles via reset+role instead of ad hoc SGR toggles, since backgrounds can't be un-set the way reverse/underline bits can.

Introduce built-in 256-color dark/light themes plus a mono
fallback that reproduces the original reverse-video/underline
look. Resolve the active theme from --theme=NAME, DAF_THEME,
a minimal key=value config file, or a meson-configured build
default, in that order. Rework render.c to switch styles via
reset+role instead of ad hoc SGR toggles, since backgrounds
can't be un-set the way reverse/underline bits can.
@AnmiTaliDev
AnmiTaliDev merged commit 5b5f9c4 into main Jul 31, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant