@@ -117,6 +117,7 @@ class DesignVariables extends ThemeExtension<DesignVariables> {
117
117
labelEdited: const HSLColor .fromAHSL (0.35 , 0 , 0 , 0 ).toColor (),
118
118
labelMenuButton: const Color (0xff222222 ),
119
119
mainBackground: const Color (0xfff0f0f0 ),
120
+ textInput: const Color (0xff000000 ),
120
121
title: const Color (0xff1a1a1a ),
121
122
channelColorSwatches: ChannelColorSwatches .light,
122
123
atMentionMarker: const HSLColor .fromAHSL (0.5 , 0 , 0 , 0.2 ).toColor (),
@@ -148,6 +149,7 @@ class DesignVariables extends ThemeExtension<DesignVariables> {
148
149
labelEdited: const HSLColor .fromAHSL (0.35 , 0 , 0 , 1 ).toColor (),
149
150
labelMenuButton: const Color (0xffffffff ).withValues (alpha: 0.85 ),
150
151
mainBackground: const Color (0xff1d1d1d ),
152
+ textInput: const Color (0xffffffff ).withValues (alpha: 0.9 ),
151
153
title: const Color (0xffffffff ),
152
154
channelColorSwatches: ChannelColorSwatches .dark,
153
155
// TODO(design-dark) need proper dark-theme color (this is ad hoc)
@@ -185,6 +187,7 @@ class DesignVariables extends ThemeExtension<DesignVariables> {
185
187
required this .labelEdited,
186
188
required this .labelMenuButton,
187
189
required this .mainBackground,
190
+ required this .textInput,
188
191
required this .title,
189
192
required this .channelColorSwatches,
190
193
required this .atMentionMarker,
@@ -224,6 +227,7 @@ class DesignVariables extends ThemeExtension<DesignVariables> {
224
227
final Color labelEdited;
225
228
final Color labelMenuButton;
226
229
final Color mainBackground;
230
+ final Color textInput;
227
231
final Color title;
228
232
229
233
// Not exactly from the Figma design, but from Vlad anyway.
@@ -258,6 +262,7 @@ class DesignVariables extends ThemeExtension<DesignVariables> {
258
262
Color ? labelEdited,
259
263
Color ? labelMenuButton,
260
264
Color ? mainBackground,
265
+ Color ? textInput,
261
266
Color ? title,
262
267
ChannelColorSwatches ? channelColorSwatches,
263
268
Color ? atMentionMarker,
@@ -287,6 +292,7 @@ class DesignVariables extends ThemeExtension<DesignVariables> {
287
292
labelEdited: labelEdited ?? this .labelEdited,
288
293
labelMenuButton: labelMenuButton ?? this .labelMenuButton,
289
294
mainBackground: mainBackground ?? this .mainBackground,
295
+ textInput: textInput ?? this .textInput,
290
296
title: title ?? this .title,
291
297
channelColorSwatches: channelColorSwatches ?? this .channelColorSwatches,
292
298
atMentionMarker: atMentionMarker ?? this .atMentionMarker,
@@ -323,6 +329,7 @@ class DesignVariables extends ThemeExtension<DesignVariables> {
323
329
labelEdited: Color .lerp (labelEdited, other.labelEdited, t)! ,
324
330
labelMenuButton: Color .lerp (labelMenuButton, other.labelMenuButton, t)! ,
325
331
mainBackground: Color .lerp (mainBackground, other.mainBackground, t)! ,
332
+ textInput: Color .lerp (textInput, other.textInput, t)! ,
326
333
title: Color .lerp (title, other.title, t)! ,
327
334
channelColorSwatches: ChannelColorSwatches .lerp (channelColorSwatches, other.channelColorSwatches, t),
328
335
atMentionMarker: Color .lerp (atMentionMarker, other.atMentionMarker, t)! ,
0 commit comments