Skip to content

Commit f86a893

Browse files
fombalangPIG208
authored andcommitted
theme: Fix wrong variable in contextMenuItemText color field
Fix some wrong color variables that were assigned to the contextMenuItemText field.
1 parent 61b64cd commit f86a893

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
@@ -408,7 +408,7 @@ class DesignVariables extends ThemeExtension<DesignVariables> {
408408
contextMenuItemBg: contextMenuItemBg ?? this.contextMenuItemBg,
409409
contextMenuItemLabel: contextMenuItemLabel ?? this.contextMenuItemLabel,
410410
contextMenuItemMeta: contextMenuItemMeta ?? this.contextMenuItemMeta,
411-
contextMenuItemText: contextMenuItemText ?? this.contextMenuItemBg,
411+
contextMenuItemText: contextMenuItemText ?? this.contextMenuItemText,
412412
editorButtonPressedBg: editorButtonPressedBg ?? this.editorButtonPressedBg,
413413
foreground: foreground ?? this.foreground,
414414
icon: icon ?? this.icon,
@@ -464,7 +464,7 @@ class DesignVariables extends ThemeExtension<DesignVariables> {
464464
contextMenuItemBg: Color.lerp(contextMenuItemBg, other.contextMenuItemBg, t)!,
465465
contextMenuItemLabel: Color.lerp(contextMenuItemLabel, other.contextMenuItemLabel, t)!,
466466
contextMenuItemMeta: Color.lerp(contextMenuItemMeta, other.contextMenuItemMeta, t)!,
467-
contextMenuItemText: Color.lerp(contextMenuItemText, other.contextMenuItemBg, t)!,
467+
contextMenuItemText: Color.lerp(contextMenuItemText, other.contextMenuItemText, t)!,
468468
editorButtonPressedBg: Color.lerp(editorButtonPressedBg, other.editorButtonPressedBg, t)!,
469469
foreground: Color.lerp(foreground, other.foreground, t)!,
470470
icon: Color.lerp(icon, other.icon, t)!,

0 commit comments

Comments
 (0)