foot/themes/tempus-fugit
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

30 lines
651 B
Text

# -*- conf -*-
# theme: Tempus Fugit
# author: Protesilaos Stavrou (https://protesilaos.com)
# description: Light, pleasant theme optimised for long writing/coding sessions (WCAG AA compliant)
[main]
initial-color-theme=light
[colors-light]
#cursor = fff5f3 4d595f
foreground = 4d595f
background = fff5f3
regular0 = 4d595f
regular1 = c61a14
regular2 = 357200
regular3 = 825e00
regular4 = 1666b0
regular5 = a83884
regular6 = 007072
regular7 = efe6e4
bright0 = 796271
bright1 = b93f1a
bright2 = 437520
bright3 = 985900
bright4 = 485adf
bright5 = a234c0
bright6 = 00756a
bright7 = fff5f3
# selection-foreground = 796271
# selection-background = efe6e4