foot/themes/tempus-rift
Daniel Eklöf cf2b390f6e
config: add [colors-dark] and [colors-light], replacing [colors] and [colors2]
The main reason for having two color sections is to be able to switch
between dark and light. Thus, it's better if the section names reflect
this, rather than the more generic 'colors' and 'colors2' (which was
the dark one and which was the light one, now again?)

When the second color section was added, we kept the original name,
colors, to make sure we didn't break existing configurations, and
third-party themes.

However, in the long run, it's probably better to be specific in the
section naming, to avoid confusion.

So, add 'colors-dark', and 'colors-light'. Keep 'colors' and 'colors2'
as aliases for now, but mark them as deprecated. They WILL be removed
in a future release.

Also rename the option values for initial-color-theme, from 1/2, to
dark/light. Keep the old ones for now, marked as deprecated.

Update all bundled themes to use the new names. In the light-only
themes (i.e. themes that define a single, light, theme), use
colors-light, and set initial-color-theme=light.

Possible improvements: disable color switching if only one color
section has been explicitly configured (todo: figure out how to handle
the default color theme values...)
2025-12-20 15:51:30 +01:00

27 lines
618 B
Text

# -*- conf -*-
# theme: Tempus Rift
# author: Protesilaos Stavrou (https://protesilaos.com)
# description: Dark theme with a subdued palette on the green side of the spectrum (WCAG AA compliant)
[colors-dark]
#cursor = 162c22 bbbcbc
foreground = bbbcbc
background = 162c22
regular0 = 162c22
regular1 = c19904
regular2 = 34b534
regular3 = 7fad00
regular4 = 30aeb0
regular5 = c8954c
regular6 = 5fad8f
regular7 = ab9aa9
bright0 = 283431
bright1 = d2a634
bright2 = 6ac134
bright3 = 82bd00
bright4 = 56bdad
bright5 = cca0ba
bright6 = 10c480
bright7 = bbbcbc
# selection-foreground = ab9aa9
# selection-background = 283431