@@ -117,6 +117,7 @@ class DesignVariables extends ThemeExtension<DesignVariables> {
117
117
mainBackground: const Color (0xfff0f0f0 ),
118
118
title: const Color (0xff1a1a1a ),
119
119
bgComposeBox: const Color (0xffffffff ),
120
+ textInput: const Color (0xff000000 ),
120
121
foreground: const Color (0xff000000 ),
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
mainBackground: const Color (0xff1d1d1d ),
149
150
title: const Color (0xffffffff ),
150
151
bgComposeBox: const Color (0xff0f0f0f ),
152
+ textInput: const Color (0xffffffff ).withValues (alpha: 0.9 ),
151
153
foreground: 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 .mainBackground,
186
188
required this .title,
187
189
required this .bgComposeBox,
190
+ required this .textInput,
188
191
required this .foreground,
189
192
required this .channelColorSwatches,
190
193
required this .atMentionMarker,
@@ -224,6 +227,7 @@ class DesignVariables extends ThemeExtension<DesignVariables> {
224
227
final Color mainBackground;
225
228
final Color title;
226
229
final Color bgComposeBox;
230
+ final Color textInput;
227
231
final Color foreground;
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 ? mainBackground,
259
263
Color ? title,
260
264
Color ? bgComposeBox,
265
+ Color ? textInput,
261
266
Color ? foreground,
262
267
ChannelColorSwatches ? channelColorSwatches,
263
268
Color ? atMentionMarker,
@@ -287,6 +292,7 @@ class DesignVariables extends ThemeExtension<DesignVariables> {
287
292
mainBackground: mainBackground ?? this .mainBackground,
288
293
title: title ?? this .title,
289
294
bgComposeBox: bgComposeBox ?? this .bgComposeBox,
295
+ textInput: textInput ?? this .textInput,
290
296
foreground: foreground ?? this .foreground,
291
297
channelColorSwatches: channelColorSwatches ?? this .channelColorSwatches,
292
298
atMentionMarker: atMentionMarker ?? this .atMentionMarker,
@@ -323,6 +329,7 @@ class DesignVariables extends ThemeExtension<DesignVariables> {
323
329
mainBackground: Color .lerp (mainBackground, other.mainBackground, t)! ,
324
330
title: Color .lerp (title, other.title, t)! ,
325
331
bgComposeBox: Color .lerp (bgComposeBox, other.bgComposeBox, t)! ,
332
+ textInput: Color .lerp (textInput, other.textInput, t)! ,
326
333
foreground: Color .lerp (foreground, other.foreground, t)! ,
327
334
channelColorSwatches: ChannelColorSwatches .lerp (channelColorSwatches, other.channelColorSwatches, t),
328
335
atMentionMarker: Color .lerp (atMentionMarker, other.atMentionMarker, t)! ,
0 commit comments