Use internal names

This commit is contained in:
Johannes Marbach 2024-03-30 20:09:54 +01:00
parent 925b56d16e
commit 65637dcb43

View file

@ -16,7 +16,7 @@
*/ */
/* Breezy light (based on KDE Breeze color palette, see https://develop.kde.org/hig/style/color/default/) */ /* Breezy light (based on KDE Breeze color palette, see https://develop.kde.org/hig/style/color/default/) */
static const bb_theme bb_themes_breezy_light = { static const bb_theme breezy_light = {
.name = "breezy-light", .name = "breezy-light",
.window = { .window = {
.bg_color = 0xeff0f1 .bg_color = 0xeff0f1
@ -174,7 +174,7 @@ static const bb_theme bb_themes_breezy_light = {
/* Breezy dark (based on KDE Breeze Dark color palette, see https://develop.kde.org/hig/style/color/dark/) */ /* Breezy dark (based on KDE Breeze Dark color palette, see https://develop.kde.org/hig/style/color/dark/) */
static const bb_theme bb_themes_breezy_dark = { static const bb_theme breezy_dark = {
.name = "breezy-dark", .name = "breezy-dark",
.window = { .window = {
.bg_color = 0x31363b .bg_color = 0x31363b
@ -331,7 +331,7 @@ static const bb_theme bb_themes_breezy_dark = {
}; };
/* pmOS light (based on palette https://coolors.co/009900-395e66-db504a-e3b505-ebf5ee) */ /* pmOS light (based on palette https://coolors.co/009900-395e66-db504a-e3b505-ebf5ee) */
static const bb_theme bb_themes_pmos_light = { static const bb_theme pmos_light = {
.name = "pmos-light", .name = "pmos-light",
.window = { .window = {
.bg_color = 0xf2f7f8, .bg_color = 0xf2f7f8,
@ -488,7 +488,7 @@ static const bb_theme bb_themes_pmos_light = {
}; };
/* pmOS dark (based on palette https://coolors.co/009900-395e66-db504a-e3b505-ebf5ee) */ /* pmOS dark (based on palette https://coolors.co/009900-395e66-db504a-e3b505-ebf5ee) */
static const bb_theme bb_themes_pmos_dark = { static const bb_theme pmos_dark = {
.name = "pmos-dark", .name = "pmos-dark",
.window = { .window = {
.bg_color = 0x070c0d .bg_color = 0x070c0d
@ -650,10 +650,10 @@ static const bb_theme bb_themes_pmos_dark = {
const int bb_themes_num_themes = 4; const int bb_themes_num_themes = 4;
const bb_theme *bb_themes_themes[] = { const bb_theme *bb_themes_themes[] = {
&bb_themes_breezy_light, &breezy_light,
&bb_themes_breezy_dark, &breezy_dark,
&bb_themes_pmos_light, &pmos_light,
&bb_themes_pmos_dark &pmos_dark
}; };
bb_themes_theme_id_t bb_themes_find_theme_with_name(const char *name) { bb_themes_theme_id_t bb_themes_find_theme_with_name(const char *name) {