add toast

This commit is contained in:
2026-10-30 01:31:16 +07:00
parent e03b04793c
commit 64f4c3ff0c
13 changed files with 558 additions and 44 deletions
+12
View File
@@ -29,6 +29,10 @@ pub struct ColorTokens {
pub accent_foreground: Hsla,
pub destructive: Hsla,
pub destructive_foreground: Hsla,
pub success: Hsla,
pub success_foreground: Hsla,
pub warning: Hsla,
pub warning_foreground: Hsla,
pub border: Hsla,
pub input: Hsla,
pub ring: Hsla,
@@ -57,6 +61,10 @@ impl ColorTokens {
accent_foreground: hex(0xffffff),
destructive: hex(0xdc2626),
destructive_foreground: hex(0xffffff),
success: hex(0x16a34a),
success_foreground: hex(0xffffff),
warning: hex(0xd97706),
warning_foreground: hex(0xffffff),
border: hex(0xe4e4e7),
input: hex(0xe4e4e7),
ring: hex(0x93c5fd),
@@ -84,6 +92,10 @@ impl ColorTokens {
accent_foreground: hex(0xffffff),
destructive: hex(0xef4444),
destructive_foreground: hex(0xffffff),
success: hex(0x22c55e),
success_foreground: hex(0x052e16),
warning: hex(0xf59e0b),
warning_foreground: hex(0x451a03),
border: hex(0x27272a),
input: hex(0x27272a),
ring: hex(0x1d4ed8),