foot/themes/panda
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
No EOL
642 B
Text

# -*- conf -*-
# http://panda.siamak.me/
[colors-dark]
# alpha=1.0
background=1D1E20
foreground=F0F0F0
## Normal/regular colors (color palette 0-7)
regular0=1F1F20 # black
regular1=FB055A # red
regular2=26FFD4 # green
regular3=26FFD4 # yellow
regular4=5C9FFF # blue
regular5=FC59A6 # magenta
regular6=26FFD4 # cyan
regular7=F0F0F0 # white
## Bright colors (color palette 8-15)
bright0=5C6370 # bright black
bright1=FB055A # bright red
bright2=26FFD4 # bright green
bright3=FEBE7E # bright yellow
bright4=55ADFF # bright blue
bright5=FD95D0 # bright magenta
bright6=26FFD4 # bright cyan
bright7=F0F0F0 # bright white