Skip to content

Commit a31cb4a

Browse files
fombalangHanson
authored and
Hanson
committed
theme: Fix wrong variable in contextMenuItemText color field
Fix some wrong color variables that were assigned to the contextMenuItemText field.
1 parent fba1301 commit a31cb4a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/widgets/theme.dart

+2-2
Original file line numberDiff line numberDiff line change
@@ -410,7 +410,7 @@ class DesignVariables extends ThemeExtension<DesignVariables> {
410410
contextMenuItemBg: contextMenuItemBg ?? this.contextMenuItemBg,
411411
contextMenuItemLabel: contextMenuItemLabel ?? this.contextMenuItemLabel,
412412
contextMenuItemMeta: contextMenuItemMeta ?? this.contextMenuItemMeta,
413-
contextMenuItemText: contextMenuItemText ?? this.contextMenuItemBg,
413+
contextMenuItemText: contextMenuItemText ?? this.contextMenuItemText,
414414
editorButtonPressedBg: editorButtonPressedBg ?? this.editorButtonPressedBg,
415415
foreground: foreground ?? this.foreground,
416416
icon: icon ?? this.icon,
@@ -467,7 +467,7 @@ class DesignVariables extends ThemeExtension<DesignVariables> {
467467
contextMenuItemBg: Color.lerp(contextMenuItemBg, other.contextMenuItemBg, t)!,
468468
contextMenuItemLabel: Color.lerp(contextMenuItemLabel, other.contextMenuItemLabel, t)!,
469469
contextMenuItemMeta: Color.lerp(contextMenuItemMeta, other.contextMenuItemMeta, t)!,
470-
contextMenuItemText: Color.lerp(contextMenuItemText, other.contextMenuItemBg, t)!,
470+
contextMenuItemText: Color.lerp(contextMenuItemText, other.contextMenuItemText, t)!,
471471
editorButtonPressedBg: Color.lerp(editorButtonPressedBg, other.editorButtonPressedBg, t)!,
472472
foreground: Color.lerp(foreground, other.foreground, t)!,
473473
icon: Color.lerp(icon, other.icon, t)!,

0 commit comments

Comments
 (0)