From ac997c185d044d8c916e5c6ac806cee4c5a22057 Mon Sep 17 00:00:00 2001 From: Sergio Valor Date: Tue, 19 May 2026 20:08:07 +0200 Subject: [PATCH] notifications: paleta semi-saturada (mig cami entre pastel i color pur) --- source/core/rendering/notifications.cpp | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/source/core/rendering/notifications.cpp b/source/core/rendering/notifications.cpp index 7689612..8350ea4 100644 --- a/source/core/rendering/notifications.cpp +++ b/source/core/rendering/notifications.cpp @@ -6,13 +6,14 @@ namespace Notifications { namespace { - // Paleta pastel. Per a tunejar l'aparença només cal tocar aquí. + // Paleta semi-saturada: a mig cami entre pastel i color "pur". Manté + // contrast del outline (foscor) sense diluir el matís. // (Color no és literal type ⇒ const, no constexpr.) - const Color INFO_COLOR{0xF0, 0xE0, 0x90}; // groc trigo - const Color TOGGLE_COLOR{0xA0, 0xE0, 0xF0}; // cian gel - const Color CHOICE_COLOR{0xE0, 0xA0, 0xE0}; // rosa orquídia - const Color SUCCESS_COLOR{0xB0, 0xE6, 0xB0}; // verd menta - const Color DANGER_COLOR{0xF0, 0xA0, 0xA0}; // rosa salmó + const Color INFO_COLOR{0xF0, 0xD0, 0x40}; // groc + const Color TOGGLE_COLOR{0x60, 0xC0, 0xF0}; // cian + const Color CHOICE_COLOR{0xD0, 0x60, 0xD0}; // magenta + const Color SUCCESS_COLOR{0x70, 0xD0, 0x70}; // verd + const Color DANGER_COLOR{0xF0, 0x60, 0x60}; // vermell // Factor de foscor per a l'outline (~40% de la lluminositat del // color base): manté el matís i queda prou fosc per a contrastar