Skip to content

Commit 2a11a43

Browse files
theme[nfc]: Remove colorMessageHeaderIconInteractive
Removed `colorMessageHeaderIconInteractive` from `DesignVariables` and used `title` in place of it as per the design guidelines.
1 parent 4572fe7 commit 2a11a43

File tree

1 file changed

+46
-46
lines changed

1 file changed

+46
-46
lines changed

lib/widgets/theme.dart

+46-46
Original file line numberDiff line numberDiff line change
@@ -118,52 +118,52 @@ const kZulipBrandColor = Color.fromRGBO(0x64, 0x92, 0xfe, 1);
118118
/// https://www.figma.com/design/1JTNtYo9memgW7vV6d0ygq/Zulip-Mobile?node-id=2945-49492&t=MEb4vtp7S26nntxm-0
119119
class DesignVariables extends ThemeExtension<DesignVariables> {
120120
static final light = DesignVariables._(
121-
background: const Color(0xffffffff),
122-
bannerBgIntDanger: const Color(0xfff2e4e4),
123-
bgBotBar: const Color(0xfff6f6f6),
124-
bgContextMenu: const Color(0xfff2f2f2),
125-
bgCounterUnread: const Color(0xff666699).withValues(alpha: 0.15),
126-
bgMenuButtonActive: Colors.black.withValues(alpha: 0.05),
127-
bgMenuButtonSelected: Colors.white,
128-
bgTopBar: const Color(0xfff5f5f5),
129-
borderBar: Colors.black.withValues(alpha: 0.2),
130-
borderMenuButtonSelected: Colors.black.withValues(alpha: 0.2),
131-
btnLabelAttLowIntDanger: const Color(0xffc0070a),
132-
btnLabelAttMediumIntDanger: const Color(0xffac0508),
133-
composeBoxBg: const Color(0xffffffff),
134-
contextMenuCancelText: const Color(0xff222222),
135-
contextMenuItemBg: const Color(0xff6159e1),
136-
contextMenuItemText: const Color(0xff381da7),
137-
editorButtonPressedBg: Colors.black.withValues(alpha: 0.06),
138-
foreground: const Color(0xff000000),
139-
icon: const Color(0xff6159e1),
140-
iconSelected: const Color(0xff222222),
141-
labelCounterUnread: const Color(0xff222222),
142-
labelEdited: const HSLColor.fromAHSL(0.35, 0, 0, 0).toColor(),
143-
labelMenuButton: const Color(0xff222222),
144-
mainBackground: const Color(0xfff0f0f0),
145-
textInput: const Color(0xff000000),
146-
title: const Color(0xff1a1a1a),
147-
bgSearchInput: const Color(0xffe3e3e3),
148-
textMessage: const Color(0xff262626),
149-
channelColorSwatches: ChannelColorSwatches.light,
150-
contextMenuCancelBg: const Color(0xff797986).withValues(alpha: 0.15),
151-
contextMenuCancelPressedBg: const Color(0xff797986).withValues(alpha: 0.20),
152-
dmHeaderBg: const HSLColor.fromAHSL(1, 46, 0.35, 0.93).toColor(),
153-
groupDmConversationIcon: Colors.black.withValues(alpha: 0.5),
154-
groupDmConversationIconBg: const Color(0x33808080),
155-
inboxItemIconMarker: const HSLColor.fromAHSL(0.5, 0, 0, 0.2).toColor(),
156-
loginOrDivider: const Color(0xffdedede),
157-
loginOrDividerText: const Color(0xff575757),
158-
modalBarrierColor: const Color(0xff000000).withValues(alpha: 0.3),
159-
mutedUnreadBadge: const HSLColor.fromAHSL(0.5, 0, 0, 0.8).toColor(),
160-
navigationButtonBg: Colors.black.withValues(alpha: 0.05),
161-
sectionCollapseIcon: const Color(0x7f1e2e48),
162-
star: const HSLColor.fromAHSL(0.5, 47, 1, 0.41).toColor(),
163-
subscriptionListHeaderLine: const HSLColor.fromAHSL(0.2, 240, 0.1, 0.5).toColor(),
164-
subscriptionListHeaderText: const HSLColor.fromAHSL(1.0, 240, 0.1, 0.5).toColor(),
165-
unreadCountBadgeTextForChannel: Colors.black.withValues(alpha: 0.9),
166-
);
121+
background: const Color(0xffffffff),
122+
bannerBgIntDanger: const Color(0xfff2e4e4),
123+
bgBotBar: const Color(0xfff6f6f6),
124+
bgContextMenu: const Color(0xfff2f2f2),
125+
bgCounterUnread: const Color(0xff666699).withValues(alpha: 0.15),
126+
bgMenuButtonActive: Colors.black.withValues(alpha: 0.05),
127+
bgMenuButtonSelected: Colors.white,
128+
bgTopBar: const Color(0xfff5f5f5),
129+
borderBar: Colors.black.withValues(alpha: 0.2),
130+
borderMenuButtonSelected: Colors.black.withValues(alpha: 0.2),
131+
btnLabelAttLowIntDanger: const Color(0xffc0070a),
132+
btnLabelAttMediumIntDanger: const Color(0xffac0508),
133+
composeBoxBg: const Color(0xffffffff),
134+
contextMenuCancelText: const Color(0xff222222),
135+
contextMenuItemBg: const Color(0xff6159e1),
136+
contextMenuItemText: const Color(0xff381da7),
137+
editorButtonPressedBg: Colors.black.withValues(alpha: 0.06),
138+
foreground: const Color(0xff000000),
139+
icon: const Color(0xff6159e1),
140+
iconSelected: const Color(0xff222222),
141+
labelCounterUnread: const Color(0xff222222),
142+
labelEdited: const HSLColor.fromAHSL(0.35, 0, 0, 0).toColor(),
143+
labelMenuButton: const Color(0xff222222),
144+
mainBackground: const Color(0xfff0f0f0),
145+
textInput: const Color(0xff000000),
146+
title: const Color(0xff1a1a1a),
147+
bgSearchInput: const Color(0xffe3e3e3),
148+
textMessage: const Color(0xff262626),
149+
channelColorSwatches: ChannelColorSwatches.light,
150+
contextMenuCancelBg: const Color(0xff797986).withValues(alpha: 0.15),
151+
contextMenuCancelPressedBg: const Color(0xff797986).withValues(alpha: 0.20),
152+
dmHeaderBg: const HSLColor.fromAHSL(1, 46, 0.35, 0.93).toColor(),
153+
groupDmConversationIcon: Colors.black.withValues(alpha: 0.5),
154+
groupDmConversationIconBg: const Color(0x33808080),
155+
inboxItemIconMarker: const HSLColor.fromAHSL(0.5, 0, 0, 0.2).toColor(),
156+
loginOrDivider: const Color(0xffdedede),
157+
loginOrDividerText: const Color(0xff575757),
158+
modalBarrierColor: const Color(0xff000000).withValues(alpha: 0.3),
159+
mutedUnreadBadge: const HSLColor.fromAHSL(0.5, 0, 0, 0.8).toColor(),
160+
navigationButtonBg: Colors.black.withValues(alpha: 0.05),
161+
sectionCollapseIcon: const Color(0x7f1e2e48),
162+
star: const HSLColor.fromAHSL(0.5, 47, 1, 0.41).toColor(),
163+
subscriptionListHeaderLine: const HSLColor.fromAHSL(0.2, 240, 0.1, 0.5).toColor(),
164+
subscriptionListHeaderText: const HSLColor.fromAHSL(1.0, 240, 0.1, 0.5).toColor(),
165+
unreadCountBadgeTextForChannel: Colors.black.withValues(alpha: 0.9),
166+
);
167167

168168
static final dark = DesignVariables._(
169169
background: const Color(0xff000000),

0 commit comments

Comments
 (0)