forked from reya/gpui-native-kit
add toast
This commit is contained in:
@@ -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),
|
||||
|
||||
Reference in New Issue
Block a user