@@ -161,10 +161,13 @@ class DesignVariables extends ThemeExtension<DesignVariables> {
161
161
composeBoxBg: const Color (0xffffffff ),
162
162
contextMenuCancelText: const Color (0xff222222 ),
163
163
contextMenuItemBg: const Color (0xff6159e1 ),
164
+ contextMenuItemBgDanger: const Color (0xffc0070a ), // TODO(#831) red/550
164
165
contextMenuItemIcon: const Color (0xff4f42c9 ),
166
+ contextMenuItemIconDanger: const Color (0xffac0508 ), // TODO(#831) red/600
165
167
contextMenuItemLabel: const Color (0xff242631 ),
166
168
contextMenuItemMeta: const Color (0xff626573 ),
167
169
contextMenuItemText: const Color (0xff381da7 ),
170
+ contextMenuItemTextDanger: const Color (0xffac0508 ), // TODO(#831) red/600
168
171
editorButtonPressedBg: Colors .black.withValues (alpha: 0.06 ),
169
172
fabBg: const Color (0xff6e69f3 ),
170
173
fabBgPressed: const Color (0xff6159e1 ),
@@ -252,10 +255,13 @@ class DesignVariables extends ThemeExtension<DesignVariables> {
252
255
composeBoxBg: const Color (0xff0f0f0f ),
253
256
contextMenuCancelText: const Color (0xffffffff ).withValues (alpha: 0.75 ),
254
257
contextMenuItemBg: const Color (0xff7977fe ),
258
+ contextMenuItemBgDanger: const Color (0xffe1392e ), // TODO(#831) red/450
255
259
contextMenuItemIcon: const Color (0xff9398fd ),
260
+ contextMenuItemIconDanger: const Color (0xfffd7465 ), // TODO(#831) red/300
256
261
contextMenuItemLabel: const Color (0xffdfe1e8 ),
257
262
contextMenuItemMeta: const Color (0xff9194a3 ),
258
263
contextMenuItemText: const Color (0xff9398fd ),
264
+ contextMenuItemTextDanger: const Color (0xfffd7465 ), // TODO(#831) red/300
259
265
editorButtonPressedBg: Colors .white.withValues (alpha: 0.06 ),
260
266
fabBg: const Color (0xff4f42c9 ),
261
267
fabBgPressed: const Color (0xff4331b8 ),
@@ -352,10 +358,13 @@ class DesignVariables extends ThemeExtension<DesignVariables> {
352
358
required this .composeBoxBg,
353
359
required this .contextMenuCancelText,
354
360
required this .contextMenuItemBg,
361
+ required this .contextMenuItemBgDanger,
355
362
required this .contextMenuItemIcon,
363
+ required this .contextMenuItemIconDanger,
356
364
required this .contextMenuItemLabel,
357
365
required this .contextMenuItemMeta,
358
366
required this .contextMenuItemText,
367
+ required this .contextMenuItemTextDanger,
359
368
required this .editorButtonPressedBg,
360
369
required this .foreground,
361
370
required this .fabBg,
@@ -443,10 +452,13 @@ class DesignVariables extends ThemeExtension<DesignVariables> {
443
452
final Color composeBoxBg;
444
453
final Color contextMenuCancelText;
445
454
final Color contextMenuItemBg;
455
+ final Color contextMenuItemBgDanger;
446
456
final Color contextMenuItemIcon;
457
+ final Color contextMenuItemIconDanger;
447
458
final Color contextMenuItemLabel;
448
459
final Color contextMenuItemMeta;
449
460
final Color contextMenuItemText;
461
+ final Color contextMenuItemTextDanger;
450
462
final Color editorButtonPressedBg;
451
463
final Color fabBg;
452
464
final Color fabBgPressed;
@@ -529,10 +541,13 @@ class DesignVariables extends ThemeExtension<DesignVariables> {
529
541
Color ? composeBoxBg,
530
542
Color ? contextMenuCancelText,
531
543
Color ? contextMenuItemBg,
544
+ Color ? contextMenuItemBgDanger,
532
545
Color ? contextMenuItemIcon,
546
+ Color ? contextMenuItemIconDanger,
533
547
Color ? contextMenuItemLabel,
534
548
Color ? contextMenuItemMeta,
535
549
Color ? contextMenuItemText,
550
+ Color ? contextMenuItemTextDanger,
536
551
Color ? editorButtonPressedBg,
537
552
Color ? fabBg,
538
553
Color ? fabBgPressed,
@@ -610,10 +625,13 @@ class DesignVariables extends ThemeExtension<DesignVariables> {
610
625
composeBoxBg: composeBoxBg ?? this .composeBoxBg,
611
626
contextMenuCancelText: contextMenuCancelText ?? this .contextMenuCancelText,
612
627
contextMenuItemBg: contextMenuItemBg ?? this .contextMenuItemBg,
628
+ contextMenuItemBgDanger: contextMenuItemBgDanger ?? this .contextMenuItemBgDanger,
613
629
contextMenuItemIcon: contextMenuItemIcon ?? this .contextMenuItemIcon,
630
+ contextMenuItemIconDanger: contextMenuItemIconDanger ?? this .contextMenuItemIconDanger,
614
631
contextMenuItemLabel: contextMenuItemLabel ?? this .contextMenuItemLabel,
615
632
contextMenuItemMeta: contextMenuItemMeta ?? this .contextMenuItemMeta,
616
633
contextMenuItemText: contextMenuItemText ?? this .contextMenuItemText,
634
+ contextMenuItemTextDanger: contextMenuItemTextDanger ?? this .contextMenuItemTextDanger,
617
635
editorButtonPressedBg: editorButtonPressedBg ?? this .editorButtonPressedBg,
618
636
foreground: foreground ?? this .foreground,
619
637
fabBg: fabBg ?? this .fabBg,
@@ -698,10 +716,13 @@ class DesignVariables extends ThemeExtension<DesignVariables> {
698
716
composeBoxBg: Color .lerp (composeBoxBg, other.composeBoxBg, t)! ,
699
717
contextMenuCancelText: Color .lerp (contextMenuCancelText, other.contextMenuCancelText, t)! ,
700
718
contextMenuItemBg: Color .lerp (contextMenuItemBg, other.contextMenuItemBg, t)! ,
719
+ contextMenuItemBgDanger: Color .lerp (contextMenuItemBgDanger, other.contextMenuItemBgDanger, t)! ,
701
720
contextMenuItemIcon: Color .lerp (contextMenuItemIcon, other.contextMenuItemIcon, t)! ,
721
+ contextMenuItemIconDanger: Color .lerp (contextMenuItemIconDanger, other.contextMenuItemIconDanger, t)! ,
702
722
contextMenuItemLabel: Color .lerp (contextMenuItemLabel, other.contextMenuItemLabel, t)! ,
703
723
contextMenuItemMeta: Color .lerp (contextMenuItemMeta, other.contextMenuItemMeta, t)! ,
704
724
contextMenuItemText: Color .lerp (contextMenuItemText, other.contextMenuItemText, t)! ,
725
+ contextMenuItemTextDanger: Color .lerp (contextMenuItemTextDanger, other.contextMenuItemTextDanger, t)! ,
705
726
editorButtonPressedBg: Color .lerp (editorButtonPressedBg, other.editorButtonPressedBg, t)! ,
706
727
foreground: Color .lerp (foreground, other.foreground, t)! ,
707
728
fabBg: Color .lerp (fabBg, other.fabBg, t)! ,
0 commit comments