config: make ‘starlight’ the default color theme

Closes #1321
This commit is contained in:
Daniel Eklöf 2023-07-14 10:11:30 +02:00
parent f53e7f7478
commit efc619b0af
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F
3 changed files with 27 additions and 23 deletions

View file

@ -63,6 +63,9 @@
### Changed ### Changed
* Default color theme is now
[starlight](https://github.com/CosmicToast/starlight)
([#1321][1321]).
* Minimum required meson version is now 0.59 ([#1371][1371]). * Minimum required meson version is now 0.59 ([#1371][1371]).
* `Control+Shift+u` is now bound to `unicode-input` instead of * `Control+Shift+u` is now bound to `unicode-input` instead of
`show-urls-launch`, to follow the convention established in GTK and `show-urls-launch`, to follow the convention established in GTK and
@ -99,6 +102,7 @@
selected, or when the cell has the `reverse` (SGR 7) attribute set selected, or when the cell has the `reverse` (SGR 7) attribute set
([#1347][1347]). ([#1347][1347]).
[1321]: https://codeberg.org/dnkl/foot/issues/1321
[1371]: https://codeberg.org/dnkl/foot/pulls/1371 [1371]: https://codeberg.org/dnkl/foot/pulls/1371
[1183]: https://codeberg.org/dnkl/foot/issues/1183 [1183]: https://codeberg.org/dnkl/foot/issues/1183
[1360]: https://codeberg.org/dnkl/foot/issues/1360 [1360]: https://codeberg.org/dnkl/foot/issues/1360

View file

@ -30,8 +30,8 @@
#include "xmalloc.h" #include "xmalloc.h"
#include "xsnprintf.h" #include "xsnprintf.h"
static const uint32_t default_foreground = 0x839496; static const uint32_t default_foreground = 0xffffff;
static const uint32_t default_background = 0x002b36; static const uint32_t default_background = 0x242424;
static const size_t min_csd_border_width = 5; static const size_t min_csd_border_width = 5;
@ -48,23 +48,23 @@ static const size_t min_csd_border_width = 5;
static const uint32_t default_color_table[256] = { static const uint32_t default_color_table[256] = {
// Regular // Regular
0x073642, 0x242424,
0xdc322f, 0xcf1745,
0x859900, 0x3ecf5b,
0xb58900, 0xcfcf17,
0x268bd2, 0x0ba6da,
0xd33682, 0xd926ac,
0x2aa198, 0x17cfa1,
0xeee8d5, 0xe6e6e6,
// Bright // Bright
0x08404f, 0x616161,
0xe35f5c, 0xff1a53,
0x9fb700, 0x17e640,
0xd9a400, 0xecff1a,
0x4ba1de, 0x1ac6ff,
0xdc619d, 0xf53dc7,
0x32c1b6, 0x1affc6,
0xffffff, 0xffffff,
// 6x6x6 RGB cube // 6x6x6 RGB cube

View file

@ -563,15 +563,15 @@ can configure the background transparency with the _alpha_ option.
*regular0*, *regular1* *..* *regular7* *regular0*, *regular1* *..* *regular7*
The eight basic ANSI colors (Black, Red, Green, Yellow, Blue, The eight basic ANSI colors (Black, Red, Green, Yellow, Blue,
Magenta, Cyan, White). Default: _073642_, _dc322f_, _859900_, Magenta, Cyan, White). Default: _242424_, _cf1745_, _3ecf5b_,
_b58900_, _268bd2_, _d33682_, _2aa198_ and _eee8d5_ (a variant of _cfcf17_, _0ba6da_, _d926ac_, _17cfa1_, _e6e6e6_ (starlight
the _solarized dark_ theme). theme).
*bright0*, *bright1* *..* *bright7* *bright0*, *bright1* *..* *bright7*
The eight bright ANSI colors (Black, Red, Green, Yellow, Blue, The eight bright ANSI colors (Black, Red, Green, Yellow, Blue,
Magenta, Cyan, White). Default: _08404f_, _e35f5c_, _9fb700_, Magenta, Cyan, White). Default: _616161_, _ff1a53_, _17e640_,
_d9a400_, _4ba1de_, _dc619d_, _32c1b6_ and _ffffff_ (a variant of _ecff1a_, _1ac6ff_, _f53dc7_, _1affc6_, _ffffff_ (starlight
the _solarized dark_ theme). theme).
*dim0*, *dim1* *..* *dim7* *dim0*, *dim1* *..* *dim7*
Custom colors to use with dimmed colors. Dimmed colors do not have Custom colors to use with dimmed colors. Dimmed colors do not have