Intro: les tarjetes ara tenen sombra

Intro: colors configurables a param
This commit is contained in:
2025-07-14 19:20:28 +02:00
parent d35032a42a
commit bfd3943bba
5 changed files with 105 additions and 59 deletions

View File

@@ -78,6 +78,11 @@ void initParam()
param.notification.pos_h = NotifyPosition::LEFT;
param.notification.sound = false;
param.notification.color = Color(48, 48, 48);
// INTRO
param.intro.bg_color = Color::fromHex("543149");
param.intro.card_color = Color::fromHex("CBDBFC");
param.intro.shadow_color = Color::fromHex("00000080");
}
// Carga los parámetros desde un archivo
@@ -455,6 +460,11 @@ bool setParams(const std::string &var, const std::string &value)
param.intro.card_color = Color::fromHex(value);
}
else if (var == "intro.shadow_color")
{
param.intro.shadow_color = Color::fromHex(value);
}
// DEBUG
else if (var == "debug.color")
{