Skip to content

Commit 341634c

Browse files
fombalanggnprice
authored andcommitted
theme: Fix wrong variable in contextMenuItemText color field
Fix some wrong color variables that were assigned to the contextMenuItemText field.
1 parent 3273eaf commit 341634c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/widgets/theme.dart

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -349,7 +349,7 @@ class DesignVariables extends ThemeExtension<DesignVariables> {
349349
contextMenuItemBg: contextMenuItemBg ?? this.contextMenuItemBg,
350350
contextMenuItemLabel: contextMenuItemLabel ?? this.contextMenuItemLabel,
351351
contextMenuItemMeta: contextMenuItemMeta ?? this.contextMenuItemMeta,
352-
contextMenuItemText: contextMenuItemText ?? this.contextMenuItemBg,
352+
contextMenuItemText: contextMenuItemText ?? this.contextMenuItemText,
353353
editorButtonPressedBg: editorButtonPressedBg ?? this.editorButtonPressedBg,
354354
foreground: foreground ?? this.foreground,
355355
icon: icon ?? this.icon,
@@ -396,7 +396,7 @@ class DesignVariables extends ThemeExtension<DesignVariables> {
396396
contextMenuItemBg: Color.lerp(contextMenuItemBg, other.contextMenuItemBg, t)!,
397397
contextMenuItemLabel: Color.lerp(contextMenuItemLabel, other.contextMenuItemLabel, t)!,
398398
contextMenuItemMeta: Color.lerp(contextMenuItemMeta, other.contextMenuItemMeta, t)!,
399-
contextMenuItemText: Color.lerp(contextMenuItemText, other.contextMenuItemBg, t)!,
399+
contextMenuItemText: Color.lerp(contextMenuItemText, other.contextMenuItemText, t)!,
400400
editorButtonPressedBg: Color.lerp(editorButtonPressedBg, other.editorButtonPressedBg, t)!,
401401
foreground: Color.lerp(foreground, other.foreground, t)!,
402402
icon: Color.lerp(icon, other.icon, t)!,

0 commit comments

Comments
 (0)