tune(notifier): notifyInfo en cian i text una mica més gran
- COLOR_INFO passa de blanc neutre (230,230,230) a cian (80,230,255) per a diferenciar més els toasts informatius dels d'avís/error. - TEXT_SCALE de 0.4 → 0.55 perquè el text sigui més llegible amb l'aspect-fit del viewport. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -14,7 +14,7 @@ namespace System {
|
|||||||
constexpr float PADDING_H = 16.0F;
|
constexpr float PADDING_H = 16.0F;
|
||||||
constexpr float PADDING_V = 10.0F;
|
constexpr float PADDING_V = 10.0F;
|
||||||
constexpr float BORDER_THICKNESS = 2.0F;
|
constexpr float BORDER_THICKNESS = 2.0F;
|
||||||
constexpr float TEXT_SCALE = 0.4F;
|
constexpr float TEXT_SCALE = 0.55F;
|
||||||
constexpr float TEXT_SPACING = 2.0F;
|
constexpr float TEXT_SPACING = 2.0F;
|
||||||
constexpr float BORDER_BRIGHTNESS = 1.0F;
|
constexpr float BORDER_BRIGHTNESS = 1.0F;
|
||||||
|
|
||||||
@@ -49,7 +49,7 @@ namespace System {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Presets per als atajos semàntics.
|
// Presets per als atajos semàntics.
|
||||||
constexpr SDL_Color COLOR_INFO{.r = 230, .g = 230, .b = 230, .a = 255};
|
constexpr SDL_Color COLOR_INFO{.r = 80, .g = 230, .b = 255, .a = 255};
|
||||||
constexpr SDL_Color COLOR_WARN{.r = 255, .g = 180, .b = 40, .a = 255};
|
constexpr SDL_Color COLOR_WARN{.r = 255, .g = 180, .b = 40, .a = 255};
|
||||||
constexpr SDL_Color COLOR_EXIT{.r = 255, .g = 80, .b = 80, .a = 255};
|
constexpr SDL_Color COLOR_EXIT{.r = 255, .g = 80, .b = 80, .a = 255};
|
||||||
constexpr float DURATION_INFO = 2.0F;
|
constexpr float DURATION_INFO = 2.0F;
|
||||||
|
|||||||
Reference in New Issue
Block a user