@und-ui/tokens 0.0.0-stage → 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -0
- package/README.md +345 -2
- package/dist/android/values/und_colors.xml +91 -0
- package/dist/android/values/und_dimens.xml +93 -0
- package/dist/android/values-night/und_colors.xml +91 -0
- package/dist/css/base.css +2335 -0
- package/dist/css/motion.css +223 -0
- package/dist/css/themes/kesar.css +68 -0
- package/dist/css/themes/mitti.css +84 -0
- package/dist/css/themes/neem.css +84 -0
- package/dist/css/themes/raat.css +507 -0
- package/dist/css/themes/sutra.css +109 -0
- package/dist/css/themes/ujala.css +67 -0
- package/dist/css/tokens.css +3167 -0
- package/dist/dart/und_tokens.dart +3223 -0
- package/dist/js/contexts.d.ts +2 -0
- package/dist/js/contexts.js +3 -0
- package/dist/js/index.d.ts +1883 -0
- package/dist/js/index.js +2230 -0
- package/dist/json/flat/kesar.dark.json +737 -0
- package/dist/json/flat/kesar.darkMore.json +737 -0
- package/dist/json/flat/kesar.light.json +737 -0
- package/dist/json/flat/kesar.lightMore.json +737 -0
- package/dist/json/flat/mitti.dark.json +737 -0
- package/dist/json/flat/mitti.darkMore.json +737 -0
- package/dist/json/flat/mitti.light.json +737 -0
- package/dist/json/flat/mitti.lightMore.json +737 -0
- package/dist/json/flat/neem.dark.json +737 -0
- package/dist/json/flat/neem.darkMore.json +737 -0
- package/dist/json/flat/neem.light.json +737 -0
- package/dist/json/flat/neem.lightMore.json +737 -0
- package/dist/json/flat/raat.dark.json +737 -0
- package/dist/json/flat/raat.darkMore.json +737 -0
- package/dist/json/flat/sutra.dark.json +738 -0
- package/dist/json/flat/sutra.darkMore.json +738 -0
- package/dist/json/flat/sutra.light.json +738 -0
- package/dist/json/flat/sutra.lightMore.json +738 -0
- package/dist/json/flat/ujala.dark.json +737 -0
- package/dist/json/flat/ujala.darkMore.json +737 -0
- package/dist/json/flat/ujala.light.json +737 -0
- package/dist/json/flat/ujala.lightMore.json +737 -0
- package/dist/json/nested/kesar.dark.json +885 -0
- package/dist/json/nested/kesar.darkMore.json +885 -0
- package/dist/json/nested/kesar.light.json +885 -0
- package/dist/json/nested/kesar.lightMore.json +885 -0
- package/dist/json/nested/mitti.dark.json +885 -0
- package/dist/json/nested/mitti.darkMore.json +885 -0
- package/dist/json/nested/mitti.light.json +885 -0
- package/dist/json/nested/mitti.lightMore.json +885 -0
- package/dist/json/nested/neem.dark.json +885 -0
- package/dist/json/nested/neem.darkMore.json +885 -0
- package/dist/json/nested/neem.light.json +885 -0
- package/dist/json/nested/neem.lightMore.json +885 -0
- package/dist/json/nested/raat.dark.json +885 -0
- package/dist/json/nested/raat.darkMore.json +885 -0
- package/dist/json/nested/sutra.dark.json +886 -0
- package/dist/json/nested/sutra.darkMore.json +886 -0
- package/dist/json/nested/sutra.light.json +886 -0
- package/dist/json/nested/sutra.lightMore.json +886 -0
- package/dist/json/nested/ujala.dark.json +885 -0
- package/dist/json/nested/ujala.darkMore.json +885 -0
- package/dist/json/nested/ujala.light.json +885 -0
- package/dist/json/nested/ujala.lightMore.json +885 -0
- package/dist/kotlin/UndTokens.kt +2870 -0
- package/dist/lib/build/contexts.d.ts +13 -0
- package/dist/lib/build/contexts.js +20 -0
- package/dist/lib/build/css-values.d.ts +31 -0
- package/dist/lib/build/css-values.js +191 -0
- package/dist/lib/build/formats/css.d.ts +43 -0
- package/dist/lib/build/formats/css.js +380 -0
- package/dist/lib/build/formats/dart.d.ts +9 -0
- package/dist/lib/build/formats/dart.js +342 -0
- package/dist/lib/build/formats/js.d.ts +29 -0
- package/dist/lib/build/formats/js.js +297 -0
- package/dist/lib/build/formats/kotlin.d.ts +8 -0
- package/dist/lib/build/formats/kotlin.js +232 -0
- package/dist/lib/build/formats/react-native.d.ts +2 -0
- package/dist/lib/build/formats/react-native.js +208 -0
- package/dist/lib/build/formats/style-dictionary.d.ts +8 -0
- package/dist/lib/build/formats/style-dictionary.js +163 -0
- package/dist/lib/build/formats/swift.d.ts +8 -0
- package/dist/lib/build/formats/swift.js +395 -0
- package/dist/lib/build/formats/tailwind.d.ts +9 -0
- package/dist/lib/build/formats/tailwind.js +105 -0
- package/dist/lib/build/index.d.ts +12 -0
- package/dist/lib/build/index.js +133 -0
- package/dist/lib/build/materialize.d.ts +102 -0
- package/dist/lib/build/materialize.js +170 -0
- package/dist/lib/build/native-model.d.ts +46 -0
- package/dist/lib/build/native-model.js +177 -0
- package/dist/lib/color/contrast.d.ts +24 -0
- package/dist/lib/color/contrast.js +95 -0
- package/dist/lib/color/convert.d.ts +39 -0
- package/dist/lib/color/convert.js +91 -0
- package/dist/lib/color/pairs.d.ts +29 -0
- package/dist/lib/color/pairs.js +90 -0
- package/dist/lib/color/palette.d.ts +118 -0
- package/dist/lib/color/palette.js +199 -0
- package/dist/lib/color/scales.d.ts +18 -0
- package/dist/lib/color/scales.js +115 -0
- package/dist/lib/dtcg/engine.d.ts +75 -0
- package/dist/lib/dtcg/engine.js +395 -0
- package/dist/lib/dtcg/format-json.d.ts +1 -0
- package/dist/lib/dtcg/format-json.js +59 -0
- package/dist/lib/dtcg/types.d.ts +124 -0
- package/dist/lib/dtcg/types.js +54 -0
- package/dist/lib/index.d.ts +20 -0
- package/dist/lib/index.js +14 -0
- package/dist/lib/motion/spring.d.ts +40 -0
- package/dist/lib/motion/spring.js +129 -0
- package/dist/lib/source/generate.d.ts +28 -0
- package/dist/lib/source/generate.js +468 -0
- package/dist/lib/themes/definitions.d.ts +43 -0
- package/dist/lib/themes/definitions.js +140 -0
- package/dist/react-native/index.d.ts +130 -0
- package/dist/react-native/index.js +15 -0
- package/dist/react-native/tokens.d.ts +2 -0
- package/dist/react-native/tokens.js +4413 -0
- package/dist/scss/_variables.scss +738 -0
- package/dist/scss/_vars.scss +857 -0
- package/dist/scss/kesar.dark.scss +738 -0
- package/dist/scss/kesar.darkMore.scss +738 -0
- package/dist/scss/kesar.light.scss +738 -0
- package/dist/scss/kesar.lightMore.scss +738 -0
- package/dist/scss/mitti.dark.scss +738 -0
- package/dist/scss/mitti.darkMore.scss +738 -0
- package/dist/scss/mitti.light.scss +738 -0
- package/dist/scss/mitti.lightMore.scss +738 -0
- package/dist/scss/neem.dark.scss +738 -0
- package/dist/scss/neem.darkMore.scss +738 -0
- package/dist/scss/neem.light.scss +738 -0
- package/dist/scss/neem.lightMore.scss +738 -0
- package/dist/scss/raat.dark.scss +738 -0
- package/dist/scss/raat.darkMore.scss +738 -0
- package/dist/scss/sutra.dark.scss +739 -0
- package/dist/scss/sutra.darkMore.scss +739 -0
- package/dist/scss/sutra.light.scss +739 -0
- package/dist/scss/sutra.lightMore.scss +739 -0
- package/dist/scss/ujala.dark.scss +738 -0
- package/dist/scss/ujala.darkMore.scss +738 -0
- package/dist/scss/ujala.light.scss +738 -0
- package/dist/scss/ujala.lightMore.scss +738 -0
- package/dist/swift/UndTokens.swift +4117 -0
- package/dist/tailwind/und.css +586 -0
- package/package.json +84 -3
- package/tokens/contrast/more.tokens.json +46 -0
- package/tokens/density/comfortable.tokens.json +64 -0
- package/tokens/density/compact.tokens.json +68 -0
- package/tokens/density/touch.tokens.json +64 -0
- package/tokens/modes/dark.tokens.json +197 -0
- package/tokens/modes/light.tokens.json +166 -0
- package/tokens/motion/reduced.tokens.json +119 -0
- package/tokens/primitives/color.dark.tokens.json +2001 -0
- package/tokens/primitives/color.light.tokens.json +2077 -0
- package/tokens/primitives/dimension.tokens.json +181 -0
- package/tokens/primitives/motion.tokens.json +41 -0
- package/tokens/primitives/spring.tokens.json +138 -0
- package/tokens/primitives/typography.tokens.json +107 -0
- package/tokens/semantic/bridge.tokens.json +52 -0
- package/tokens/semantic/color.tokens.json +129 -0
- package/tokens/semantic/layout.tokens.json +84 -0
- package/tokens/semantic/motion.tokens.json +111 -0
- package/tokens/semantic/scale.tokens.json +66 -0
- package/tokens/semantic/typography.tokens.json +281 -0
- package/tokens/themes/kesar.tokens.json +105 -0
- package/tokens/themes/mitti.tokens.json +123 -0
- package/tokens/themes/neem.tokens.json +123 -0
- package/tokens/themes/raat.tokens.json +104 -0
- package/tokens/themes/sutra.tokens.json +126 -0
- package/tokens/themes/ujala.tokens.json +96 -0
- package/tokens/transparency/reduced.tokens.json +30 -0
- package/tokens/und.resolver.json +83 -0
|
@@ -0,0 +1,3223 @@
|
|
|
1
|
+
// Generated by @und-ui/tokens 0.1.0. Do not edit.
|
|
2
|
+
// Source: DTCG 2025.10 tokens. Semantic roles only. No Material dependency.
|
|
3
|
+
// ignore_for_file: public_member_api_docs, constant_identifier_names
|
|
4
|
+
|
|
5
|
+
import 'dart:ui' show Brightness, Color, ColorSpace, FontWeight, Offset, lerpDouble;
|
|
6
|
+
|
|
7
|
+
import 'package:flutter/animation.dart' show Cubic;
|
|
8
|
+
import 'package:flutter/foundation.dart' show immutable;
|
|
9
|
+
import 'package:flutter/painting.dart' show BoxShadow, TextStyle;
|
|
10
|
+
import 'package:flutter/physics.dart' show SpringDescription;
|
|
11
|
+
import 'package:flutter/widgets.dart' show BuildContext, InheritedWidget, Widget;
|
|
12
|
+
|
|
13
|
+
/// Package version of the tokens these classes were generated from.
|
|
14
|
+
const String undTokensVersion = '0.1.0';
|
|
15
|
+
|
|
16
|
+
enum UndThemeName { ujala, kesar, neem, mitti, raat, sutra }
|
|
17
|
+
|
|
18
|
+
enum UndCharacter { crisp, standard, expressive }
|
|
19
|
+
|
|
20
|
+
enum UndDensity { comfortable, compact, touch }
|
|
21
|
+
|
|
22
|
+
/// Semantic colour roles for one theme and appearance.
|
|
23
|
+
@immutable
|
|
24
|
+
class UndColors {
|
|
25
|
+
const UndColors({
|
|
26
|
+
required this.accentBg,
|
|
27
|
+
required this.accentBgActive,
|
|
28
|
+
required this.accentBgHover,
|
|
29
|
+
required this.accentBorder,
|
|
30
|
+
required this.accentFg,
|
|
31
|
+
required this.accentFgStrong,
|
|
32
|
+
required this.accentSolid,
|
|
33
|
+
required this.accentSolidHover,
|
|
34
|
+
required this.bgCanvas,
|
|
35
|
+
required this.bgInverse,
|
|
36
|
+
required this.bgMuted,
|
|
37
|
+
required this.bgMutedActive,
|
|
38
|
+
required this.bgMutedHover,
|
|
39
|
+
required this.bgOverlay,
|
|
40
|
+
required this.bgRaised,
|
|
41
|
+
required this.bgSubtle,
|
|
42
|
+
required this.bgSurface,
|
|
43
|
+
required this.borderControl,
|
|
44
|
+
required this.borderControlHover,
|
|
45
|
+
required this.borderDefault,
|
|
46
|
+
required this.borderStrong,
|
|
47
|
+
required this.borderSubtle,
|
|
48
|
+
required this.dataviz1,
|
|
49
|
+
required this.dataviz2,
|
|
50
|
+
required this.dataviz3,
|
|
51
|
+
required this.dataviz4,
|
|
52
|
+
required this.dataviz5,
|
|
53
|
+
required this.dataviz6,
|
|
54
|
+
required this.dataviz7,
|
|
55
|
+
required this.dataviz8,
|
|
56
|
+
required this.datavizAxis,
|
|
57
|
+
required this.datavizGridline,
|
|
58
|
+
required this.fgDefault,
|
|
59
|
+
required this.fgDisabled,
|
|
60
|
+
required this.fgInverse,
|
|
61
|
+
required this.fgMuted,
|
|
62
|
+
required this.fgOnAccent,
|
|
63
|
+
required this.fgSubtle,
|
|
64
|
+
required this.focusRing,
|
|
65
|
+
required this.linkDefault,
|
|
66
|
+
required this.linkVisited,
|
|
67
|
+
required this.materialChromeBg,
|
|
68
|
+
required this.materialChromeBorder,
|
|
69
|
+
required this.materialChromeHighlight,
|
|
70
|
+
required this.materialRegularBg,
|
|
71
|
+
required this.materialRegularBorder,
|
|
72
|
+
required this.materialThickBg,
|
|
73
|
+
required this.materialThickBorder,
|
|
74
|
+
required this.materialThinBg,
|
|
75
|
+
required this.materialThinBorder,
|
|
76
|
+
required this.selectionBg,
|
|
77
|
+
required this.statusDangerBg,
|
|
78
|
+
required this.statusDangerBgHover,
|
|
79
|
+
required this.statusDangerBorder,
|
|
80
|
+
required this.statusDangerFg,
|
|
81
|
+
required this.statusDangerFgStrong,
|
|
82
|
+
required this.statusDangerOnSolid,
|
|
83
|
+
required this.statusDangerSolid,
|
|
84
|
+
required this.statusDangerSolidHover,
|
|
85
|
+
required this.statusInfoBg,
|
|
86
|
+
required this.statusInfoBgHover,
|
|
87
|
+
required this.statusInfoBorder,
|
|
88
|
+
required this.statusInfoFg,
|
|
89
|
+
required this.statusInfoFgStrong,
|
|
90
|
+
required this.statusInfoOnSolid,
|
|
91
|
+
required this.statusInfoSolid,
|
|
92
|
+
required this.statusInfoSolidHover,
|
|
93
|
+
required this.statusSuccessBg,
|
|
94
|
+
required this.statusSuccessBgHover,
|
|
95
|
+
required this.statusSuccessBorder,
|
|
96
|
+
required this.statusSuccessFg,
|
|
97
|
+
required this.statusSuccessFgStrong,
|
|
98
|
+
required this.statusSuccessOnSolid,
|
|
99
|
+
required this.statusSuccessSolid,
|
|
100
|
+
required this.statusSuccessSolidHover,
|
|
101
|
+
required this.statusWarningBg,
|
|
102
|
+
required this.statusWarningBgHover,
|
|
103
|
+
required this.statusWarningBorder,
|
|
104
|
+
required this.statusWarningFg,
|
|
105
|
+
required this.statusWarningFgStrong,
|
|
106
|
+
required this.statusWarningOnSolid,
|
|
107
|
+
required this.statusWarningSolid,
|
|
108
|
+
required this.statusWarningSolidHover,
|
|
109
|
+
});
|
|
110
|
+
|
|
111
|
+
final Color accentBg;
|
|
112
|
+
final Color accentBgActive;
|
|
113
|
+
final Color accentBgHover;
|
|
114
|
+
final Color accentBorder;
|
|
115
|
+
final Color accentFg;
|
|
116
|
+
final Color accentFgStrong;
|
|
117
|
+
final Color accentSolid;
|
|
118
|
+
final Color accentSolidHover;
|
|
119
|
+
final Color bgCanvas;
|
|
120
|
+
final Color bgInverse;
|
|
121
|
+
final Color bgMuted;
|
|
122
|
+
final Color bgMutedActive;
|
|
123
|
+
final Color bgMutedHover;
|
|
124
|
+
final Color bgOverlay;
|
|
125
|
+
final Color bgRaised;
|
|
126
|
+
final Color bgSubtle;
|
|
127
|
+
final Color bgSurface;
|
|
128
|
+
final Color borderControl;
|
|
129
|
+
final Color borderControlHover;
|
|
130
|
+
final Color borderDefault;
|
|
131
|
+
final Color borderStrong;
|
|
132
|
+
final Color borderSubtle;
|
|
133
|
+
final Color dataviz1;
|
|
134
|
+
final Color dataviz2;
|
|
135
|
+
final Color dataviz3;
|
|
136
|
+
final Color dataviz4;
|
|
137
|
+
final Color dataviz5;
|
|
138
|
+
final Color dataviz6;
|
|
139
|
+
final Color dataviz7;
|
|
140
|
+
final Color dataviz8;
|
|
141
|
+
final Color datavizAxis;
|
|
142
|
+
final Color datavizGridline;
|
|
143
|
+
final Color fgDefault;
|
|
144
|
+
final Color fgDisabled;
|
|
145
|
+
final Color fgInverse;
|
|
146
|
+
final Color fgMuted;
|
|
147
|
+
final Color fgOnAccent;
|
|
148
|
+
final Color fgSubtle;
|
|
149
|
+
final Color focusRing;
|
|
150
|
+
final Color linkDefault;
|
|
151
|
+
final Color linkVisited;
|
|
152
|
+
final Color materialChromeBg;
|
|
153
|
+
final Color materialChromeBorder;
|
|
154
|
+
final Color materialChromeHighlight;
|
|
155
|
+
final Color materialRegularBg;
|
|
156
|
+
final Color materialRegularBorder;
|
|
157
|
+
final Color materialThickBg;
|
|
158
|
+
final Color materialThickBorder;
|
|
159
|
+
final Color materialThinBg;
|
|
160
|
+
final Color materialThinBorder;
|
|
161
|
+
final Color selectionBg;
|
|
162
|
+
final Color statusDangerBg;
|
|
163
|
+
final Color statusDangerBgHover;
|
|
164
|
+
final Color statusDangerBorder;
|
|
165
|
+
final Color statusDangerFg;
|
|
166
|
+
final Color statusDangerFgStrong;
|
|
167
|
+
final Color statusDangerOnSolid;
|
|
168
|
+
final Color statusDangerSolid;
|
|
169
|
+
final Color statusDangerSolidHover;
|
|
170
|
+
final Color statusInfoBg;
|
|
171
|
+
final Color statusInfoBgHover;
|
|
172
|
+
final Color statusInfoBorder;
|
|
173
|
+
final Color statusInfoFg;
|
|
174
|
+
final Color statusInfoFgStrong;
|
|
175
|
+
final Color statusInfoOnSolid;
|
|
176
|
+
final Color statusInfoSolid;
|
|
177
|
+
final Color statusInfoSolidHover;
|
|
178
|
+
final Color statusSuccessBg;
|
|
179
|
+
final Color statusSuccessBgHover;
|
|
180
|
+
final Color statusSuccessBorder;
|
|
181
|
+
final Color statusSuccessFg;
|
|
182
|
+
final Color statusSuccessFgStrong;
|
|
183
|
+
final Color statusSuccessOnSolid;
|
|
184
|
+
final Color statusSuccessSolid;
|
|
185
|
+
final Color statusSuccessSolidHover;
|
|
186
|
+
final Color statusWarningBg;
|
|
187
|
+
final Color statusWarningBgHover;
|
|
188
|
+
final Color statusWarningBorder;
|
|
189
|
+
final Color statusWarningFg;
|
|
190
|
+
final Color statusWarningFgStrong;
|
|
191
|
+
final Color statusWarningOnSolid;
|
|
192
|
+
final Color statusWarningSolid;
|
|
193
|
+
final Color statusWarningSolidHover;
|
|
194
|
+
|
|
195
|
+
static const UndColors ujalaLight = UndColors(
|
|
196
|
+
accentBg: Color(0xFFEFF2FE),
|
|
197
|
+
accentBgActive: Color(0xFFDAE1FC),
|
|
198
|
+
accentBgHover: Color(0xFFE5EAFC),
|
|
199
|
+
accentBorder: Color(0xFFBCC7F9),
|
|
200
|
+
accentFg: Color(0xFF4B4DD5),
|
|
201
|
+
accentFgStrong: Color(0xFF1A1A58),
|
|
202
|
+
accentSolid: Color(0xFF504BF2),
|
|
203
|
+
accentSolidHover: Color(0xFF473DE4),
|
|
204
|
+
bgCanvas: Color(0xFFFCFDFE),
|
|
205
|
+
bgInverse: Color(0xFF23252C),
|
|
206
|
+
bgMuted: Color(0xFFF1F2F6),
|
|
207
|
+
bgMutedActive: Color(0xFFE0E2E7),
|
|
208
|
+
bgMutedHover: Color(0xFFE9EAEF),
|
|
209
|
+
bgOverlay: Color(0x730B0D16),
|
|
210
|
+
bgRaised: Color(0xFFFFFFFF),
|
|
211
|
+
bgSubtle: Color(0xFFF9F9FB),
|
|
212
|
+
bgSurface: Color(0xFFFFFFFF),
|
|
213
|
+
borderControl: Color(0xFF898C96),
|
|
214
|
+
borderControlHover: Color(0xFF7D808A),
|
|
215
|
+
borderDefault: Color(0xFFC8C9D1),
|
|
216
|
+
borderStrong: Color(0xFFB2B4BD),
|
|
217
|
+
borderSubtle: Color(0xFFD6D8DD),
|
|
218
|
+
dataviz1: Color(0xFF504BF2),
|
|
219
|
+
dataviz2: Color.from(alpha: 1.0, red: 0.9211, green: 0.515, blue: 0.1346, colorSpace: ColorSpace.displayP3),
|
|
220
|
+
dataviz3: Color.from(alpha: 1.0, red: 0.0077, green: 0.4931, blue: 0.5021, colorSpace: ColorSpace.displayP3),
|
|
221
|
+
dataviz4: Color(0xFFCA358B),
|
|
222
|
+
dataviz5: Color.from(alpha: 1.0, red: 0.1691, green: 0.5098, blue: 0.2544, colorSpace: ColorSpace.displayP3),
|
|
223
|
+
dataviz6: Color.from(alpha: 1.0, red: 0.1194, green: 0.4327, blue: 0.8303, colorSpace: ColorSpace.displayP3),
|
|
224
|
+
dataviz7: Color(0xFFBB4D2A),
|
|
225
|
+
dataviz8: Color.from(alpha: 1.0, red: 0.9367, green: 0.7103, blue: 0.2322, colorSpace: ColorSpace.displayP3),
|
|
226
|
+
datavizAxis: Color(0x3700052A),
|
|
227
|
+
datavizGridline: Color(0x16020E47),
|
|
228
|
+
fgDefault: Color(0xFF23252C),
|
|
229
|
+
fgDisabled: Color(0xFFB2B4BD),
|
|
230
|
+
fgInverse: Color(0xFFFCFDFE),
|
|
231
|
+
fgMuted: Color(0xFF62646E),
|
|
232
|
+
fgOnAccent: Color(0xFFFFFFFF),
|
|
233
|
+
fgSubtle: Color(0xFF7D808A),
|
|
234
|
+
focusRing: Color(0xFF4B4DD5),
|
|
235
|
+
linkDefault: Color(0xFF4B4DD5),
|
|
236
|
+
linkVisited: Color(0xFFA62D72),
|
|
237
|
+
materialChromeBg: Color(0xB8FBFCFE),
|
|
238
|
+
materialChromeBorder: Color(0x1F01113A),
|
|
239
|
+
materialChromeHighlight: Color(0x80FFFFFF),
|
|
240
|
+
materialRegularBg: Color(0xB8FBFCFE),
|
|
241
|
+
materialRegularBorder: Color(0x1F01113A),
|
|
242
|
+
materialThickBg: Color(0xD6FBFCFE),
|
|
243
|
+
materialThickBorder: Color(0x29000D2C),
|
|
244
|
+
materialThinBg: Color(0x9EFBFCFE),
|
|
245
|
+
materialThinBorder: Color(0x16020E47),
|
|
246
|
+
selectionBg: Color(0x250232EA),
|
|
247
|
+
statusDangerBg: Color(0xFFFDEFED),
|
|
248
|
+
statusDangerBgHover: Color(0xFFFAE5E2),
|
|
249
|
+
statusDangerBorder: Color(0xFFF2BAB4),
|
|
250
|
+
statusDangerFg: Color(0xFFB81E27),
|
|
251
|
+
statusDangerFgStrong: Color(0xFF4B0609),
|
|
252
|
+
statusDangerOnSolid: Color(0xFFFFFFFF),
|
|
253
|
+
statusDangerSolid: Color(0xFFDD1D2C),
|
|
254
|
+
statusDangerSolidHover: Color.from(alpha: 1.0, red: 0.7416, green: 0.1432, blue: 0.1633, colorSpace: ColorSpace.displayP3),
|
|
255
|
+
statusInfoBg: Color(0xFFECF3FB),
|
|
256
|
+
statusInfoBgHover: Color(0xFFE1ECF9),
|
|
257
|
+
statusInfoBorder: Color(0xFFB0CDEF),
|
|
258
|
+
statusInfoFg: Color.from(alpha: 1.0, red: 0.1385, green: 0.3875, blue: 0.7163, colorSpace: ColorSpace.displayP3),
|
|
259
|
+
statusInfoFgStrong: Color.from(alpha: 1.0, red: 0.0299, green: 0.1424, blue: 0.2911, colorSpace: ColorSpace.displayP3),
|
|
260
|
+
statusInfoOnSolid: Color(0xFFFFFFFF),
|
|
261
|
+
statusInfoSolid: Color.from(alpha: 1.0, red: 0.1194, green: 0.4327, blue: 0.8303, colorSpace: ColorSpace.displayP3),
|
|
262
|
+
statusInfoSolidHover: Color.from(alpha: 1.0, red: 0.0421, green: 0.3834, blue: 0.7776, colorSpace: ColorSpace.displayP3),
|
|
263
|
+
statusSuccessBg: Color(0xFFEDF5EF),
|
|
264
|
+
statusSuccessBgHover: Color(0xFFE2EEE5),
|
|
265
|
+
statusSuccessBorder: Color(0xFFB4D3BB),
|
|
266
|
+
statusSuccessFg: Color.from(alpha: 1.0, red: 0.1962, green: 0.4692, blue: 0.2558, colorSpace: ColorSpace.displayP3),
|
|
267
|
+
statusSuccessFgStrong: Color.from(alpha: 1.0, red: 0.056, green: 0.1794, blue: 0.0832, colorSpace: ColorSpace.displayP3),
|
|
268
|
+
statusSuccessOnSolid: Color(0xFFFFFFFF),
|
|
269
|
+
statusSuccessSolid: Color.from(alpha: 1.0, red: 0.1691, green: 0.5098, blue: 0.2544, colorSpace: ColorSpace.displayP3),
|
|
270
|
+
statusSuccessSolidHover: Color.from(alpha: 1.0, red: 0.1105, green: 0.4623, blue: 0.2105, colorSpace: ColorSpace.displayP3),
|
|
271
|
+
statusWarningBg: Color(0xFFF7F2EA),
|
|
272
|
+
statusWarningBgHover: Color(0xFFF1E9DD),
|
|
273
|
+
statusWarningBorder: Color(0xFFDCC7A5),
|
|
274
|
+
statusWarningFg: Color.from(alpha: 1.0, red: 0.5069, green: 0.3634, blue: 0.0036, colorSpace: ColorSpace.displayP3),
|
|
275
|
+
statusWarningFgStrong: Color.from(alpha: 1.0, red: 0.196, green: 0.1319, blue: 0.0004, colorSpace: ColorSpace.displayP3),
|
|
276
|
+
statusWarningOnSolid: Color.from(alpha: 1.0, red: 0.196, green: 0.1319, blue: 0.0004, colorSpace: ColorSpace.displayP3),
|
|
277
|
+
statusWarningSolid: Color.from(alpha: 1.0, red: 0.9367, green: 0.7103, blue: 0.2322, colorSpace: ColorSpace.displayP3),
|
|
278
|
+
statusWarningSolidHover: Color.from(alpha: 1.0, red: 0.8842, green: 0.6598, blue: 0.1637, colorSpace: ColorSpace.displayP3),
|
|
279
|
+
);
|
|
280
|
+
|
|
281
|
+
static const UndColors ujalaDark = UndColors(
|
|
282
|
+
accentBg: Color(0xFF171B3B),
|
|
283
|
+
accentBgActive: Color(0xFF22265C),
|
|
284
|
+
accentBgHover: Color(0xFF1C204C),
|
|
285
|
+
accentBorder: Color(0xFF353A89),
|
|
286
|
+
accentFg: Color.from(alpha: 1.0, red: 0.6758, green: 0.7192, blue: 0.999, colorSpace: ColorSpace.displayP3),
|
|
287
|
+
accentFgStrong: Color.from(alpha: 1.0, red: 0.9096, green: 0.9241, blue: 0.9977, colorSpace: ColorSpace.displayP3),
|
|
288
|
+
accentSolid: Color(0xFF504BF2),
|
|
289
|
+
accentSolidHover: Color.from(alpha: 1.0, red: 0.3554, green: 0.3579, blue: 0.976, colorSpace: ColorSpace.displayP3),
|
|
290
|
+
bgCanvas: Color(0xFF0E0E0F),
|
|
291
|
+
bgInverse: Color(0xFFEAECF7),
|
|
292
|
+
bgMuted: Color(0xFF1E1F21),
|
|
293
|
+
bgMutedActive: Color(0xFF2C2D31),
|
|
294
|
+
bgMutedHover: Color(0xFF252629),
|
|
295
|
+
bgOverlay: Color(0x99000000),
|
|
296
|
+
bgRaised: Color(0xFF1E1F21),
|
|
297
|
+
bgSubtle: Color(0xFF151517),
|
|
298
|
+
bgSurface: Color(0xFF151517),
|
|
299
|
+
borderControl: Color(0xFF666973),
|
|
300
|
+
borderControlHover: Color(0xFF737680),
|
|
301
|
+
borderDefault: Color(0xFF44454B),
|
|
302
|
+
borderStrong: Color(0xFF585A62),
|
|
303
|
+
borderSubtle: Color(0xFF36373B),
|
|
304
|
+
dataviz1: Color(0xFF504BF2),
|
|
305
|
+
dataviz2: Color.from(alpha: 1.0, red: 0.9211, green: 0.515, blue: 0.1346, colorSpace: ColorSpace.displayP3),
|
|
306
|
+
dataviz3: Color.from(alpha: 1.0, red: 0.0077, green: 0.4931, blue: 0.5021, colorSpace: ColorSpace.displayP3),
|
|
307
|
+
dataviz4: Color(0xFFCA358B),
|
|
308
|
+
dataviz5: Color.from(alpha: 1.0, red: 0.1691, green: 0.5098, blue: 0.2544, colorSpace: ColorSpace.displayP3),
|
|
309
|
+
dataviz6: Color.from(alpha: 1.0, red: 0.1194, green: 0.4327, blue: 0.8303, colorSpace: ColorSpace.displayP3),
|
|
310
|
+
dataviz7: Color(0xFFBB4D2A),
|
|
311
|
+
dataviz8: Color.from(alpha: 1.0, red: 0.9367, green: 0.7103, blue: 0.2322, colorSpace: ColorSpace.displayP3),
|
|
312
|
+
datavizAxis: Color(0x4BE7EAFE),
|
|
313
|
+
datavizGridline: Color(0x29E6ECFF),
|
|
314
|
+
fgDefault: Color(0xFFEAECF7),
|
|
315
|
+
fgDisabled: Color(0xFF585A62),
|
|
316
|
+
fgInverse: Color(0xFF0E0E0F),
|
|
317
|
+
fgMuted: Color(0xFFBABDC8),
|
|
318
|
+
fgOnAccent: Color(0xFFFFFFFF),
|
|
319
|
+
fgSubtle: Color(0xFF737680),
|
|
320
|
+
focusRing: Color.from(alpha: 1.0, red: 0.6758, green: 0.7192, blue: 0.999, colorSpace: ColorSpace.displayP3),
|
|
321
|
+
linkDefault: Color.from(alpha: 1.0, red: 0.6758, green: 0.7192, blue: 0.999, colorSpace: ColorSpace.displayP3),
|
|
322
|
+
linkVisited: Color.from(alpha: 1.0, red: 0.9621, green: 0.5989, blue: 0.7883, colorSpace: ColorSpace.displayP3),
|
|
323
|
+
materialChromeBg: Color(0xAD191A1F),
|
|
324
|
+
materialChromeBorder: Color(0x31E4E9FE),
|
|
325
|
+
materialChromeHighlight: Color(0x1FFFFFFF),
|
|
326
|
+
materialRegularBg: Color(0xAD191A1F),
|
|
327
|
+
materialRegularBorder: Color(0x31E4E9FE),
|
|
328
|
+
materialThickBg: Color(0xCC15161B),
|
|
329
|
+
materialThickBorder: Color(0x3BE9EDFE),
|
|
330
|
+
materialThinBg: Color(0xA6191A1F),
|
|
331
|
+
materialThinBorder: Color(0x29E6ECFF),
|
|
332
|
+
selectionBg: Color(0x6E5F6AFF),
|
|
333
|
+
statusDangerBg: Color(0xFF351311),
|
|
334
|
+
statusDangerBgHover: Color(0xFF431413),
|
|
335
|
+
statusDangerBorder: Color(0xFF792323),
|
|
336
|
+
statusDangerFg: Color.from(alpha: 1.0, red: 0.9998, green: 0.6102, blue: 0.5696, colorSpace: ColorSpace.displayP3),
|
|
337
|
+
statusDangerFgStrong: Color.from(alpha: 1.0, red: 0.9985, green: 0.9003, blue: 0.8863, colorSpace: ColorSpace.displayP3),
|
|
338
|
+
statusDangerOnSolid: Color(0xFFFFFFFF),
|
|
339
|
+
statusDangerSolid: Color(0xFFDD1D2C),
|
|
340
|
+
statusDangerSolidHover: Color.from(alpha: 1.0, red: 0.7348, green: 0.1339, blue: 0.1573, colorSpace: ColorSpace.displayP3),
|
|
341
|
+
statusInfoBg: Color(0xFF0C2035),
|
|
342
|
+
statusInfoBgHover: Color(0xFF0B2743),
|
|
343
|
+
statusInfoBorder: Color(0xFF12477A),
|
|
344
|
+
statusInfoFg: Color.from(alpha: 1.0, red: 0.5796, green: 0.7556, blue: 1.0, colorSpace: ColorSpace.displayP3),
|
|
345
|
+
statusInfoFgStrong: Color.from(alpha: 1.0, red: 0.8869, green: 0.934, blue: 0.9984, colorSpace: ColorSpace.displayP3),
|
|
346
|
+
statusInfoOnSolid: Color(0xFFFFFFFF),
|
|
347
|
+
statusInfoSolid: Color.from(alpha: 1.0, red: 0.1194, green: 0.4327, blue: 0.8303, colorSpace: ColorSpace.displayP3),
|
|
348
|
+
statusInfoSolidHover: Color.from(alpha: 1.0, red: 0.0287, green: 0.3773, blue: 0.7711, colorSpace: ColorSpace.displayP3),
|
|
349
|
+
statusSuccessBg: Color(0xFF0F2415),
|
|
350
|
+
statusSuccessBgHover: Color(0xFF0E2D19),
|
|
351
|
+
statusSuccessBorder: Color(0xFF19522D),
|
|
352
|
+
statusSuccessFg: Color(0xFF7FD497),
|
|
353
|
+
statusSuccessFgStrong: Color(0xFFDAF5E0),
|
|
354
|
+
statusSuccessOnSolid: Color(0xFFFFFFFF),
|
|
355
|
+
statusSuccessSolid: Color.from(alpha: 1.0, red: 0.1691, green: 0.5098, blue: 0.2544, colorSpace: ColorSpace.displayP3),
|
|
356
|
+
statusSuccessSolidHover: Color.from(alpha: 1.0, red: 0.1024, green: 0.4564, blue: 0.205, colorSpace: ColorSpace.displayP3),
|
|
357
|
+
statusWarningBg: Color(0xFF291C04),
|
|
358
|
+
statusWarningBgHover: Color.from(alpha: 1.0, red: 0.1937, green: 0.1371, blue: 0.0213, colorSpace: ColorSpace.displayP3),
|
|
359
|
+
statusWarningBorder: Color.from(alpha: 1.0, red: 0.3535, green: 0.2503, blue: 0.008, colorSpace: ColorSpace.displayP3),
|
|
360
|
+
statusWarningFg: Color(0xFFE9B454),
|
|
361
|
+
statusWarningFgStrong: Color(0xFFFCEACD),
|
|
362
|
+
statusWarningOnSolid: Color.from(alpha: 1.0, red: 0.196, green: 0.1319, blue: 0.0004, colorSpace: ColorSpace.displayP3),
|
|
363
|
+
statusWarningSolid: Color.from(alpha: 1.0, red: 0.9367, green: 0.7103, blue: 0.2322, colorSpace: ColorSpace.displayP3),
|
|
364
|
+
statusWarningSolidHover: Color.from(alpha: 1.0, red: 0.9963, green: 0.7678, blue: 0.3003, colorSpace: ColorSpace.displayP3),
|
|
365
|
+
);
|
|
366
|
+
|
|
367
|
+
static const UndColors ujalaLightMore = UndColors(
|
|
368
|
+
accentBg: Color(0xFFEFF2FE),
|
|
369
|
+
accentBgActive: Color(0xFFDAE1FC),
|
|
370
|
+
accentBgHover: Color(0xFFE5EAFC),
|
|
371
|
+
accentBorder: Color(0xFFBCC7F9),
|
|
372
|
+
accentFg: Color(0xFF1A1A58),
|
|
373
|
+
accentFgStrong: Color(0xFF1A1A58),
|
|
374
|
+
accentSolid: Color(0xFF504BF2),
|
|
375
|
+
accentSolidHover: Color(0xFF473DE4),
|
|
376
|
+
bgCanvas: Color(0xFFFCFDFE),
|
|
377
|
+
bgInverse: Color(0xFF23252C),
|
|
378
|
+
bgMuted: Color(0xFFF1F2F6),
|
|
379
|
+
bgMutedActive: Color(0xFFE0E2E7),
|
|
380
|
+
bgMutedHover: Color(0xFFE9EAEF),
|
|
381
|
+
bgOverlay: Color(0x730B0D16),
|
|
382
|
+
bgRaised: Color(0xFFFFFFFF),
|
|
383
|
+
bgSubtle: Color(0xFFF9F9FB),
|
|
384
|
+
bgSurface: Color(0xFFFFFFFF),
|
|
385
|
+
borderControl: Color(0xFF62646E),
|
|
386
|
+
borderControlHover: Color(0xFF23252C),
|
|
387
|
+
borderDefault: Color(0xFF898C96),
|
|
388
|
+
borderStrong: Color(0xFFB2B4BD),
|
|
389
|
+
borderSubtle: Color(0xFFB2B4BD),
|
|
390
|
+
dataviz1: Color(0xFF504BF2),
|
|
391
|
+
dataviz2: Color.from(alpha: 1.0, red: 0.9211, green: 0.515, blue: 0.1346, colorSpace: ColorSpace.displayP3),
|
|
392
|
+
dataviz3: Color.from(alpha: 1.0, red: 0.0077, green: 0.4931, blue: 0.5021, colorSpace: ColorSpace.displayP3),
|
|
393
|
+
dataviz4: Color(0xFFCA358B),
|
|
394
|
+
dataviz5: Color.from(alpha: 1.0, red: 0.1691, green: 0.5098, blue: 0.2544, colorSpace: ColorSpace.displayP3),
|
|
395
|
+
dataviz6: Color.from(alpha: 1.0, red: 0.1194, green: 0.4327, blue: 0.8303, colorSpace: ColorSpace.displayP3),
|
|
396
|
+
dataviz7: Color(0xFFBB4D2A),
|
|
397
|
+
dataviz8: Color.from(alpha: 1.0, red: 0.9367, green: 0.7103, blue: 0.2322, colorSpace: ColorSpace.displayP3),
|
|
398
|
+
datavizAxis: Color(0x3700052A),
|
|
399
|
+
datavizGridline: Color(0x16020E47),
|
|
400
|
+
fgDefault: Color(0xFF23252C),
|
|
401
|
+
fgDisabled: Color(0xFFB2B4BD),
|
|
402
|
+
fgInverse: Color(0xFFFCFDFE),
|
|
403
|
+
fgMuted: Color(0xFF23252C),
|
|
404
|
+
fgOnAccent: Color(0xFFFFFFFF),
|
|
405
|
+
fgSubtle: Color(0xFF62646E),
|
|
406
|
+
focusRing: Color(0xFF4B4DD5),
|
|
407
|
+
linkDefault: Color(0xFF1A1A58),
|
|
408
|
+
linkVisited: Color(0xFFA62D72),
|
|
409
|
+
materialChromeBg: Color(0xFFFFFFFF),
|
|
410
|
+
materialChromeBorder: Color(0xFFB2B4BD),
|
|
411
|
+
materialChromeHighlight: Color(0x00000000),
|
|
412
|
+
materialRegularBg: Color(0xFFFFFFFF),
|
|
413
|
+
materialRegularBorder: Color(0xFFB2B4BD),
|
|
414
|
+
materialThickBg: Color(0xFFFFFFFF),
|
|
415
|
+
materialThickBorder: Color(0xFFB2B4BD),
|
|
416
|
+
materialThinBg: Color(0xFFFFFFFF),
|
|
417
|
+
materialThinBorder: Color(0xFFB2B4BD),
|
|
418
|
+
selectionBg: Color(0x250232EA),
|
|
419
|
+
statusDangerBg: Color(0xFFFDEFED),
|
|
420
|
+
statusDangerBgHover: Color(0xFFFAE5E2),
|
|
421
|
+
statusDangerBorder: Color(0xFFF2BAB4),
|
|
422
|
+
statusDangerFg: Color(0xFFB81E27),
|
|
423
|
+
statusDangerFgStrong: Color(0xFF4B0609),
|
|
424
|
+
statusDangerOnSolid: Color(0xFFFFFFFF),
|
|
425
|
+
statusDangerSolid: Color(0xFFDD1D2C),
|
|
426
|
+
statusDangerSolidHover: Color.from(alpha: 1.0, red: 0.7416, green: 0.1432, blue: 0.1633, colorSpace: ColorSpace.displayP3),
|
|
427
|
+
statusInfoBg: Color(0xFFECF3FB),
|
|
428
|
+
statusInfoBgHover: Color(0xFFE1ECF9),
|
|
429
|
+
statusInfoBorder: Color(0xFFB0CDEF),
|
|
430
|
+
statusInfoFg: Color.from(alpha: 1.0, red: 0.1385, green: 0.3875, blue: 0.7163, colorSpace: ColorSpace.displayP3),
|
|
431
|
+
statusInfoFgStrong: Color.from(alpha: 1.0, red: 0.0299, green: 0.1424, blue: 0.2911, colorSpace: ColorSpace.displayP3),
|
|
432
|
+
statusInfoOnSolid: Color(0xFFFFFFFF),
|
|
433
|
+
statusInfoSolid: Color.from(alpha: 1.0, red: 0.1194, green: 0.4327, blue: 0.8303, colorSpace: ColorSpace.displayP3),
|
|
434
|
+
statusInfoSolidHover: Color.from(alpha: 1.0, red: 0.0421, green: 0.3834, blue: 0.7776, colorSpace: ColorSpace.displayP3),
|
|
435
|
+
statusSuccessBg: Color(0xFFEDF5EF),
|
|
436
|
+
statusSuccessBgHover: Color(0xFFE2EEE5),
|
|
437
|
+
statusSuccessBorder: Color(0xFFB4D3BB),
|
|
438
|
+
statusSuccessFg: Color.from(alpha: 1.0, red: 0.1962, green: 0.4692, blue: 0.2558, colorSpace: ColorSpace.displayP3),
|
|
439
|
+
statusSuccessFgStrong: Color.from(alpha: 1.0, red: 0.056, green: 0.1794, blue: 0.0832, colorSpace: ColorSpace.displayP3),
|
|
440
|
+
statusSuccessOnSolid: Color(0xFFFFFFFF),
|
|
441
|
+
statusSuccessSolid: Color.from(alpha: 1.0, red: 0.1691, green: 0.5098, blue: 0.2544, colorSpace: ColorSpace.displayP3),
|
|
442
|
+
statusSuccessSolidHover: Color.from(alpha: 1.0, red: 0.1105, green: 0.4623, blue: 0.2105, colorSpace: ColorSpace.displayP3),
|
|
443
|
+
statusWarningBg: Color(0xFFF7F2EA),
|
|
444
|
+
statusWarningBgHover: Color(0xFFF1E9DD),
|
|
445
|
+
statusWarningBorder: Color(0xFFDCC7A5),
|
|
446
|
+
statusWarningFg: Color.from(alpha: 1.0, red: 0.5069, green: 0.3634, blue: 0.0036, colorSpace: ColorSpace.displayP3),
|
|
447
|
+
statusWarningFgStrong: Color.from(alpha: 1.0, red: 0.196, green: 0.1319, blue: 0.0004, colorSpace: ColorSpace.displayP3),
|
|
448
|
+
statusWarningOnSolid: Color.from(alpha: 1.0, red: 0.196, green: 0.1319, blue: 0.0004, colorSpace: ColorSpace.displayP3),
|
|
449
|
+
statusWarningSolid: Color.from(alpha: 1.0, red: 0.9367, green: 0.7103, blue: 0.2322, colorSpace: ColorSpace.displayP3),
|
|
450
|
+
statusWarningSolidHover: Color.from(alpha: 1.0, red: 0.8842, green: 0.6598, blue: 0.1637, colorSpace: ColorSpace.displayP3),
|
|
451
|
+
);
|
|
452
|
+
|
|
453
|
+
static const UndColors ujalaDarkMore = UndColors(
|
|
454
|
+
accentBg: Color(0xFF171B3B),
|
|
455
|
+
accentBgActive: Color(0xFF22265C),
|
|
456
|
+
accentBgHover: Color(0xFF1C204C),
|
|
457
|
+
accentBorder: Color(0xFF353A89),
|
|
458
|
+
accentFg: Color.from(alpha: 1.0, red: 0.9096, green: 0.9241, blue: 0.9977, colorSpace: ColorSpace.displayP3),
|
|
459
|
+
accentFgStrong: Color.from(alpha: 1.0, red: 0.9096, green: 0.9241, blue: 0.9977, colorSpace: ColorSpace.displayP3),
|
|
460
|
+
accentSolid: Color(0xFF504BF2),
|
|
461
|
+
accentSolidHover: Color.from(alpha: 1.0, red: 0.3554, green: 0.3579, blue: 0.976, colorSpace: ColorSpace.displayP3),
|
|
462
|
+
bgCanvas: Color(0xFF0E0E0F),
|
|
463
|
+
bgInverse: Color(0xFFEAECF7),
|
|
464
|
+
bgMuted: Color(0xFF1E1F21),
|
|
465
|
+
bgMutedActive: Color(0xFF2C2D31),
|
|
466
|
+
bgMutedHover: Color(0xFF252629),
|
|
467
|
+
bgOverlay: Color(0x99000000),
|
|
468
|
+
bgRaised: Color(0xFF1E1F21),
|
|
469
|
+
bgSubtle: Color(0xFF151517),
|
|
470
|
+
bgSurface: Color(0xFF151517),
|
|
471
|
+
borderControl: Color(0xFFBABDC8),
|
|
472
|
+
borderControlHover: Color(0xFFEAECF7),
|
|
473
|
+
borderDefault: Color(0xFF666973),
|
|
474
|
+
borderStrong: Color(0xFF585A62),
|
|
475
|
+
borderSubtle: Color(0xFF585A62),
|
|
476
|
+
dataviz1: Color(0xFF504BF2),
|
|
477
|
+
dataviz2: Color.from(alpha: 1.0, red: 0.9211, green: 0.515, blue: 0.1346, colorSpace: ColorSpace.displayP3),
|
|
478
|
+
dataviz3: Color.from(alpha: 1.0, red: 0.0077, green: 0.4931, blue: 0.5021, colorSpace: ColorSpace.displayP3),
|
|
479
|
+
dataviz4: Color(0xFFCA358B),
|
|
480
|
+
dataviz5: Color.from(alpha: 1.0, red: 0.1691, green: 0.5098, blue: 0.2544, colorSpace: ColorSpace.displayP3),
|
|
481
|
+
dataviz6: Color.from(alpha: 1.0, red: 0.1194, green: 0.4327, blue: 0.8303, colorSpace: ColorSpace.displayP3),
|
|
482
|
+
dataviz7: Color(0xFFBB4D2A),
|
|
483
|
+
dataviz8: Color.from(alpha: 1.0, red: 0.9367, green: 0.7103, blue: 0.2322, colorSpace: ColorSpace.displayP3),
|
|
484
|
+
datavizAxis: Color(0x4BE7EAFE),
|
|
485
|
+
datavizGridline: Color(0x29E6ECFF),
|
|
486
|
+
fgDefault: Color(0xFFEAECF7),
|
|
487
|
+
fgDisabled: Color(0xFF585A62),
|
|
488
|
+
fgInverse: Color(0xFF0E0E0F),
|
|
489
|
+
fgMuted: Color(0xFFEAECF7),
|
|
490
|
+
fgOnAccent: Color(0xFFFFFFFF),
|
|
491
|
+
fgSubtle: Color(0xFFBABDC8),
|
|
492
|
+
focusRing: Color.from(alpha: 1.0, red: 0.6758, green: 0.7192, blue: 0.999, colorSpace: ColorSpace.displayP3),
|
|
493
|
+
linkDefault: Color.from(alpha: 1.0, red: 0.9096, green: 0.9241, blue: 0.9977, colorSpace: ColorSpace.displayP3),
|
|
494
|
+
linkVisited: Color.from(alpha: 1.0, red: 0.9621, green: 0.5989, blue: 0.7883, colorSpace: ColorSpace.displayP3),
|
|
495
|
+
materialChromeBg: Color(0xFF151517),
|
|
496
|
+
materialChromeBorder: Color(0xFF585A62),
|
|
497
|
+
materialChromeHighlight: Color(0x00000000),
|
|
498
|
+
materialRegularBg: Color(0xFF151517),
|
|
499
|
+
materialRegularBorder: Color(0xFF585A62),
|
|
500
|
+
materialThickBg: Color(0xFF151517),
|
|
501
|
+
materialThickBorder: Color(0xFF585A62),
|
|
502
|
+
materialThinBg: Color(0xFF151517),
|
|
503
|
+
materialThinBorder: Color(0xFF585A62),
|
|
504
|
+
selectionBg: Color(0x6E5F6AFF),
|
|
505
|
+
statusDangerBg: Color(0xFF351311),
|
|
506
|
+
statusDangerBgHover: Color(0xFF431413),
|
|
507
|
+
statusDangerBorder: Color(0xFF792323),
|
|
508
|
+
statusDangerFg: Color.from(alpha: 1.0, red: 0.9998, green: 0.6102, blue: 0.5696, colorSpace: ColorSpace.displayP3),
|
|
509
|
+
statusDangerFgStrong: Color.from(alpha: 1.0, red: 0.9985, green: 0.9003, blue: 0.8863, colorSpace: ColorSpace.displayP3),
|
|
510
|
+
statusDangerOnSolid: Color(0xFFFFFFFF),
|
|
511
|
+
statusDangerSolid: Color(0xFFDD1D2C),
|
|
512
|
+
statusDangerSolidHover: Color.from(alpha: 1.0, red: 0.7348, green: 0.1339, blue: 0.1573, colorSpace: ColorSpace.displayP3),
|
|
513
|
+
statusInfoBg: Color(0xFF0C2035),
|
|
514
|
+
statusInfoBgHover: Color(0xFF0B2743),
|
|
515
|
+
statusInfoBorder: Color(0xFF12477A),
|
|
516
|
+
statusInfoFg: Color.from(alpha: 1.0, red: 0.5796, green: 0.7556, blue: 1.0, colorSpace: ColorSpace.displayP3),
|
|
517
|
+
statusInfoFgStrong: Color.from(alpha: 1.0, red: 0.8869, green: 0.934, blue: 0.9984, colorSpace: ColorSpace.displayP3),
|
|
518
|
+
statusInfoOnSolid: Color(0xFFFFFFFF),
|
|
519
|
+
statusInfoSolid: Color.from(alpha: 1.0, red: 0.1194, green: 0.4327, blue: 0.8303, colorSpace: ColorSpace.displayP3),
|
|
520
|
+
statusInfoSolidHover: Color.from(alpha: 1.0, red: 0.0287, green: 0.3773, blue: 0.7711, colorSpace: ColorSpace.displayP3),
|
|
521
|
+
statusSuccessBg: Color(0xFF0F2415),
|
|
522
|
+
statusSuccessBgHover: Color(0xFF0E2D19),
|
|
523
|
+
statusSuccessBorder: Color(0xFF19522D),
|
|
524
|
+
statusSuccessFg: Color(0xFF7FD497),
|
|
525
|
+
statusSuccessFgStrong: Color(0xFFDAF5E0),
|
|
526
|
+
statusSuccessOnSolid: Color(0xFFFFFFFF),
|
|
527
|
+
statusSuccessSolid: Color.from(alpha: 1.0, red: 0.1691, green: 0.5098, blue: 0.2544, colorSpace: ColorSpace.displayP3),
|
|
528
|
+
statusSuccessSolidHover: Color.from(alpha: 1.0, red: 0.1024, green: 0.4564, blue: 0.205, colorSpace: ColorSpace.displayP3),
|
|
529
|
+
statusWarningBg: Color(0xFF291C04),
|
|
530
|
+
statusWarningBgHover: Color.from(alpha: 1.0, red: 0.1937, green: 0.1371, blue: 0.0213, colorSpace: ColorSpace.displayP3),
|
|
531
|
+
statusWarningBorder: Color.from(alpha: 1.0, red: 0.3535, green: 0.2503, blue: 0.008, colorSpace: ColorSpace.displayP3),
|
|
532
|
+
statusWarningFg: Color(0xFFE9B454),
|
|
533
|
+
statusWarningFgStrong: Color(0xFFFCEACD),
|
|
534
|
+
statusWarningOnSolid: Color.from(alpha: 1.0, red: 0.196, green: 0.1319, blue: 0.0004, colorSpace: ColorSpace.displayP3),
|
|
535
|
+
statusWarningSolid: Color.from(alpha: 1.0, red: 0.9367, green: 0.7103, blue: 0.2322, colorSpace: ColorSpace.displayP3),
|
|
536
|
+
statusWarningSolidHover: Color.from(alpha: 1.0, red: 0.9963, green: 0.7678, blue: 0.3003, colorSpace: ColorSpace.displayP3),
|
|
537
|
+
);
|
|
538
|
+
|
|
539
|
+
static const UndColors kesarLight = UndColors(
|
|
540
|
+
accentBg: Color(0xFFFAF0EA),
|
|
541
|
+
accentBgActive: Color(0xFFF3DDD0),
|
|
542
|
+
accentBgHover: Color(0xFFF6E7DE),
|
|
543
|
+
accentBorder: Color(0xFFE8C1A7),
|
|
544
|
+
accentFg: Color.from(alpha: 1.0, red: 0.5819, green: 0.3027, blue: 0.0044, colorSpace: ColorSpace.displayP3),
|
|
545
|
+
accentFgStrong: Color.from(alpha: 1.0, red: 0.229, green: 0.1052, blue: 0.0017, colorSpace: ColorSpace.displayP3),
|
|
546
|
+
accentSolid: Color.from(alpha: 1.0, red: 0.9211, green: 0.515, blue: 0.1346, colorSpace: ColorSpace.displayP3),
|
|
547
|
+
accentSolidHover: Color.from(alpha: 1.0, red: 0.8673, green: 0.4651, blue: 0.0274, colorSpace: ColorSpace.displayP3),
|
|
548
|
+
bgCanvas: Color(0xFFFDFDFC),
|
|
549
|
+
bgInverse: Color(0xFF292421),
|
|
550
|
+
bgMuted: Color(0xFFF4F2F0),
|
|
551
|
+
bgMutedActive: Color(0xFFE4E1DF),
|
|
552
|
+
bgMutedHover: Color(0xFFEDEAE8),
|
|
553
|
+
bgOverlay: Color(0x730B0D16),
|
|
554
|
+
bgRaised: Color(0xFFFFFFFF),
|
|
555
|
+
bgSubtle: Color(0xFFFAF9F8),
|
|
556
|
+
bgSurface: Color(0xFFFFFFFF),
|
|
557
|
+
borderControl: Color(0xFF918B87),
|
|
558
|
+
borderControlHover: Color(0xFF857F7B),
|
|
559
|
+
borderDefault: Color(0xFFCDC9C6),
|
|
560
|
+
borderStrong: Color(0xFFB9B4B0),
|
|
561
|
+
borderSubtle: Color(0xFFDBD7D5),
|
|
562
|
+
dataviz1: Color(0xFF504BF2),
|
|
563
|
+
dataviz2: Color.from(alpha: 1.0, red: 0.9211, green: 0.515, blue: 0.1346, colorSpace: ColorSpace.displayP3),
|
|
564
|
+
dataviz3: Color.from(alpha: 1.0, red: 0.0077, green: 0.4931, blue: 0.5021, colorSpace: ColorSpace.displayP3),
|
|
565
|
+
dataviz4: Color(0xFFCA358B),
|
|
566
|
+
dataviz5: Color.from(alpha: 1.0, red: 0.1691, green: 0.5098, blue: 0.2544, colorSpace: ColorSpace.displayP3),
|
|
567
|
+
dataviz6: Color.from(alpha: 1.0, red: 0.1194, green: 0.4327, blue: 0.8303, colorSpace: ColorSpace.displayP3),
|
|
568
|
+
dataviz7: Color(0xFFBB4D2A),
|
|
569
|
+
dataviz8: Color.from(alpha: 1.0, red: 0.9367, green: 0.7103, blue: 0.2322, colorSpace: ColorSpace.displayP3),
|
|
570
|
+
datavizAxis: Color(0x39200E01),
|
|
571
|
+
datavizGridline: Color(0x17391802),
|
|
572
|
+
fgDefault: Color(0xFF292421),
|
|
573
|
+
fgDisabled: Color(0xFFB9B4B0),
|
|
574
|
+
fgInverse: Color(0xFFFDFDFC),
|
|
575
|
+
fgMuted: Color(0xFF69635F),
|
|
576
|
+
fgOnAccent: Color.from(alpha: 1.0, red: 0.229, green: 0.1052, blue: 0.0017, colorSpace: ColorSpace.displayP3),
|
|
577
|
+
fgSubtle: Color(0xFF857F7B),
|
|
578
|
+
focusRing: Color(0xFF292421),
|
|
579
|
+
linkDefault: Color.from(alpha: 1.0, red: 0.5819, green: 0.3027, blue: 0.0044, colorSpace: ColorSpace.displayP3),
|
|
580
|
+
linkVisited: Color(0xFFA62D72),
|
|
581
|
+
materialChromeBg: Color(0xB8FBFCFE),
|
|
582
|
+
materialChromeBorder: Color(0x20291101),
|
|
583
|
+
materialChromeHighlight: Color(0x80FFFFFF),
|
|
584
|
+
materialRegularBg: Color(0xB8FBFCFE),
|
|
585
|
+
materialRegularBorder: Color(0x20291101),
|
|
586
|
+
materialThickBg: Color(0xD6FBFCFE),
|
|
587
|
+
materialThickBorder: Color(0x2A250D00),
|
|
588
|
+
materialThinBg: Color(0x9EFBFCFE),
|
|
589
|
+
materialThinBorder: Color(0x17391802),
|
|
590
|
+
selectionBg: Color(0x2FBE4701),
|
|
591
|
+
statusDangerBg: Color(0xFFFDEFED),
|
|
592
|
+
statusDangerBgHover: Color(0xFFFAE5E2),
|
|
593
|
+
statusDangerBorder: Color(0xFFF2BAB4),
|
|
594
|
+
statusDangerFg: Color(0xFFB81E27),
|
|
595
|
+
statusDangerFgStrong: Color(0xFF4B0609),
|
|
596
|
+
statusDangerOnSolid: Color(0xFFFFFFFF),
|
|
597
|
+
statusDangerSolid: Color(0xFFDD1D2C),
|
|
598
|
+
statusDangerSolidHover: Color.from(alpha: 1.0, red: 0.7416, green: 0.1432, blue: 0.1633, colorSpace: ColorSpace.displayP3),
|
|
599
|
+
statusInfoBg: Color(0xFFECF3FB),
|
|
600
|
+
statusInfoBgHover: Color(0xFFE1ECF9),
|
|
601
|
+
statusInfoBorder: Color(0xFFB0CDEF),
|
|
602
|
+
statusInfoFg: Color.from(alpha: 1.0, red: 0.1385, green: 0.3875, blue: 0.7163, colorSpace: ColorSpace.displayP3),
|
|
603
|
+
statusInfoFgStrong: Color.from(alpha: 1.0, red: 0.0299, green: 0.1424, blue: 0.2911, colorSpace: ColorSpace.displayP3),
|
|
604
|
+
statusInfoOnSolid: Color(0xFFFFFFFF),
|
|
605
|
+
statusInfoSolid: Color.from(alpha: 1.0, red: 0.1194, green: 0.4327, blue: 0.8303, colorSpace: ColorSpace.displayP3),
|
|
606
|
+
statusInfoSolidHover: Color.from(alpha: 1.0, red: 0.0421, green: 0.3834, blue: 0.7776, colorSpace: ColorSpace.displayP3),
|
|
607
|
+
statusSuccessBg: Color(0xFFEDF5EF),
|
|
608
|
+
statusSuccessBgHover: Color(0xFFE2EEE5),
|
|
609
|
+
statusSuccessBorder: Color(0xFFB4D3BB),
|
|
610
|
+
statusSuccessFg: Color.from(alpha: 1.0, red: 0.1962, green: 0.4692, blue: 0.2558, colorSpace: ColorSpace.displayP3),
|
|
611
|
+
statusSuccessFgStrong: Color.from(alpha: 1.0, red: 0.056, green: 0.1794, blue: 0.0832, colorSpace: ColorSpace.displayP3),
|
|
612
|
+
statusSuccessOnSolid: Color(0xFFFFFFFF),
|
|
613
|
+
statusSuccessSolid: Color.from(alpha: 1.0, red: 0.1691, green: 0.5098, blue: 0.2544, colorSpace: ColorSpace.displayP3),
|
|
614
|
+
statusSuccessSolidHover: Color.from(alpha: 1.0, red: 0.1105, green: 0.4623, blue: 0.2105, colorSpace: ColorSpace.displayP3),
|
|
615
|
+
statusWarningBg: Color(0xFFF7F2EA),
|
|
616
|
+
statusWarningBgHover: Color(0xFFF1E9DD),
|
|
617
|
+
statusWarningBorder: Color(0xFFDCC7A5),
|
|
618
|
+
statusWarningFg: Color.from(alpha: 1.0, red: 0.5069, green: 0.3634, blue: 0.0036, colorSpace: ColorSpace.displayP3),
|
|
619
|
+
statusWarningFgStrong: Color.from(alpha: 1.0, red: 0.196, green: 0.1319, blue: 0.0004, colorSpace: ColorSpace.displayP3),
|
|
620
|
+
statusWarningOnSolid: Color.from(alpha: 1.0, red: 0.196, green: 0.1319, blue: 0.0004, colorSpace: ColorSpace.displayP3),
|
|
621
|
+
statusWarningSolid: Color.from(alpha: 1.0, red: 0.9367, green: 0.7103, blue: 0.2322, colorSpace: ColorSpace.displayP3),
|
|
622
|
+
statusWarningSolidHover: Color.from(alpha: 1.0, red: 0.8842, green: 0.6598, blue: 0.1637, colorSpace: ColorSpace.displayP3),
|
|
623
|
+
);
|
|
624
|
+
|
|
625
|
+
static const UndColors kesarDark = UndColors(
|
|
626
|
+
accentBg: Color(0xFF301806),
|
|
627
|
+
accentBgActive: Color.from(alpha: 1.0, red: 0.2663, green: 0.1363, blue: 0.0223, colorSpace: ColorSpace.displayP3),
|
|
628
|
+
accentBgHover: Color(0xFF3D1C02),
|
|
629
|
+
accentBorder: Color.from(alpha: 1.0, red: 0.401, green: 0.212, blue: 0.036, colorSpace: ColorSpace.displayP3),
|
|
630
|
+
accentFg: Color.from(alpha: 1.0, red: 0.9645, green: 0.6566, blue: 0.415, colorSpace: ColorSpace.displayP3),
|
|
631
|
+
accentFgStrong: Color.from(alpha: 1.0, red: 0.9991, green: 0.9075, blue: 0.8384, colorSpace: ColorSpace.displayP3),
|
|
632
|
+
accentSolid: Color.from(alpha: 1.0, red: 0.9211, green: 0.515, blue: 0.1346, colorSpace: ColorSpace.displayP3),
|
|
633
|
+
accentSolidHover: Color.from(alpha: 1.0, red: 0.9821, green: 0.5717, blue: 0.2115, colorSpace: ColorSpace.displayP3),
|
|
634
|
+
bgCanvas: Color(0xFF0F0E0E),
|
|
635
|
+
bgInverse: Color(0xFFF2EBE7),
|
|
636
|
+
bgMuted: Color(0xFF201E1D),
|
|
637
|
+
bgMutedActive: Color(0xFF2F2D2B),
|
|
638
|
+
bgMutedHover: Color(0xFF272524),
|
|
639
|
+
bgOverlay: Color(0x99000000),
|
|
640
|
+
bgRaised: Color(0xFF201E1D),
|
|
641
|
+
bgSubtle: Color(0xFF161515),
|
|
642
|
+
bgSurface: Color(0xFF161515),
|
|
643
|
+
borderControl: Color(0xFF6D6863),
|
|
644
|
+
borderControlHover: Color(0xFF7B7570),
|
|
645
|
+
borderDefault: Color(0xFF484542),
|
|
646
|
+
borderStrong: Color(0xFF5E5A56),
|
|
647
|
+
borderSubtle: Color(0xFF393634),
|
|
648
|
+
dataviz1: Color(0xFF504BF2),
|
|
649
|
+
dataviz2: Color.from(alpha: 1.0, red: 0.9211, green: 0.515, blue: 0.1346, colorSpace: ColorSpace.displayP3),
|
|
650
|
+
dataviz3: Color.from(alpha: 1.0, red: 0.0077, green: 0.4931, blue: 0.5021, colorSpace: ColorSpace.displayP3),
|
|
651
|
+
dataviz4: Color(0xFFCA358B),
|
|
652
|
+
dataviz5: Color.from(alpha: 1.0, red: 0.1691, green: 0.5098, blue: 0.2544, colorSpace: ColorSpace.displayP3),
|
|
653
|
+
dataviz6: Color.from(alpha: 1.0, red: 0.1194, green: 0.4327, blue: 0.8303, colorSpace: ColorSpace.displayP3),
|
|
654
|
+
dataviz7: Color(0xFFBB4D2A),
|
|
655
|
+
dataviz8: Color.from(alpha: 1.0, red: 0.9367, green: 0.7103, blue: 0.2322, colorSpace: ColorSpace.displayP3),
|
|
656
|
+
datavizAxis: Color(0x48FEF4E9),
|
|
657
|
+
datavizGridline: Color(0x27FFF2EB),
|
|
658
|
+
fgDefault: Color(0xFFF2EBE7),
|
|
659
|
+
fgDisabled: Color(0xFF5E5A56),
|
|
660
|
+
fgInverse: Color(0xFF0F0E0E),
|
|
661
|
+
fgMuted: Color(0xFFC3BCB7),
|
|
662
|
+
fgOnAccent: Color.from(alpha: 1.0, red: 0.229, green: 0.1052, blue: 0.0017, colorSpace: ColorSpace.displayP3),
|
|
663
|
+
fgSubtle: Color(0xFF7B7570),
|
|
664
|
+
focusRing: Color(0xFFF2EBE7),
|
|
665
|
+
linkDefault: Color.from(alpha: 1.0, red: 0.9645, green: 0.6566, blue: 0.415, colorSpace: ColorSpace.displayP3),
|
|
666
|
+
linkVisited: Color.from(alpha: 1.0, red: 0.9621, green: 0.5989, blue: 0.7883, colorSpace: ColorSpace.displayP3),
|
|
667
|
+
materialChromeBg: Color(0xAD191A1F),
|
|
668
|
+
materialChromeBorder: Color(0x2FFEF3E8),
|
|
669
|
+
materialChromeHighlight: Color(0x1FFFFFFF),
|
|
670
|
+
materialRegularBg: Color(0xAD191A1F),
|
|
671
|
+
materialRegularBorder: Color(0x2FFEF3E8),
|
|
672
|
+
materialThickBg: Color(0xCC15161B),
|
|
673
|
+
materialThickBorder: Color(0x39FEF1E8),
|
|
674
|
+
materialThinBg: Color(0xA6191A1F),
|
|
675
|
+
materialThinBorder: Color(0x27FFF2EB),
|
|
676
|
+
selectionBg: Color(0x56FE7900),
|
|
677
|
+
statusDangerBg: Color(0xFF351311),
|
|
678
|
+
statusDangerBgHover: Color(0xFF431413),
|
|
679
|
+
statusDangerBorder: Color(0xFF792323),
|
|
680
|
+
statusDangerFg: Color.from(alpha: 1.0, red: 0.9998, green: 0.6102, blue: 0.5696, colorSpace: ColorSpace.displayP3),
|
|
681
|
+
statusDangerFgStrong: Color.from(alpha: 1.0, red: 0.9985, green: 0.9003, blue: 0.8863, colorSpace: ColorSpace.displayP3),
|
|
682
|
+
statusDangerOnSolid: Color(0xFFFFFFFF),
|
|
683
|
+
statusDangerSolid: Color(0xFFDD1D2C),
|
|
684
|
+
statusDangerSolidHover: Color.from(alpha: 1.0, red: 0.7348, green: 0.1339, blue: 0.1573, colorSpace: ColorSpace.displayP3),
|
|
685
|
+
statusInfoBg: Color(0xFF0C2035),
|
|
686
|
+
statusInfoBgHover: Color(0xFF0B2743),
|
|
687
|
+
statusInfoBorder: Color(0xFF12477A),
|
|
688
|
+
statusInfoFg: Color.from(alpha: 1.0, red: 0.5796, green: 0.7556, blue: 1.0, colorSpace: ColorSpace.displayP3),
|
|
689
|
+
statusInfoFgStrong: Color.from(alpha: 1.0, red: 0.8869, green: 0.934, blue: 0.9984, colorSpace: ColorSpace.displayP3),
|
|
690
|
+
statusInfoOnSolid: Color(0xFFFFFFFF),
|
|
691
|
+
statusInfoSolid: Color.from(alpha: 1.0, red: 0.1194, green: 0.4327, blue: 0.8303, colorSpace: ColorSpace.displayP3),
|
|
692
|
+
statusInfoSolidHover: Color.from(alpha: 1.0, red: 0.0287, green: 0.3773, blue: 0.7711, colorSpace: ColorSpace.displayP3),
|
|
693
|
+
statusSuccessBg: Color(0xFF0F2415),
|
|
694
|
+
statusSuccessBgHover: Color(0xFF0E2D19),
|
|
695
|
+
statusSuccessBorder: Color(0xFF19522D),
|
|
696
|
+
statusSuccessFg: Color(0xFF7FD497),
|
|
697
|
+
statusSuccessFgStrong: Color(0xFFDAF5E0),
|
|
698
|
+
statusSuccessOnSolid: Color(0xFFFFFFFF),
|
|
699
|
+
statusSuccessSolid: Color.from(alpha: 1.0, red: 0.1691, green: 0.5098, blue: 0.2544, colorSpace: ColorSpace.displayP3),
|
|
700
|
+
statusSuccessSolidHover: Color.from(alpha: 1.0, red: 0.1024, green: 0.4564, blue: 0.205, colorSpace: ColorSpace.displayP3),
|
|
701
|
+
statusWarningBg: Color(0xFF291C04),
|
|
702
|
+
statusWarningBgHover: Color.from(alpha: 1.0, red: 0.1937, green: 0.1371, blue: 0.0213, colorSpace: ColorSpace.displayP3),
|
|
703
|
+
statusWarningBorder: Color.from(alpha: 1.0, red: 0.3535, green: 0.2503, blue: 0.008, colorSpace: ColorSpace.displayP3),
|
|
704
|
+
statusWarningFg: Color(0xFFE9B454),
|
|
705
|
+
statusWarningFgStrong: Color(0xFFFCEACD),
|
|
706
|
+
statusWarningOnSolid: Color.from(alpha: 1.0, red: 0.196, green: 0.1319, blue: 0.0004, colorSpace: ColorSpace.displayP3),
|
|
707
|
+
statusWarningSolid: Color.from(alpha: 1.0, red: 0.9367, green: 0.7103, blue: 0.2322, colorSpace: ColorSpace.displayP3),
|
|
708
|
+
statusWarningSolidHover: Color.from(alpha: 1.0, red: 0.9963, green: 0.7678, blue: 0.3003, colorSpace: ColorSpace.displayP3),
|
|
709
|
+
);
|
|
710
|
+
|
|
711
|
+
static const UndColors kesarLightMore = UndColors(
|
|
712
|
+
accentBg: Color(0xFFFAF0EA),
|
|
713
|
+
accentBgActive: Color(0xFFF3DDD0),
|
|
714
|
+
accentBgHover: Color(0xFFF6E7DE),
|
|
715
|
+
accentBorder: Color(0xFFE8C1A7),
|
|
716
|
+
accentFg: Color.from(alpha: 1.0, red: 0.229, green: 0.1052, blue: 0.0017, colorSpace: ColorSpace.displayP3),
|
|
717
|
+
accentFgStrong: Color.from(alpha: 1.0, red: 0.229, green: 0.1052, blue: 0.0017, colorSpace: ColorSpace.displayP3),
|
|
718
|
+
accentSolid: Color.from(alpha: 1.0, red: 0.9211, green: 0.515, blue: 0.1346, colorSpace: ColorSpace.displayP3),
|
|
719
|
+
accentSolidHover: Color.from(alpha: 1.0, red: 0.8673, green: 0.4651, blue: 0.0274, colorSpace: ColorSpace.displayP3),
|
|
720
|
+
bgCanvas: Color(0xFFFDFDFC),
|
|
721
|
+
bgInverse: Color(0xFF292421),
|
|
722
|
+
bgMuted: Color(0xFFF4F2F0),
|
|
723
|
+
bgMutedActive: Color(0xFFE4E1DF),
|
|
724
|
+
bgMutedHover: Color(0xFFEDEAE8),
|
|
725
|
+
bgOverlay: Color(0x730B0D16),
|
|
726
|
+
bgRaised: Color(0xFFFFFFFF),
|
|
727
|
+
bgSubtle: Color(0xFFFAF9F8),
|
|
728
|
+
bgSurface: Color(0xFFFFFFFF),
|
|
729
|
+
borderControl: Color(0xFF69635F),
|
|
730
|
+
borderControlHover: Color(0xFF292421),
|
|
731
|
+
borderDefault: Color(0xFF918B87),
|
|
732
|
+
borderStrong: Color(0xFFB9B4B0),
|
|
733
|
+
borderSubtle: Color(0xFFB9B4B0),
|
|
734
|
+
dataviz1: Color(0xFF504BF2),
|
|
735
|
+
dataviz2: Color.from(alpha: 1.0, red: 0.9211, green: 0.515, blue: 0.1346, colorSpace: ColorSpace.displayP3),
|
|
736
|
+
dataviz3: Color.from(alpha: 1.0, red: 0.0077, green: 0.4931, blue: 0.5021, colorSpace: ColorSpace.displayP3),
|
|
737
|
+
dataviz4: Color(0xFFCA358B),
|
|
738
|
+
dataviz5: Color.from(alpha: 1.0, red: 0.1691, green: 0.5098, blue: 0.2544, colorSpace: ColorSpace.displayP3),
|
|
739
|
+
dataviz6: Color.from(alpha: 1.0, red: 0.1194, green: 0.4327, blue: 0.8303, colorSpace: ColorSpace.displayP3),
|
|
740
|
+
dataviz7: Color(0xFFBB4D2A),
|
|
741
|
+
dataviz8: Color.from(alpha: 1.0, red: 0.9367, green: 0.7103, blue: 0.2322, colorSpace: ColorSpace.displayP3),
|
|
742
|
+
datavizAxis: Color(0x39200E01),
|
|
743
|
+
datavizGridline: Color(0x17391802),
|
|
744
|
+
fgDefault: Color(0xFF292421),
|
|
745
|
+
fgDisabled: Color(0xFFB9B4B0),
|
|
746
|
+
fgInverse: Color(0xFFFDFDFC),
|
|
747
|
+
fgMuted: Color(0xFF292421),
|
|
748
|
+
fgOnAccent: Color.from(alpha: 1.0, red: 0.229, green: 0.1052, blue: 0.0017, colorSpace: ColorSpace.displayP3),
|
|
749
|
+
fgSubtle: Color(0xFF69635F),
|
|
750
|
+
focusRing: Color(0xFF292421),
|
|
751
|
+
linkDefault: Color.from(alpha: 1.0, red: 0.229, green: 0.1052, blue: 0.0017, colorSpace: ColorSpace.displayP3),
|
|
752
|
+
linkVisited: Color(0xFFA62D72),
|
|
753
|
+
materialChromeBg: Color(0xFFFFFFFF),
|
|
754
|
+
materialChromeBorder: Color(0xFFB9B4B0),
|
|
755
|
+
materialChromeHighlight: Color(0x00000000),
|
|
756
|
+
materialRegularBg: Color(0xFFFFFFFF),
|
|
757
|
+
materialRegularBorder: Color(0xFFB9B4B0),
|
|
758
|
+
materialThickBg: Color(0xFFFFFFFF),
|
|
759
|
+
materialThickBorder: Color(0xFFB9B4B0),
|
|
760
|
+
materialThinBg: Color(0xFFFFFFFF),
|
|
761
|
+
materialThinBorder: Color(0xFFB9B4B0),
|
|
762
|
+
selectionBg: Color(0x2FBE4701),
|
|
763
|
+
statusDangerBg: Color(0xFFFDEFED),
|
|
764
|
+
statusDangerBgHover: Color(0xFFFAE5E2),
|
|
765
|
+
statusDangerBorder: Color(0xFFF2BAB4),
|
|
766
|
+
statusDangerFg: Color(0xFFB81E27),
|
|
767
|
+
statusDangerFgStrong: Color(0xFF4B0609),
|
|
768
|
+
statusDangerOnSolid: Color(0xFFFFFFFF),
|
|
769
|
+
statusDangerSolid: Color(0xFFDD1D2C),
|
|
770
|
+
statusDangerSolidHover: Color.from(alpha: 1.0, red: 0.7416, green: 0.1432, blue: 0.1633, colorSpace: ColorSpace.displayP3),
|
|
771
|
+
statusInfoBg: Color(0xFFECF3FB),
|
|
772
|
+
statusInfoBgHover: Color(0xFFE1ECF9),
|
|
773
|
+
statusInfoBorder: Color(0xFFB0CDEF),
|
|
774
|
+
statusInfoFg: Color.from(alpha: 1.0, red: 0.1385, green: 0.3875, blue: 0.7163, colorSpace: ColorSpace.displayP3),
|
|
775
|
+
statusInfoFgStrong: Color.from(alpha: 1.0, red: 0.0299, green: 0.1424, blue: 0.2911, colorSpace: ColorSpace.displayP3),
|
|
776
|
+
statusInfoOnSolid: Color(0xFFFFFFFF),
|
|
777
|
+
statusInfoSolid: Color.from(alpha: 1.0, red: 0.1194, green: 0.4327, blue: 0.8303, colorSpace: ColorSpace.displayP3),
|
|
778
|
+
statusInfoSolidHover: Color.from(alpha: 1.0, red: 0.0421, green: 0.3834, blue: 0.7776, colorSpace: ColorSpace.displayP3),
|
|
779
|
+
statusSuccessBg: Color(0xFFEDF5EF),
|
|
780
|
+
statusSuccessBgHover: Color(0xFFE2EEE5),
|
|
781
|
+
statusSuccessBorder: Color(0xFFB4D3BB),
|
|
782
|
+
statusSuccessFg: Color.from(alpha: 1.0, red: 0.1962, green: 0.4692, blue: 0.2558, colorSpace: ColorSpace.displayP3),
|
|
783
|
+
statusSuccessFgStrong: Color.from(alpha: 1.0, red: 0.056, green: 0.1794, blue: 0.0832, colorSpace: ColorSpace.displayP3),
|
|
784
|
+
statusSuccessOnSolid: Color(0xFFFFFFFF),
|
|
785
|
+
statusSuccessSolid: Color.from(alpha: 1.0, red: 0.1691, green: 0.5098, blue: 0.2544, colorSpace: ColorSpace.displayP3),
|
|
786
|
+
statusSuccessSolidHover: Color.from(alpha: 1.0, red: 0.1105, green: 0.4623, blue: 0.2105, colorSpace: ColorSpace.displayP3),
|
|
787
|
+
statusWarningBg: Color(0xFFF7F2EA),
|
|
788
|
+
statusWarningBgHover: Color(0xFFF1E9DD),
|
|
789
|
+
statusWarningBorder: Color(0xFFDCC7A5),
|
|
790
|
+
statusWarningFg: Color.from(alpha: 1.0, red: 0.5069, green: 0.3634, blue: 0.0036, colorSpace: ColorSpace.displayP3),
|
|
791
|
+
statusWarningFgStrong: Color.from(alpha: 1.0, red: 0.196, green: 0.1319, blue: 0.0004, colorSpace: ColorSpace.displayP3),
|
|
792
|
+
statusWarningOnSolid: Color.from(alpha: 1.0, red: 0.196, green: 0.1319, blue: 0.0004, colorSpace: ColorSpace.displayP3),
|
|
793
|
+
statusWarningSolid: Color.from(alpha: 1.0, red: 0.9367, green: 0.7103, blue: 0.2322, colorSpace: ColorSpace.displayP3),
|
|
794
|
+
statusWarningSolidHover: Color.from(alpha: 1.0, red: 0.8842, green: 0.6598, blue: 0.1637, colorSpace: ColorSpace.displayP3),
|
|
795
|
+
);
|
|
796
|
+
|
|
797
|
+
static const UndColors kesarDarkMore = UndColors(
|
|
798
|
+
accentBg: Color(0xFF301806),
|
|
799
|
+
accentBgActive: Color.from(alpha: 1.0, red: 0.2663, green: 0.1363, blue: 0.0223, colorSpace: ColorSpace.displayP3),
|
|
800
|
+
accentBgHover: Color(0xFF3D1C02),
|
|
801
|
+
accentBorder: Color.from(alpha: 1.0, red: 0.401, green: 0.212, blue: 0.036, colorSpace: ColorSpace.displayP3),
|
|
802
|
+
accentFg: Color.from(alpha: 1.0, red: 0.9991, green: 0.9075, blue: 0.8384, colorSpace: ColorSpace.displayP3),
|
|
803
|
+
accentFgStrong: Color.from(alpha: 1.0, red: 0.9991, green: 0.9075, blue: 0.8384, colorSpace: ColorSpace.displayP3),
|
|
804
|
+
accentSolid: Color.from(alpha: 1.0, red: 0.9211, green: 0.515, blue: 0.1346, colorSpace: ColorSpace.displayP3),
|
|
805
|
+
accentSolidHover: Color.from(alpha: 1.0, red: 0.9821, green: 0.5717, blue: 0.2115, colorSpace: ColorSpace.displayP3),
|
|
806
|
+
bgCanvas: Color(0xFF0F0E0E),
|
|
807
|
+
bgInverse: Color(0xFFF2EBE7),
|
|
808
|
+
bgMuted: Color(0xFF201E1D),
|
|
809
|
+
bgMutedActive: Color(0xFF2F2D2B),
|
|
810
|
+
bgMutedHover: Color(0xFF272524),
|
|
811
|
+
bgOverlay: Color(0x99000000),
|
|
812
|
+
bgRaised: Color(0xFF201E1D),
|
|
813
|
+
bgSubtle: Color(0xFF161515),
|
|
814
|
+
bgSurface: Color(0xFF161515),
|
|
815
|
+
borderControl: Color(0xFFC3BCB7),
|
|
816
|
+
borderControlHover: Color(0xFFF2EBE7),
|
|
817
|
+
borderDefault: Color(0xFF6D6863),
|
|
818
|
+
borderStrong: Color(0xFF5E5A56),
|
|
819
|
+
borderSubtle: Color(0xFF5E5A56),
|
|
820
|
+
dataviz1: Color(0xFF504BF2),
|
|
821
|
+
dataviz2: Color.from(alpha: 1.0, red: 0.9211, green: 0.515, blue: 0.1346, colorSpace: ColorSpace.displayP3),
|
|
822
|
+
dataviz3: Color.from(alpha: 1.0, red: 0.0077, green: 0.4931, blue: 0.5021, colorSpace: ColorSpace.displayP3),
|
|
823
|
+
dataviz4: Color(0xFFCA358B),
|
|
824
|
+
dataviz5: Color.from(alpha: 1.0, red: 0.1691, green: 0.5098, blue: 0.2544, colorSpace: ColorSpace.displayP3),
|
|
825
|
+
dataviz6: Color.from(alpha: 1.0, red: 0.1194, green: 0.4327, blue: 0.8303, colorSpace: ColorSpace.displayP3),
|
|
826
|
+
dataviz7: Color(0xFFBB4D2A),
|
|
827
|
+
dataviz8: Color.from(alpha: 1.0, red: 0.9367, green: 0.7103, blue: 0.2322, colorSpace: ColorSpace.displayP3),
|
|
828
|
+
datavizAxis: Color(0x48FEF4E9),
|
|
829
|
+
datavizGridline: Color(0x27FFF2EB),
|
|
830
|
+
fgDefault: Color(0xFFF2EBE7),
|
|
831
|
+
fgDisabled: Color(0xFF5E5A56),
|
|
832
|
+
fgInverse: Color(0xFF0F0E0E),
|
|
833
|
+
fgMuted: Color(0xFFF2EBE7),
|
|
834
|
+
fgOnAccent: Color.from(alpha: 1.0, red: 0.229, green: 0.1052, blue: 0.0017, colorSpace: ColorSpace.displayP3),
|
|
835
|
+
fgSubtle: Color(0xFFC3BCB7),
|
|
836
|
+
focusRing: Color(0xFFF2EBE7),
|
|
837
|
+
linkDefault: Color.from(alpha: 1.0, red: 0.9991, green: 0.9075, blue: 0.8384, colorSpace: ColorSpace.displayP3),
|
|
838
|
+
linkVisited: Color.from(alpha: 1.0, red: 0.9621, green: 0.5989, blue: 0.7883, colorSpace: ColorSpace.displayP3),
|
|
839
|
+
materialChromeBg: Color(0xFF161515),
|
|
840
|
+
materialChromeBorder: Color(0xFF5E5A56),
|
|
841
|
+
materialChromeHighlight: Color(0x00000000),
|
|
842
|
+
materialRegularBg: Color(0xFF161515),
|
|
843
|
+
materialRegularBorder: Color(0xFF5E5A56),
|
|
844
|
+
materialThickBg: Color(0xFF161515),
|
|
845
|
+
materialThickBorder: Color(0xFF5E5A56),
|
|
846
|
+
materialThinBg: Color(0xFF161515),
|
|
847
|
+
materialThinBorder: Color(0xFF5E5A56),
|
|
848
|
+
selectionBg: Color(0x56FE7900),
|
|
849
|
+
statusDangerBg: Color(0xFF351311),
|
|
850
|
+
statusDangerBgHover: Color(0xFF431413),
|
|
851
|
+
statusDangerBorder: Color(0xFF792323),
|
|
852
|
+
statusDangerFg: Color.from(alpha: 1.0, red: 0.9998, green: 0.6102, blue: 0.5696, colorSpace: ColorSpace.displayP3),
|
|
853
|
+
statusDangerFgStrong: Color.from(alpha: 1.0, red: 0.9985, green: 0.9003, blue: 0.8863, colorSpace: ColorSpace.displayP3),
|
|
854
|
+
statusDangerOnSolid: Color(0xFFFFFFFF),
|
|
855
|
+
statusDangerSolid: Color(0xFFDD1D2C),
|
|
856
|
+
statusDangerSolidHover: Color.from(alpha: 1.0, red: 0.7348, green: 0.1339, blue: 0.1573, colorSpace: ColorSpace.displayP3),
|
|
857
|
+
statusInfoBg: Color(0xFF0C2035),
|
|
858
|
+
statusInfoBgHover: Color(0xFF0B2743),
|
|
859
|
+
statusInfoBorder: Color(0xFF12477A),
|
|
860
|
+
statusInfoFg: Color.from(alpha: 1.0, red: 0.5796, green: 0.7556, blue: 1.0, colorSpace: ColorSpace.displayP3),
|
|
861
|
+
statusInfoFgStrong: Color.from(alpha: 1.0, red: 0.8869, green: 0.934, blue: 0.9984, colorSpace: ColorSpace.displayP3),
|
|
862
|
+
statusInfoOnSolid: Color(0xFFFFFFFF),
|
|
863
|
+
statusInfoSolid: Color.from(alpha: 1.0, red: 0.1194, green: 0.4327, blue: 0.8303, colorSpace: ColorSpace.displayP3),
|
|
864
|
+
statusInfoSolidHover: Color.from(alpha: 1.0, red: 0.0287, green: 0.3773, blue: 0.7711, colorSpace: ColorSpace.displayP3),
|
|
865
|
+
statusSuccessBg: Color(0xFF0F2415),
|
|
866
|
+
statusSuccessBgHover: Color(0xFF0E2D19),
|
|
867
|
+
statusSuccessBorder: Color(0xFF19522D),
|
|
868
|
+
statusSuccessFg: Color(0xFF7FD497),
|
|
869
|
+
statusSuccessFgStrong: Color(0xFFDAF5E0),
|
|
870
|
+
statusSuccessOnSolid: Color(0xFFFFFFFF),
|
|
871
|
+
statusSuccessSolid: Color.from(alpha: 1.0, red: 0.1691, green: 0.5098, blue: 0.2544, colorSpace: ColorSpace.displayP3),
|
|
872
|
+
statusSuccessSolidHover: Color.from(alpha: 1.0, red: 0.1024, green: 0.4564, blue: 0.205, colorSpace: ColorSpace.displayP3),
|
|
873
|
+
statusWarningBg: Color(0xFF291C04),
|
|
874
|
+
statusWarningBgHover: Color.from(alpha: 1.0, red: 0.1937, green: 0.1371, blue: 0.0213, colorSpace: ColorSpace.displayP3),
|
|
875
|
+
statusWarningBorder: Color.from(alpha: 1.0, red: 0.3535, green: 0.2503, blue: 0.008, colorSpace: ColorSpace.displayP3),
|
|
876
|
+
statusWarningFg: Color(0xFFE9B454),
|
|
877
|
+
statusWarningFgStrong: Color(0xFFFCEACD),
|
|
878
|
+
statusWarningOnSolid: Color.from(alpha: 1.0, red: 0.196, green: 0.1319, blue: 0.0004, colorSpace: ColorSpace.displayP3),
|
|
879
|
+
statusWarningSolid: Color.from(alpha: 1.0, red: 0.9367, green: 0.7103, blue: 0.2322, colorSpace: ColorSpace.displayP3),
|
|
880
|
+
statusWarningSolidHover: Color.from(alpha: 1.0, red: 0.9963, green: 0.7678, blue: 0.3003, colorSpace: ColorSpace.displayP3),
|
|
881
|
+
);
|
|
882
|
+
|
|
883
|
+
static const UndColors neemLight = UndColors(
|
|
884
|
+
accentBg: Color(0xFFEDF5EF),
|
|
885
|
+
accentBgActive: Color(0xFFD6E7DA),
|
|
886
|
+
accentBgHover: Color(0xFFE2EEE5),
|
|
887
|
+
accentBorder: Color(0xFFB4D3BB),
|
|
888
|
+
accentFg: Color.from(alpha: 1.0, red: 0.1962, green: 0.4692, blue: 0.2558, colorSpace: ColorSpace.displayP3),
|
|
889
|
+
accentFgStrong: Color.from(alpha: 1.0, red: 0.056, green: 0.1794, blue: 0.0832, colorSpace: ColorSpace.displayP3),
|
|
890
|
+
accentSolid: Color.from(alpha: 1.0, red: 0.1691, green: 0.5098, blue: 0.2544, colorSpace: ColorSpace.displayP3),
|
|
891
|
+
accentSolidHover: Color.from(alpha: 1.0, red: 0.1105, green: 0.4623, blue: 0.2105, colorSpace: ColorSpace.displayP3),
|
|
892
|
+
bgCanvas: Color(0xFFFCFDFC),
|
|
893
|
+
bgInverse: Color(0xFF222623),
|
|
894
|
+
bgMuted: Color(0xFFF1F3F1),
|
|
895
|
+
bgMutedActive: Color(0xFFE0E3E0),
|
|
896
|
+
bgMutedHover: Color(0xFFE9EBE9),
|
|
897
|
+
bgOverlay: Color(0x730B0D16),
|
|
898
|
+
bgRaised: Color(0xFFFFFFFF),
|
|
899
|
+
bgSubtle: Color(0xFFF8FAF9),
|
|
900
|
+
bgSurface: Color(0xFFFFFFFF),
|
|
901
|
+
borderControl: Color(0xFF878D88),
|
|
902
|
+
borderControlHover: Color(0xFF7C817C),
|
|
903
|
+
borderDefault: Color(0xFFC7CBC8),
|
|
904
|
+
borderStrong: Color(0xFFB1B6B2),
|
|
905
|
+
borderSubtle: Color(0xFFD6D9D6),
|
|
906
|
+
dataviz1: Color(0xFF504BF2),
|
|
907
|
+
dataviz2: Color.from(alpha: 1.0, red: 0.9211, green: 0.515, blue: 0.1346, colorSpace: ColorSpace.displayP3),
|
|
908
|
+
dataviz3: Color.from(alpha: 1.0, red: 0.0077, green: 0.4931, blue: 0.5021, colorSpace: ColorSpace.displayP3),
|
|
909
|
+
dataviz4: Color(0xFFCA358B),
|
|
910
|
+
dataviz5: Color.from(alpha: 1.0, red: 0.1691, green: 0.5098, blue: 0.2544, colorSpace: ColorSpace.displayP3),
|
|
911
|
+
dataviz6: Color.from(alpha: 1.0, red: 0.1194, green: 0.4327, blue: 0.8303, colorSpace: ColorSpace.displayP3),
|
|
912
|
+
dataviz7: Color(0xFFBB4D2A),
|
|
913
|
+
dataviz8: Color.from(alpha: 1.0, red: 0.9367, green: 0.7103, blue: 0.2322, colorSpace: ColorSpace.displayP3),
|
|
914
|
+
datavizAxis: Color(0x38001305),
|
|
915
|
+
datavizGridline: Color(0x16021902),
|
|
916
|
+
fgDefault: Color(0xFF222623),
|
|
917
|
+
fgDisabled: Color(0xFFB1B6B2),
|
|
918
|
+
fgInverse: Color(0xFFFCFDFC),
|
|
919
|
+
fgMuted: Color(0xFF616662),
|
|
920
|
+
fgOnAccent: Color(0xFFFFFFFF),
|
|
921
|
+
fgSubtle: Color(0xFF7C817C),
|
|
922
|
+
focusRing: Color.from(alpha: 1.0, red: 0.1962, green: 0.4692, blue: 0.2558, colorSpace: ColorSpace.displayP3),
|
|
923
|
+
linkDefault: Color.from(alpha: 1.0, red: 0.1962, green: 0.4692, blue: 0.2558, colorSpace: ColorSpace.displayP3),
|
|
924
|
+
linkVisited: Color(0xFFA62D72),
|
|
925
|
+
materialChromeBg: Color(0xFFFFFFFF),
|
|
926
|
+
materialChromeBorder: Color(0xFFC7CBC8),
|
|
927
|
+
materialChromeHighlight: Color(0x00000000),
|
|
928
|
+
materialRegularBg: Color(0xFFFFFFFF),
|
|
929
|
+
materialRegularBorder: Color(0xFFC7CBC8),
|
|
930
|
+
materialThickBg: Color(0xFFFFFFFF),
|
|
931
|
+
materialThickBorder: Color(0xFFC7CBC8),
|
|
932
|
+
materialThinBg: Color(0xFFFFFFFF),
|
|
933
|
+
materialThinBorder: Color(0xFFC7CBC8),
|
|
934
|
+
selectionBg: Color(0x29006A19),
|
|
935
|
+
statusDangerBg: Color(0xFFFDEFED),
|
|
936
|
+
statusDangerBgHover: Color(0xFFFAE5E2),
|
|
937
|
+
statusDangerBorder: Color(0xFFF2BAB4),
|
|
938
|
+
statusDangerFg: Color(0xFFB81E27),
|
|
939
|
+
statusDangerFgStrong: Color(0xFF4B0609),
|
|
940
|
+
statusDangerOnSolid: Color(0xFFFFFFFF),
|
|
941
|
+
statusDangerSolid: Color(0xFFDD1D2C),
|
|
942
|
+
statusDangerSolidHover: Color.from(alpha: 1.0, red: 0.7416, green: 0.1432, blue: 0.1633, colorSpace: ColorSpace.displayP3),
|
|
943
|
+
statusInfoBg: Color(0xFFECF3FB),
|
|
944
|
+
statusInfoBgHover: Color(0xFFE1ECF9),
|
|
945
|
+
statusInfoBorder: Color(0xFFB0CDEF),
|
|
946
|
+
statusInfoFg: Color.from(alpha: 1.0, red: 0.1385, green: 0.3875, blue: 0.7163, colorSpace: ColorSpace.displayP3),
|
|
947
|
+
statusInfoFgStrong: Color.from(alpha: 1.0, red: 0.0299, green: 0.1424, blue: 0.2911, colorSpace: ColorSpace.displayP3),
|
|
948
|
+
statusInfoOnSolid: Color(0xFFFFFFFF),
|
|
949
|
+
statusInfoSolid: Color.from(alpha: 1.0, red: 0.1194, green: 0.4327, blue: 0.8303, colorSpace: ColorSpace.displayP3),
|
|
950
|
+
statusInfoSolidHover: Color.from(alpha: 1.0, red: 0.0421, green: 0.3834, blue: 0.7776, colorSpace: ColorSpace.displayP3),
|
|
951
|
+
statusSuccessBg: Color(0xFFEDF5EF),
|
|
952
|
+
statusSuccessBgHover: Color(0xFFE2EEE5),
|
|
953
|
+
statusSuccessBorder: Color(0xFFB4D3BB),
|
|
954
|
+
statusSuccessFg: Color.from(alpha: 1.0, red: 0.1962, green: 0.4692, blue: 0.2558, colorSpace: ColorSpace.displayP3),
|
|
955
|
+
statusSuccessFgStrong: Color.from(alpha: 1.0, red: 0.056, green: 0.1794, blue: 0.0832, colorSpace: ColorSpace.displayP3),
|
|
956
|
+
statusSuccessOnSolid: Color(0xFFFFFFFF),
|
|
957
|
+
statusSuccessSolid: Color.from(alpha: 1.0, red: 0.1691, green: 0.5098, blue: 0.2544, colorSpace: ColorSpace.displayP3),
|
|
958
|
+
statusSuccessSolidHover: Color.from(alpha: 1.0, red: 0.1105, green: 0.4623, blue: 0.2105, colorSpace: ColorSpace.displayP3),
|
|
959
|
+
statusWarningBg: Color(0xFFF7F2EA),
|
|
960
|
+
statusWarningBgHover: Color(0xFFF1E9DD),
|
|
961
|
+
statusWarningBorder: Color(0xFFDCC7A5),
|
|
962
|
+
statusWarningFg: Color.from(alpha: 1.0, red: 0.5069, green: 0.3634, blue: 0.0036, colorSpace: ColorSpace.displayP3),
|
|
963
|
+
statusWarningFgStrong: Color.from(alpha: 1.0, red: 0.196, green: 0.1319, blue: 0.0004, colorSpace: ColorSpace.displayP3),
|
|
964
|
+
statusWarningOnSolid: Color.from(alpha: 1.0, red: 0.196, green: 0.1319, blue: 0.0004, colorSpace: ColorSpace.displayP3),
|
|
965
|
+
statusWarningSolid: Color.from(alpha: 1.0, red: 0.9367, green: 0.7103, blue: 0.2322, colorSpace: ColorSpace.displayP3),
|
|
966
|
+
statusWarningSolidHover: Color.from(alpha: 1.0, red: 0.8842, green: 0.6598, blue: 0.1637, colorSpace: ColorSpace.displayP3),
|
|
967
|
+
);
|
|
968
|
+
|
|
969
|
+
static const UndColors neemDark = UndColors(
|
|
970
|
+
accentBg: Color(0xFF0F2415),
|
|
971
|
+
accentBgActive: Color(0xFF0F361D),
|
|
972
|
+
accentBgHover: Color(0xFF0E2D19),
|
|
973
|
+
accentBorder: Color(0xFF19522D),
|
|
974
|
+
accentFg: Color(0xFF7FD497),
|
|
975
|
+
accentFgStrong: Color(0xFFDAF5E0),
|
|
976
|
+
accentSolid: Color.from(alpha: 1.0, red: 0.1691, green: 0.5098, blue: 0.2544, colorSpace: ColorSpace.displayP3),
|
|
977
|
+
accentSolidHover: Color.from(alpha: 1.0, red: 0.1024, green: 0.4564, blue: 0.205, colorSpace: ColorSpace.displayP3),
|
|
978
|
+
bgCanvas: Color(0xFF0E0E0E),
|
|
979
|
+
bgInverse: Color(0xFFE9EFEA),
|
|
980
|
+
bgMuted: Color(0xFF1E1F1E),
|
|
981
|
+
bgMutedActive: Color(0xFF2C2E2C),
|
|
982
|
+
bgMutedHover: Color(0xFF252625),
|
|
983
|
+
bgOverlay: Color(0x99000000),
|
|
984
|
+
bgRaised: Color(0xFF1E1F1E),
|
|
985
|
+
bgSubtle: Color(0xFF151615),
|
|
986
|
+
bgSurface: Color(0xFF151615),
|
|
987
|
+
borderControl: Color(0xFF656B66),
|
|
988
|
+
borderControlHover: Color(0xFF727873),
|
|
989
|
+
borderDefault: Color(0xFF434644),
|
|
990
|
+
borderStrong: Color(0xFF585C58),
|
|
991
|
+
borderSubtle: Color(0xFF353835),
|
|
992
|
+
dataviz1: Color(0xFF504BF2),
|
|
993
|
+
dataviz2: Color.from(alpha: 1.0, red: 0.9211, green: 0.515, blue: 0.1346, colorSpace: ColorSpace.displayP3),
|
|
994
|
+
dataviz3: Color.from(alpha: 1.0, red: 0.0077, green: 0.4931, blue: 0.5021, colorSpace: ColorSpace.displayP3),
|
|
995
|
+
dataviz4: Color(0xFFCA358B),
|
|
996
|
+
dataviz5: Color.from(alpha: 1.0, red: 0.1691, green: 0.5098, blue: 0.2544, colorSpace: ColorSpace.displayP3),
|
|
997
|
+
dataviz6: Color.from(alpha: 1.0, red: 0.1194, green: 0.4327, blue: 0.8303, colorSpace: ColorSpace.displayP3),
|
|
998
|
+
dataviz7: Color(0xFFBB4D2A),
|
|
999
|
+
dataviz8: Color.from(alpha: 1.0, red: 0.9367, green: 0.7103, blue: 0.2322, colorSpace: ColorSpace.displayP3),
|
|
1000
|
+
datavizAxis: Color(0x46F4FFF7),
|
|
1001
|
+
datavizGridline: Color(0x26F7FDF7),
|
|
1002
|
+
fgDefault: Color(0xFFE9EFEA),
|
|
1003
|
+
fgDisabled: Color(0xFF585C58),
|
|
1004
|
+
fgInverse: Color(0xFF0E0E0E),
|
|
1005
|
+
fgMuted: Color(0xFFB9C0BA),
|
|
1006
|
+
fgOnAccent: Color(0xFFFFFFFF),
|
|
1007
|
+
fgSubtle: Color(0xFF727873),
|
|
1008
|
+
focusRing: Color(0xFF7FD497),
|
|
1009
|
+
linkDefault: Color(0xFF7FD497),
|
|
1010
|
+
linkVisited: Color.from(alpha: 1.0, red: 0.9621, green: 0.5989, blue: 0.7883, colorSpace: ColorSpace.displayP3),
|
|
1011
|
+
materialChromeBg: Color(0xFF151615),
|
|
1012
|
+
materialChromeBorder: Color(0xFF434644),
|
|
1013
|
+
materialChromeHighlight: Color(0x00000000),
|
|
1014
|
+
materialRegularBg: Color(0xFF151615),
|
|
1015
|
+
materialRegularBorder: Color(0xFF434644),
|
|
1016
|
+
materialThickBg: Color(0xFF151615),
|
|
1017
|
+
materialThickBorder: Color(0xFF434644),
|
|
1018
|
+
materialThinBg: Color(0xFF151615),
|
|
1019
|
+
materialThinBorder: Color(0xFF434644),
|
|
1020
|
+
selectionBg: Color(0x4147FF89),
|
|
1021
|
+
statusDangerBg: Color(0xFF351311),
|
|
1022
|
+
statusDangerBgHover: Color(0xFF431413),
|
|
1023
|
+
statusDangerBorder: Color(0xFF792323),
|
|
1024
|
+
statusDangerFg: Color.from(alpha: 1.0, red: 0.9998, green: 0.6102, blue: 0.5696, colorSpace: ColorSpace.displayP3),
|
|
1025
|
+
statusDangerFgStrong: Color.from(alpha: 1.0, red: 0.9985, green: 0.9003, blue: 0.8863, colorSpace: ColorSpace.displayP3),
|
|
1026
|
+
statusDangerOnSolid: Color(0xFFFFFFFF),
|
|
1027
|
+
statusDangerSolid: Color(0xFFDD1D2C),
|
|
1028
|
+
statusDangerSolidHover: Color.from(alpha: 1.0, red: 0.7348, green: 0.1339, blue: 0.1573, colorSpace: ColorSpace.displayP3),
|
|
1029
|
+
statusInfoBg: Color(0xFF0C2035),
|
|
1030
|
+
statusInfoBgHover: Color(0xFF0B2743),
|
|
1031
|
+
statusInfoBorder: Color(0xFF12477A),
|
|
1032
|
+
statusInfoFg: Color.from(alpha: 1.0, red: 0.5796, green: 0.7556, blue: 1.0, colorSpace: ColorSpace.displayP3),
|
|
1033
|
+
statusInfoFgStrong: Color.from(alpha: 1.0, red: 0.8869, green: 0.934, blue: 0.9984, colorSpace: ColorSpace.displayP3),
|
|
1034
|
+
statusInfoOnSolid: Color(0xFFFFFFFF),
|
|
1035
|
+
statusInfoSolid: Color.from(alpha: 1.0, red: 0.1194, green: 0.4327, blue: 0.8303, colorSpace: ColorSpace.displayP3),
|
|
1036
|
+
statusInfoSolidHover: Color.from(alpha: 1.0, red: 0.0287, green: 0.3773, blue: 0.7711, colorSpace: ColorSpace.displayP3),
|
|
1037
|
+
statusSuccessBg: Color(0xFF0F2415),
|
|
1038
|
+
statusSuccessBgHover: Color(0xFF0E2D19),
|
|
1039
|
+
statusSuccessBorder: Color(0xFF19522D),
|
|
1040
|
+
statusSuccessFg: Color(0xFF7FD497),
|
|
1041
|
+
statusSuccessFgStrong: Color(0xFFDAF5E0),
|
|
1042
|
+
statusSuccessOnSolid: Color(0xFFFFFFFF),
|
|
1043
|
+
statusSuccessSolid: Color.from(alpha: 1.0, red: 0.1691, green: 0.5098, blue: 0.2544, colorSpace: ColorSpace.displayP3),
|
|
1044
|
+
statusSuccessSolidHover: Color.from(alpha: 1.0, red: 0.1024, green: 0.4564, blue: 0.205, colorSpace: ColorSpace.displayP3),
|
|
1045
|
+
statusWarningBg: Color(0xFF291C04),
|
|
1046
|
+
statusWarningBgHover: Color.from(alpha: 1.0, red: 0.1937, green: 0.1371, blue: 0.0213, colorSpace: ColorSpace.displayP3),
|
|
1047
|
+
statusWarningBorder: Color.from(alpha: 1.0, red: 0.3535, green: 0.2503, blue: 0.008, colorSpace: ColorSpace.displayP3),
|
|
1048
|
+
statusWarningFg: Color(0xFFE9B454),
|
|
1049
|
+
statusWarningFgStrong: Color(0xFFFCEACD),
|
|
1050
|
+
statusWarningOnSolid: Color.from(alpha: 1.0, red: 0.196, green: 0.1319, blue: 0.0004, colorSpace: ColorSpace.displayP3),
|
|
1051
|
+
statusWarningSolid: Color.from(alpha: 1.0, red: 0.9367, green: 0.7103, blue: 0.2322, colorSpace: ColorSpace.displayP3),
|
|
1052
|
+
statusWarningSolidHover: Color.from(alpha: 1.0, red: 0.9963, green: 0.7678, blue: 0.3003, colorSpace: ColorSpace.displayP3),
|
|
1053
|
+
);
|
|
1054
|
+
|
|
1055
|
+
static const UndColors neemLightMore = UndColors(
|
|
1056
|
+
accentBg: Color(0xFFEDF5EF),
|
|
1057
|
+
accentBgActive: Color(0xFFD6E7DA),
|
|
1058
|
+
accentBgHover: Color(0xFFE2EEE5),
|
|
1059
|
+
accentBorder: Color(0xFFB4D3BB),
|
|
1060
|
+
accentFg: Color.from(alpha: 1.0, red: 0.056, green: 0.1794, blue: 0.0832, colorSpace: ColorSpace.displayP3),
|
|
1061
|
+
accentFgStrong: Color.from(alpha: 1.0, red: 0.056, green: 0.1794, blue: 0.0832, colorSpace: ColorSpace.displayP3),
|
|
1062
|
+
accentSolid: Color.from(alpha: 1.0, red: 0.1691, green: 0.5098, blue: 0.2544, colorSpace: ColorSpace.displayP3),
|
|
1063
|
+
accentSolidHover: Color.from(alpha: 1.0, red: 0.1105, green: 0.4623, blue: 0.2105, colorSpace: ColorSpace.displayP3),
|
|
1064
|
+
bgCanvas: Color(0xFFFCFDFC),
|
|
1065
|
+
bgInverse: Color(0xFF222623),
|
|
1066
|
+
bgMuted: Color(0xFFF1F3F1),
|
|
1067
|
+
bgMutedActive: Color(0xFFE0E3E0),
|
|
1068
|
+
bgMutedHover: Color(0xFFE9EBE9),
|
|
1069
|
+
bgOverlay: Color(0x730B0D16),
|
|
1070
|
+
bgRaised: Color(0xFFFFFFFF),
|
|
1071
|
+
bgSubtle: Color(0xFFF8FAF9),
|
|
1072
|
+
bgSurface: Color(0xFFFFFFFF),
|
|
1073
|
+
borderControl: Color(0xFF616662),
|
|
1074
|
+
borderControlHover: Color(0xFF222623),
|
|
1075
|
+
borderDefault: Color(0xFF878D88),
|
|
1076
|
+
borderStrong: Color(0xFFB1B6B2),
|
|
1077
|
+
borderSubtle: Color(0xFFB1B6B2),
|
|
1078
|
+
dataviz1: Color(0xFF504BF2),
|
|
1079
|
+
dataviz2: Color.from(alpha: 1.0, red: 0.9211, green: 0.515, blue: 0.1346, colorSpace: ColorSpace.displayP3),
|
|
1080
|
+
dataviz3: Color.from(alpha: 1.0, red: 0.0077, green: 0.4931, blue: 0.5021, colorSpace: ColorSpace.displayP3),
|
|
1081
|
+
dataviz4: Color(0xFFCA358B),
|
|
1082
|
+
dataviz5: Color.from(alpha: 1.0, red: 0.1691, green: 0.5098, blue: 0.2544, colorSpace: ColorSpace.displayP3),
|
|
1083
|
+
dataviz6: Color.from(alpha: 1.0, red: 0.1194, green: 0.4327, blue: 0.8303, colorSpace: ColorSpace.displayP3),
|
|
1084
|
+
dataviz7: Color(0xFFBB4D2A),
|
|
1085
|
+
dataviz8: Color.from(alpha: 1.0, red: 0.9367, green: 0.7103, blue: 0.2322, colorSpace: ColorSpace.displayP3),
|
|
1086
|
+
datavizAxis: Color(0x38001305),
|
|
1087
|
+
datavizGridline: Color(0x16021902),
|
|
1088
|
+
fgDefault: Color(0xFF222623),
|
|
1089
|
+
fgDisabled: Color(0xFFB1B6B2),
|
|
1090
|
+
fgInverse: Color(0xFFFCFDFC),
|
|
1091
|
+
fgMuted: Color(0xFF222623),
|
|
1092
|
+
fgOnAccent: Color(0xFFFFFFFF),
|
|
1093
|
+
fgSubtle: Color(0xFF616662),
|
|
1094
|
+
focusRing: Color.from(alpha: 1.0, red: 0.1962, green: 0.4692, blue: 0.2558, colorSpace: ColorSpace.displayP3),
|
|
1095
|
+
linkDefault: Color.from(alpha: 1.0, red: 0.056, green: 0.1794, blue: 0.0832, colorSpace: ColorSpace.displayP3),
|
|
1096
|
+
linkVisited: Color(0xFFA62D72),
|
|
1097
|
+
materialChromeBg: Color(0xFFFFFFFF),
|
|
1098
|
+
materialChromeBorder: Color(0xFFB1B6B2),
|
|
1099
|
+
materialChromeHighlight: Color(0x00000000),
|
|
1100
|
+
materialRegularBg: Color(0xFFFFFFFF),
|
|
1101
|
+
materialRegularBorder: Color(0xFFB1B6B2),
|
|
1102
|
+
materialThickBg: Color(0xFFFFFFFF),
|
|
1103
|
+
materialThickBorder: Color(0xFFB1B6B2),
|
|
1104
|
+
materialThinBg: Color(0xFFFFFFFF),
|
|
1105
|
+
materialThinBorder: Color(0xFFB1B6B2),
|
|
1106
|
+
selectionBg: Color(0x29006A19),
|
|
1107
|
+
statusDangerBg: Color(0xFFFDEFED),
|
|
1108
|
+
statusDangerBgHover: Color(0xFFFAE5E2),
|
|
1109
|
+
statusDangerBorder: Color(0xFFF2BAB4),
|
|
1110
|
+
statusDangerFg: Color(0xFFB81E27),
|
|
1111
|
+
statusDangerFgStrong: Color(0xFF4B0609),
|
|
1112
|
+
statusDangerOnSolid: Color(0xFFFFFFFF),
|
|
1113
|
+
statusDangerSolid: Color(0xFFDD1D2C),
|
|
1114
|
+
statusDangerSolidHover: Color.from(alpha: 1.0, red: 0.7416, green: 0.1432, blue: 0.1633, colorSpace: ColorSpace.displayP3),
|
|
1115
|
+
statusInfoBg: Color(0xFFECF3FB),
|
|
1116
|
+
statusInfoBgHover: Color(0xFFE1ECF9),
|
|
1117
|
+
statusInfoBorder: Color(0xFFB0CDEF),
|
|
1118
|
+
statusInfoFg: Color.from(alpha: 1.0, red: 0.1385, green: 0.3875, blue: 0.7163, colorSpace: ColorSpace.displayP3),
|
|
1119
|
+
statusInfoFgStrong: Color.from(alpha: 1.0, red: 0.0299, green: 0.1424, blue: 0.2911, colorSpace: ColorSpace.displayP3),
|
|
1120
|
+
statusInfoOnSolid: Color(0xFFFFFFFF),
|
|
1121
|
+
statusInfoSolid: Color.from(alpha: 1.0, red: 0.1194, green: 0.4327, blue: 0.8303, colorSpace: ColorSpace.displayP3),
|
|
1122
|
+
statusInfoSolidHover: Color.from(alpha: 1.0, red: 0.0421, green: 0.3834, blue: 0.7776, colorSpace: ColorSpace.displayP3),
|
|
1123
|
+
statusSuccessBg: Color(0xFFEDF5EF),
|
|
1124
|
+
statusSuccessBgHover: Color(0xFFE2EEE5),
|
|
1125
|
+
statusSuccessBorder: Color(0xFFB4D3BB),
|
|
1126
|
+
statusSuccessFg: Color.from(alpha: 1.0, red: 0.1962, green: 0.4692, blue: 0.2558, colorSpace: ColorSpace.displayP3),
|
|
1127
|
+
statusSuccessFgStrong: Color.from(alpha: 1.0, red: 0.056, green: 0.1794, blue: 0.0832, colorSpace: ColorSpace.displayP3),
|
|
1128
|
+
statusSuccessOnSolid: Color(0xFFFFFFFF),
|
|
1129
|
+
statusSuccessSolid: Color.from(alpha: 1.0, red: 0.1691, green: 0.5098, blue: 0.2544, colorSpace: ColorSpace.displayP3),
|
|
1130
|
+
statusSuccessSolidHover: Color.from(alpha: 1.0, red: 0.1105, green: 0.4623, blue: 0.2105, colorSpace: ColorSpace.displayP3),
|
|
1131
|
+
statusWarningBg: Color(0xFFF7F2EA),
|
|
1132
|
+
statusWarningBgHover: Color(0xFFF1E9DD),
|
|
1133
|
+
statusWarningBorder: Color(0xFFDCC7A5),
|
|
1134
|
+
statusWarningFg: Color.from(alpha: 1.0, red: 0.5069, green: 0.3634, blue: 0.0036, colorSpace: ColorSpace.displayP3),
|
|
1135
|
+
statusWarningFgStrong: Color.from(alpha: 1.0, red: 0.196, green: 0.1319, blue: 0.0004, colorSpace: ColorSpace.displayP3),
|
|
1136
|
+
statusWarningOnSolid: Color.from(alpha: 1.0, red: 0.196, green: 0.1319, blue: 0.0004, colorSpace: ColorSpace.displayP3),
|
|
1137
|
+
statusWarningSolid: Color.from(alpha: 1.0, red: 0.9367, green: 0.7103, blue: 0.2322, colorSpace: ColorSpace.displayP3),
|
|
1138
|
+
statusWarningSolidHover: Color.from(alpha: 1.0, red: 0.8842, green: 0.6598, blue: 0.1637, colorSpace: ColorSpace.displayP3),
|
|
1139
|
+
);
|
|
1140
|
+
|
|
1141
|
+
static const UndColors neemDarkMore = UndColors(
|
|
1142
|
+
accentBg: Color(0xFF0F2415),
|
|
1143
|
+
accentBgActive: Color(0xFF0F361D),
|
|
1144
|
+
accentBgHover: Color(0xFF0E2D19),
|
|
1145
|
+
accentBorder: Color(0xFF19522D),
|
|
1146
|
+
accentFg: Color(0xFFDAF5E0),
|
|
1147
|
+
accentFgStrong: Color(0xFFDAF5E0),
|
|
1148
|
+
accentSolid: Color.from(alpha: 1.0, red: 0.1691, green: 0.5098, blue: 0.2544, colorSpace: ColorSpace.displayP3),
|
|
1149
|
+
accentSolidHover: Color.from(alpha: 1.0, red: 0.1024, green: 0.4564, blue: 0.205, colorSpace: ColorSpace.displayP3),
|
|
1150
|
+
bgCanvas: Color(0xFF0E0E0E),
|
|
1151
|
+
bgInverse: Color(0xFFE9EFEA),
|
|
1152
|
+
bgMuted: Color(0xFF1E1F1E),
|
|
1153
|
+
bgMutedActive: Color(0xFF2C2E2C),
|
|
1154
|
+
bgMutedHover: Color(0xFF252625),
|
|
1155
|
+
bgOverlay: Color(0x99000000),
|
|
1156
|
+
bgRaised: Color(0xFF1E1F1E),
|
|
1157
|
+
bgSubtle: Color(0xFF151615),
|
|
1158
|
+
bgSurface: Color(0xFF151615),
|
|
1159
|
+
borderControl: Color(0xFFB9C0BA),
|
|
1160
|
+
borderControlHover: Color(0xFFE9EFEA),
|
|
1161
|
+
borderDefault: Color(0xFF656B66),
|
|
1162
|
+
borderStrong: Color(0xFF585C58),
|
|
1163
|
+
borderSubtle: Color(0xFF585C58),
|
|
1164
|
+
dataviz1: Color(0xFF504BF2),
|
|
1165
|
+
dataviz2: Color.from(alpha: 1.0, red: 0.9211, green: 0.515, blue: 0.1346, colorSpace: ColorSpace.displayP3),
|
|
1166
|
+
dataviz3: Color.from(alpha: 1.0, red: 0.0077, green: 0.4931, blue: 0.5021, colorSpace: ColorSpace.displayP3),
|
|
1167
|
+
dataviz4: Color(0xFFCA358B),
|
|
1168
|
+
dataviz5: Color.from(alpha: 1.0, red: 0.1691, green: 0.5098, blue: 0.2544, colorSpace: ColorSpace.displayP3),
|
|
1169
|
+
dataviz6: Color.from(alpha: 1.0, red: 0.1194, green: 0.4327, blue: 0.8303, colorSpace: ColorSpace.displayP3),
|
|
1170
|
+
dataviz7: Color(0xFFBB4D2A),
|
|
1171
|
+
dataviz8: Color.from(alpha: 1.0, red: 0.9367, green: 0.7103, blue: 0.2322, colorSpace: ColorSpace.displayP3),
|
|
1172
|
+
datavizAxis: Color(0x46F4FFF7),
|
|
1173
|
+
datavizGridline: Color(0x26F7FDF7),
|
|
1174
|
+
fgDefault: Color(0xFFE9EFEA),
|
|
1175
|
+
fgDisabled: Color(0xFF585C58),
|
|
1176
|
+
fgInverse: Color(0xFF0E0E0E),
|
|
1177
|
+
fgMuted: Color(0xFFE9EFEA),
|
|
1178
|
+
fgOnAccent: Color(0xFFFFFFFF),
|
|
1179
|
+
fgSubtle: Color(0xFFB9C0BA),
|
|
1180
|
+
focusRing: Color(0xFF7FD497),
|
|
1181
|
+
linkDefault: Color(0xFFDAF5E0),
|
|
1182
|
+
linkVisited: Color.from(alpha: 1.0, red: 0.9621, green: 0.5989, blue: 0.7883, colorSpace: ColorSpace.displayP3),
|
|
1183
|
+
materialChromeBg: Color(0xFF151615),
|
|
1184
|
+
materialChromeBorder: Color(0xFF585C58),
|
|
1185
|
+
materialChromeHighlight: Color(0x00000000),
|
|
1186
|
+
materialRegularBg: Color(0xFF151615),
|
|
1187
|
+
materialRegularBorder: Color(0xFF585C58),
|
|
1188
|
+
materialThickBg: Color(0xFF151615),
|
|
1189
|
+
materialThickBorder: Color(0xFF585C58),
|
|
1190
|
+
materialThinBg: Color(0xFF151615),
|
|
1191
|
+
materialThinBorder: Color(0xFF585C58),
|
|
1192
|
+
selectionBg: Color(0x4147FF89),
|
|
1193
|
+
statusDangerBg: Color(0xFF351311),
|
|
1194
|
+
statusDangerBgHover: Color(0xFF431413),
|
|
1195
|
+
statusDangerBorder: Color(0xFF792323),
|
|
1196
|
+
statusDangerFg: Color.from(alpha: 1.0, red: 0.9998, green: 0.6102, blue: 0.5696, colorSpace: ColorSpace.displayP3),
|
|
1197
|
+
statusDangerFgStrong: Color.from(alpha: 1.0, red: 0.9985, green: 0.9003, blue: 0.8863, colorSpace: ColorSpace.displayP3),
|
|
1198
|
+
statusDangerOnSolid: Color(0xFFFFFFFF),
|
|
1199
|
+
statusDangerSolid: Color(0xFFDD1D2C),
|
|
1200
|
+
statusDangerSolidHover: Color.from(alpha: 1.0, red: 0.7348, green: 0.1339, blue: 0.1573, colorSpace: ColorSpace.displayP3),
|
|
1201
|
+
statusInfoBg: Color(0xFF0C2035),
|
|
1202
|
+
statusInfoBgHover: Color(0xFF0B2743),
|
|
1203
|
+
statusInfoBorder: Color(0xFF12477A),
|
|
1204
|
+
statusInfoFg: Color.from(alpha: 1.0, red: 0.5796, green: 0.7556, blue: 1.0, colorSpace: ColorSpace.displayP3),
|
|
1205
|
+
statusInfoFgStrong: Color.from(alpha: 1.0, red: 0.8869, green: 0.934, blue: 0.9984, colorSpace: ColorSpace.displayP3),
|
|
1206
|
+
statusInfoOnSolid: Color(0xFFFFFFFF),
|
|
1207
|
+
statusInfoSolid: Color.from(alpha: 1.0, red: 0.1194, green: 0.4327, blue: 0.8303, colorSpace: ColorSpace.displayP3),
|
|
1208
|
+
statusInfoSolidHover: Color.from(alpha: 1.0, red: 0.0287, green: 0.3773, blue: 0.7711, colorSpace: ColorSpace.displayP3),
|
|
1209
|
+
statusSuccessBg: Color(0xFF0F2415),
|
|
1210
|
+
statusSuccessBgHover: Color(0xFF0E2D19),
|
|
1211
|
+
statusSuccessBorder: Color(0xFF19522D),
|
|
1212
|
+
statusSuccessFg: Color(0xFF7FD497),
|
|
1213
|
+
statusSuccessFgStrong: Color(0xFFDAF5E0),
|
|
1214
|
+
statusSuccessOnSolid: Color(0xFFFFFFFF),
|
|
1215
|
+
statusSuccessSolid: Color.from(alpha: 1.0, red: 0.1691, green: 0.5098, blue: 0.2544, colorSpace: ColorSpace.displayP3),
|
|
1216
|
+
statusSuccessSolidHover: Color.from(alpha: 1.0, red: 0.1024, green: 0.4564, blue: 0.205, colorSpace: ColorSpace.displayP3),
|
|
1217
|
+
statusWarningBg: Color(0xFF291C04),
|
|
1218
|
+
statusWarningBgHover: Color.from(alpha: 1.0, red: 0.1937, green: 0.1371, blue: 0.0213, colorSpace: ColorSpace.displayP3),
|
|
1219
|
+
statusWarningBorder: Color.from(alpha: 1.0, red: 0.3535, green: 0.2503, blue: 0.008, colorSpace: ColorSpace.displayP3),
|
|
1220
|
+
statusWarningFg: Color(0xFFE9B454),
|
|
1221
|
+
statusWarningFgStrong: Color(0xFFFCEACD),
|
|
1222
|
+
statusWarningOnSolid: Color.from(alpha: 1.0, red: 0.196, green: 0.1319, blue: 0.0004, colorSpace: ColorSpace.displayP3),
|
|
1223
|
+
statusWarningSolid: Color.from(alpha: 1.0, red: 0.9367, green: 0.7103, blue: 0.2322, colorSpace: ColorSpace.displayP3),
|
|
1224
|
+
statusWarningSolidHover: Color.from(alpha: 1.0, red: 0.9963, green: 0.7678, blue: 0.3003, colorSpace: ColorSpace.displayP3),
|
|
1225
|
+
);
|
|
1226
|
+
|
|
1227
|
+
static const UndColors mittiLight = UndColors(
|
|
1228
|
+
accentBg: Color(0xFFFAF0ED),
|
|
1229
|
+
accentBgActive: Color(0xFFF1DDD7),
|
|
1230
|
+
accentBgHover: Color(0xFFF5E7E2),
|
|
1231
|
+
accentBorder: Color(0xFFE5C1B5),
|
|
1232
|
+
accentFg: Color(0xFFA04528),
|
|
1233
|
+
accentFgStrong: Color(0xFF40170A),
|
|
1234
|
+
accentSolid: Color(0xFFBB4D2A),
|
|
1235
|
+
accentSolidHover: Color(0xFFAD411C),
|
|
1236
|
+
bgCanvas: Color(0xFFFDFAF4),
|
|
1237
|
+
bgInverse: Color(0xFF29241F),
|
|
1238
|
+
bgMuted: Color(0xFFF4F2F0),
|
|
1239
|
+
bgMutedActive: Color(0xFFE5E1DE),
|
|
1240
|
+
bgMutedHover: Color(0xFFEDEAE7),
|
|
1241
|
+
bgOverlay: Color(0x730B0D16),
|
|
1242
|
+
bgRaised: Color(0xFFFFFFFF),
|
|
1243
|
+
bgSubtle: Color(0xFFFBF9F7),
|
|
1244
|
+
bgSurface: Color(0xFFFFFFFF),
|
|
1245
|
+
borderControl: Color(0xFF928B84),
|
|
1246
|
+
borderControlHover: Color(0xFF868078),
|
|
1247
|
+
borderDefault: Color(0xFFCEC9C4),
|
|
1248
|
+
borderStrong: Color(0xFFB9B4AD),
|
|
1249
|
+
borderSubtle: Color(0xFFDBD7D3),
|
|
1250
|
+
dataviz1: Color(0xFF504BF2),
|
|
1251
|
+
dataviz2: Color.from(alpha: 1.0, red: 0.9211, green: 0.515, blue: 0.1346, colorSpace: ColorSpace.displayP3),
|
|
1252
|
+
dataviz3: Color.from(alpha: 1.0, red: 0.0077, green: 0.4931, blue: 0.5021, colorSpace: ColorSpace.displayP3),
|
|
1253
|
+
dataviz4: Color(0xFFCA358B),
|
|
1254
|
+
dataviz5: Color.from(alpha: 1.0, red: 0.1691, green: 0.5098, blue: 0.2544, colorSpace: ColorSpace.displayP3),
|
|
1255
|
+
dataviz6: Color.from(alpha: 1.0, red: 0.1194, green: 0.4327, blue: 0.8303, colorSpace: ColorSpace.displayP3),
|
|
1256
|
+
dataviz7: Color(0xFFBB4D2A),
|
|
1257
|
+
dataviz8: Color.from(alpha: 1.0, red: 0.9367, green: 0.7103, blue: 0.2322, colorSpace: ColorSpace.displayP3),
|
|
1258
|
+
datavizAxis: Color(0x3B2C1601),
|
|
1259
|
+
datavizGridline: Color(0x18422202),
|
|
1260
|
+
fgDefault: Color(0xFF29241F),
|
|
1261
|
+
fgDisabled: Color(0xFFB9B4AD),
|
|
1262
|
+
fgInverse: Color(0xFFFDFAF4),
|
|
1263
|
+
fgMuted: Color(0xFF6A635C),
|
|
1264
|
+
fgOnAccent: Color(0xFFFFFFFF),
|
|
1265
|
+
fgSubtle: Color(0xFF868078),
|
|
1266
|
+
focusRing: Color(0xFFA04528),
|
|
1267
|
+
linkDefault: Color(0xFFA04528),
|
|
1268
|
+
linkVisited: Color(0xFFA62D72),
|
|
1269
|
+
materialChromeBg: Color(0xFFFFFFFF),
|
|
1270
|
+
materialChromeBorder: Color(0xFFCEC9C4),
|
|
1271
|
+
materialChromeHighlight: Color(0x00000000),
|
|
1272
|
+
materialRegularBg: Color(0xFFFFFFFF),
|
|
1273
|
+
materialRegularBorder: Color(0xFFCEC9C4),
|
|
1274
|
+
materialThickBg: Color(0xFFFFFFFF),
|
|
1275
|
+
materialThickBorder: Color(0xFFCEC9C4),
|
|
1276
|
+
materialThinBg: Color(0xFFFFFFFF),
|
|
1277
|
+
materialThinBorder: Color(0xFFCEC9C4),
|
|
1278
|
+
selectionBg: Color(0x28A62600),
|
|
1279
|
+
statusDangerBg: Color(0xFFFDEFED),
|
|
1280
|
+
statusDangerBgHover: Color(0xFFFAE5E2),
|
|
1281
|
+
statusDangerBorder: Color(0xFFF2BAB4),
|
|
1282
|
+
statusDangerFg: Color(0xFFB81E27),
|
|
1283
|
+
statusDangerFgStrong: Color(0xFF4B0609),
|
|
1284
|
+
statusDangerOnSolid: Color(0xFFFFFFFF),
|
|
1285
|
+
statusDangerSolid: Color(0xFFDD1D2C),
|
|
1286
|
+
statusDangerSolidHover: Color.from(alpha: 1.0, red: 0.7416, green: 0.1432, blue: 0.1633, colorSpace: ColorSpace.displayP3),
|
|
1287
|
+
statusInfoBg: Color(0xFFECF3FB),
|
|
1288
|
+
statusInfoBgHover: Color(0xFFE1ECF9),
|
|
1289
|
+
statusInfoBorder: Color(0xFFB0CDEF),
|
|
1290
|
+
statusInfoFg: Color.from(alpha: 1.0, red: 0.1385, green: 0.3875, blue: 0.7163, colorSpace: ColorSpace.displayP3),
|
|
1291
|
+
statusInfoFgStrong: Color.from(alpha: 1.0, red: 0.0299, green: 0.1424, blue: 0.2911, colorSpace: ColorSpace.displayP3),
|
|
1292
|
+
statusInfoOnSolid: Color(0xFFFFFFFF),
|
|
1293
|
+
statusInfoSolid: Color.from(alpha: 1.0, red: 0.1194, green: 0.4327, blue: 0.8303, colorSpace: ColorSpace.displayP3),
|
|
1294
|
+
statusInfoSolidHover: Color.from(alpha: 1.0, red: 0.0421, green: 0.3834, blue: 0.7776, colorSpace: ColorSpace.displayP3),
|
|
1295
|
+
statusSuccessBg: Color(0xFFEDF5EF),
|
|
1296
|
+
statusSuccessBgHover: Color(0xFFE2EEE5),
|
|
1297
|
+
statusSuccessBorder: Color(0xFFB4D3BB),
|
|
1298
|
+
statusSuccessFg: Color.from(alpha: 1.0, red: 0.1962, green: 0.4692, blue: 0.2558, colorSpace: ColorSpace.displayP3),
|
|
1299
|
+
statusSuccessFgStrong: Color.from(alpha: 1.0, red: 0.056, green: 0.1794, blue: 0.0832, colorSpace: ColorSpace.displayP3),
|
|
1300
|
+
statusSuccessOnSolid: Color(0xFFFFFFFF),
|
|
1301
|
+
statusSuccessSolid: Color.from(alpha: 1.0, red: 0.1691, green: 0.5098, blue: 0.2544, colorSpace: ColorSpace.displayP3),
|
|
1302
|
+
statusSuccessSolidHover: Color.from(alpha: 1.0, red: 0.1105, green: 0.4623, blue: 0.2105, colorSpace: ColorSpace.displayP3),
|
|
1303
|
+
statusWarningBg: Color(0xFFF7F2EA),
|
|
1304
|
+
statusWarningBgHover: Color(0xFFF1E9DD),
|
|
1305
|
+
statusWarningBorder: Color(0xFFDCC7A5),
|
|
1306
|
+
statusWarningFg: Color.from(alpha: 1.0, red: 0.5069, green: 0.3634, blue: 0.0036, colorSpace: ColorSpace.displayP3),
|
|
1307
|
+
statusWarningFgStrong: Color.from(alpha: 1.0, red: 0.196, green: 0.1319, blue: 0.0004, colorSpace: ColorSpace.displayP3),
|
|
1308
|
+
statusWarningOnSolid: Color.from(alpha: 1.0, red: 0.196, green: 0.1319, blue: 0.0004, colorSpace: ColorSpace.displayP3),
|
|
1309
|
+
statusWarningSolid: Color.from(alpha: 1.0, red: 0.9367, green: 0.7103, blue: 0.2322, colorSpace: ColorSpace.displayP3),
|
|
1310
|
+
statusWarningSolidHover: Color.from(alpha: 1.0, red: 0.8842, green: 0.6598, blue: 0.1637, colorSpace: ColorSpace.displayP3),
|
|
1311
|
+
);
|
|
1312
|
+
|
|
1313
|
+
static const UndColors mittiDark = UndColors(
|
|
1314
|
+
accentBg: Color(0xFF2E1811),
|
|
1315
|
+
accentBgActive: Color(0xFF462116),
|
|
1316
|
+
accentBgHover: Color(0xFF3A1D13),
|
|
1317
|
+
accentBorder: Color(0xFF6A3424),
|
|
1318
|
+
accentFg: Color(0xFFFCA489),
|
|
1319
|
+
accentFgStrong: Color.from(alpha: 1.0, red: 0.9985, green: 0.9033, blue: 0.8676, colorSpace: ColorSpace.displayP3),
|
|
1320
|
+
accentSolid: Color(0xFFBB4D2A),
|
|
1321
|
+
accentSolidHover: Color(0xFFAC3F1A),
|
|
1322
|
+
bgCanvas: Color(0xFF0F0E0D),
|
|
1323
|
+
bgInverse: Color(0xFFF2ECE4),
|
|
1324
|
+
bgMuted: Color(0xFF201E1D),
|
|
1325
|
+
bgMutedActive: Color(0xFF2F2D2A),
|
|
1326
|
+
bgMutedHover: Color(0xFF282623),
|
|
1327
|
+
bgOverlay: Color(0x99000000),
|
|
1328
|
+
bgRaised: Color(0xFF201E1D),
|
|
1329
|
+
bgSubtle: Color(0xFF161514),
|
|
1330
|
+
bgSurface: Color(0xFF161514),
|
|
1331
|
+
borderControl: Color(0xFF6E6860),
|
|
1332
|
+
borderControlHover: Color(0xFF7B756D),
|
|
1333
|
+
borderDefault: Color(0xFF494540),
|
|
1334
|
+
borderStrong: Color(0xFF5F5A54),
|
|
1335
|
+
borderSubtle: Color(0xFF393633),
|
|
1336
|
+
dataviz1: Color(0xFF504BF2),
|
|
1337
|
+
dataviz2: Color.from(alpha: 1.0, red: 0.9211, green: 0.515, blue: 0.1346, colorSpace: ColorSpace.displayP3),
|
|
1338
|
+
dataviz3: Color.from(alpha: 1.0, red: 0.0077, green: 0.4931, blue: 0.5021, colorSpace: ColorSpace.displayP3),
|
|
1339
|
+
dataviz4: Color(0xFFCA358B),
|
|
1340
|
+
dataviz5: Color.from(alpha: 1.0, red: 0.1691, green: 0.5098, blue: 0.2544, colorSpace: ColorSpace.displayP3),
|
|
1341
|
+
dataviz6: Color.from(alpha: 1.0, red: 0.1194, green: 0.4327, blue: 0.8303, colorSpace: ColorSpace.displayP3),
|
|
1342
|
+
dataviz7: Color(0xFFBB4D2A),
|
|
1343
|
+
dataviz8: Color.from(alpha: 1.0, red: 0.9367, green: 0.7103, blue: 0.2322, colorSpace: ColorSpace.displayP3),
|
|
1344
|
+
datavizAxis: Color(0x49FEF0DF),
|
|
1345
|
+
datavizGridline: Color(0x28FFF2DF),
|
|
1346
|
+
fgDefault: Color(0xFFF2ECE4),
|
|
1347
|
+
fgDisabled: Color(0xFF5F5A54),
|
|
1348
|
+
fgInverse: Color(0xFF0F0E0D),
|
|
1349
|
+
fgMuted: Color(0xFFC4BCB4),
|
|
1350
|
+
fgOnAccent: Color(0xFFFFFFFF),
|
|
1351
|
+
fgSubtle: Color(0xFF7B756D),
|
|
1352
|
+
focusRing: Color(0xFFFCA489),
|
|
1353
|
+
linkDefault: Color(0xFFFCA489),
|
|
1354
|
+
linkVisited: Color.from(alpha: 1.0, red: 0.9621, green: 0.5989, blue: 0.7883, colorSpace: ColorSpace.displayP3),
|
|
1355
|
+
materialChromeBg: Color(0xFF161514),
|
|
1356
|
+
materialChromeBorder: Color(0xFF494540),
|
|
1357
|
+
materialChromeHighlight: Color(0x00000000),
|
|
1358
|
+
materialRegularBg: Color(0xFF161514),
|
|
1359
|
+
materialRegularBorder: Color(0xFF494540),
|
|
1360
|
+
materialThickBg: Color(0xFF161514),
|
|
1361
|
+
materialThickBorder: Color(0xFF494540),
|
|
1362
|
+
materialThinBg: Color(0xFF161514),
|
|
1363
|
+
materialThinBorder: Color(0xFF494540),
|
|
1364
|
+
selectionBg: Color(0x54FF7C52),
|
|
1365
|
+
statusDangerBg: Color(0xFF351311),
|
|
1366
|
+
statusDangerBgHover: Color(0xFF431413),
|
|
1367
|
+
statusDangerBorder: Color(0xFF792323),
|
|
1368
|
+
statusDangerFg: Color.from(alpha: 1.0, red: 0.9998, green: 0.6102, blue: 0.5696, colorSpace: ColorSpace.displayP3),
|
|
1369
|
+
statusDangerFgStrong: Color.from(alpha: 1.0, red: 0.9985, green: 0.9003, blue: 0.8863, colorSpace: ColorSpace.displayP3),
|
|
1370
|
+
statusDangerOnSolid: Color(0xFFFFFFFF),
|
|
1371
|
+
statusDangerSolid: Color(0xFFDD1D2C),
|
|
1372
|
+
statusDangerSolidHover: Color.from(alpha: 1.0, red: 0.7348, green: 0.1339, blue: 0.1573, colorSpace: ColorSpace.displayP3),
|
|
1373
|
+
statusInfoBg: Color(0xFF0C2035),
|
|
1374
|
+
statusInfoBgHover: Color(0xFF0B2743),
|
|
1375
|
+
statusInfoBorder: Color(0xFF12477A),
|
|
1376
|
+
statusInfoFg: Color.from(alpha: 1.0, red: 0.5796, green: 0.7556, blue: 1.0, colorSpace: ColorSpace.displayP3),
|
|
1377
|
+
statusInfoFgStrong: Color.from(alpha: 1.0, red: 0.8869, green: 0.934, blue: 0.9984, colorSpace: ColorSpace.displayP3),
|
|
1378
|
+
statusInfoOnSolid: Color(0xFFFFFFFF),
|
|
1379
|
+
statusInfoSolid: Color.from(alpha: 1.0, red: 0.1194, green: 0.4327, blue: 0.8303, colorSpace: ColorSpace.displayP3),
|
|
1380
|
+
statusInfoSolidHover: Color.from(alpha: 1.0, red: 0.0287, green: 0.3773, blue: 0.7711, colorSpace: ColorSpace.displayP3),
|
|
1381
|
+
statusSuccessBg: Color(0xFF0F2415),
|
|
1382
|
+
statusSuccessBgHover: Color(0xFF0E2D19),
|
|
1383
|
+
statusSuccessBorder: Color(0xFF19522D),
|
|
1384
|
+
statusSuccessFg: Color(0xFF7FD497),
|
|
1385
|
+
statusSuccessFgStrong: Color(0xFFDAF5E0),
|
|
1386
|
+
statusSuccessOnSolid: Color(0xFFFFFFFF),
|
|
1387
|
+
statusSuccessSolid: Color.from(alpha: 1.0, red: 0.1691, green: 0.5098, blue: 0.2544, colorSpace: ColorSpace.displayP3),
|
|
1388
|
+
statusSuccessSolidHover: Color.from(alpha: 1.0, red: 0.1024, green: 0.4564, blue: 0.205, colorSpace: ColorSpace.displayP3),
|
|
1389
|
+
statusWarningBg: Color(0xFF291C04),
|
|
1390
|
+
statusWarningBgHover: Color.from(alpha: 1.0, red: 0.1937, green: 0.1371, blue: 0.0213, colorSpace: ColorSpace.displayP3),
|
|
1391
|
+
statusWarningBorder: Color.from(alpha: 1.0, red: 0.3535, green: 0.2503, blue: 0.008, colorSpace: ColorSpace.displayP3),
|
|
1392
|
+
statusWarningFg: Color(0xFFE9B454),
|
|
1393
|
+
statusWarningFgStrong: Color(0xFFFCEACD),
|
|
1394
|
+
statusWarningOnSolid: Color.from(alpha: 1.0, red: 0.196, green: 0.1319, blue: 0.0004, colorSpace: ColorSpace.displayP3),
|
|
1395
|
+
statusWarningSolid: Color.from(alpha: 1.0, red: 0.9367, green: 0.7103, blue: 0.2322, colorSpace: ColorSpace.displayP3),
|
|
1396
|
+
statusWarningSolidHover: Color.from(alpha: 1.0, red: 0.9963, green: 0.7678, blue: 0.3003, colorSpace: ColorSpace.displayP3),
|
|
1397
|
+
);
|
|
1398
|
+
|
|
1399
|
+
static const UndColors mittiLightMore = UndColors(
|
|
1400
|
+
accentBg: Color(0xFFFAF0ED),
|
|
1401
|
+
accentBgActive: Color(0xFFF1DDD7),
|
|
1402
|
+
accentBgHover: Color(0xFFF5E7E2),
|
|
1403
|
+
accentBorder: Color(0xFFE5C1B5),
|
|
1404
|
+
accentFg: Color(0xFF40170A),
|
|
1405
|
+
accentFgStrong: Color(0xFF40170A),
|
|
1406
|
+
accentSolid: Color(0xFFBB4D2A),
|
|
1407
|
+
accentSolidHover: Color(0xFFAD411C),
|
|
1408
|
+
bgCanvas: Color(0xFFFDFAF4),
|
|
1409
|
+
bgInverse: Color(0xFF29241F),
|
|
1410
|
+
bgMuted: Color(0xFFF4F2F0),
|
|
1411
|
+
bgMutedActive: Color(0xFFE5E1DE),
|
|
1412
|
+
bgMutedHover: Color(0xFFEDEAE7),
|
|
1413
|
+
bgOverlay: Color(0x730B0D16),
|
|
1414
|
+
bgRaised: Color(0xFFFFFFFF),
|
|
1415
|
+
bgSubtle: Color(0xFFFBF9F7),
|
|
1416
|
+
bgSurface: Color(0xFFFFFFFF),
|
|
1417
|
+
borderControl: Color(0xFF6A635C),
|
|
1418
|
+
borderControlHover: Color(0xFF29241F),
|
|
1419
|
+
borderDefault: Color(0xFF928B84),
|
|
1420
|
+
borderStrong: Color(0xFFB9B4AD),
|
|
1421
|
+
borderSubtle: Color(0xFFB9B4AD),
|
|
1422
|
+
dataviz1: Color(0xFF504BF2),
|
|
1423
|
+
dataviz2: Color.from(alpha: 1.0, red: 0.9211, green: 0.515, blue: 0.1346, colorSpace: ColorSpace.displayP3),
|
|
1424
|
+
dataviz3: Color.from(alpha: 1.0, red: 0.0077, green: 0.4931, blue: 0.5021, colorSpace: ColorSpace.displayP3),
|
|
1425
|
+
dataviz4: Color(0xFFCA358B),
|
|
1426
|
+
dataviz5: Color.from(alpha: 1.0, red: 0.1691, green: 0.5098, blue: 0.2544, colorSpace: ColorSpace.displayP3),
|
|
1427
|
+
dataviz6: Color.from(alpha: 1.0, red: 0.1194, green: 0.4327, blue: 0.8303, colorSpace: ColorSpace.displayP3),
|
|
1428
|
+
dataviz7: Color(0xFFBB4D2A),
|
|
1429
|
+
dataviz8: Color.from(alpha: 1.0, red: 0.9367, green: 0.7103, blue: 0.2322, colorSpace: ColorSpace.displayP3),
|
|
1430
|
+
datavizAxis: Color(0x3B2C1601),
|
|
1431
|
+
datavizGridline: Color(0x18422202),
|
|
1432
|
+
fgDefault: Color(0xFF29241F),
|
|
1433
|
+
fgDisabled: Color(0xFFB9B4AD),
|
|
1434
|
+
fgInverse: Color(0xFFFDFAF4),
|
|
1435
|
+
fgMuted: Color(0xFF29241F),
|
|
1436
|
+
fgOnAccent: Color(0xFFFFFFFF),
|
|
1437
|
+
fgSubtle: Color(0xFF6A635C),
|
|
1438
|
+
focusRing: Color(0xFFA04528),
|
|
1439
|
+
linkDefault: Color(0xFF40170A),
|
|
1440
|
+
linkVisited: Color(0xFFA62D72),
|
|
1441
|
+
materialChromeBg: Color(0xFFFFFFFF),
|
|
1442
|
+
materialChromeBorder: Color(0xFFB9B4AD),
|
|
1443
|
+
materialChromeHighlight: Color(0x00000000),
|
|
1444
|
+
materialRegularBg: Color(0xFFFFFFFF),
|
|
1445
|
+
materialRegularBorder: Color(0xFFB9B4AD),
|
|
1446
|
+
materialThickBg: Color(0xFFFFFFFF),
|
|
1447
|
+
materialThickBorder: Color(0xFFB9B4AD),
|
|
1448
|
+
materialThinBg: Color(0xFFFFFFFF),
|
|
1449
|
+
materialThinBorder: Color(0xFFB9B4AD),
|
|
1450
|
+
selectionBg: Color(0x28A62600),
|
|
1451
|
+
statusDangerBg: Color(0xFFFDEFED),
|
|
1452
|
+
statusDangerBgHover: Color(0xFFFAE5E2),
|
|
1453
|
+
statusDangerBorder: Color(0xFFF2BAB4),
|
|
1454
|
+
statusDangerFg: Color(0xFFB81E27),
|
|
1455
|
+
statusDangerFgStrong: Color(0xFF4B0609),
|
|
1456
|
+
statusDangerOnSolid: Color(0xFFFFFFFF),
|
|
1457
|
+
statusDangerSolid: Color(0xFFDD1D2C),
|
|
1458
|
+
statusDangerSolidHover: Color.from(alpha: 1.0, red: 0.7416, green: 0.1432, blue: 0.1633, colorSpace: ColorSpace.displayP3),
|
|
1459
|
+
statusInfoBg: Color(0xFFECF3FB),
|
|
1460
|
+
statusInfoBgHover: Color(0xFFE1ECF9),
|
|
1461
|
+
statusInfoBorder: Color(0xFFB0CDEF),
|
|
1462
|
+
statusInfoFg: Color.from(alpha: 1.0, red: 0.1385, green: 0.3875, blue: 0.7163, colorSpace: ColorSpace.displayP3),
|
|
1463
|
+
statusInfoFgStrong: Color.from(alpha: 1.0, red: 0.0299, green: 0.1424, blue: 0.2911, colorSpace: ColorSpace.displayP3),
|
|
1464
|
+
statusInfoOnSolid: Color(0xFFFFFFFF),
|
|
1465
|
+
statusInfoSolid: Color.from(alpha: 1.0, red: 0.1194, green: 0.4327, blue: 0.8303, colorSpace: ColorSpace.displayP3),
|
|
1466
|
+
statusInfoSolidHover: Color.from(alpha: 1.0, red: 0.0421, green: 0.3834, blue: 0.7776, colorSpace: ColorSpace.displayP3),
|
|
1467
|
+
statusSuccessBg: Color(0xFFEDF5EF),
|
|
1468
|
+
statusSuccessBgHover: Color(0xFFE2EEE5),
|
|
1469
|
+
statusSuccessBorder: Color(0xFFB4D3BB),
|
|
1470
|
+
statusSuccessFg: Color.from(alpha: 1.0, red: 0.1962, green: 0.4692, blue: 0.2558, colorSpace: ColorSpace.displayP3),
|
|
1471
|
+
statusSuccessFgStrong: Color.from(alpha: 1.0, red: 0.056, green: 0.1794, blue: 0.0832, colorSpace: ColorSpace.displayP3),
|
|
1472
|
+
statusSuccessOnSolid: Color(0xFFFFFFFF),
|
|
1473
|
+
statusSuccessSolid: Color.from(alpha: 1.0, red: 0.1691, green: 0.5098, blue: 0.2544, colorSpace: ColorSpace.displayP3),
|
|
1474
|
+
statusSuccessSolidHover: Color.from(alpha: 1.0, red: 0.1105, green: 0.4623, blue: 0.2105, colorSpace: ColorSpace.displayP3),
|
|
1475
|
+
statusWarningBg: Color(0xFFF7F2EA),
|
|
1476
|
+
statusWarningBgHover: Color(0xFFF1E9DD),
|
|
1477
|
+
statusWarningBorder: Color(0xFFDCC7A5),
|
|
1478
|
+
statusWarningFg: Color.from(alpha: 1.0, red: 0.5069, green: 0.3634, blue: 0.0036, colorSpace: ColorSpace.displayP3),
|
|
1479
|
+
statusWarningFgStrong: Color.from(alpha: 1.0, red: 0.196, green: 0.1319, blue: 0.0004, colorSpace: ColorSpace.displayP3),
|
|
1480
|
+
statusWarningOnSolid: Color.from(alpha: 1.0, red: 0.196, green: 0.1319, blue: 0.0004, colorSpace: ColorSpace.displayP3),
|
|
1481
|
+
statusWarningSolid: Color.from(alpha: 1.0, red: 0.9367, green: 0.7103, blue: 0.2322, colorSpace: ColorSpace.displayP3),
|
|
1482
|
+
statusWarningSolidHover: Color.from(alpha: 1.0, red: 0.8842, green: 0.6598, blue: 0.1637, colorSpace: ColorSpace.displayP3),
|
|
1483
|
+
);
|
|
1484
|
+
|
|
1485
|
+
static const UndColors mittiDarkMore = UndColors(
|
|
1486
|
+
accentBg: Color(0xFF2E1811),
|
|
1487
|
+
accentBgActive: Color(0xFF462116),
|
|
1488
|
+
accentBgHover: Color(0xFF3A1D13),
|
|
1489
|
+
accentBorder: Color(0xFF6A3424),
|
|
1490
|
+
accentFg: Color.from(alpha: 1.0, red: 0.9985, green: 0.9033, blue: 0.8676, colorSpace: ColorSpace.displayP3),
|
|
1491
|
+
accentFgStrong: Color.from(alpha: 1.0, red: 0.9985, green: 0.9033, blue: 0.8676, colorSpace: ColorSpace.displayP3),
|
|
1492
|
+
accentSolid: Color(0xFFBB4D2A),
|
|
1493
|
+
accentSolidHover: Color(0xFFAC3F1A),
|
|
1494
|
+
bgCanvas: Color(0xFF0F0E0D),
|
|
1495
|
+
bgInverse: Color(0xFFF2ECE4),
|
|
1496
|
+
bgMuted: Color(0xFF201E1D),
|
|
1497
|
+
bgMutedActive: Color(0xFF2F2D2A),
|
|
1498
|
+
bgMutedHover: Color(0xFF282623),
|
|
1499
|
+
bgOverlay: Color(0x99000000),
|
|
1500
|
+
bgRaised: Color(0xFF201E1D),
|
|
1501
|
+
bgSubtle: Color(0xFF161514),
|
|
1502
|
+
bgSurface: Color(0xFF161514),
|
|
1503
|
+
borderControl: Color(0xFFC4BCB4),
|
|
1504
|
+
borderControlHover: Color(0xFFF2ECE4),
|
|
1505
|
+
borderDefault: Color(0xFF6E6860),
|
|
1506
|
+
borderStrong: Color(0xFF5F5A54),
|
|
1507
|
+
borderSubtle: Color(0xFF5F5A54),
|
|
1508
|
+
dataviz1: Color(0xFF504BF2),
|
|
1509
|
+
dataviz2: Color.from(alpha: 1.0, red: 0.9211, green: 0.515, blue: 0.1346, colorSpace: ColorSpace.displayP3),
|
|
1510
|
+
dataviz3: Color.from(alpha: 1.0, red: 0.0077, green: 0.4931, blue: 0.5021, colorSpace: ColorSpace.displayP3),
|
|
1511
|
+
dataviz4: Color(0xFFCA358B),
|
|
1512
|
+
dataviz5: Color.from(alpha: 1.0, red: 0.1691, green: 0.5098, blue: 0.2544, colorSpace: ColorSpace.displayP3),
|
|
1513
|
+
dataviz6: Color.from(alpha: 1.0, red: 0.1194, green: 0.4327, blue: 0.8303, colorSpace: ColorSpace.displayP3),
|
|
1514
|
+
dataviz7: Color(0xFFBB4D2A),
|
|
1515
|
+
dataviz8: Color.from(alpha: 1.0, red: 0.9367, green: 0.7103, blue: 0.2322, colorSpace: ColorSpace.displayP3),
|
|
1516
|
+
datavizAxis: Color(0x49FEF0DF),
|
|
1517
|
+
datavizGridline: Color(0x28FFF2DF),
|
|
1518
|
+
fgDefault: Color(0xFFF2ECE4),
|
|
1519
|
+
fgDisabled: Color(0xFF5F5A54),
|
|
1520
|
+
fgInverse: Color(0xFF0F0E0D),
|
|
1521
|
+
fgMuted: Color(0xFFF2ECE4),
|
|
1522
|
+
fgOnAccent: Color(0xFFFFFFFF),
|
|
1523
|
+
fgSubtle: Color(0xFFC4BCB4),
|
|
1524
|
+
focusRing: Color(0xFFFCA489),
|
|
1525
|
+
linkDefault: Color.from(alpha: 1.0, red: 0.9985, green: 0.9033, blue: 0.8676, colorSpace: ColorSpace.displayP3),
|
|
1526
|
+
linkVisited: Color.from(alpha: 1.0, red: 0.9621, green: 0.5989, blue: 0.7883, colorSpace: ColorSpace.displayP3),
|
|
1527
|
+
materialChromeBg: Color(0xFF161514),
|
|
1528
|
+
materialChromeBorder: Color(0xFF5F5A54),
|
|
1529
|
+
materialChromeHighlight: Color(0x00000000),
|
|
1530
|
+
materialRegularBg: Color(0xFF161514),
|
|
1531
|
+
materialRegularBorder: Color(0xFF5F5A54),
|
|
1532
|
+
materialThickBg: Color(0xFF161514),
|
|
1533
|
+
materialThickBorder: Color(0xFF5F5A54),
|
|
1534
|
+
materialThinBg: Color(0xFF161514),
|
|
1535
|
+
materialThinBorder: Color(0xFF5F5A54),
|
|
1536
|
+
selectionBg: Color(0x54FF7C52),
|
|
1537
|
+
statusDangerBg: Color(0xFF351311),
|
|
1538
|
+
statusDangerBgHover: Color(0xFF431413),
|
|
1539
|
+
statusDangerBorder: Color(0xFF792323),
|
|
1540
|
+
statusDangerFg: Color.from(alpha: 1.0, red: 0.9998, green: 0.6102, blue: 0.5696, colorSpace: ColorSpace.displayP3),
|
|
1541
|
+
statusDangerFgStrong: Color.from(alpha: 1.0, red: 0.9985, green: 0.9003, blue: 0.8863, colorSpace: ColorSpace.displayP3),
|
|
1542
|
+
statusDangerOnSolid: Color(0xFFFFFFFF),
|
|
1543
|
+
statusDangerSolid: Color(0xFFDD1D2C),
|
|
1544
|
+
statusDangerSolidHover: Color.from(alpha: 1.0, red: 0.7348, green: 0.1339, blue: 0.1573, colorSpace: ColorSpace.displayP3),
|
|
1545
|
+
statusInfoBg: Color(0xFF0C2035),
|
|
1546
|
+
statusInfoBgHover: Color(0xFF0B2743),
|
|
1547
|
+
statusInfoBorder: Color(0xFF12477A),
|
|
1548
|
+
statusInfoFg: Color.from(alpha: 1.0, red: 0.5796, green: 0.7556, blue: 1.0, colorSpace: ColorSpace.displayP3),
|
|
1549
|
+
statusInfoFgStrong: Color.from(alpha: 1.0, red: 0.8869, green: 0.934, blue: 0.9984, colorSpace: ColorSpace.displayP3),
|
|
1550
|
+
statusInfoOnSolid: Color(0xFFFFFFFF),
|
|
1551
|
+
statusInfoSolid: Color.from(alpha: 1.0, red: 0.1194, green: 0.4327, blue: 0.8303, colorSpace: ColorSpace.displayP3),
|
|
1552
|
+
statusInfoSolidHover: Color.from(alpha: 1.0, red: 0.0287, green: 0.3773, blue: 0.7711, colorSpace: ColorSpace.displayP3),
|
|
1553
|
+
statusSuccessBg: Color(0xFF0F2415),
|
|
1554
|
+
statusSuccessBgHover: Color(0xFF0E2D19),
|
|
1555
|
+
statusSuccessBorder: Color(0xFF19522D),
|
|
1556
|
+
statusSuccessFg: Color(0xFF7FD497),
|
|
1557
|
+
statusSuccessFgStrong: Color(0xFFDAF5E0),
|
|
1558
|
+
statusSuccessOnSolid: Color(0xFFFFFFFF),
|
|
1559
|
+
statusSuccessSolid: Color.from(alpha: 1.0, red: 0.1691, green: 0.5098, blue: 0.2544, colorSpace: ColorSpace.displayP3),
|
|
1560
|
+
statusSuccessSolidHover: Color.from(alpha: 1.0, red: 0.1024, green: 0.4564, blue: 0.205, colorSpace: ColorSpace.displayP3),
|
|
1561
|
+
statusWarningBg: Color(0xFF291C04),
|
|
1562
|
+
statusWarningBgHover: Color.from(alpha: 1.0, red: 0.1937, green: 0.1371, blue: 0.0213, colorSpace: ColorSpace.displayP3),
|
|
1563
|
+
statusWarningBorder: Color.from(alpha: 1.0, red: 0.3535, green: 0.2503, blue: 0.008, colorSpace: ColorSpace.displayP3),
|
|
1564
|
+
statusWarningFg: Color(0xFFE9B454),
|
|
1565
|
+
statusWarningFgStrong: Color(0xFFFCEACD),
|
|
1566
|
+
statusWarningOnSolid: Color.from(alpha: 1.0, red: 0.196, green: 0.1319, blue: 0.0004, colorSpace: ColorSpace.displayP3),
|
|
1567
|
+
statusWarningSolid: Color.from(alpha: 1.0, red: 0.9367, green: 0.7103, blue: 0.2322, colorSpace: ColorSpace.displayP3),
|
|
1568
|
+
statusWarningSolidHover: Color.from(alpha: 1.0, red: 0.9963, green: 0.7678, blue: 0.3003, colorSpace: ColorSpace.displayP3),
|
|
1569
|
+
);
|
|
1570
|
+
|
|
1571
|
+
static const UndColors raatLight = UndColors(
|
|
1572
|
+
accentBg: Color(0xFF171B3B),
|
|
1573
|
+
accentBgActive: Color(0xFF22265C),
|
|
1574
|
+
accentBgHover: Color(0xFF1C204C),
|
|
1575
|
+
accentBorder: Color(0xFF353A89),
|
|
1576
|
+
accentFg: Color.from(alpha: 1.0, red: 0.6758, green: 0.7192, blue: 0.999, colorSpace: ColorSpace.displayP3),
|
|
1577
|
+
accentFgStrong: Color.from(alpha: 1.0, red: 0.9096, green: 0.9241, blue: 0.9977, colorSpace: ColorSpace.displayP3),
|
|
1578
|
+
accentSolid: Color(0xFF504BF2),
|
|
1579
|
+
accentSolidHover: Color.from(alpha: 1.0, red: 0.3554, green: 0.3579, blue: 0.976, colorSpace: ColorSpace.displayP3),
|
|
1580
|
+
bgCanvas: Color(0xFF05070F),
|
|
1581
|
+
bgInverse: Color(0xFFE9EDF5),
|
|
1582
|
+
bgMuted: Color(0xFF141720),
|
|
1583
|
+
bgMutedActive: Color(0xFF21252F),
|
|
1584
|
+
bgMutedHover: Color(0xFF1A1E28),
|
|
1585
|
+
bgOverlay: Color(0x99000000),
|
|
1586
|
+
bgRaised: Color(0xFF141720),
|
|
1587
|
+
bgSubtle: Color(0xFF0B0E17),
|
|
1588
|
+
bgSurface: Color(0xFF0B0E17),
|
|
1589
|
+
borderControl: Color(0xFF5F6470),
|
|
1590
|
+
borderControlHover: Color(0xFF6C707D),
|
|
1591
|
+
borderDefault: Color(0xFF393D48),
|
|
1592
|
+
borderStrong: Color(0xFF4E525E),
|
|
1593
|
+
borderSubtle: Color(0xFF2A2E39),
|
|
1594
|
+
dataviz1: Color(0xFF504BF2),
|
|
1595
|
+
dataviz2: Color.from(alpha: 1.0, red: 0.9211, green: 0.515, blue: 0.1346, colorSpace: ColorSpace.displayP3),
|
|
1596
|
+
dataviz3: Color.from(alpha: 1.0, red: 0.0077, green: 0.4931, blue: 0.5021, colorSpace: ColorSpace.displayP3),
|
|
1597
|
+
dataviz4: Color(0xFFCA358B),
|
|
1598
|
+
dataviz5: Color.from(alpha: 1.0, red: 0.1691, green: 0.5098, blue: 0.2544, colorSpace: ColorSpace.displayP3),
|
|
1599
|
+
dataviz6: Color.from(alpha: 1.0, red: 0.1194, green: 0.4327, blue: 0.8303, colorSpace: ColorSpace.displayP3),
|
|
1600
|
+
dataviz7: Color(0xFFBB4D2A),
|
|
1601
|
+
dataviz8: Color.from(alpha: 1.0, red: 0.9367, green: 0.7103, blue: 0.2322, colorSpace: ColorSpace.displayP3),
|
|
1602
|
+
datavizAxis: Color(0x48C9D8FE),
|
|
1603
|
+
datavizGridline: Color(0x28A6BFFF),
|
|
1604
|
+
fgDefault: Color(0xFFE9EDF5),
|
|
1605
|
+
fgDisabled: Color(0xFF4E525E),
|
|
1606
|
+
fgInverse: Color(0xFF05070F),
|
|
1607
|
+
fgMuted: Color(0xFFB9BDC8),
|
|
1608
|
+
fgOnAccent: Color(0xFFFFFFFF),
|
|
1609
|
+
fgSubtle: Color(0xFF6C707D),
|
|
1610
|
+
focusRing: Color.from(alpha: 1.0, red: 0.6758, green: 0.7192, blue: 0.999, colorSpace: ColorSpace.displayP3),
|
|
1611
|
+
linkDefault: Color.from(alpha: 1.0, red: 0.6758, green: 0.7192, blue: 0.999, colorSpace: ColorSpace.displayP3),
|
|
1612
|
+
linkVisited: Color.from(alpha: 1.0, red: 0.9621, green: 0.5989, blue: 0.7883, colorSpace: ColorSpace.displayP3),
|
|
1613
|
+
materialChromeBg: Color(0xAD191A1F),
|
|
1614
|
+
materialChromeBorder: Color(0x2FB2C8FE),
|
|
1615
|
+
materialChromeHighlight: Color(0x1FFFFFFF),
|
|
1616
|
+
materialRegularBg: Color(0xAD191A1F),
|
|
1617
|
+
materialRegularBorder: Color(0x2FB2C8FE),
|
|
1618
|
+
materialThickBg: Color(0xCC15161B),
|
|
1619
|
+
materialThickBorder: Color(0x39BBCDFE),
|
|
1620
|
+
materialThinBg: Color(0xA6191A1F),
|
|
1621
|
+
materialThinBorder: Color(0x28A6BFFF),
|
|
1622
|
+
selectionBg: Color(0x6E5F6AFF),
|
|
1623
|
+
statusDangerBg: Color(0xFF351311),
|
|
1624
|
+
statusDangerBgHover: Color(0xFF431413),
|
|
1625
|
+
statusDangerBorder: Color(0xFF792323),
|
|
1626
|
+
statusDangerFg: Color.from(alpha: 1.0, red: 0.9998, green: 0.6102, blue: 0.5696, colorSpace: ColorSpace.displayP3),
|
|
1627
|
+
statusDangerFgStrong: Color.from(alpha: 1.0, red: 0.9985, green: 0.9003, blue: 0.8863, colorSpace: ColorSpace.displayP3),
|
|
1628
|
+
statusDangerOnSolid: Color(0xFFFFFFFF),
|
|
1629
|
+
statusDangerSolid: Color(0xFFDD1D2C),
|
|
1630
|
+
statusDangerSolidHover: Color.from(alpha: 1.0, red: 0.7348, green: 0.1339, blue: 0.1573, colorSpace: ColorSpace.displayP3),
|
|
1631
|
+
statusInfoBg: Color(0xFF0C2035),
|
|
1632
|
+
statusInfoBgHover: Color(0xFF0B2743),
|
|
1633
|
+
statusInfoBorder: Color(0xFF12477A),
|
|
1634
|
+
statusInfoFg: Color.from(alpha: 1.0, red: 0.5796, green: 0.7556, blue: 1.0, colorSpace: ColorSpace.displayP3),
|
|
1635
|
+
statusInfoFgStrong: Color.from(alpha: 1.0, red: 0.8869, green: 0.934, blue: 0.9984, colorSpace: ColorSpace.displayP3),
|
|
1636
|
+
statusInfoOnSolid: Color(0xFFFFFFFF),
|
|
1637
|
+
statusInfoSolid: Color.from(alpha: 1.0, red: 0.1194, green: 0.4327, blue: 0.8303, colorSpace: ColorSpace.displayP3),
|
|
1638
|
+
statusInfoSolidHover: Color.from(alpha: 1.0, red: 0.0287, green: 0.3773, blue: 0.7711, colorSpace: ColorSpace.displayP3),
|
|
1639
|
+
statusSuccessBg: Color(0xFF0F2415),
|
|
1640
|
+
statusSuccessBgHover: Color(0xFF0E2D19),
|
|
1641
|
+
statusSuccessBorder: Color(0xFF19522D),
|
|
1642
|
+
statusSuccessFg: Color(0xFF7FD497),
|
|
1643
|
+
statusSuccessFgStrong: Color(0xFFDAF5E0),
|
|
1644
|
+
statusSuccessOnSolid: Color(0xFFFFFFFF),
|
|
1645
|
+
statusSuccessSolid: Color.from(alpha: 1.0, red: 0.1691, green: 0.5098, blue: 0.2544, colorSpace: ColorSpace.displayP3),
|
|
1646
|
+
statusSuccessSolidHover: Color.from(alpha: 1.0, red: 0.1024, green: 0.4564, blue: 0.205, colorSpace: ColorSpace.displayP3),
|
|
1647
|
+
statusWarningBg: Color(0xFF291C04),
|
|
1648
|
+
statusWarningBgHover: Color.from(alpha: 1.0, red: 0.1937, green: 0.1371, blue: 0.0213, colorSpace: ColorSpace.displayP3),
|
|
1649
|
+
statusWarningBorder: Color.from(alpha: 1.0, red: 0.3535, green: 0.2503, blue: 0.008, colorSpace: ColorSpace.displayP3),
|
|
1650
|
+
statusWarningFg: Color(0xFFE9B454),
|
|
1651
|
+
statusWarningFgStrong: Color(0xFFFCEACD),
|
|
1652
|
+
statusWarningOnSolid: Color.from(alpha: 1.0, red: 0.196, green: 0.1319, blue: 0.0004, colorSpace: ColorSpace.displayP3),
|
|
1653
|
+
statusWarningSolid: Color.from(alpha: 1.0, red: 0.9367, green: 0.7103, blue: 0.2322, colorSpace: ColorSpace.displayP3),
|
|
1654
|
+
statusWarningSolidHover: Color.from(alpha: 1.0, red: 0.9963, green: 0.7678, blue: 0.3003, colorSpace: ColorSpace.displayP3),
|
|
1655
|
+
);
|
|
1656
|
+
|
|
1657
|
+
static const UndColors raatDark = UndColors(
|
|
1658
|
+
accentBg: Color(0xFF171B3B),
|
|
1659
|
+
accentBgActive: Color(0xFF22265C),
|
|
1660
|
+
accentBgHover: Color(0xFF1C204C),
|
|
1661
|
+
accentBorder: Color(0xFF353A89),
|
|
1662
|
+
accentFg: Color.from(alpha: 1.0, red: 0.6758, green: 0.7192, blue: 0.999, colorSpace: ColorSpace.displayP3),
|
|
1663
|
+
accentFgStrong: Color.from(alpha: 1.0, red: 0.9096, green: 0.9241, blue: 0.9977, colorSpace: ColorSpace.displayP3),
|
|
1664
|
+
accentSolid: Color(0xFF504BF2),
|
|
1665
|
+
accentSolidHover: Color.from(alpha: 1.0, red: 0.3554, green: 0.3579, blue: 0.976, colorSpace: ColorSpace.displayP3),
|
|
1666
|
+
bgCanvas: Color(0xFF05070F),
|
|
1667
|
+
bgInverse: Color(0xFFE9EDF5),
|
|
1668
|
+
bgMuted: Color(0xFF141720),
|
|
1669
|
+
bgMutedActive: Color(0xFF21252F),
|
|
1670
|
+
bgMutedHover: Color(0xFF1A1E28),
|
|
1671
|
+
bgOverlay: Color(0x99000000),
|
|
1672
|
+
bgRaised: Color(0xFF141720),
|
|
1673
|
+
bgSubtle: Color(0xFF0B0E17),
|
|
1674
|
+
bgSurface: Color(0xFF0B0E17),
|
|
1675
|
+
borderControl: Color(0xFF5F6470),
|
|
1676
|
+
borderControlHover: Color(0xFF6C707D),
|
|
1677
|
+
borderDefault: Color(0xFF393D48),
|
|
1678
|
+
borderStrong: Color(0xFF4E525E),
|
|
1679
|
+
borderSubtle: Color(0xFF2A2E39),
|
|
1680
|
+
dataviz1: Color(0xFF504BF2),
|
|
1681
|
+
dataviz2: Color.from(alpha: 1.0, red: 0.9211, green: 0.515, blue: 0.1346, colorSpace: ColorSpace.displayP3),
|
|
1682
|
+
dataviz3: Color.from(alpha: 1.0, red: 0.0077, green: 0.4931, blue: 0.5021, colorSpace: ColorSpace.displayP3),
|
|
1683
|
+
dataviz4: Color(0xFFCA358B),
|
|
1684
|
+
dataviz5: Color.from(alpha: 1.0, red: 0.1691, green: 0.5098, blue: 0.2544, colorSpace: ColorSpace.displayP3),
|
|
1685
|
+
dataviz6: Color.from(alpha: 1.0, red: 0.1194, green: 0.4327, blue: 0.8303, colorSpace: ColorSpace.displayP3),
|
|
1686
|
+
dataviz7: Color(0xFFBB4D2A),
|
|
1687
|
+
dataviz8: Color.from(alpha: 1.0, red: 0.9367, green: 0.7103, blue: 0.2322, colorSpace: ColorSpace.displayP3),
|
|
1688
|
+
datavizAxis: Color(0x48C9D8FE),
|
|
1689
|
+
datavizGridline: Color(0x28A6BFFF),
|
|
1690
|
+
fgDefault: Color(0xFFE9EDF5),
|
|
1691
|
+
fgDisabled: Color(0xFF4E525E),
|
|
1692
|
+
fgInverse: Color(0xFF05070F),
|
|
1693
|
+
fgMuted: Color(0xFFB9BDC8),
|
|
1694
|
+
fgOnAccent: Color(0xFFFFFFFF),
|
|
1695
|
+
fgSubtle: Color(0xFF6C707D),
|
|
1696
|
+
focusRing: Color.from(alpha: 1.0, red: 0.6758, green: 0.7192, blue: 0.999, colorSpace: ColorSpace.displayP3),
|
|
1697
|
+
linkDefault: Color.from(alpha: 1.0, red: 0.6758, green: 0.7192, blue: 0.999, colorSpace: ColorSpace.displayP3),
|
|
1698
|
+
linkVisited: Color.from(alpha: 1.0, red: 0.9621, green: 0.5989, blue: 0.7883, colorSpace: ColorSpace.displayP3),
|
|
1699
|
+
materialChromeBg: Color(0xAD191A1F),
|
|
1700
|
+
materialChromeBorder: Color(0x2FB2C8FE),
|
|
1701
|
+
materialChromeHighlight: Color(0x1FFFFFFF),
|
|
1702
|
+
materialRegularBg: Color(0xAD191A1F),
|
|
1703
|
+
materialRegularBorder: Color(0x2FB2C8FE),
|
|
1704
|
+
materialThickBg: Color(0xCC15161B),
|
|
1705
|
+
materialThickBorder: Color(0x39BBCDFE),
|
|
1706
|
+
materialThinBg: Color(0xA6191A1F),
|
|
1707
|
+
materialThinBorder: Color(0x28A6BFFF),
|
|
1708
|
+
selectionBg: Color(0x6E5F6AFF),
|
|
1709
|
+
statusDangerBg: Color(0xFF351311),
|
|
1710
|
+
statusDangerBgHover: Color(0xFF431413),
|
|
1711
|
+
statusDangerBorder: Color(0xFF792323),
|
|
1712
|
+
statusDangerFg: Color.from(alpha: 1.0, red: 0.9998, green: 0.6102, blue: 0.5696, colorSpace: ColorSpace.displayP3),
|
|
1713
|
+
statusDangerFgStrong: Color.from(alpha: 1.0, red: 0.9985, green: 0.9003, blue: 0.8863, colorSpace: ColorSpace.displayP3),
|
|
1714
|
+
statusDangerOnSolid: Color(0xFFFFFFFF),
|
|
1715
|
+
statusDangerSolid: Color(0xFFDD1D2C),
|
|
1716
|
+
statusDangerSolidHover: Color.from(alpha: 1.0, red: 0.7348, green: 0.1339, blue: 0.1573, colorSpace: ColorSpace.displayP3),
|
|
1717
|
+
statusInfoBg: Color(0xFF0C2035),
|
|
1718
|
+
statusInfoBgHover: Color(0xFF0B2743),
|
|
1719
|
+
statusInfoBorder: Color(0xFF12477A),
|
|
1720
|
+
statusInfoFg: Color.from(alpha: 1.0, red: 0.5796, green: 0.7556, blue: 1.0, colorSpace: ColorSpace.displayP3),
|
|
1721
|
+
statusInfoFgStrong: Color.from(alpha: 1.0, red: 0.8869, green: 0.934, blue: 0.9984, colorSpace: ColorSpace.displayP3),
|
|
1722
|
+
statusInfoOnSolid: Color(0xFFFFFFFF),
|
|
1723
|
+
statusInfoSolid: Color.from(alpha: 1.0, red: 0.1194, green: 0.4327, blue: 0.8303, colorSpace: ColorSpace.displayP3),
|
|
1724
|
+
statusInfoSolidHover: Color.from(alpha: 1.0, red: 0.0287, green: 0.3773, blue: 0.7711, colorSpace: ColorSpace.displayP3),
|
|
1725
|
+
statusSuccessBg: Color(0xFF0F2415),
|
|
1726
|
+
statusSuccessBgHover: Color(0xFF0E2D19),
|
|
1727
|
+
statusSuccessBorder: Color(0xFF19522D),
|
|
1728
|
+
statusSuccessFg: Color(0xFF7FD497),
|
|
1729
|
+
statusSuccessFgStrong: Color(0xFFDAF5E0),
|
|
1730
|
+
statusSuccessOnSolid: Color(0xFFFFFFFF),
|
|
1731
|
+
statusSuccessSolid: Color.from(alpha: 1.0, red: 0.1691, green: 0.5098, blue: 0.2544, colorSpace: ColorSpace.displayP3),
|
|
1732
|
+
statusSuccessSolidHover: Color.from(alpha: 1.0, red: 0.1024, green: 0.4564, blue: 0.205, colorSpace: ColorSpace.displayP3),
|
|
1733
|
+
statusWarningBg: Color(0xFF291C04),
|
|
1734
|
+
statusWarningBgHover: Color.from(alpha: 1.0, red: 0.1937, green: 0.1371, blue: 0.0213, colorSpace: ColorSpace.displayP3),
|
|
1735
|
+
statusWarningBorder: Color.from(alpha: 1.0, red: 0.3535, green: 0.2503, blue: 0.008, colorSpace: ColorSpace.displayP3),
|
|
1736
|
+
statusWarningFg: Color(0xFFE9B454),
|
|
1737
|
+
statusWarningFgStrong: Color(0xFFFCEACD),
|
|
1738
|
+
statusWarningOnSolid: Color.from(alpha: 1.0, red: 0.196, green: 0.1319, blue: 0.0004, colorSpace: ColorSpace.displayP3),
|
|
1739
|
+
statusWarningSolid: Color.from(alpha: 1.0, red: 0.9367, green: 0.7103, blue: 0.2322, colorSpace: ColorSpace.displayP3),
|
|
1740
|
+
statusWarningSolidHover: Color.from(alpha: 1.0, red: 0.9963, green: 0.7678, blue: 0.3003, colorSpace: ColorSpace.displayP3),
|
|
1741
|
+
);
|
|
1742
|
+
|
|
1743
|
+
static const UndColors raatLightMore = UndColors(
|
|
1744
|
+
accentBg: Color(0xFF171B3B),
|
|
1745
|
+
accentBgActive: Color(0xFF22265C),
|
|
1746
|
+
accentBgHover: Color(0xFF1C204C),
|
|
1747
|
+
accentBorder: Color(0xFF353A89),
|
|
1748
|
+
accentFg: Color.from(alpha: 1.0, red: 0.9096, green: 0.9241, blue: 0.9977, colorSpace: ColorSpace.displayP3),
|
|
1749
|
+
accentFgStrong: Color.from(alpha: 1.0, red: 0.9096, green: 0.9241, blue: 0.9977, colorSpace: ColorSpace.displayP3),
|
|
1750
|
+
accentSolid: Color(0xFF504BF2),
|
|
1751
|
+
accentSolidHover: Color.from(alpha: 1.0, red: 0.3554, green: 0.3579, blue: 0.976, colorSpace: ColorSpace.displayP3),
|
|
1752
|
+
bgCanvas: Color(0xFF05070F),
|
|
1753
|
+
bgInverse: Color(0xFFE9EDF5),
|
|
1754
|
+
bgMuted: Color(0xFF141720),
|
|
1755
|
+
bgMutedActive: Color(0xFF21252F),
|
|
1756
|
+
bgMutedHover: Color(0xFF1A1E28),
|
|
1757
|
+
bgOverlay: Color(0x99000000),
|
|
1758
|
+
bgRaised: Color(0xFF141720),
|
|
1759
|
+
bgSubtle: Color(0xFF0B0E17),
|
|
1760
|
+
bgSurface: Color(0xFF0B0E17),
|
|
1761
|
+
borderControl: Color(0xFFB9BDC8),
|
|
1762
|
+
borderControlHover: Color(0xFFE9EDF5),
|
|
1763
|
+
borderDefault: Color(0xFF5F6470),
|
|
1764
|
+
borderStrong: Color(0xFF4E525E),
|
|
1765
|
+
borderSubtle: Color(0xFF4E525E),
|
|
1766
|
+
dataviz1: Color(0xFF504BF2),
|
|
1767
|
+
dataviz2: Color.from(alpha: 1.0, red: 0.9211, green: 0.515, blue: 0.1346, colorSpace: ColorSpace.displayP3),
|
|
1768
|
+
dataviz3: Color.from(alpha: 1.0, red: 0.0077, green: 0.4931, blue: 0.5021, colorSpace: ColorSpace.displayP3),
|
|
1769
|
+
dataviz4: Color(0xFFCA358B),
|
|
1770
|
+
dataviz5: Color.from(alpha: 1.0, red: 0.1691, green: 0.5098, blue: 0.2544, colorSpace: ColorSpace.displayP3),
|
|
1771
|
+
dataviz6: Color.from(alpha: 1.0, red: 0.1194, green: 0.4327, blue: 0.8303, colorSpace: ColorSpace.displayP3),
|
|
1772
|
+
dataviz7: Color(0xFFBB4D2A),
|
|
1773
|
+
dataviz8: Color.from(alpha: 1.0, red: 0.9367, green: 0.7103, blue: 0.2322, colorSpace: ColorSpace.displayP3),
|
|
1774
|
+
datavizAxis: Color(0x48C9D8FE),
|
|
1775
|
+
datavizGridline: Color(0x28A6BFFF),
|
|
1776
|
+
fgDefault: Color(0xFFE9EDF5),
|
|
1777
|
+
fgDisabled: Color(0xFF4E525E),
|
|
1778
|
+
fgInverse: Color(0xFF05070F),
|
|
1779
|
+
fgMuted: Color(0xFFE9EDF5),
|
|
1780
|
+
fgOnAccent: Color(0xFFFFFFFF),
|
|
1781
|
+
fgSubtle: Color(0xFFB9BDC8),
|
|
1782
|
+
focusRing: Color.from(alpha: 1.0, red: 0.6758, green: 0.7192, blue: 0.999, colorSpace: ColorSpace.displayP3),
|
|
1783
|
+
linkDefault: Color.from(alpha: 1.0, red: 0.9096, green: 0.9241, blue: 0.9977, colorSpace: ColorSpace.displayP3),
|
|
1784
|
+
linkVisited: Color.from(alpha: 1.0, red: 0.9621, green: 0.5989, blue: 0.7883, colorSpace: ColorSpace.displayP3),
|
|
1785
|
+
materialChromeBg: Color(0xFF0B0E17),
|
|
1786
|
+
materialChromeBorder: Color(0xFF4E525E),
|
|
1787
|
+
materialChromeHighlight: Color(0x00000000),
|
|
1788
|
+
materialRegularBg: Color(0xFF0B0E17),
|
|
1789
|
+
materialRegularBorder: Color(0xFF4E525E),
|
|
1790
|
+
materialThickBg: Color(0xFF0B0E17),
|
|
1791
|
+
materialThickBorder: Color(0xFF4E525E),
|
|
1792
|
+
materialThinBg: Color(0xFF0B0E17),
|
|
1793
|
+
materialThinBorder: Color(0xFF4E525E),
|
|
1794
|
+
selectionBg: Color(0x6E5F6AFF),
|
|
1795
|
+
statusDangerBg: Color(0xFF351311),
|
|
1796
|
+
statusDangerBgHover: Color(0xFF431413),
|
|
1797
|
+
statusDangerBorder: Color(0xFF792323),
|
|
1798
|
+
statusDangerFg: Color.from(alpha: 1.0, red: 0.9998, green: 0.6102, blue: 0.5696, colorSpace: ColorSpace.displayP3),
|
|
1799
|
+
statusDangerFgStrong: Color.from(alpha: 1.0, red: 0.9985, green: 0.9003, blue: 0.8863, colorSpace: ColorSpace.displayP3),
|
|
1800
|
+
statusDangerOnSolid: Color(0xFFFFFFFF),
|
|
1801
|
+
statusDangerSolid: Color(0xFFDD1D2C),
|
|
1802
|
+
statusDangerSolidHover: Color.from(alpha: 1.0, red: 0.7348, green: 0.1339, blue: 0.1573, colorSpace: ColorSpace.displayP3),
|
|
1803
|
+
statusInfoBg: Color(0xFF0C2035),
|
|
1804
|
+
statusInfoBgHover: Color(0xFF0B2743),
|
|
1805
|
+
statusInfoBorder: Color(0xFF12477A),
|
|
1806
|
+
statusInfoFg: Color.from(alpha: 1.0, red: 0.5796, green: 0.7556, blue: 1.0, colorSpace: ColorSpace.displayP3),
|
|
1807
|
+
statusInfoFgStrong: Color.from(alpha: 1.0, red: 0.8869, green: 0.934, blue: 0.9984, colorSpace: ColorSpace.displayP3),
|
|
1808
|
+
statusInfoOnSolid: Color(0xFFFFFFFF),
|
|
1809
|
+
statusInfoSolid: Color.from(alpha: 1.0, red: 0.1194, green: 0.4327, blue: 0.8303, colorSpace: ColorSpace.displayP3),
|
|
1810
|
+
statusInfoSolidHover: Color.from(alpha: 1.0, red: 0.0287, green: 0.3773, blue: 0.7711, colorSpace: ColorSpace.displayP3),
|
|
1811
|
+
statusSuccessBg: Color(0xFF0F2415),
|
|
1812
|
+
statusSuccessBgHover: Color(0xFF0E2D19),
|
|
1813
|
+
statusSuccessBorder: Color(0xFF19522D),
|
|
1814
|
+
statusSuccessFg: Color(0xFF7FD497),
|
|
1815
|
+
statusSuccessFgStrong: Color(0xFFDAF5E0),
|
|
1816
|
+
statusSuccessOnSolid: Color(0xFFFFFFFF),
|
|
1817
|
+
statusSuccessSolid: Color.from(alpha: 1.0, red: 0.1691, green: 0.5098, blue: 0.2544, colorSpace: ColorSpace.displayP3),
|
|
1818
|
+
statusSuccessSolidHover: Color.from(alpha: 1.0, red: 0.1024, green: 0.4564, blue: 0.205, colorSpace: ColorSpace.displayP3),
|
|
1819
|
+
statusWarningBg: Color(0xFF291C04),
|
|
1820
|
+
statusWarningBgHover: Color.from(alpha: 1.0, red: 0.1937, green: 0.1371, blue: 0.0213, colorSpace: ColorSpace.displayP3),
|
|
1821
|
+
statusWarningBorder: Color.from(alpha: 1.0, red: 0.3535, green: 0.2503, blue: 0.008, colorSpace: ColorSpace.displayP3),
|
|
1822
|
+
statusWarningFg: Color(0xFFE9B454),
|
|
1823
|
+
statusWarningFgStrong: Color(0xFFFCEACD),
|
|
1824
|
+
statusWarningOnSolid: Color.from(alpha: 1.0, red: 0.196, green: 0.1319, blue: 0.0004, colorSpace: ColorSpace.displayP3),
|
|
1825
|
+
statusWarningSolid: Color.from(alpha: 1.0, red: 0.9367, green: 0.7103, blue: 0.2322, colorSpace: ColorSpace.displayP3),
|
|
1826
|
+
statusWarningSolidHover: Color.from(alpha: 1.0, red: 0.9963, green: 0.7678, blue: 0.3003, colorSpace: ColorSpace.displayP3),
|
|
1827
|
+
);
|
|
1828
|
+
|
|
1829
|
+
static const UndColors raatDarkMore = UndColors(
|
|
1830
|
+
accentBg: Color(0xFF171B3B),
|
|
1831
|
+
accentBgActive: Color(0xFF22265C),
|
|
1832
|
+
accentBgHover: Color(0xFF1C204C),
|
|
1833
|
+
accentBorder: Color(0xFF353A89),
|
|
1834
|
+
accentFg: Color.from(alpha: 1.0, red: 0.9096, green: 0.9241, blue: 0.9977, colorSpace: ColorSpace.displayP3),
|
|
1835
|
+
accentFgStrong: Color.from(alpha: 1.0, red: 0.9096, green: 0.9241, blue: 0.9977, colorSpace: ColorSpace.displayP3),
|
|
1836
|
+
accentSolid: Color(0xFF504BF2),
|
|
1837
|
+
accentSolidHover: Color.from(alpha: 1.0, red: 0.3554, green: 0.3579, blue: 0.976, colorSpace: ColorSpace.displayP3),
|
|
1838
|
+
bgCanvas: Color(0xFF05070F),
|
|
1839
|
+
bgInverse: Color(0xFFE9EDF5),
|
|
1840
|
+
bgMuted: Color(0xFF141720),
|
|
1841
|
+
bgMutedActive: Color(0xFF21252F),
|
|
1842
|
+
bgMutedHover: Color(0xFF1A1E28),
|
|
1843
|
+
bgOverlay: Color(0x99000000),
|
|
1844
|
+
bgRaised: Color(0xFF141720),
|
|
1845
|
+
bgSubtle: Color(0xFF0B0E17),
|
|
1846
|
+
bgSurface: Color(0xFF0B0E17),
|
|
1847
|
+
borderControl: Color(0xFFB9BDC8),
|
|
1848
|
+
borderControlHover: Color(0xFFE9EDF5),
|
|
1849
|
+
borderDefault: Color(0xFF5F6470),
|
|
1850
|
+
borderStrong: Color(0xFF4E525E),
|
|
1851
|
+
borderSubtle: Color(0xFF4E525E),
|
|
1852
|
+
dataviz1: Color(0xFF504BF2),
|
|
1853
|
+
dataviz2: Color.from(alpha: 1.0, red: 0.9211, green: 0.515, blue: 0.1346, colorSpace: ColorSpace.displayP3),
|
|
1854
|
+
dataviz3: Color.from(alpha: 1.0, red: 0.0077, green: 0.4931, blue: 0.5021, colorSpace: ColorSpace.displayP3),
|
|
1855
|
+
dataviz4: Color(0xFFCA358B),
|
|
1856
|
+
dataviz5: Color.from(alpha: 1.0, red: 0.1691, green: 0.5098, blue: 0.2544, colorSpace: ColorSpace.displayP3),
|
|
1857
|
+
dataviz6: Color.from(alpha: 1.0, red: 0.1194, green: 0.4327, blue: 0.8303, colorSpace: ColorSpace.displayP3),
|
|
1858
|
+
dataviz7: Color(0xFFBB4D2A),
|
|
1859
|
+
dataviz8: Color.from(alpha: 1.0, red: 0.9367, green: 0.7103, blue: 0.2322, colorSpace: ColorSpace.displayP3),
|
|
1860
|
+
datavizAxis: Color(0x48C9D8FE),
|
|
1861
|
+
datavizGridline: Color(0x28A6BFFF),
|
|
1862
|
+
fgDefault: Color(0xFFE9EDF5),
|
|
1863
|
+
fgDisabled: Color(0xFF4E525E),
|
|
1864
|
+
fgInverse: Color(0xFF05070F),
|
|
1865
|
+
fgMuted: Color(0xFFE9EDF5),
|
|
1866
|
+
fgOnAccent: Color(0xFFFFFFFF),
|
|
1867
|
+
fgSubtle: Color(0xFFB9BDC8),
|
|
1868
|
+
focusRing: Color.from(alpha: 1.0, red: 0.6758, green: 0.7192, blue: 0.999, colorSpace: ColorSpace.displayP3),
|
|
1869
|
+
linkDefault: Color.from(alpha: 1.0, red: 0.9096, green: 0.9241, blue: 0.9977, colorSpace: ColorSpace.displayP3),
|
|
1870
|
+
linkVisited: Color.from(alpha: 1.0, red: 0.9621, green: 0.5989, blue: 0.7883, colorSpace: ColorSpace.displayP3),
|
|
1871
|
+
materialChromeBg: Color(0xFF0B0E17),
|
|
1872
|
+
materialChromeBorder: Color(0xFF4E525E),
|
|
1873
|
+
materialChromeHighlight: Color(0x00000000),
|
|
1874
|
+
materialRegularBg: Color(0xFF0B0E17),
|
|
1875
|
+
materialRegularBorder: Color(0xFF4E525E),
|
|
1876
|
+
materialThickBg: Color(0xFF0B0E17),
|
|
1877
|
+
materialThickBorder: Color(0xFF4E525E),
|
|
1878
|
+
materialThinBg: Color(0xFF0B0E17),
|
|
1879
|
+
materialThinBorder: Color(0xFF4E525E),
|
|
1880
|
+
selectionBg: Color(0x6E5F6AFF),
|
|
1881
|
+
statusDangerBg: Color(0xFF351311),
|
|
1882
|
+
statusDangerBgHover: Color(0xFF431413),
|
|
1883
|
+
statusDangerBorder: Color(0xFF792323),
|
|
1884
|
+
statusDangerFg: Color.from(alpha: 1.0, red: 0.9998, green: 0.6102, blue: 0.5696, colorSpace: ColorSpace.displayP3),
|
|
1885
|
+
statusDangerFgStrong: Color.from(alpha: 1.0, red: 0.9985, green: 0.9003, blue: 0.8863, colorSpace: ColorSpace.displayP3),
|
|
1886
|
+
statusDangerOnSolid: Color(0xFFFFFFFF),
|
|
1887
|
+
statusDangerSolid: Color(0xFFDD1D2C),
|
|
1888
|
+
statusDangerSolidHover: Color.from(alpha: 1.0, red: 0.7348, green: 0.1339, blue: 0.1573, colorSpace: ColorSpace.displayP3),
|
|
1889
|
+
statusInfoBg: Color(0xFF0C2035),
|
|
1890
|
+
statusInfoBgHover: Color(0xFF0B2743),
|
|
1891
|
+
statusInfoBorder: Color(0xFF12477A),
|
|
1892
|
+
statusInfoFg: Color.from(alpha: 1.0, red: 0.5796, green: 0.7556, blue: 1.0, colorSpace: ColorSpace.displayP3),
|
|
1893
|
+
statusInfoFgStrong: Color.from(alpha: 1.0, red: 0.8869, green: 0.934, blue: 0.9984, colorSpace: ColorSpace.displayP3),
|
|
1894
|
+
statusInfoOnSolid: Color(0xFFFFFFFF),
|
|
1895
|
+
statusInfoSolid: Color.from(alpha: 1.0, red: 0.1194, green: 0.4327, blue: 0.8303, colorSpace: ColorSpace.displayP3),
|
|
1896
|
+
statusInfoSolidHover: Color.from(alpha: 1.0, red: 0.0287, green: 0.3773, blue: 0.7711, colorSpace: ColorSpace.displayP3),
|
|
1897
|
+
statusSuccessBg: Color(0xFF0F2415),
|
|
1898
|
+
statusSuccessBgHover: Color(0xFF0E2D19),
|
|
1899
|
+
statusSuccessBorder: Color(0xFF19522D),
|
|
1900
|
+
statusSuccessFg: Color(0xFF7FD497),
|
|
1901
|
+
statusSuccessFgStrong: Color(0xFFDAF5E0),
|
|
1902
|
+
statusSuccessOnSolid: Color(0xFFFFFFFF),
|
|
1903
|
+
statusSuccessSolid: Color.from(alpha: 1.0, red: 0.1691, green: 0.5098, blue: 0.2544, colorSpace: ColorSpace.displayP3),
|
|
1904
|
+
statusSuccessSolidHover: Color.from(alpha: 1.0, red: 0.1024, green: 0.4564, blue: 0.205, colorSpace: ColorSpace.displayP3),
|
|
1905
|
+
statusWarningBg: Color(0xFF291C04),
|
|
1906
|
+
statusWarningBgHover: Color.from(alpha: 1.0, red: 0.1937, green: 0.1371, blue: 0.0213, colorSpace: ColorSpace.displayP3),
|
|
1907
|
+
statusWarningBorder: Color.from(alpha: 1.0, red: 0.3535, green: 0.2503, blue: 0.008, colorSpace: ColorSpace.displayP3),
|
|
1908
|
+
statusWarningFg: Color(0xFFE9B454),
|
|
1909
|
+
statusWarningFgStrong: Color(0xFFFCEACD),
|
|
1910
|
+
statusWarningOnSolid: Color.from(alpha: 1.0, red: 0.196, green: 0.1319, blue: 0.0004, colorSpace: ColorSpace.displayP3),
|
|
1911
|
+
statusWarningSolid: Color.from(alpha: 1.0, red: 0.9367, green: 0.7103, blue: 0.2322, colorSpace: ColorSpace.displayP3),
|
|
1912
|
+
statusWarningSolidHover: Color.from(alpha: 1.0, red: 0.9963, green: 0.7678, blue: 0.3003, colorSpace: ColorSpace.displayP3),
|
|
1913
|
+
);
|
|
1914
|
+
|
|
1915
|
+
static const UndColors sutraLight = UndColors(
|
|
1916
|
+
accentBg: Color(0xFFF2F2F4),
|
|
1917
|
+
accentBgActive: Color(0xFFE1E2E3),
|
|
1918
|
+
accentBgHover: Color(0xFFEAEAEC),
|
|
1919
|
+
accentBorder: Color(0xFFC9CACB),
|
|
1920
|
+
accentFg: Color.from(alpha: 1.0, red: 0.1385, green: 0.3875, blue: 0.7163, colorSpace: ColorSpace.displayP3),
|
|
1921
|
+
accentFgStrong: Color(0xFF252526),
|
|
1922
|
+
accentSolid: Color(0xFF252526),
|
|
1923
|
+
accentSolidHover: Color(0xFF646466),
|
|
1924
|
+
bgCanvas: Color(0xFFFCFDFE),
|
|
1925
|
+
bgInverse: Color(0xFF252526),
|
|
1926
|
+
bgMuted: Color(0xFFF2F2F4),
|
|
1927
|
+
bgMutedActive: Color(0xFFE1E2E3),
|
|
1928
|
+
bgMutedHover: Color(0xFFEAEAEC),
|
|
1929
|
+
bgOverlay: Color(0x730B0D16),
|
|
1930
|
+
bgRaised: Color(0xFFFFFFFF),
|
|
1931
|
+
bgSubtle: Color(0xFFF9F9FB),
|
|
1932
|
+
bgSurface: Color(0xFFFFFFFF),
|
|
1933
|
+
borderControl: Color(0xFF8C8C8E),
|
|
1934
|
+
borderControlHover: Color(0xFF808082),
|
|
1935
|
+
borderDefault: Color(0xFFC9CACB),
|
|
1936
|
+
borderStrong: Color(0xFFB4B5B6),
|
|
1937
|
+
borderSubtle: Color(0xFFD8D8D9),
|
|
1938
|
+
dataviz1: Color(0xFF504BF2),
|
|
1939
|
+
dataviz2: Color.from(alpha: 1.0, red: 0.9211, green: 0.515, blue: 0.1346, colorSpace: ColorSpace.displayP3),
|
|
1940
|
+
dataviz3: Color.from(alpha: 1.0, red: 0.0077, green: 0.4931, blue: 0.5021, colorSpace: ColorSpace.displayP3),
|
|
1941
|
+
dataviz4: Color(0xFFCA358B),
|
|
1942
|
+
dataviz5: Color.from(alpha: 1.0, red: 0.1691, green: 0.5098, blue: 0.2544, colorSpace: ColorSpace.displayP3),
|
|
1943
|
+
dataviz6: Color.from(alpha: 1.0, red: 0.1194, green: 0.4327, blue: 0.8303, colorSpace: ColorSpace.displayP3),
|
|
1944
|
+
dataviz7: Color(0xFFBB4D2A),
|
|
1945
|
+
dataviz8: Color.from(alpha: 1.0, red: 0.9367, green: 0.7103, blue: 0.2322, colorSpace: ColorSpace.displayP3),
|
|
1946
|
+
datavizAxis: Color(0x3600050A),
|
|
1947
|
+
datavizGridline: Color(0x1502021A),
|
|
1948
|
+
fgDefault: Color(0xFF252526),
|
|
1949
|
+
fgDisabled: Color(0xFFB4B5B6),
|
|
1950
|
+
fgInverse: Color(0xFFFCFDFE),
|
|
1951
|
+
fgMuted: Color(0xFF646466),
|
|
1952
|
+
fgOnAccent: Color(0xFFFCFDFE),
|
|
1953
|
+
fgSubtle: Color(0xFF808082),
|
|
1954
|
+
focusRing: Color(0xFF252526),
|
|
1955
|
+
linkDefault: Color.from(alpha: 1.0, red: 0.1385, green: 0.3875, blue: 0.7163, colorSpace: ColorSpace.displayP3),
|
|
1956
|
+
linkVisited: Color(0xFFA62D72),
|
|
1957
|
+
materialChromeBg: Color(0xFFFFFFFF),
|
|
1958
|
+
materialChromeBorder: Color(0xFFC9CACB),
|
|
1959
|
+
materialChromeHighlight: Color(0x00000000),
|
|
1960
|
+
materialRegularBg: Color(0xFFFFFFFF),
|
|
1961
|
+
materialRegularBorder: Color(0xFFC9CACB),
|
|
1962
|
+
materialThickBg: Color(0xFFFFFFFF),
|
|
1963
|
+
materialThickBorder: Color(0xFFC9CACB),
|
|
1964
|
+
materialThinBg: Color(0xFFFFFFFF),
|
|
1965
|
+
materialThinBorder: Color(0xFFC9CACB),
|
|
1966
|
+
selectionBg: Color(0x1E010912),
|
|
1967
|
+
statusDangerBg: Color(0xFFFDEFED),
|
|
1968
|
+
statusDangerBgHover: Color(0xFFFAE5E2),
|
|
1969
|
+
statusDangerBorder: Color(0xFFF2BAB4),
|
|
1970
|
+
statusDangerFg: Color(0xFFB81E27),
|
|
1971
|
+
statusDangerFgStrong: Color(0xFF4B0609),
|
|
1972
|
+
statusDangerOnSolid: Color(0xFFFFFFFF),
|
|
1973
|
+
statusDangerSolid: Color(0xFFDD1D2C),
|
|
1974
|
+
statusDangerSolidHover: Color.from(alpha: 1.0, red: 0.7416, green: 0.1432, blue: 0.1633, colorSpace: ColorSpace.displayP3),
|
|
1975
|
+
statusInfoBg: Color(0xFFECF3FB),
|
|
1976
|
+
statusInfoBgHover: Color(0xFFE1ECF9),
|
|
1977
|
+
statusInfoBorder: Color(0xFFB0CDEF),
|
|
1978
|
+
statusInfoFg: Color.from(alpha: 1.0, red: 0.1385, green: 0.3875, blue: 0.7163, colorSpace: ColorSpace.displayP3),
|
|
1979
|
+
statusInfoFgStrong: Color.from(alpha: 1.0, red: 0.0299, green: 0.1424, blue: 0.2911, colorSpace: ColorSpace.displayP3),
|
|
1980
|
+
statusInfoOnSolid: Color(0xFFFFFFFF),
|
|
1981
|
+
statusInfoSolid: Color.from(alpha: 1.0, red: 0.1194, green: 0.4327, blue: 0.8303, colorSpace: ColorSpace.displayP3),
|
|
1982
|
+
statusInfoSolidHover: Color.from(alpha: 1.0, red: 0.0421, green: 0.3834, blue: 0.7776, colorSpace: ColorSpace.displayP3),
|
|
1983
|
+
statusSuccessBg: Color(0xFFEDF5EF),
|
|
1984
|
+
statusSuccessBgHover: Color(0xFFE2EEE5),
|
|
1985
|
+
statusSuccessBorder: Color(0xFFB4D3BB),
|
|
1986
|
+
statusSuccessFg: Color.from(alpha: 1.0, red: 0.1962, green: 0.4692, blue: 0.2558, colorSpace: ColorSpace.displayP3),
|
|
1987
|
+
statusSuccessFgStrong: Color.from(alpha: 1.0, red: 0.056, green: 0.1794, blue: 0.0832, colorSpace: ColorSpace.displayP3),
|
|
1988
|
+
statusSuccessOnSolid: Color(0xFFFFFFFF),
|
|
1989
|
+
statusSuccessSolid: Color.from(alpha: 1.0, red: 0.1691, green: 0.5098, blue: 0.2544, colorSpace: ColorSpace.displayP3),
|
|
1990
|
+
statusSuccessSolidHover: Color.from(alpha: 1.0, red: 0.1105, green: 0.4623, blue: 0.2105, colorSpace: ColorSpace.displayP3),
|
|
1991
|
+
statusWarningBg: Color(0xFFF7F2EA),
|
|
1992
|
+
statusWarningBgHover: Color(0xFFF1E9DD),
|
|
1993
|
+
statusWarningBorder: Color(0xFFDCC7A5),
|
|
1994
|
+
statusWarningFg: Color.from(alpha: 1.0, red: 0.5069, green: 0.3634, blue: 0.0036, colorSpace: ColorSpace.displayP3),
|
|
1995
|
+
statusWarningFgStrong: Color.from(alpha: 1.0, red: 0.196, green: 0.1319, blue: 0.0004, colorSpace: ColorSpace.displayP3),
|
|
1996
|
+
statusWarningOnSolid: Color.from(alpha: 1.0, red: 0.196, green: 0.1319, blue: 0.0004, colorSpace: ColorSpace.displayP3),
|
|
1997
|
+
statusWarningSolid: Color.from(alpha: 1.0, red: 0.9367, green: 0.7103, blue: 0.2322, colorSpace: ColorSpace.displayP3),
|
|
1998
|
+
statusWarningSolidHover: Color.from(alpha: 1.0, red: 0.8842, green: 0.6598, blue: 0.1637, colorSpace: ColorSpace.displayP3),
|
|
1999
|
+
);
|
|
2000
|
+
|
|
2001
|
+
static const UndColors sutraDark = UndColors(
|
|
2002
|
+
accentBg: Color(0xFF1E1F20),
|
|
2003
|
+
accentBgActive: Color(0xFF2D2D2E),
|
|
2004
|
+
accentBgHover: Color(0xFF262627),
|
|
2005
|
+
accentBorder: Color(0xFF454547),
|
|
2006
|
+
accentFg: Color.from(alpha: 1.0, red: 0.5796, green: 0.7556, blue: 1.0, colorSpace: ColorSpace.displayP3),
|
|
2007
|
+
accentFgStrong: Color(0xFFECEDEE),
|
|
2008
|
+
accentSolid: Color(0xFFECEDEE),
|
|
2009
|
+
accentSolidHover: Color(0xFFBDBDBF),
|
|
2010
|
+
bgCanvas: Color(0xFF0E0E0F),
|
|
2011
|
+
bgInverse: Color(0xFFECEDEE),
|
|
2012
|
+
bgMuted: Color(0xFF1E1F20),
|
|
2013
|
+
bgMutedActive: Color(0xFF2D2D2E),
|
|
2014
|
+
bgMutedHover: Color(0xFF262627),
|
|
2015
|
+
bgOverlay: Color(0x99000000),
|
|
2016
|
+
bgRaised: Color(0xFF1E1F20),
|
|
2017
|
+
bgSubtle: Color(0xFF151516),
|
|
2018
|
+
bgSurface: Color(0xFF151516),
|
|
2019
|
+
borderControl: Color(0xFF68696A),
|
|
2020
|
+
borderControlHover: Color(0xFF757677),
|
|
2021
|
+
borderDefault: Color(0xFF454547),
|
|
2022
|
+
borderStrong: Color(0xFF5A5B5C),
|
|
2023
|
+
borderSubtle: Color(0xFF363738),
|
|
2024
|
+
dataviz1: Color(0xFF504BF2),
|
|
2025
|
+
dataviz2: Color.from(alpha: 1.0, red: 0.9211, green: 0.515, blue: 0.1346, colorSpace: ColorSpace.displayP3),
|
|
2026
|
+
dataviz3: Color.from(alpha: 1.0, red: 0.0077, green: 0.4931, blue: 0.5021, colorSpace: ColorSpace.displayP3),
|
|
2027
|
+
dataviz4: Color(0xFFCA358B),
|
|
2028
|
+
dataviz5: Color.from(alpha: 1.0, red: 0.1691, green: 0.5098, blue: 0.2544, colorSpace: ColorSpace.displayP3),
|
|
2029
|
+
dataviz6: Color.from(alpha: 1.0, red: 0.1194, green: 0.4327, blue: 0.8303, colorSpace: ColorSpace.displayP3),
|
|
2030
|
+
dataviz7: Color(0xFFBB4D2A),
|
|
2031
|
+
dataviz8: Color.from(alpha: 1.0, red: 0.9367, green: 0.7103, blue: 0.2322, colorSpace: ColorSpace.displayP3),
|
|
2032
|
+
datavizAxis: Color(0x47F7F7FE),
|
|
2033
|
+
datavizGridline: Color(0x27F8F8FF),
|
|
2034
|
+
fgDefault: Color(0xFFECEDEE),
|
|
2035
|
+
fgDisabled: Color(0xFF5A5B5C),
|
|
2036
|
+
fgInverse: Color(0xFF0E0E0F),
|
|
2037
|
+
fgMuted: Color(0xFFBDBDBF),
|
|
2038
|
+
fgOnAccent: Color(0xFF0E0E0F),
|
|
2039
|
+
fgSubtle: Color(0xFF757677),
|
|
2040
|
+
focusRing: Color(0xFFECEDEE),
|
|
2041
|
+
linkDefault: Color.from(alpha: 1.0, red: 0.5796, green: 0.7556, blue: 1.0, colorSpace: ColorSpace.displayP3),
|
|
2042
|
+
linkVisited: Color.from(alpha: 1.0, red: 0.9621, green: 0.5989, blue: 0.7883, colorSpace: ColorSpace.displayP3),
|
|
2043
|
+
materialChromeBg: Color(0xFF151516),
|
|
2044
|
+
materialChromeBorder: Color(0xFF454547),
|
|
2045
|
+
materialChromeHighlight: Color(0x00000000),
|
|
2046
|
+
materialRegularBg: Color(0xFF151516),
|
|
2047
|
+
materialRegularBorder: Color(0xFF454547),
|
|
2048
|
+
materialThickBg: Color(0xFF151516),
|
|
2049
|
+
materialThickBorder: Color(0xFF454547),
|
|
2050
|
+
materialThinBg: Color(0xFF151516),
|
|
2051
|
+
materialThinBorder: Color(0xFF454547),
|
|
2052
|
+
selectionBg: Color(0x38F5FAFF),
|
|
2053
|
+
statusDangerBg: Color(0xFF351311),
|
|
2054
|
+
statusDangerBgHover: Color(0xFF431413),
|
|
2055
|
+
statusDangerBorder: Color(0xFF792323),
|
|
2056
|
+
statusDangerFg: Color.from(alpha: 1.0, red: 0.9998, green: 0.6102, blue: 0.5696, colorSpace: ColorSpace.displayP3),
|
|
2057
|
+
statusDangerFgStrong: Color.from(alpha: 1.0, red: 0.9985, green: 0.9003, blue: 0.8863, colorSpace: ColorSpace.displayP3),
|
|
2058
|
+
statusDangerOnSolid: Color(0xFFFFFFFF),
|
|
2059
|
+
statusDangerSolid: Color(0xFFDD1D2C),
|
|
2060
|
+
statusDangerSolidHover: Color.from(alpha: 1.0, red: 0.7348, green: 0.1339, blue: 0.1573, colorSpace: ColorSpace.displayP3),
|
|
2061
|
+
statusInfoBg: Color(0xFF0C2035),
|
|
2062
|
+
statusInfoBgHover: Color(0xFF0B2743),
|
|
2063
|
+
statusInfoBorder: Color(0xFF12477A),
|
|
2064
|
+
statusInfoFg: Color.from(alpha: 1.0, red: 0.5796, green: 0.7556, blue: 1.0, colorSpace: ColorSpace.displayP3),
|
|
2065
|
+
statusInfoFgStrong: Color.from(alpha: 1.0, red: 0.8869, green: 0.934, blue: 0.9984, colorSpace: ColorSpace.displayP3),
|
|
2066
|
+
statusInfoOnSolid: Color(0xFFFFFFFF),
|
|
2067
|
+
statusInfoSolid: Color.from(alpha: 1.0, red: 0.1194, green: 0.4327, blue: 0.8303, colorSpace: ColorSpace.displayP3),
|
|
2068
|
+
statusInfoSolidHover: Color.from(alpha: 1.0, red: 0.0287, green: 0.3773, blue: 0.7711, colorSpace: ColorSpace.displayP3),
|
|
2069
|
+
statusSuccessBg: Color(0xFF0F2415),
|
|
2070
|
+
statusSuccessBgHover: Color(0xFF0E2D19),
|
|
2071
|
+
statusSuccessBorder: Color(0xFF19522D),
|
|
2072
|
+
statusSuccessFg: Color(0xFF7FD497),
|
|
2073
|
+
statusSuccessFgStrong: Color(0xFFDAF5E0),
|
|
2074
|
+
statusSuccessOnSolid: Color(0xFFFFFFFF),
|
|
2075
|
+
statusSuccessSolid: Color.from(alpha: 1.0, red: 0.1691, green: 0.5098, blue: 0.2544, colorSpace: ColorSpace.displayP3),
|
|
2076
|
+
statusSuccessSolidHover: Color.from(alpha: 1.0, red: 0.1024, green: 0.4564, blue: 0.205, colorSpace: ColorSpace.displayP3),
|
|
2077
|
+
statusWarningBg: Color(0xFF291C04),
|
|
2078
|
+
statusWarningBgHover: Color.from(alpha: 1.0, red: 0.1937, green: 0.1371, blue: 0.0213, colorSpace: ColorSpace.displayP3),
|
|
2079
|
+
statusWarningBorder: Color.from(alpha: 1.0, red: 0.3535, green: 0.2503, blue: 0.008, colorSpace: ColorSpace.displayP3),
|
|
2080
|
+
statusWarningFg: Color(0xFFE9B454),
|
|
2081
|
+
statusWarningFgStrong: Color(0xFFFCEACD),
|
|
2082
|
+
statusWarningOnSolid: Color.from(alpha: 1.0, red: 0.196, green: 0.1319, blue: 0.0004, colorSpace: ColorSpace.displayP3),
|
|
2083
|
+
statusWarningSolid: Color.from(alpha: 1.0, red: 0.9367, green: 0.7103, blue: 0.2322, colorSpace: ColorSpace.displayP3),
|
|
2084
|
+
statusWarningSolidHover: Color.from(alpha: 1.0, red: 0.9963, green: 0.7678, blue: 0.3003, colorSpace: ColorSpace.displayP3),
|
|
2085
|
+
);
|
|
2086
|
+
|
|
2087
|
+
static const UndColors sutraLightMore = UndColors(
|
|
2088
|
+
accentBg: Color(0xFFF2F2F4),
|
|
2089
|
+
accentBgActive: Color(0xFFE1E2E3),
|
|
2090
|
+
accentBgHover: Color(0xFFEAEAEC),
|
|
2091
|
+
accentBorder: Color(0xFFC9CACB),
|
|
2092
|
+
accentFg: Color.from(alpha: 1.0, red: 0.0299, green: 0.1424, blue: 0.2911, colorSpace: ColorSpace.displayP3),
|
|
2093
|
+
accentFgStrong: Color(0xFF252526),
|
|
2094
|
+
accentSolid: Color(0xFF252526),
|
|
2095
|
+
accentSolidHover: Color(0xFF646466),
|
|
2096
|
+
bgCanvas: Color(0xFFFCFDFE),
|
|
2097
|
+
bgInverse: Color(0xFF252526),
|
|
2098
|
+
bgMuted: Color(0xFFF2F2F4),
|
|
2099
|
+
bgMutedActive: Color(0xFFE1E2E3),
|
|
2100
|
+
bgMutedHover: Color(0xFFEAEAEC),
|
|
2101
|
+
bgOverlay: Color(0x730B0D16),
|
|
2102
|
+
bgRaised: Color(0xFFFFFFFF),
|
|
2103
|
+
bgSubtle: Color(0xFFF9F9FB),
|
|
2104
|
+
bgSurface: Color(0xFFFFFFFF),
|
|
2105
|
+
borderControl: Color(0xFF646466),
|
|
2106
|
+
borderControlHover: Color(0xFF252526),
|
|
2107
|
+
borderDefault: Color(0xFF8C8C8E),
|
|
2108
|
+
borderStrong: Color(0xFFB4B5B6),
|
|
2109
|
+
borderSubtle: Color(0xFFB4B5B6),
|
|
2110
|
+
dataviz1: Color(0xFF504BF2),
|
|
2111
|
+
dataviz2: Color.from(alpha: 1.0, red: 0.9211, green: 0.515, blue: 0.1346, colorSpace: ColorSpace.displayP3),
|
|
2112
|
+
dataviz3: Color.from(alpha: 1.0, red: 0.0077, green: 0.4931, blue: 0.5021, colorSpace: ColorSpace.displayP3),
|
|
2113
|
+
dataviz4: Color(0xFFCA358B),
|
|
2114
|
+
dataviz5: Color.from(alpha: 1.0, red: 0.1691, green: 0.5098, blue: 0.2544, colorSpace: ColorSpace.displayP3),
|
|
2115
|
+
dataviz6: Color.from(alpha: 1.0, red: 0.1194, green: 0.4327, blue: 0.8303, colorSpace: ColorSpace.displayP3),
|
|
2116
|
+
dataviz7: Color(0xFFBB4D2A),
|
|
2117
|
+
dataviz8: Color.from(alpha: 1.0, red: 0.9367, green: 0.7103, blue: 0.2322, colorSpace: ColorSpace.displayP3),
|
|
2118
|
+
datavizAxis: Color(0x3600050A),
|
|
2119
|
+
datavizGridline: Color(0x1502021A),
|
|
2120
|
+
fgDefault: Color(0xFF252526),
|
|
2121
|
+
fgDisabled: Color(0xFFB4B5B6),
|
|
2122
|
+
fgInverse: Color(0xFFFCFDFE),
|
|
2123
|
+
fgMuted: Color(0xFF252526),
|
|
2124
|
+
fgOnAccent: Color(0xFFFCFDFE),
|
|
2125
|
+
fgSubtle: Color(0xFF646466),
|
|
2126
|
+
focusRing: Color(0xFF252526),
|
|
2127
|
+
linkDefault: Color.from(alpha: 1.0, red: 0.0299, green: 0.1424, blue: 0.2911, colorSpace: ColorSpace.displayP3),
|
|
2128
|
+
linkVisited: Color(0xFFA62D72),
|
|
2129
|
+
materialChromeBg: Color(0xFFFFFFFF),
|
|
2130
|
+
materialChromeBorder: Color(0xFFB4B5B6),
|
|
2131
|
+
materialChromeHighlight: Color(0x00000000),
|
|
2132
|
+
materialRegularBg: Color(0xFFFFFFFF),
|
|
2133
|
+
materialRegularBorder: Color(0xFFB4B5B6),
|
|
2134
|
+
materialThickBg: Color(0xFFFFFFFF),
|
|
2135
|
+
materialThickBorder: Color(0xFFB4B5B6),
|
|
2136
|
+
materialThinBg: Color(0xFFFFFFFF),
|
|
2137
|
+
materialThinBorder: Color(0xFFB4B5B6),
|
|
2138
|
+
selectionBg: Color(0x1E010912),
|
|
2139
|
+
statusDangerBg: Color(0xFFFDEFED),
|
|
2140
|
+
statusDangerBgHover: Color(0xFFFAE5E2),
|
|
2141
|
+
statusDangerBorder: Color(0xFFF2BAB4),
|
|
2142
|
+
statusDangerFg: Color(0xFFB81E27),
|
|
2143
|
+
statusDangerFgStrong: Color(0xFF4B0609),
|
|
2144
|
+
statusDangerOnSolid: Color(0xFFFFFFFF),
|
|
2145
|
+
statusDangerSolid: Color(0xFFDD1D2C),
|
|
2146
|
+
statusDangerSolidHover: Color.from(alpha: 1.0, red: 0.7416, green: 0.1432, blue: 0.1633, colorSpace: ColorSpace.displayP3),
|
|
2147
|
+
statusInfoBg: Color(0xFFECF3FB),
|
|
2148
|
+
statusInfoBgHover: Color(0xFFE1ECF9),
|
|
2149
|
+
statusInfoBorder: Color(0xFFB0CDEF),
|
|
2150
|
+
statusInfoFg: Color.from(alpha: 1.0, red: 0.1385, green: 0.3875, blue: 0.7163, colorSpace: ColorSpace.displayP3),
|
|
2151
|
+
statusInfoFgStrong: Color.from(alpha: 1.0, red: 0.0299, green: 0.1424, blue: 0.2911, colorSpace: ColorSpace.displayP3),
|
|
2152
|
+
statusInfoOnSolid: Color(0xFFFFFFFF),
|
|
2153
|
+
statusInfoSolid: Color.from(alpha: 1.0, red: 0.1194, green: 0.4327, blue: 0.8303, colorSpace: ColorSpace.displayP3),
|
|
2154
|
+
statusInfoSolidHover: Color.from(alpha: 1.0, red: 0.0421, green: 0.3834, blue: 0.7776, colorSpace: ColorSpace.displayP3),
|
|
2155
|
+
statusSuccessBg: Color(0xFFEDF5EF),
|
|
2156
|
+
statusSuccessBgHover: Color(0xFFE2EEE5),
|
|
2157
|
+
statusSuccessBorder: Color(0xFFB4D3BB),
|
|
2158
|
+
statusSuccessFg: Color.from(alpha: 1.0, red: 0.1962, green: 0.4692, blue: 0.2558, colorSpace: ColorSpace.displayP3),
|
|
2159
|
+
statusSuccessFgStrong: Color.from(alpha: 1.0, red: 0.056, green: 0.1794, blue: 0.0832, colorSpace: ColorSpace.displayP3),
|
|
2160
|
+
statusSuccessOnSolid: Color(0xFFFFFFFF),
|
|
2161
|
+
statusSuccessSolid: Color.from(alpha: 1.0, red: 0.1691, green: 0.5098, blue: 0.2544, colorSpace: ColorSpace.displayP3),
|
|
2162
|
+
statusSuccessSolidHover: Color.from(alpha: 1.0, red: 0.1105, green: 0.4623, blue: 0.2105, colorSpace: ColorSpace.displayP3),
|
|
2163
|
+
statusWarningBg: Color(0xFFF7F2EA),
|
|
2164
|
+
statusWarningBgHover: Color(0xFFF1E9DD),
|
|
2165
|
+
statusWarningBorder: Color(0xFFDCC7A5),
|
|
2166
|
+
statusWarningFg: Color.from(alpha: 1.0, red: 0.5069, green: 0.3634, blue: 0.0036, colorSpace: ColorSpace.displayP3),
|
|
2167
|
+
statusWarningFgStrong: Color.from(alpha: 1.0, red: 0.196, green: 0.1319, blue: 0.0004, colorSpace: ColorSpace.displayP3),
|
|
2168
|
+
statusWarningOnSolid: Color.from(alpha: 1.0, red: 0.196, green: 0.1319, blue: 0.0004, colorSpace: ColorSpace.displayP3),
|
|
2169
|
+
statusWarningSolid: Color.from(alpha: 1.0, red: 0.9367, green: 0.7103, blue: 0.2322, colorSpace: ColorSpace.displayP3),
|
|
2170
|
+
statusWarningSolidHover: Color.from(alpha: 1.0, red: 0.8842, green: 0.6598, blue: 0.1637, colorSpace: ColorSpace.displayP3),
|
|
2171
|
+
);
|
|
2172
|
+
|
|
2173
|
+
static const UndColors sutraDarkMore = UndColors(
|
|
2174
|
+
accentBg: Color(0xFF1E1F20),
|
|
2175
|
+
accentBgActive: Color(0xFF2D2D2E),
|
|
2176
|
+
accentBgHover: Color(0xFF262627),
|
|
2177
|
+
accentBorder: Color(0xFF454547),
|
|
2178
|
+
accentFg: Color.from(alpha: 1.0, red: 0.8869, green: 0.934, blue: 0.9984, colorSpace: ColorSpace.displayP3),
|
|
2179
|
+
accentFgStrong: Color(0xFFECEDEE),
|
|
2180
|
+
accentSolid: Color(0xFFECEDEE),
|
|
2181
|
+
accentSolidHover: Color(0xFFBDBDBF),
|
|
2182
|
+
bgCanvas: Color(0xFF0E0E0F),
|
|
2183
|
+
bgInverse: Color(0xFFECEDEE),
|
|
2184
|
+
bgMuted: Color(0xFF1E1F20),
|
|
2185
|
+
bgMutedActive: Color(0xFF2D2D2E),
|
|
2186
|
+
bgMutedHover: Color(0xFF262627),
|
|
2187
|
+
bgOverlay: Color(0x99000000),
|
|
2188
|
+
bgRaised: Color(0xFF1E1F20),
|
|
2189
|
+
bgSubtle: Color(0xFF151516),
|
|
2190
|
+
bgSurface: Color(0xFF151516),
|
|
2191
|
+
borderControl: Color(0xFFBDBDBF),
|
|
2192
|
+
borderControlHover: Color(0xFFECEDEE),
|
|
2193
|
+
borderDefault: Color(0xFF68696A),
|
|
2194
|
+
borderStrong: Color(0xFF5A5B5C),
|
|
2195
|
+
borderSubtle: Color(0xFF5A5B5C),
|
|
2196
|
+
dataviz1: Color(0xFF504BF2),
|
|
2197
|
+
dataviz2: Color.from(alpha: 1.0, red: 0.9211, green: 0.515, blue: 0.1346, colorSpace: ColorSpace.displayP3),
|
|
2198
|
+
dataviz3: Color.from(alpha: 1.0, red: 0.0077, green: 0.4931, blue: 0.5021, colorSpace: ColorSpace.displayP3),
|
|
2199
|
+
dataviz4: Color(0xFFCA358B),
|
|
2200
|
+
dataviz5: Color.from(alpha: 1.0, red: 0.1691, green: 0.5098, blue: 0.2544, colorSpace: ColorSpace.displayP3),
|
|
2201
|
+
dataviz6: Color.from(alpha: 1.0, red: 0.1194, green: 0.4327, blue: 0.8303, colorSpace: ColorSpace.displayP3),
|
|
2202
|
+
dataviz7: Color(0xFFBB4D2A),
|
|
2203
|
+
dataviz8: Color.from(alpha: 1.0, red: 0.9367, green: 0.7103, blue: 0.2322, colorSpace: ColorSpace.displayP3),
|
|
2204
|
+
datavizAxis: Color(0x47F7F7FE),
|
|
2205
|
+
datavizGridline: Color(0x27F8F8FF),
|
|
2206
|
+
fgDefault: Color(0xFFECEDEE),
|
|
2207
|
+
fgDisabled: Color(0xFF5A5B5C),
|
|
2208
|
+
fgInverse: Color(0xFF0E0E0F),
|
|
2209
|
+
fgMuted: Color(0xFFECEDEE),
|
|
2210
|
+
fgOnAccent: Color(0xFF0E0E0F),
|
|
2211
|
+
fgSubtle: Color(0xFFBDBDBF),
|
|
2212
|
+
focusRing: Color(0xFFECEDEE),
|
|
2213
|
+
linkDefault: Color.from(alpha: 1.0, red: 0.8869, green: 0.934, blue: 0.9984, colorSpace: ColorSpace.displayP3),
|
|
2214
|
+
linkVisited: Color.from(alpha: 1.0, red: 0.9621, green: 0.5989, blue: 0.7883, colorSpace: ColorSpace.displayP3),
|
|
2215
|
+
materialChromeBg: Color(0xFF151516),
|
|
2216
|
+
materialChromeBorder: Color(0xFF5A5B5C),
|
|
2217
|
+
materialChromeHighlight: Color(0x00000000),
|
|
2218
|
+
materialRegularBg: Color(0xFF151516),
|
|
2219
|
+
materialRegularBorder: Color(0xFF5A5B5C),
|
|
2220
|
+
materialThickBg: Color(0xFF151516),
|
|
2221
|
+
materialThickBorder: Color(0xFF5A5B5C),
|
|
2222
|
+
materialThinBg: Color(0xFF151516),
|
|
2223
|
+
materialThinBorder: Color(0xFF5A5B5C),
|
|
2224
|
+
selectionBg: Color(0x38F5FAFF),
|
|
2225
|
+
statusDangerBg: Color(0xFF351311),
|
|
2226
|
+
statusDangerBgHover: Color(0xFF431413),
|
|
2227
|
+
statusDangerBorder: Color(0xFF792323),
|
|
2228
|
+
statusDangerFg: Color.from(alpha: 1.0, red: 0.9998, green: 0.6102, blue: 0.5696, colorSpace: ColorSpace.displayP3),
|
|
2229
|
+
statusDangerFgStrong: Color.from(alpha: 1.0, red: 0.9985, green: 0.9003, blue: 0.8863, colorSpace: ColorSpace.displayP3),
|
|
2230
|
+
statusDangerOnSolid: Color(0xFFFFFFFF),
|
|
2231
|
+
statusDangerSolid: Color(0xFFDD1D2C),
|
|
2232
|
+
statusDangerSolidHover: Color.from(alpha: 1.0, red: 0.7348, green: 0.1339, blue: 0.1573, colorSpace: ColorSpace.displayP3),
|
|
2233
|
+
statusInfoBg: Color(0xFF0C2035),
|
|
2234
|
+
statusInfoBgHover: Color(0xFF0B2743),
|
|
2235
|
+
statusInfoBorder: Color(0xFF12477A),
|
|
2236
|
+
statusInfoFg: Color.from(alpha: 1.0, red: 0.5796, green: 0.7556, blue: 1.0, colorSpace: ColorSpace.displayP3),
|
|
2237
|
+
statusInfoFgStrong: Color.from(alpha: 1.0, red: 0.8869, green: 0.934, blue: 0.9984, colorSpace: ColorSpace.displayP3),
|
|
2238
|
+
statusInfoOnSolid: Color(0xFFFFFFFF),
|
|
2239
|
+
statusInfoSolid: Color.from(alpha: 1.0, red: 0.1194, green: 0.4327, blue: 0.8303, colorSpace: ColorSpace.displayP3),
|
|
2240
|
+
statusInfoSolidHover: Color.from(alpha: 1.0, red: 0.0287, green: 0.3773, blue: 0.7711, colorSpace: ColorSpace.displayP3),
|
|
2241
|
+
statusSuccessBg: Color(0xFF0F2415),
|
|
2242
|
+
statusSuccessBgHover: Color(0xFF0E2D19),
|
|
2243
|
+
statusSuccessBorder: Color(0xFF19522D),
|
|
2244
|
+
statusSuccessFg: Color(0xFF7FD497),
|
|
2245
|
+
statusSuccessFgStrong: Color(0xFFDAF5E0),
|
|
2246
|
+
statusSuccessOnSolid: Color(0xFFFFFFFF),
|
|
2247
|
+
statusSuccessSolid: Color.from(alpha: 1.0, red: 0.1691, green: 0.5098, blue: 0.2544, colorSpace: ColorSpace.displayP3),
|
|
2248
|
+
statusSuccessSolidHover: Color.from(alpha: 1.0, red: 0.1024, green: 0.4564, blue: 0.205, colorSpace: ColorSpace.displayP3),
|
|
2249
|
+
statusWarningBg: Color(0xFF291C04),
|
|
2250
|
+
statusWarningBgHover: Color.from(alpha: 1.0, red: 0.1937, green: 0.1371, blue: 0.0213, colorSpace: ColorSpace.displayP3),
|
|
2251
|
+
statusWarningBorder: Color.from(alpha: 1.0, red: 0.3535, green: 0.2503, blue: 0.008, colorSpace: ColorSpace.displayP3),
|
|
2252
|
+
statusWarningFg: Color(0xFFE9B454),
|
|
2253
|
+
statusWarningFgStrong: Color(0xFFFCEACD),
|
|
2254
|
+
statusWarningOnSolid: Color.from(alpha: 1.0, red: 0.196, green: 0.1319, blue: 0.0004, colorSpace: ColorSpace.displayP3),
|
|
2255
|
+
statusWarningSolid: Color.from(alpha: 1.0, red: 0.9367, green: 0.7103, blue: 0.2322, colorSpace: ColorSpace.displayP3),
|
|
2256
|
+
statusWarningSolidHover: Color.from(alpha: 1.0, red: 0.9963, green: 0.7678, blue: 0.3003, colorSpace: ColorSpace.displayP3),
|
|
2257
|
+
);
|
|
2258
|
+
|
|
2259
|
+
/// Pick a scheme. Dark-only themes (Raat) ignore [brightness].
|
|
2260
|
+
static UndColors of(UndThemeName theme, {required Brightness brightness, bool highContrast = false}) {
|
|
2261
|
+
final dark = brightness == Brightness.dark;
|
|
2262
|
+
switch (theme) {
|
|
2263
|
+
case UndThemeName.ujala:
|
|
2264
|
+
return dark ? (highContrast ? ujalaDarkMore : ujalaDark) : (highContrast ? ujalaLightMore : ujalaLight);
|
|
2265
|
+
case UndThemeName.kesar:
|
|
2266
|
+
return dark ? (highContrast ? kesarDarkMore : kesarDark) : (highContrast ? kesarLightMore : kesarLight);
|
|
2267
|
+
case UndThemeName.neem:
|
|
2268
|
+
return dark ? (highContrast ? neemDarkMore : neemDark) : (highContrast ? neemLightMore : neemLight);
|
|
2269
|
+
case UndThemeName.mitti:
|
|
2270
|
+
return dark ? (highContrast ? mittiDarkMore : mittiDark) : (highContrast ? mittiLightMore : mittiLight);
|
|
2271
|
+
case UndThemeName.raat:
|
|
2272
|
+
return dark ? (highContrast ? raatDarkMore : raatDark) : (highContrast ? raatLightMore : raatLight);
|
|
2273
|
+
case UndThemeName.sutra:
|
|
2274
|
+
return dark ? (highContrast ? sutraDarkMore : sutraDark) : (highContrast ? sutraLightMore : sutraLight);
|
|
2275
|
+
}
|
|
2276
|
+
}
|
|
2277
|
+
|
|
2278
|
+
UndColors lerp(UndColors other, double t) => UndColors(
|
|
2279
|
+
accentBg: Color.lerp(accentBg, other.accentBg, t)!,
|
|
2280
|
+
accentBgActive: Color.lerp(accentBgActive, other.accentBgActive, t)!,
|
|
2281
|
+
accentBgHover: Color.lerp(accentBgHover, other.accentBgHover, t)!,
|
|
2282
|
+
accentBorder: Color.lerp(accentBorder, other.accentBorder, t)!,
|
|
2283
|
+
accentFg: Color.lerp(accentFg, other.accentFg, t)!,
|
|
2284
|
+
accentFgStrong: Color.lerp(accentFgStrong, other.accentFgStrong, t)!,
|
|
2285
|
+
accentSolid: Color.lerp(accentSolid, other.accentSolid, t)!,
|
|
2286
|
+
accentSolidHover: Color.lerp(accentSolidHover, other.accentSolidHover, t)!,
|
|
2287
|
+
bgCanvas: Color.lerp(bgCanvas, other.bgCanvas, t)!,
|
|
2288
|
+
bgInverse: Color.lerp(bgInverse, other.bgInverse, t)!,
|
|
2289
|
+
bgMuted: Color.lerp(bgMuted, other.bgMuted, t)!,
|
|
2290
|
+
bgMutedActive: Color.lerp(bgMutedActive, other.bgMutedActive, t)!,
|
|
2291
|
+
bgMutedHover: Color.lerp(bgMutedHover, other.bgMutedHover, t)!,
|
|
2292
|
+
bgOverlay: Color.lerp(bgOverlay, other.bgOverlay, t)!,
|
|
2293
|
+
bgRaised: Color.lerp(bgRaised, other.bgRaised, t)!,
|
|
2294
|
+
bgSubtle: Color.lerp(bgSubtle, other.bgSubtle, t)!,
|
|
2295
|
+
bgSurface: Color.lerp(bgSurface, other.bgSurface, t)!,
|
|
2296
|
+
borderControl: Color.lerp(borderControl, other.borderControl, t)!,
|
|
2297
|
+
borderControlHover: Color.lerp(borderControlHover, other.borderControlHover, t)!,
|
|
2298
|
+
borderDefault: Color.lerp(borderDefault, other.borderDefault, t)!,
|
|
2299
|
+
borderStrong: Color.lerp(borderStrong, other.borderStrong, t)!,
|
|
2300
|
+
borderSubtle: Color.lerp(borderSubtle, other.borderSubtle, t)!,
|
|
2301
|
+
dataviz1: Color.lerp(dataviz1, other.dataviz1, t)!,
|
|
2302
|
+
dataviz2: Color.lerp(dataviz2, other.dataviz2, t)!,
|
|
2303
|
+
dataviz3: Color.lerp(dataviz3, other.dataviz3, t)!,
|
|
2304
|
+
dataviz4: Color.lerp(dataviz4, other.dataviz4, t)!,
|
|
2305
|
+
dataviz5: Color.lerp(dataviz5, other.dataviz5, t)!,
|
|
2306
|
+
dataviz6: Color.lerp(dataviz6, other.dataviz6, t)!,
|
|
2307
|
+
dataviz7: Color.lerp(dataviz7, other.dataviz7, t)!,
|
|
2308
|
+
dataviz8: Color.lerp(dataviz8, other.dataviz8, t)!,
|
|
2309
|
+
datavizAxis: Color.lerp(datavizAxis, other.datavizAxis, t)!,
|
|
2310
|
+
datavizGridline: Color.lerp(datavizGridline, other.datavizGridline, t)!,
|
|
2311
|
+
fgDefault: Color.lerp(fgDefault, other.fgDefault, t)!,
|
|
2312
|
+
fgDisabled: Color.lerp(fgDisabled, other.fgDisabled, t)!,
|
|
2313
|
+
fgInverse: Color.lerp(fgInverse, other.fgInverse, t)!,
|
|
2314
|
+
fgMuted: Color.lerp(fgMuted, other.fgMuted, t)!,
|
|
2315
|
+
fgOnAccent: Color.lerp(fgOnAccent, other.fgOnAccent, t)!,
|
|
2316
|
+
fgSubtle: Color.lerp(fgSubtle, other.fgSubtle, t)!,
|
|
2317
|
+
focusRing: Color.lerp(focusRing, other.focusRing, t)!,
|
|
2318
|
+
linkDefault: Color.lerp(linkDefault, other.linkDefault, t)!,
|
|
2319
|
+
linkVisited: Color.lerp(linkVisited, other.linkVisited, t)!,
|
|
2320
|
+
materialChromeBg: Color.lerp(materialChromeBg, other.materialChromeBg, t)!,
|
|
2321
|
+
materialChromeBorder: Color.lerp(materialChromeBorder, other.materialChromeBorder, t)!,
|
|
2322
|
+
materialChromeHighlight: Color.lerp(materialChromeHighlight, other.materialChromeHighlight, t)!,
|
|
2323
|
+
materialRegularBg: Color.lerp(materialRegularBg, other.materialRegularBg, t)!,
|
|
2324
|
+
materialRegularBorder: Color.lerp(materialRegularBorder, other.materialRegularBorder, t)!,
|
|
2325
|
+
materialThickBg: Color.lerp(materialThickBg, other.materialThickBg, t)!,
|
|
2326
|
+
materialThickBorder: Color.lerp(materialThickBorder, other.materialThickBorder, t)!,
|
|
2327
|
+
materialThinBg: Color.lerp(materialThinBg, other.materialThinBg, t)!,
|
|
2328
|
+
materialThinBorder: Color.lerp(materialThinBorder, other.materialThinBorder, t)!,
|
|
2329
|
+
selectionBg: Color.lerp(selectionBg, other.selectionBg, t)!,
|
|
2330
|
+
statusDangerBg: Color.lerp(statusDangerBg, other.statusDangerBg, t)!,
|
|
2331
|
+
statusDangerBgHover: Color.lerp(statusDangerBgHover, other.statusDangerBgHover, t)!,
|
|
2332
|
+
statusDangerBorder: Color.lerp(statusDangerBorder, other.statusDangerBorder, t)!,
|
|
2333
|
+
statusDangerFg: Color.lerp(statusDangerFg, other.statusDangerFg, t)!,
|
|
2334
|
+
statusDangerFgStrong: Color.lerp(statusDangerFgStrong, other.statusDangerFgStrong, t)!,
|
|
2335
|
+
statusDangerOnSolid: Color.lerp(statusDangerOnSolid, other.statusDangerOnSolid, t)!,
|
|
2336
|
+
statusDangerSolid: Color.lerp(statusDangerSolid, other.statusDangerSolid, t)!,
|
|
2337
|
+
statusDangerSolidHover: Color.lerp(statusDangerSolidHover, other.statusDangerSolidHover, t)!,
|
|
2338
|
+
statusInfoBg: Color.lerp(statusInfoBg, other.statusInfoBg, t)!,
|
|
2339
|
+
statusInfoBgHover: Color.lerp(statusInfoBgHover, other.statusInfoBgHover, t)!,
|
|
2340
|
+
statusInfoBorder: Color.lerp(statusInfoBorder, other.statusInfoBorder, t)!,
|
|
2341
|
+
statusInfoFg: Color.lerp(statusInfoFg, other.statusInfoFg, t)!,
|
|
2342
|
+
statusInfoFgStrong: Color.lerp(statusInfoFgStrong, other.statusInfoFgStrong, t)!,
|
|
2343
|
+
statusInfoOnSolid: Color.lerp(statusInfoOnSolid, other.statusInfoOnSolid, t)!,
|
|
2344
|
+
statusInfoSolid: Color.lerp(statusInfoSolid, other.statusInfoSolid, t)!,
|
|
2345
|
+
statusInfoSolidHover: Color.lerp(statusInfoSolidHover, other.statusInfoSolidHover, t)!,
|
|
2346
|
+
statusSuccessBg: Color.lerp(statusSuccessBg, other.statusSuccessBg, t)!,
|
|
2347
|
+
statusSuccessBgHover: Color.lerp(statusSuccessBgHover, other.statusSuccessBgHover, t)!,
|
|
2348
|
+
statusSuccessBorder: Color.lerp(statusSuccessBorder, other.statusSuccessBorder, t)!,
|
|
2349
|
+
statusSuccessFg: Color.lerp(statusSuccessFg, other.statusSuccessFg, t)!,
|
|
2350
|
+
statusSuccessFgStrong: Color.lerp(statusSuccessFgStrong, other.statusSuccessFgStrong, t)!,
|
|
2351
|
+
statusSuccessOnSolid: Color.lerp(statusSuccessOnSolid, other.statusSuccessOnSolid, t)!,
|
|
2352
|
+
statusSuccessSolid: Color.lerp(statusSuccessSolid, other.statusSuccessSolid, t)!,
|
|
2353
|
+
statusSuccessSolidHover: Color.lerp(statusSuccessSolidHover, other.statusSuccessSolidHover, t)!,
|
|
2354
|
+
statusWarningBg: Color.lerp(statusWarningBg, other.statusWarningBg, t)!,
|
|
2355
|
+
statusWarningBgHover: Color.lerp(statusWarningBgHover, other.statusWarningBgHover, t)!,
|
|
2356
|
+
statusWarningBorder: Color.lerp(statusWarningBorder, other.statusWarningBorder, t)!,
|
|
2357
|
+
statusWarningFg: Color.lerp(statusWarningFg, other.statusWarningFg, t)!,
|
|
2358
|
+
statusWarningFgStrong: Color.lerp(statusWarningFgStrong, other.statusWarningFgStrong, t)!,
|
|
2359
|
+
statusWarningOnSolid: Color.lerp(statusWarningOnSolid, other.statusWarningOnSolid, t)!,
|
|
2360
|
+
statusWarningSolid: Color.lerp(statusWarningSolid, other.statusWarningSolid, t)!,
|
|
2361
|
+
statusWarningSolidHover: Color.lerp(statusWarningSolidHover, other.statusWarningSolidHover, t)!,
|
|
2362
|
+
);
|
|
2363
|
+
|
|
2364
|
+
List<Color> get _values => <Color>[accentBg, accentBgActive, accentBgHover, accentBorder, accentFg, accentFgStrong, accentSolid, accentSolidHover, bgCanvas, bgInverse, bgMuted, bgMutedActive, bgMutedHover, bgOverlay, bgRaised, bgSubtle, bgSurface, borderControl, borderControlHover, borderDefault, borderStrong, borderSubtle, dataviz1, dataviz2, dataviz3, dataviz4, dataviz5, dataviz6, dataviz7, dataviz8, datavizAxis, datavizGridline, fgDefault, fgDisabled, fgInverse, fgMuted, fgOnAccent, fgSubtle, focusRing, linkDefault, linkVisited, materialChromeBg, materialChromeBorder, materialChromeHighlight, materialRegularBg, materialRegularBorder, materialThickBg, materialThickBorder, materialThinBg, materialThinBorder, selectionBg, statusDangerBg, statusDangerBgHover, statusDangerBorder, statusDangerFg, statusDangerFgStrong, statusDangerOnSolid, statusDangerSolid, statusDangerSolidHover, statusInfoBg, statusInfoBgHover, statusInfoBorder, statusInfoFg, statusInfoFgStrong, statusInfoOnSolid, statusInfoSolid, statusInfoSolidHover, statusSuccessBg, statusSuccessBgHover, statusSuccessBorder, statusSuccessFg, statusSuccessFgStrong, statusSuccessOnSolid, statusSuccessSolid, statusSuccessSolidHover, statusWarningBg, statusWarningBgHover, statusWarningBorder, statusWarningFg, statusWarningFgStrong, statusWarningOnSolid, statusWarningSolid, statusWarningSolidHover];
|
|
2365
|
+
|
|
2366
|
+
@override
|
|
2367
|
+
bool operator ==(Object other) {
|
|
2368
|
+
if (identical(this, other)) return true;
|
|
2369
|
+
if (other is! UndColors) return false;
|
|
2370
|
+
final a = _values;
|
|
2371
|
+
final b = other._values;
|
|
2372
|
+
for (var i = 0; i < a.length; i++) {
|
|
2373
|
+
if (a[i] != b[i]) return false;
|
|
2374
|
+
}
|
|
2375
|
+
return true;
|
|
2376
|
+
}
|
|
2377
|
+
|
|
2378
|
+
@override
|
|
2379
|
+
int get hashCode => Object.hashAll(_values);
|
|
2380
|
+
}
|
|
2381
|
+
|
|
2382
|
+
/// 4px spacing scale (report 3.1). Density never changes these.
|
|
2383
|
+
abstract final class UndSpacing {
|
|
2384
|
+
static const double s0 = 0.0;
|
|
2385
|
+
static const double s1 = 4.0;
|
|
2386
|
+
static const double s2 = 8.0;
|
|
2387
|
+
static const double s3 = 12.0;
|
|
2388
|
+
static const double s4 = 16.0;
|
|
2389
|
+
static const double s5 = 20.0;
|
|
2390
|
+
static const double s6 = 24.0;
|
|
2391
|
+
static const double s8 = 32.0;
|
|
2392
|
+
static const double s10 = 40.0;
|
|
2393
|
+
static const double s12 = 48.0;
|
|
2394
|
+
static const double s16 = 64.0;
|
|
2395
|
+
static const double s20 = 80.0;
|
|
2396
|
+
static const double s24 = 96.0;
|
|
2397
|
+
static const double s32 = 128.0;
|
|
2398
|
+
static const double s0p5 = 2.0;
|
|
2399
|
+
static const double s1p5 = 6.0;
|
|
2400
|
+
static const double px = 1.0;
|
|
2401
|
+
}
|
|
2402
|
+
|
|
2403
|
+
/// Icon sizes.
|
|
2404
|
+
abstract final class UndIconSize {
|
|
2405
|
+
static const double xs = 12.0;
|
|
2406
|
+
static const double sm = 16.0;
|
|
2407
|
+
static const double md = 20.0;
|
|
2408
|
+
static const double lg = 24.0;
|
|
2409
|
+
static const double xl = 32.0;
|
|
2410
|
+
}
|
|
2411
|
+
|
|
2412
|
+
/// Border widths.
|
|
2413
|
+
abstract final class UndBorderWidth {
|
|
2414
|
+
static const double hairline = 1.0;
|
|
2415
|
+
static const double thin = 1.0;
|
|
2416
|
+
static const double thick = 2.0;
|
|
2417
|
+
static const double heavy = 3.0;
|
|
2418
|
+
}
|
|
2419
|
+
|
|
2420
|
+
/// Window-width breakpoints (logical pixels).
|
|
2421
|
+
abstract final class UndBreakpoint {
|
|
2422
|
+
static const double xs = 480.0;
|
|
2423
|
+
static const double sm = 640.0;
|
|
2424
|
+
static const double md = 768.0;
|
|
2425
|
+
static const double lg = 1024.0;
|
|
2426
|
+
static const double xl = 1280.0;
|
|
2427
|
+
static const double xxl = 1536.0;
|
|
2428
|
+
}
|
|
2429
|
+
|
|
2430
|
+
/// Focus ring metrics and minimum hit target.
|
|
2431
|
+
abstract final class UndFocus {
|
|
2432
|
+
static const double width = 2.0;
|
|
2433
|
+
static const double widthHighContrast = 3.0;
|
|
2434
|
+
static const double offset = 2.0;
|
|
2435
|
+
static const double minimumTarget = 44.0;
|
|
2436
|
+
}
|
|
2437
|
+
|
|
2438
|
+
/// Control metrics per density.
|
|
2439
|
+
@immutable
|
|
2440
|
+
class UndControl {
|
|
2441
|
+
const UndControl({required this.xs, required this.sm, required this.md, required this.lg, required this.xl, required this.paddingX, required this.gap, required this.targetMin});
|
|
2442
|
+
|
|
2443
|
+
final double xs;
|
|
2444
|
+
final double sm;
|
|
2445
|
+
final double md;
|
|
2446
|
+
final double lg;
|
|
2447
|
+
final double xl;
|
|
2448
|
+
final double paddingX;
|
|
2449
|
+
final double gap;
|
|
2450
|
+
final double targetMin;
|
|
2451
|
+
|
|
2452
|
+
static const UndControl comfortable = UndControl(xs: 24.0, sm: 32.0, md: 40.0, lg: 48.0, xl: 56.0, paddingX: 12.0, gap: 8.0, targetMin: 24.0);
|
|
2453
|
+
static const UndControl compact = UndControl(xs: 20.0, sm: 28.0, md: 32.0, lg: 40.0, xl: 48.0, paddingX: 9.0, gap: 6.0, targetMin: 24.0);
|
|
2454
|
+
static const UndControl touch = UndControl(xs: 32.0, sm: 40.0, md: 44.0, lg: 48.0, xl: 56.0, paddingX: 12.0, gap: 8.0, targetMin: 44.0);
|
|
2455
|
+
|
|
2456
|
+
static UndControl of(UndDensity density) => switch (density) {
|
|
2457
|
+
UndDensity.comfortable => comfortable,
|
|
2458
|
+
UndDensity.compact => compact,
|
|
2459
|
+
UndDensity.touch => touch,
|
|
2460
|
+
};
|
|
2461
|
+
}
|
|
2462
|
+
|
|
2463
|
+
/// Radius scale with the theme radius factor applied.
|
|
2464
|
+
@immutable
|
|
2465
|
+
class UndRadii {
|
|
2466
|
+
const UndRadii({required this.factor, required this.none, required this.xs, required this.sm, required this.md, required this.lg, required this.xl, required this.xxl, required this.xxxl, required this.full});
|
|
2467
|
+
|
|
2468
|
+
final double factor;
|
|
2469
|
+
final double none;
|
|
2470
|
+
final double xs;
|
|
2471
|
+
final double sm;
|
|
2472
|
+
final double md;
|
|
2473
|
+
final double lg;
|
|
2474
|
+
final double xl;
|
|
2475
|
+
final double xxl;
|
|
2476
|
+
final double xxxl;
|
|
2477
|
+
final double full;
|
|
2478
|
+
|
|
2479
|
+
/// Concentric inner radius: outer - padding, at least 2.
|
|
2480
|
+
double inner(double outer, double padding) => (outer - padding) < 2 ? 2 : outer - padding;
|
|
2481
|
+
|
|
2482
|
+
UndRadii lerp(UndRadii other, double t) => UndRadii(
|
|
2483
|
+
factor: lerpDouble(factor, other.factor, t)!,
|
|
2484
|
+
none: lerpDouble(none, other.none, t)!,
|
|
2485
|
+
xs: lerpDouble(xs, other.xs, t)!,
|
|
2486
|
+
sm: lerpDouble(sm, other.sm, t)!,
|
|
2487
|
+
md: lerpDouble(md, other.md, t)!,
|
|
2488
|
+
lg: lerpDouble(lg, other.lg, t)!,
|
|
2489
|
+
xl: lerpDouble(xl, other.xl, t)!,
|
|
2490
|
+
xxl: lerpDouble(xxl, other.xxl, t)!,
|
|
2491
|
+
xxxl: lerpDouble(xxxl, other.xxxl, t)!,
|
|
2492
|
+
full: lerpDouble(full, other.full, t)!,
|
|
2493
|
+
);
|
|
2494
|
+
|
|
2495
|
+
@override
|
|
2496
|
+
bool operator ==(Object other) => other is UndRadii && other.factor == factor && other.none == none && other.xs == xs && other.sm == sm && other.md == md && other.lg == lg && other.xl == xl && other.xxl == xxl && other.xxxl == xxxl && other.full == full;
|
|
2497
|
+
|
|
2498
|
+
@override
|
|
2499
|
+
int get hashCode => Object.hash(factor, none, xs, sm, md, lg, xl, xxl, xxxl, full);
|
|
2500
|
+
}
|
|
2501
|
+
|
|
2502
|
+
/// Spring (mass 1). Use [description] with SpringSimulation.
|
|
2503
|
+
@immutable
|
|
2504
|
+
class UndSpring {
|
|
2505
|
+
const UndSpring({required this.response, required this.dampingRatio, required this.stiffness, required this.damping, required this.settle});
|
|
2506
|
+
|
|
2507
|
+
final double response;
|
|
2508
|
+
final double dampingRatio;
|
|
2509
|
+
final double stiffness;
|
|
2510
|
+
final double damping;
|
|
2511
|
+
final Duration settle;
|
|
2512
|
+
|
|
2513
|
+
SpringDescription get description => SpringDescription.withDampingRatio(mass: 1, stiffness: stiffness, ratio: dampingRatio);
|
|
2514
|
+
|
|
2515
|
+
@override
|
|
2516
|
+
bool operator ==(Object other) => other is UndSpring && other.stiffness == stiffness && other.dampingRatio == dampingRatio;
|
|
2517
|
+
|
|
2518
|
+
@override
|
|
2519
|
+
int get hashCode => Object.hash(stiffness, dampingRatio);
|
|
2520
|
+
}
|
|
2521
|
+
|
|
2522
|
+
/// Motion for a theme: durations (tempo applied), easing curves and springs.
|
|
2523
|
+
@immutable
|
|
2524
|
+
class UndMotion {
|
|
2525
|
+
const UndMotion({
|
|
2526
|
+
required this.tempo,
|
|
2527
|
+
required this.character,
|
|
2528
|
+
required this.durationInstant,
|
|
2529
|
+
required this.durationMicro,
|
|
2530
|
+
required this.durationFastMin,
|
|
2531
|
+
required this.durationFast,
|
|
2532
|
+
required this.durationFastMax,
|
|
2533
|
+
required this.durationMediumMin,
|
|
2534
|
+
required this.durationMedium,
|
|
2535
|
+
required this.durationMediumMax,
|
|
2536
|
+
required this.durationSlowMin,
|
|
2537
|
+
required this.durationSlow,
|
|
2538
|
+
required this.durationSlowMax,
|
|
2539
|
+
required this.motionFocus,
|
|
2540
|
+
required this.motionPress,
|
|
2541
|
+
required this.motionHover,
|
|
2542
|
+
required this.motionHoverOut,
|
|
2543
|
+
required this.motionTooltipEnter,
|
|
2544
|
+
required this.motionTooltipExit,
|
|
2545
|
+
required this.motionMenuEnter,
|
|
2546
|
+
required this.motionMenuExit,
|
|
2547
|
+
required this.motionDialogEnter,
|
|
2548
|
+
required this.motionDialogExit,
|
|
2549
|
+
required this.motionSheetEnter,
|
|
2550
|
+
required this.motionSheetExit,
|
|
2551
|
+
required this.motionToastEnter,
|
|
2552
|
+
required this.motionToastExit,
|
|
2553
|
+
required this.motionScrim,
|
|
2554
|
+
required this.motionPage,
|
|
2555
|
+
required this.motionPageExit,
|
|
2556
|
+
required this.motionReveal,
|
|
2557
|
+
required this.motionCelebrate,
|
|
2558
|
+
required this.motionCrossfade,
|
|
2559
|
+
required this.motionCrossfadeTouch,
|
|
2560
|
+
required this.motionSpinner,
|
|
2561
|
+
required this.motionShimmer,
|
|
2562
|
+
required this.motionTooltipDelay,
|
|
2563
|
+
required this.motionTooltipDelayToolbar,
|
|
2564
|
+
required this.motionTooltipSkip,
|
|
2565
|
+
required this.easeEnter,
|
|
2566
|
+
required this.easeExit,
|
|
2567
|
+
required this.easeMove,
|
|
2568
|
+
required this.easeEmphasized,
|
|
2569
|
+
required this.easeLinear,
|
|
2570
|
+
required this.motionEaseEnter,
|
|
2571
|
+
required this.motionEaseExit,
|
|
2572
|
+
required this.motionEaseMove,
|
|
2573
|
+
required this.motionEaseEmphasized,
|
|
2574
|
+
required this.springSnap,
|
|
2575
|
+
required this.springSmooth,
|
|
2576
|
+
required this.springSnappy,
|
|
2577
|
+
required this.springGentle,
|
|
2578
|
+
required this.springBouncy,
|
|
2579
|
+
required this.springExpressive,
|
|
2580
|
+
});
|
|
2581
|
+
|
|
2582
|
+
final double tempo;
|
|
2583
|
+
final UndCharacter character;
|
|
2584
|
+
final Duration durationInstant;
|
|
2585
|
+
final Duration durationMicro;
|
|
2586
|
+
final Duration durationFastMin;
|
|
2587
|
+
final Duration durationFast;
|
|
2588
|
+
final Duration durationFastMax;
|
|
2589
|
+
final Duration durationMediumMin;
|
|
2590
|
+
final Duration durationMedium;
|
|
2591
|
+
final Duration durationMediumMax;
|
|
2592
|
+
final Duration durationSlowMin;
|
|
2593
|
+
final Duration durationSlow;
|
|
2594
|
+
final Duration durationSlowMax;
|
|
2595
|
+
final Duration motionFocus;
|
|
2596
|
+
final Duration motionPress;
|
|
2597
|
+
final Duration motionHover;
|
|
2598
|
+
final Duration motionHoverOut;
|
|
2599
|
+
final Duration motionTooltipEnter;
|
|
2600
|
+
final Duration motionTooltipExit;
|
|
2601
|
+
final Duration motionMenuEnter;
|
|
2602
|
+
final Duration motionMenuExit;
|
|
2603
|
+
final Duration motionDialogEnter;
|
|
2604
|
+
final Duration motionDialogExit;
|
|
2605
|
+
final Duration motionSheetEnter;
|
|
2606
|
+
final Duration motionSheetExit;
|
|
2607
|
+
final Duration motionToastEnter;
|
|
2608
|
+
final Duration motionToastExit;
|
|
2609
|
+
final Duration motionScrim;
|
|
2610
|
+
final Duration motionPage;
|
|
2611
|
+
final Duration motionPageExit;
|
|
2612
|
+
final Duration motionReveal;
|
|
2613
|
+
final Duration motionCelebrate;
|
|
2614
|
+
final Duration motionCrossfade;
|
|
2615
|
+
final Duration motionCrossfadeTouch;
|
|
2616
|
+
final Duration motionSpinner;
|
|
2617
|
+
final Duration motionShimmer;
|
|
2618
|
+
final Duration motionTooltipDelay;
|
|
2619
|
+
final Duration motionTooltipDelayToolbar;
|
|
2620
|
+
final Duration motionTooltipSkip;
|
|
2621
|
+
final Cubic easeEnter;
|
|
2622
|
+
final Cubic easeExit;
|
|
2623
|
+
final Cubic easeMove;
|
|
2624
|
+
final Cubic easeEmphasized;
|
|
2625
|
+
final Cubic easeLinear;
|
|
2626
|
+
final Cubic motionEaseEnter;
|
|
2627
|
+
final Cubic motionEaseExit;
|
|
2628
|
+
final Cubic motionEaseMove;
|
|
2629
|
+
final Cubic motionEaseEmphasized;
|
|
2630
|
+
final UndSpring springSnap;
|
|
2631
|
+
final UndSpring springSmooth;
|
|
2632
|
+
final UndSpring springSnappy;
|
|
2633
|
+
final UndSpring springGentle;
|
|
2634
|
+
final UndSpring springBouncy;
|
|
2635
|
+
final UndSpring springExpressive;
|
|
2636
|
+
|
|
2637
|
+
static const UndMotion ujala = UndMotion(
|
|
2638
|
+
tempo: 1.0,
|
|
2639
|
+
character: UndCharacter.standard,
|
|
2640
|
+
durationInstant: Duration(milliseconds: 0),
|
|
2641
|
+
durationMicro: Duration(milliseconds: 90),
|
|
2642
|
+
durationFastMin: Duration(milliseconds: 130),
|
|
2643
|
+
durationFast: Duration(milliseconds: 175),
|
|
2644
|
+
durationFastMax: Duration(milliseconds: 230),
|
|
2645
|
+
durationMediumMin: Duration(milliseconds: 310),
|
|
2646
|
+
durationMedium: Duration(milliseconds: 410),
|
|
2647
|
+
durationMediumMax: Duration(milliseconds: 550),
|
|
2648
|
+
durationSlowMin: Duration(milliseconds: 730),
|
|
2649
|
+
durationSlow: Duration(milliseconds: 975),
|
|
2650
|
+
durationSlowMax: Duration(milliseconds: 1300),
|
|
2651
|
+
motionFocus: Duration(milliseconds: 0),
|
|
2652
|
+
motionPress: Duration(milliseconds: 90),
|
|
2653
|
+
motionHover: Duration(milliseconds: 130),
|
|
2654
|
+
motionHoverOut: Duration(milliseconds: 175),
|
|
2655
|
+
motionTooltipEnter: Duration(milliseconds: 175),
|
|
2656
|
+
motionTooltipExit: Duration(milliseconds: 0),
|
|
2657
|
+
motionMenuEnter: Duration(milliseconds: 230),
|
|
2658
|
+
motionMenuExit: Duration(milliseconds: 90),
|
|
2659
|
+
motionDialogEnter: Duration(milliseconds: 310),
|
|
2660
|
+
motionDialogExit: Duration(milliseconds: 217),
|
|
2661
|
+
motionSheetEnter: Duration(milliseconds: 410),
|
|
2662
|
+
motionSheetExit: Duration(milliseconds: 287),
|
|
2663
|
+
motionToastEnter: Duration(milliseconds: 310),
|
|
2664
|
+
motionToastExit: Duration(milliseconds: 217),
|
|
2665
|
+
motionScrim: Duration(milliseconds: 175),
|
|
2666
|
+
motionPage: Duration(milliseconds: 550),
|
|
2667
|
+
motionPageExit: Duration(milliseconds: 385),
|
|
2668
|
+
motionReveal: Duration(milliseconds: 730),
|
|
2669
|
+
motionCelebrate: Duration(milliseconds: 975),
|
|
2670
|
+
motionCrossfade: Duration(milliseconds: 175),
|
|
2671
|
+
motionCrossfadeTouch: Duration(milliseconds: 200),
|
|
2672
|
+
motionSpinner: Duration(milliseconds: 800),
|
|
2673
|
+
motionShimmer: Duration(milliseconds: 1600),
|
|
2674
|
+
motionTooltipDelay: Duration(milliseconds: 500),
|
|
2675
|
+
motionTooltipDelayToolbar: Duration(milliseconds: 700),
|
|
2676
|
+
motionTooltipSkip: Duration(milliseconds: 300),
|
|
2677
|
+
easeEnter: Cubic(0.24, 1.0, 0.4, 1.0),
|
|
2678
|
+
easeExit: Cubic(0.3, 0.0, 0.6, 0.6),
|
|
2679
|
+
easeMove: Cubic(0.2, 0.0, 0.0, 1.0),
|
|
2680
|
+
easeEmphasized: Cubic(0.05, 0.7, 0.1, 1.0),
|
|
2681
|
+
easeLinear: Cubic(0.0, 0.0, 1.0, 1.0),
|
|
2682
|
+
motionEaseEnter: Cubic(0.24, 1.0, 0.4, 1.0),
|
|
2683
|
+
motionEaseExit: Cubic(0.3, 0.0, 0.6, 0.6),
|
|
2684
|
+
motionEaseMove: Cubic(0.2, 0.0, 0.0, 1.0),
|
|
2685
|
+
motionEaseEmphasized: Cubic(0.05, 0.7, 0.1, 1.0),
|
|
2686
|
+
springSnap: UndSpring(response: 0.25, dampingRatio: 1.0, stiffness: 631.7, damping: 50.27, settle: Duration(milliseconds: 368)),
|
|
2687
|
+
springSmooth: UndSpring(response: 0.4, dampingRatio: 1.0, stiffness: 246.7, damping: 31.42, settle: Duration(milliseconds: 588)),
|
|
2688
|
+
springSnappy: UndSpring(response: 0.35, dampingRatio: 0.85, stiffness: 322.3, damping: 30.52, settle: Duration(milliseconds: 488)),
|
|
2689
|
+
springGentle: UndSpring(response: 0.6, dampingRatio: 1.0, stiffness: 109.7, damping: 20.94, settle: Duration(milliseconds: 882)),
|
|
2690
|
+
springBouncy: UndSpring(response: 0.5, dampingRatio: 0.7, stiffness: 157.9, damping: 17.59, settle: Duration(milliseconds: 819)),
|
|
2691
|
+
springExpressive: UndSpring(response: 0.55, dampingRatio: 0.6, stiffness: 130.5, damping: 13.71, settle: Duration(milliseconds: 890)),
|
|
2692
|
+
);
|
|
2693
|
+
|
|
2694
|
+
static const UndMotion kesar = UndMotion(
|
|
2695
|
+
tempo: 1.0,
|
|
2696
|
+
character: UndCharacter.expressive,
|
|
2697
|
+
durationInstant: Duration(milliseconds: 0),
|
|
2698
|
+
durationMicro: Duration(milliseconds: 90),
|
|
2699
|
+
durationFastMin: Duration(milliseconds: 130),
|
|
2700
|
+
durationFast: Duration(milliseconds: 175),
|
|
2701
|
+
durationFastMax: Duration(milliseconds: 230),
|
|
2702
|
+
durationMediumMin: Duration(milliseconds: 310),
|
|
2703
|
+
durationMedium: Duration(milliseconds: 410),
|
|
2704
|
+
durationMediumMax: Duration(milliseconds: 550),
|
|
2705
|
+
durationSlowMin: Duration(milliseconds: 730),
|
|
2706
|
+
durationSlow: Duration(milliseconds: 975),
|
|
2707
|
+
durationSlowMax: Duration(milliseconds: 1300),
|
|
2708
|
+
motionFocus: Duration(milliseconds: 0),
|
|
2709
|
+
motionPress: Duration(milliseconds: 90),
|
|
2710
|
+
motionHover: Duration(milliseconds: 130),
|
|
2711
|
+
motionHoverOut: Duration(milliseconds: 175),
|
|
2712
|
+
motionTooltipEnter: Duration(milliseconds: 175),
|
|
2713
|
+
motionTooltipExit: Duration(milliseconds: 0),
|
|
2714
|
+
motionMenuEnter: Duration(milliseconds: 230),
|
|
2715
|
+
motionMenuExit: Duration(milliseconds: 90),
|
|
2716
|
+
motionDialogEnter: Duration(milliseconds: 310),
|
|
2717
|
+
motionDialogExit: Duration(milliseconds: 217),
|
|
2718
|
+
motionSheetEnter: Duration(milliseconds: 410),
|
|
2719
|
+
motionSheetExit: Duration(milliseconds: 287),
|
|
2720
|
+
motionToastEnter: Duration(milliseconds: 310),
|
|
2721
|
+
motionToastExit: Duration(milliseconds: 217),
|
|
2722
|
+
motionScrim: Duration(milliseconds: 175),
|
|
2723
|
+
motionPage: Duration(milliseconds: 550),
|
|
2724
|
+
motionPageExit: Duration(milliseconds: 385),
|
|
2725
|
+
motionReveal: Duration(milliseconds: 730),
|
|
2726
|
+
motionCelebrate: Duration(milliseconds: 975),
|
|
2727
|
+
motionCrossfade: Duration(milliseconds: 175),
|
|
2728
|
+
motionCrossfadeTouch: Duration(milliseconds: 200),
|
|
2729
|
+
motionSpinner: Duration(milliseconds: 800),
|
|
2730
|
+
motionShimmer: Duration(milliseconds: 1600),
|
|
2731
|
+
motionTooltipDelay: Duration(milliseconds: 500),
|
|
2732
|
+
motionTooltipDelayToolbar: Duration(milliseconds: 700),
|
|
2733
|
+
motionTooltipSkip: Duration(milliseconds: 300),
|
|
2734
|
+
easeEnter: Cubic(0.24, 1.0, 0.4, 1.0),
|
|
2735
|
+
easeExit: Cubic(0.3, 0.0, 0.6, 0.6),
|
|
2736
|
+
easeMove: Cubic(0.2, 0.0, 0.0, 1.0),
|
|
2737
|
+
easeEmphasized: Cubic(0.05, 0.7, 0.1, 1.0),
|
|
2738
|
+
easeLinear: Cubic(0.0, 0.0, 1.0, 1.0),
|
|
2739
|
+
motionEaseEnter: Cubic(0.2, 0.0, 0.0, 1.28),
|
|
2740
|
+
motionEaseExit: Cubic(0.3, 0.0, 0.6, 0.6),
|
|
2741
|
+
motionEaseMove: Cubic(0.2, 0.0, 0.0, 1.04),
|
|
2742
|
+
motionEaseEmphasized: Cubic(0.05, 0.7, 0.1, 1.0),
|
|
2743
|
+
springSnap: UndSpring(response: 0.25, dampingRatio: 1.0, stiffness: 631.7, damping: 50.27, settle: Duration(milliseconds: 368)),
|
|
2744
|
+
springSmooth: UndSpring(response: 0.4, dampingRatio: 1.0, stiffness: 246.7, damping: 31.42, settle: Duration(milliseconds: 588)),
|
|
2745
|
+
springSnappy: UndSpring(response: 0.35, dampingRatio: 0.85, stiffness: 322.3, damping: 30.52, settle: Duration(milliseconds: 488)),
|
|
2746
|
+
springGentle: UndSpring(response: 0.6, dampingRatio: 1.0, stiffness: 109.7, damping: 20.94, settle: Duration(milliseconds: 882)),
|
|
2747
|
+
springBouncy: UndSpring(response: 0.5, dampingRatio: 0.7, stiffness: 157.9, damping: 17.59, settle: Duration(milliseconds: 819)),
|
|
2748
|
+
springExpressive: UndSpring(response: 0.55, dampingRatio: 0.6, stiffness: 130.5, damping: 13.71, settle: Duration(milliseconds: 890)),
|
|
2749
|
+
);
|
|
2750
|
+
|
|
2751
|
+
static const UndMotion neem = UndMotion(
|
|
2752
|
+
tempo: 1.0,
|
|
2753
|
+
character: UndCharacter.crisp,
|
|
2754
|
+
durationInstant: Duration(milliseconds: 0),
|
|
2755
|
+
durationMicro: Duration(milliseconds: 90),
|
|
2756
|
+
durationFastMin: Duration(milliseconds: 130),
|
|
2757
|
+
durationFast: Duration(milliseconds: 175),
|
|
2758
|
+
durationFastMax: Duration(milliseconds: 230),
|
|
2759
|
+
durationMediumMin: Duration(milliseconds: 310),
|
|
2760
|
+
durationMedium: Duration(milliseconds: 410),
|
|
2761
|
+
durationMediumMax: Duration(milliseconds: 550),
|
|
2762
|
+
durationSlowMin: Duration(milliseconds: 730),
|
|
2763
|
+
durationSlow: Duration(milliseconds: 975),
|
|
2764
|
+
durationSlowMax: Duration(milliseconds: 1300),
|
|
2765
|
+
motionFocus: Duration(milliseconds: 0),
|
|
2766
|
+
motionPress: Duration(milliseconds: 90),
|
|
2767
|
+
motionHover: Duration(milliseconds: 130),
|
|
2768
|
+
motionHoverOut: Duration(milliseconds: 175),
|
|
2769
|
+
motionTooltipEnter: Duration(milliseconds: 175),
|
|
2770
|
+
motionTooltipExit: Duration(milliseconds: 0),
|
|
2771
|
+
motionMenuEnter: Duration(milliseconds: 230),
|
|
2772
|
+
motionMenuExit: Duration(milliseconds: 90),
|
|
2773
|
+
motionDialogEnter: Duration(milliseconds: 310),
|
|
2774
|
+
motionDialogExit: Duration(milliseconds: 217),
|
|
2775
|
+
motionSheetEnter: Duration(milliseconds: 410),
|
|
2776
|
+
motionSheetExit: Duration(milliseconds: 287),
|
|
2777
|
+
motionToastEnter: Duration(milliseconds: 310),
|
|
2778
|
+
motionToastExit: Duration(milliseconds: 217),
|
|
2779
|
+
motionScrim: Duration(milliseconds: 175),
|
|
2780
|
+
motionPage: Duration(milliseconds: 550),
|
|
2781
|
+
motionPageExit: Duration(milliseconds: 385),
|
|
2782
|
+
motionReveal: Duration(milliseconds: 730),
|
|
2783
|
+
motionCelebrate: Duration(milliseconds: 975),
|
|
2784
|
+
motionCrossfade: Duration(milliseconds: 175),
|
|
2785
|
+
motionCrossfadeTouch: Duration(milliseconds: 200),
|
|
2786
|
+
motionSpinner: Duration(milliseconds: 800),
|
|
2787
|
+
motionShimmer: Duration(milliseconds: 1600),
|
|
2788
|
+
motionTooltipDelay: Duration(milliseconds: 500),
|
|
2789
|
+
motionTooltipDelayToolbar: Duration(milliseconds: 700),
|
|
2790
|
+
motionTooltipSkip: Duration(milliseconds: 300),
|
|
2791
|
+
easeEnter: Cubic(0.24, 1.0, 0.4, 1.0),
|
|
2792
|
+
easeExit: Cubic(0.3, 0.0, 0.6, 0.6),
|
|
2793
|
+
easeMove: Cubic(0.2, 0.0, 0.0, 1.0),
|
|
2794
|
+
easeEmphasized: Cubic(0.05, 0.7, 0.1, 1.0),
|
|
2795
|
+
easeLinear: Cubic(0.0, 0.0, 1.0, 1.0),
|
|
2796
|
+
motionEaseEnter: Cubic(0.2, 0.0, 0.0, 1.0),
|
|
2797
|
+
motionEaseExit: Cubic(0.3, 0.0, 0.6, 0.6),
|
|
2798
|
+
motionEaseMove: Cubic(0.2, 0.0, 0.0, 1.0),
|
|
2799
|
+
motionEaseEmphasized: Cubic(0.05, 0.7, 0.1, 1.0),
|
|
2800
|
+
springSnap: UndSpring(response: 0.25, dampingRatio: 1.0, stiffness: 631.7, damping: 50.27, settle: Duration(milliseconds: 368)),
|
|
2801
|
+
springSmooth: UndSpring(response: 0.4, dampingRatio: 1.0, stiffness: 246.7, damping: 31.42, settle: Duration(milliseconds: 588)),
|
|
2802
|
+
springSnappy: UndSpring(response: 0.35, dampingRatio: 0.85, stiffness: 322.3, damping: 30.52, settle: Duration(milliseconds: 488)),
|
|
2803
|
+
springGentle: UndSpring(response: 0.6, dampingRatio: 1.0, stiffness: 109.7, damping: 20.94, settle: Duration(milliseconds: 882)),
|
|
2804
|
+
springBouncy: UndSpring(response: 0.5, dampingRatio: 0.7, stiffness: 157.9, damping: 17.59, settle: Duration(milliseconds: 819)),
|
|
2805
|
+
springExpressive: UndSpring(response: 0.55, dampingRatio: 0.6, stiffness: 130.5, damping: 13.71, settle: Duration(milliseconds: 890)),
|
|
2806
|
+
);
|
|
2807
|
+
|
|
2808
|
+
static const UndMotion mitti = UndMotion(
|
|
2809
|
+
tempo: 1.15,
|
|
2810
|
+
character: UndCharacter.standard,
|
|
2811
|
+
durationInstant: Duration(milliseconds: 0),
|
|
2812
|
+
durationMicro: Duration(milliseconds: 103),
|
|
2813
|
+
durationFastMin: Duration(milliseconds: 150),
|
|
2814
|
+
durationFast: Duration(milliseconds: 201),
|
|
2815
|
+
durationFastMax: Duration(milliseconds: 265),
|
|
2816
|
+
durationMediumMin: Duration(milliseconds: 357),
|
|
2817
|
+
durationMedium: Duration(milliseconds: 471),
|
|
2818
|
+
durationMediumMax: Duration(milliseconds: 633),
|
|
2819
|
+
durationSlowMin: Duration(milliseconds: 839),
|
|
2820
|
+
durationSlow: Duration(milliseconds: 1121),
|
|
2821
|
+
durationSlowMax: Duration(milliseconds: 1495),
|
|
2822
|
+
motionFocus: Duration(milliseconds: 0),
|
|
2823
|
+
motionPress: Duration(milliseconds: 103),
|
|
2824
|
+
motionHover: Duration(milliseconds: 150),
|
|
2825
|
+
motionHoverOut: Duration(milliseconds: 201),
|
|
2826
|
+
motionTooltipEnter: Duration(milliseconds: 201),
|
|
2827
|
+
motionTooltipExit: Duration(milliseconds: 0),
|
|
2828
|
+
motionMenuEnter: Duration(milliseconds: 265),
|
|
2829
|
+
motionMenuExit: Duration(milliseconds: 103),
|
|
2830
|
+
motionDialogEnter: Duration(milliseconds: 357),
|
|
2831
|
+
motionDialogExit: Duration(milliseconds: 250),
|
|
2832
|
+
motionSheetEnter: Duration(milliseconds: 471),
|
|
2833
|
+
motionSheetExit: Duration(milliseconds: 330),
|
|
2834
|
+
motionToastEnter: Duration(milliseconds: 357),
|
|
2835
|
+
motionToastExit: Duration(milliseconds: 250),
|
|
2836
|
+
motionScrim: Duration(milliseconds: 201),
|
|
2837
|
+
motionPage: Duration(milliseconds: 633),
|
|
2838
|
+
motionPageExit: Duration(milliseconds: 443),
|
|
2839
|
+
motionReveal: Duration(milliseconds: 839),
|
|
2840
|
+
motionCelebrate: Duration(milliseconds: 1121),
|
|
2841
|
+
motionCrossfade: Duration(milliseconds: 201),
|
|
2842
|
+
motionCrossfadeTouch: Duration(milliseconds: 200),
|
|
2843
|
+
motionSpinner: Duration(milliseconds: 800),
|
|
2844
|
+
motionShimmer: Duration(milliseconds: 1600),
|
|
2845
|
+
motionTooltipDelay: Duration(milliseconds: 500),
|
|
2846
|
+
motionTooltipDelayToolbar: Duration(milliseconds: 700),
|
|
2847
|
+
motionTooltipSkip: Duration(milliseconds: 300),
|
|
2848
|
+
easeEnter: Cubic(0.24, 1.0, 0.4, 1.0),
|
|
2849
|
+
easeExit: Cubic(0.3, 0.0, 0.6, 0.6),
|
|
2850
|
+
easeMove: Cubic(0.2, 0.0, 0.0, 1.0),
|
|
2851
|
+
easeEmphasized: Cubic(0.05, 0.7, 0.1, 1.0),
|
|
2852
|
+
easeLinear: Cubic(0.0, 0.0, 1.0, 1.0),
|
|
2853
|
+
motionEaseEnter: Cubic(0.24, 1.0, 0.4, 1.0),
|
|
2854
|
+
motionEaseExit: Cubic(0.3, 0.0, 0.6, 0.6),
|
|
2855
|
+
motionEaseMove: Cubic(0.2, 0.0, 0.0, 1.0),
|
|
2856
|
+
motionEaseEmphasized: Cubic(0.05, 0.7, 0.1, 1.0),
|
|
2857
|
+
springSnap: UndSpring(response: 0.2875, dampingRatio: 1.0, stiffness: 477.7, damping: 43.71, settle: Duration(milliseconds: 423)),
|
|
2858
|
+
springSmooth: UndSpring(response: 0.46, dampingRatio: 1.0, stiffness: 186.5, damping: 27.32, settle: Duration(milliseconds: 676)),
|
|
2859
|
+
springSnappy: UndSpring(response: 0.4025, dampingRatio: 0.85, stiffness: 243.7, damping: 26.54, settle: Duration(milliseconds: 561)),
|
|
2860
|
+
springGentle: UndSpring(response: 0.69, dampingRatio: 1.0, stiffness: 82.9, damping: 18.21, settle: Duration(milliseconds: 1014)),
|
|
2861
|
+
springBouncy: UndSpring(response: 0.575, dampingRatio: 0.7, stiffness: 119.4, damping: 15.3, settle: Duration(milliseconds: 942)),
|
|
2862
|
+
springExpressive: UndSpring(response: 0.6325, dampingRatio: 0.6, stiffness: 98.7, damping: 11.92, settle: Duration(milliseconds: 1023)),
|
|
2863
|
+
);
|
|
2864
|
+
|
|
2865
|
+
static const UndMotion raat = UndMotion(
|
|
2866
|
+
tempo: 1.0,
|
|
2867
|
+
character: UndCharacter.expressive,
|
|
2868
|
+
durationInstant: Duration(milliseconds: 0),
|
|
2869
|
+
durationMicro: Duration(milliseconds: 90),
|
|
2870
|
+
durationFastMin: Duration(milliseconds: 130),
|
|
2871
|
+
durationFast: Duration(milliseconds: 175),
|
|
2872
|
+
durationFastMax: Duration(milliseconds: 230),
|
|
2873
|
+
durationMediumMin: Duration(milliseconds: 310),
|
|
2874
|
+
durationMedium: Duration(milliseconds: 410),
|
|
2875
|
+
durationMediumMax: Duration(milliseconds: 550),
|
|
2876
|
+
durationSlowMin: Duration(milliseconds: 730),
|
|
2877
|
+
durationSlow: Duration(milliseconds: 975),
|
|
2878
|
+
durationSlowMax: Duration(milliseconds: 1300),
|
|
2879
|
+
motionFocus: Duration(milliseconds: 0),
|
|
2880
|
+
motionPress: Duration(milliseconds: 90),
|
|
2881
|
+
motionHover: Duration(milliseconds: 130),
|
|
2882
|
+
motionHoverOut: Duration(milliseconds: 175),
|
|
2883
|
+
motionTooltipEnter: Duration(milliseconds: 175),
|
|
2884
|
+
motionTooltipExit: Duration(milliseconds: 0),
|
|
2885
|
+
motionMenuEnter: Duration(milliseconds: 230),
|
|
2886
|
+
motionMenuExit: Duration(milliseconds: 90),
|
|
2887
|
+
motionDialogEnter: Duration(milliseconds: 310),
|
|
2888
|
+
motionDialogExit: Duration(milliseconds: 217),
|
|
2889
|
+
motionSheetEnter: Duration(milliseconds: 410),
|
|
2890
|
+
motionSheetExit: Duration(milliseconds: 287),
|
|
2891
|
+
motionToastEnter: Duration(milliseconds: 310),
|
|
2892
|
+
motionToastExit: Duration(milliseconds: 217),
|
|
2893
|
+
motionScrim: Duration(milliseconds: 175),
|
|
2894
|
+
motionPage: Duration(milliseconds: 550),
|
|
2895
|
+
motionPageExit: Duration(milliseconds: 385),
|
|
2896
|
+
motionReveal: Duration(milliseconds: 730),
|
|
2897
|
+
motionCelebrate: Duration(milliseconds: 975),
|
|
2898
|
+
motionCrossfade: Duration(milliseconds: 175),
|
|
2899
|
+
motionCrossfadeTouch: Duration(milliseconds: 200),
|
|
2900
|
+
motionSpinner: Duration(milliseconds: 800),
|
|
2901
|
+
motionShimmer: Duration(milliseconds: 1600),
|
|
2902
|
+
motionTooltipDelay: Duration(milliseconds: 500),
|
|
2903
|
+
motionTooltipDelayToolbar: Duration(milliseconds: 700),
|
|
2904
|
+
motionTooltipSkip: Duration(milliseconds: 300),
|
|
2905
|
+
easeEnter: Cubic(0.24, 1.0, 0.4, 1.0),
|
|
2906
|
+
easeExit: Cubic(0.3, 0.0, 0.6, 0.6),
|
|
2907
|
+
easeMove: Cubic(0.2, 0.0, 0.0, 1.0),
|
|
2908
|
+
easeEmphasized: Cubic(0.05, 0.7, 0.1, 1.0),
|
|
2909
|
+
easeLinear: Cubic(0.0, 0.0, 1.0, 1.0),
|
|
2910
|
+
motionEaseEnter: Cubic(0.2, 0.0, 0.0, 1.28),
|
|
2911
|
+
motionEaseExit: Cubic(0.3, 0.0, 0.6, 0.6),
|
|
2912
|
+
motionEaseMove: Cubic(0.2, 0.0, 0.0, 1.04),
|
|
2913
|
+
motionEaseEmphasized: Cubic(0.05, 0.7, 0.1, 1.0),
|
|
2914
|
+
springSnap: UndSpring(response: 0.25, dampingRatio: 1.0, stiffness: 631.7, damping: 50.27, settle: Duration(milliseconds: 368)),
|
|
2915
|
+
springSmooth: UndSpring(response: 0.4, dampingRatio: 1.0, stiffness: 246.7, damping: 31.42, settle: Duration(milliseconds: 588)),
|
|
2916
|
+
springSnappy: UndSpring(response: 0.35, dampingRatio: 0.85, stiffness: 322.3, damping: 30.52, settle: Duration(milliseconds: 488)),
|
|
2917
|
+
springGentle: UndSpring(response: 0.6, dampingRatio: 1.0, stiffness: 109.7, damping: 20.94, settle: Duration(milliseconds: 882)),
|
|
2918
|
+
springBouncy: UndSpring(response: 0.5, dampingRatio: 0.7, stiffness: 157.9, damping: 17.59, settle: Duration(milliseconds: 819)),
|
|
2919
|
+
springExpressive: UndSpring(response: 0.55, dampingRatio: 0.6, stiffness: 130.5, damping: 13.71, settle: Duration(milliseconds: 890)),
|
|
2920
|
+
);
|
|
2921
|
+
|
|
2922
|
+
static const UndMotion sutra = UndMotion(
|
|
2923
|
+
tempo: 0.85,
|
|
2924
|
+
character: UndCharacter.crisp,
|
|
2925
|
+
durationInstant: Duration(milliseconds: 0),
|
|
2926
|
+
durationMicro: Duration(milliseconds: 77),
|
|
2927
|
+
durationFastMin: Duration(milliseconds: 111),
|
|
2928
|
+
durationFast: Duration(milliseconds: 149),
|
|
2929
|
+
durationFastMax: Duration(milliseconds: 196),
|
|
2930
|
+
durationMediumMin: Duration(milliseconds: 264),
|
|
2931
|
+
durationMedium: Duration(milliseconds: 349),
|
|
2932
|
+
durationMediumMax: Duration(milliseconds: 468),
|
|
2933
|
+
durationSlowMin: Duration(milliseconds: 621),
|
|
2934
|
+
durationSlow: Duration(milliseconds: 829),
|
|
2935
|
+
durationSlowMax: Duration(milliseconds: 1105),
|
|
2936
|
+
motionFocus: Duration(milliseconds: 0),
|
|
2937
|
+
motionPress: Duration(milliseconds: 77),
|
|
2938
|
+
motionHover: Duration(milliseconds: 111),
|
|
2939
|
+
motionHoverOut: Duration(milliseconds: 149),
|
|
2940
|
+
motionTooltipEnter: Duration(milliseconds: 149),
|
|
2941
|
+
motionTooltipExit: Duration(milliseconds: 0),
|
|
2942
|
+
motionMenuEnter: Duration(milliseconds: 196),
|
|
2943
|
+
motionMenuExit: Duration(milliseconds: 77),
|
|
2944
|
+
motionDialogEnter: Duration(milliseconds: 264),
|
|
2945
|
+
motionDialogExit: Duration(milliseconds: 184),
|
|
2946
|
+
motionSheetEnter: Duration(milliseconds: 349),
|
|
2947
|
+
motionSheetExit: Duration(milliseconds: 244),
|
|
2948
|
+
motionToastEnter: Duration(milliseconds: 264),
|
|
2949
|
+
motionToastExit: Duration(milliseconds: 184),
|
|
2950
|
+
motionScrim: Duration(milliseconds: 149),
|
|
2951
|
+
motionPage: Duration(milliseconds: 468),
|
|
2952
|
+
motionPageExit: Duration(milliseconds: 327),
|
|
2953
|
+
motionReveal: Duration(milliseconds: 621),
|
|
2954
|
+
motionCelebrate: Duration(milliseconds: 829),
|
|
2955
|
+
motionCrossfade: Duration(milliseconds: 149),
|
|
2956
|
+
motionCrossfadeTouch: Duration(milliseconds: 200),
|
|
2957
|
+
motionSpinner: Duration(milliseconds: 800),
|
|
2958
|
+
motionShimmer: Duration(milliseconds: 1600),
|
|
2959
|
+
motionTooltipDelay: Duration(milliseconds: 500),
|
|
2960
|
+
motionTooltipDelayToolbar: Duration(milliseconds: 700),
|
|
2961
|
+
motionTooltipSkip: Duration(milliseconds: 300),
|
|
2962
|
+
easeEnter: Cubic(0.24, 1.0, 0.4, 1.0),
|
|
2963
|
+
easeExit: Cubic(0.3, 0.0, 0.6, 0.6),
|
|
2964
|
+
easeMove: Cubic(0.2, 0.0, 0.0, 1.0),
|
|
2965
|
+
easeEmphasized: Cubic(0.05, 0.7, 0.1, 1.0),
|
|
2966
|
+
easeLinear: Cubic(0.0, 0.0, 1.0, 1.0),
|
|
2967
|
+
motionEaseEnter: Cubic(0.2, 0.0, 0.0, 1.0),
|
|
2968
|
+
motionEaseExit: Cubic(0.3, 0.0, 0.6, 0.6),
|
|
2969
|
+
motionEaseMove: Cubic(0.2, 0.0, 0.0, 1.0),
|
|
2970
|
+
motionEaseEmphasized: Cubic(0.05, 0.7, 0.1, 1.0),
|
|
2971
|
+
springSnap: UndSpring(response: 0.2125, dampingRatio: 1.0, stiffness: 874.3, damping: 59.14, settle: Duration(milliseconds: 313)),
|
|
2972
|
+
springSmooth: UndSpring(response: 0.34, dampingRatio: 1.0, stiffness: 341.5, damping: 36.96, settle: Duration(milliseconds: 500)),
|
|
2973
|
+
springSnappy: UndSpring(response: 0.2975, dampingRatio: 0.85, stiffness: 446.1, damping: 35.91, settle: Duration(milliseconds: 415)),
|
|
2974
|
+
springGentle: UndSpring(response: 0.51, dampingRatio: 1.0, stiffness: 151.8, damping: 24.64, settle: Duration(milliseconds: 750)),
|
|
2975
|
+
springBouncy: UndSpring(response: 0.425, dampingRatio: 0.7, stiffness: 218.5, damping: 20.69, settle: Duration(milliseconds: 696)),
|
|
2976
|
+
springExpressive: UndSpring(response: 0.4675, dampingRatio: 0.6, stiffness: 180.6, damping: 16.13, settle: Duration(milliseconds: 757)),
|
|
2977
|
+
);
|
|
2978
|
+
|
|
2979
|
+
@override
|
|
2980
|
+
bool operator ==(Object other) => other is UndMotion && other.tempo == tempo && other.character == character;
|
|
2981
|
+
|
|
2982
|
+
@override
|
|
2983
|
+
int get hashCode => Object.hash(tempo, character);
|
|
2984
|
+
}
|
|
2985
|
+
|
|
2986
|
+
/// Reduced-motion durations (never scaled by tempo). Use with MediaQuery.disableAnimationsOf.
|
|
2987
|
+
abstract final class UndReducedMotion {
|
|
2988
|
+
static const Duration motionFocus = Duration(milliseconds: 0);
|
|
2989
|
+
static const Duration motionPress = Duration(milliseconds: 0);
|
|
2990
|
+
static const Duration motionHover = Duration(milliseconds: 0);
|
|
2991
|
+
static const Duration motionHoverOut = Duration(milliseconds: 0);
|
|
2992
|
+
static const Duration motionTooltipEnter = Duration(milliseconds: 0);
|
|
2993
|
+
static const Duration motionTooltipExit = Duration(milliseconds: 0);
|
|
2994
|
+
static const Duration motionMenuEnter = Duration(milliseconds: 0);
|
|
2995
|
+
static const Duration motionMenuExit = Duration(milliseconds: 0);
|
|
2996
|
+
static const Duration motionDialogEnter = Duration(milliseconds: 0);
|
|
2997
|
+
static const Duration motionDialogExit = Duration(milliseconds: 0);
|
|
2998
|
+
static const Duration motionSheetEnter = Duration(milliseconds: 0);
|
|
2999
|
+
static const Duration motionSheetExit = Duration(milliseconds: 0);
|
|
3000
|
+
static const Duration motionToastEnter = Duration(milliseconds: 0);
|
|
3001
|
+
static const Duration motionToastExit = Duration(milliseconds: 0);
|
|
3002
|
+
static const Duration motionScrim = Duration(milliseconds: 0);
|
|
3003
|
+
static const Duration motionPage = Duration(milliseconds: 150);
|
|
3004
|
+
static const Duration motionPageExit = Duration(milliseconds: 150);
|
|
3005
|
+
static const Duration motionReveal = Duration(milliseconds: 0);
|
|
3006
|
+
static const Duration motionCelebrate = Duration(milliseconds: 0);
|
|
3007
|
+
static const Duration motionCrossfade = Duration(milliseconds: 0);
|
|
3008
|
+
static const Duration motionCrossfadeTouch = Duration(milliseconds: 200);
|
|
3009
|
+
static const Duration motionSpinner = Duration(milliseconds: 1600);
|
|
3010
|
+
static const Duration motionShimmer = Duration(milliseconds: 0);
|
|
3011
|
+
static const Duration motionTooltipDelay = Duration(milliseconds: 500);
|
|
3012
|
+
static const Duration motionTooltipDelayToolbar = Duration(milliseconds: 700);
|
|
3013
|
+
static const Duration motionTooltipSkip = Duration(milliseconds: 300);
|
|
3014
|
+
}
|
|
3015
|
+
|
|
3016
|
+
/// Text styles (logical pixels; respect MediaQuery.textScalerOf). Mobile sizes.
|
|
3017
|
+
abstract final class UndTypography {
|
|
3018
|
+
static const TextStyle display2xl = TextStyle(fontSize: 44.0, height: 1.05, fontWeight: FontWeight.w700, letterSpacing: -1.1);
|
|
3019
|
+
static const TextStyle displayXl = TextStyle(fontSize: 36.0, height: 1.08, fontWeight: FontWeight.w700, letterSpacing: -0.792);
|
|
3020
|
+
static const TextStyle displayLg = TextStyle(fontSize: 30.0, height: 1.12, fontWeight: FontWeight.w600, letterSpacing: -0.6);
|
|
3021
|
+
static const TextStyle headingXl = TextStyle(fontSize: 26.0, height: 1.18, fontWeight: FontWeight.w600, letterSpacing: -0.39);
|
|
3022
|
+
static const TextStyle headingLg = TextStyle(fontSize: 22.0, height: 1.25, fontWeight: FontWeight.w600, letterSpacing: -0.22);
|
|
3023
|
+
static const TextStyle headingMd = TextStyle(fontSize: 19.0, height: 1.3, fontWeight: FontWeight.w600, letterSpacing: -0.095);
|
|
3024
|
+
static const TextStyle headingSm = TextStyle(fontSize: 17.0, height: 1.35, fontWeight: FontWeight.w600, letterSpacing: 0.0);
|
|
3025
|
+
static const TextStyle bodyLg = TextStyle(fontSize: 17.0, height: 1.55, fontWeight: FontWeight.w400, letterSpacing: 0.0);
|
|
3026
|
+
static const TextStyle bodyMd = TextStyle(fontSize: 16.0, height: 1.5, fontWeight: FontWeight.w400, letterSpacing: 0.0);
|
|
3027
|
+
static const TextStyle bodySm = TextStyle(fontSize: 14.0, height: 1.45, fontWeight: FontWeight.w400, letterSpacing: 0.0);
|
|
3028
|
+
static const TextStyle labelMd = TextStyle(fontSize: 14.0, height: 1.25, fontWeight: FontWeight.w500, letterSpacing: 0.0);
|
|
3029
|
+
static const TextStyle labelSm = TextStyle(fontSize: 12.0, height: 1.25, fontWeight: FontWeight.w500, letterSpacing: 0.12);
|
|
3030
|
+
static const TextStyle caption = TextStyle(fontSize: 12.0, height: 1.35, fontWeight: FontWeight.w400, letterSpacing: 0.0);
|
|
3031
|
+
static const TextStyle code = TextStyle(fontSize: 14.72, height: 1.55, fontWeight: FontWeight.w400, letterSpacing: 0.0);
|
|
3032
|
+
|
|
3033
|
+
/// Indic line heights (Devanagari etc.).
|
|
3034
|
+
static const Map<String, double> indicHeight = <String, double>{
|
|
3035
|
+
'display2xl': 1.3,
|
|
3036
|
+
'displayXl': 1.32,
|
|
3037
|
+
'displayLg': 1.35,
|
|
3038
|
+
'headingXl': 1.4,
|
|
3039
|
+
'headingLg': 1.45,
|
|
3040
|
+
'headingMd': 1.5,
|
|
3041
|
+
'headingSm': 1.55,
|
|
3042
|
+
'bodyLg': 1.8,
|
|
3043
|
+
'bodyMd': 1.75,
|
|
3044
|
+
'bodySm': 1.7,
|
|
3045
|
+
'labelMd': 1.5,
|
|
3046
|
+
'labelSm': 1.5,
|
|
3047
|
+
'caption': 1.6,
|
|
3048
|
+
'code': 1.55,
|
|
3049
|
+
};
|
|
3050
|
+
|
|
3051
|
+
/// Applies the Indic line height and removes letter spacing (never track Indic scripts).
|
|
3052
|
+
static TextStyle indic(TextStyle style, String name) => style.copyWith(height: indicHeight[name] ?? 1.75, letterSpacing: 0);
|
|
3053
|
+
}
|
|
3054
|
+
|
|
3055
|
+
/// Elevation shadows per brightness (BoxShadow lists).
|
|
3056
|
+
abstract final class UndShadows {
|
|
3057
|
+
static const List<BoxShadow> light0 = <BoxShadow>[];
|
|
3058
|
+
static const List<BoxShadow> dark0 = <BoxShadow>[];
|
|
3059
|
+
static const List<BoxShadow> light1 = <BoxShadow>[BoxShadow(color: Color(0x0F13151F), offset: Offset(0.0, 1.0), blurRadius: 2.0, spreadRadius: 0.0), BoxShadow(color: Color(0x1413151F), offset: Offset(0.0, 1.0), blurRadius: 3.0, spreadRadius: 0.0)];
|
|
3060
|
+
static const List<BoxShadow> dark1 = <BoxShadow>[BoxShadow(color: Color(0x0FFFFFFF), offset: Offset(0.0, 0.0), blurRadius: 0.0, spreadRadius: 1.0)];
|
|
3061
|
+
static const List<BoxShadow> light2 = <BoxShadow>[BoxShadow(color: Color(0x0F13151F), offset: Offset(0.0, 2.0), blurRadius: 4.0, spreadRadius: 0.0), BoxShadow(color: Color(0x1A13151F), offset: Offset(0.0, 4.0), blurRadius: 12.0, spreadRadius: 0.0)];
|
|
3062
|
+
static const List<BoxShadow> dark2 = <BoxShadow>[BoxShadow(color: Color(0x14FFFFFF), offset: Offset(0.0, 0.0), blurRadius: 0.0, spreadRadius: 1.0), BoxShadow(color: Color(0x73000000), offset: Offset(0.0, 8.0), blurRadius: 24.0, spreadRadius: 0.0)];
|
|
3063
|
+
static const List<BoxShadow> light3 = <BoxShadow>[BoxShadow(color: Color(0x0F13151F), offset: Offset(0.0, 4.0), blurRadius: 8.0, spreadRadius: 0.0), BoxShadow(color: Color(0x1F13151F), offset: Offset(0.0, 12.0), blurRadius: 24.0, spreadRadius: 0.0)];
|
|
3064
|
+
static const List<BoxShadow> dark3 = <BoxShadow>[BoxShadow(color: Color(0x14FFFFFF), offset: Offset(0.0, 0.0), blurRadius: 0.0, spreadRadius: 1.0), BoxShadow(color: Color(0x80000000), offset: Offset(0.0, 12.0), blurRadius: 32.0, spreadRadius: 0.0)];
|
|
3065
|
+
static const List<BoxShadow> light4 = <BoxShadow>[BoxShadow(color: Color(0x1413151F), offset: Offset(0.0, 8.0), blurRadius: 16.0, spreadRadius: 0.0), BoxShadow(color: Color(0x2913151F), offset: Offset(0.0, 24.0), blurRadius: 48.0, spreadRadius: 0.0)];
|
|
3066
|
+
static const List<BoxShadow> dark4 = <BoxShadow>[BoxShadow(color: Color(0x1AFFFFFF), offset: Offset(0.0, 0.0), blurRadius: 0.0, spreadRadius: 1.0), BoxShadow(color: Color(0x99000000), offset: Offset(0.0, 24.0), blurRadius: 64.0, spreadRadius: 0.0)];
|
|
3067
|
+
static const List<BoxShadow> light5 = <BoxShadow>[BoxShadow(color: Color(0x1A13151F), offset: Offset(0.0, 16.0), blurRadius: 32.0, spreadRadius: 0.0), BoxShadow(color: Color(0x3313151F), offset: Offset(0.0, 40.0), blurRadius: 80.0, spreadRadius: 0.0)];
|
|
3068
|
+
static const List<BoxShadow> dark5 = <BoxShadow>[BoxShadow(color: Color(0x1AFFFFFF), offset: Offset(0.0, 0.0), blurRadius: 0.0, spreadRadius: 1.0), BoxShadow(color: Color(0x99000000), offset: Offset(0.0, 24.0), blurRadius: 64.0, spreadRadius: 0.0)];
|
|
3069
|
+
|
|
3070
|
+
static List<BoxShadow> of(int level, Brightness brightness) {
|
|
3071
|
+
final dark = brightness == Brightness.dark;
|
|
3072
|
+
switch (level) {
|
|
3073
|
+
case 0:
|
|
3074
|
+
return dark ? dark0 : light0;
|
|
3075
|
+
case 1:
|
|
3076
|
+
return dark ? dark1 : light1;
|
|
3077
|
+
case 2:
|
|
3078
|
+
return dark ? dark2 : light2;
|
|
3079
|
+
case 3:
|
|
3080
|
+
return dark ? dark3 : light3;
|
|
3081
|
+
case 4:
|
|
3082
|
+
return dark ? dark4 : light4;
|
|
3083
|
+
case 5:
|
|
3084
|
+
return dark ? dark5 : light5;
|
|
3085
|
+
default:
|
|
3086
|
+
return const <BoxShadow>[];
|
|
3087
|
+
}
|
|
3088
|
+
}
|
|
3089
|
+
}
|
|
3090
|
+
|
|
3091
|
+
/// Everything a widget needs from the active UND theme.
|
|
3092
|
+
@immutable
|
|
3093
|
+
class UndThemeData {
|
|
3094
|
+
const UndThemeData({
|
|
3095
|
+
required this.name,
|
|
3096
|
+
required this.darkOnly,
|
|
3097
|
+
required this.colors,
|
|
3098
|
+
required this.radii,
|
|
3099
|
+
required this.motion,
|
|
3100
|
+
required this.density,
|
|
3101
|
+
required this.fontFamilies,
|
|
3102
|
+
});
|
|
3103
|
+
|
|
3104
|
+
final UndThemeName name;
|
|
3105
|
+
final bool darkOnly;
|
|
3106
|
+
final UndColors colors;
|
|
3107
|
+
final UndRadii radii;
|
|
3108
|
+
final UndMotion motion;
|
|
3109
|
+
final UndDensity density;
|
|
3110
|
+
final Map<String, List<String>> fontFamilies;
|
|
3111
|
+
|
|
3112
|
+
UndControl get control => UndControl.of(density);
|
|
3113
|
+
|
|
3114
|
+
/// Resolve a theme for a brightness and contrast (MediaQuery.highContrastOf).
|
|
3115
|
+
static UndThemeData of(UndThemeName name, {Brightness brightness = Brightness.light, bool highContrast = false}) {
|
|
3116
|
+
switch (name) {
|
|
3117
|
+
case UndThemeName.ujala:
|
|
3118
|
+
return UndThemeData(
|
|
3119
|
+
name: name,
|
|
3120
|
+
darkOnly: false,
|
|
3121
|
+
colors: UndColors.of(name, brightness: brightness, highContrast: highContrast),
|
|
3122
|
+
radii: const UndRadii(factor: 1.0, none: 0.0, xs: 2.0, sm: 4.0, md: 6.0, lg: 8.0, xl: 12.0, xxl: 16.0, xxxl: 24.0, full: 9999.0),
|
|
3123
|
+
motion: UndMotion.ujala,
|
|
3124
|
+
density: UndDensity.comfortable,
|
|
3125
|
+
fontFamilies: const <String, List<String>>{'body': <String>['Inter', 'Noto Sans Devanagari', 'Noto Sans', 'system-ui', '-apple-system', 'Segoe UI', 'Roboto', 'Nirmala UI', 'Kohinoor Devanagari', 'Helvetica Neue', 'Arial', 'sans-serif'], 'heading': <String>['Inter', 'Noto Sans Devanagari', 'Noto Sans', 'system-ui', '-apple-system', 'Segoe UI', 'Roboto', 'Nirmala UI', 'Kohinoor Devanagari', 'Helvetica Neue', 'Arial', 'sans-serif'], 'display': <String>['Inter', 'Noto Sans Devanagari', 'Noto Sans', 'system-ui', '-apple-system', 'Segoe UI', 'Roboto', 'Nirmala UI', 'Kohinoor Devanagari', 'Helvetica Neue', 'Arial', 'sans-serif'], 'code': <String>['Geist Mono', 'ui-monospace', 'SF Mono', 'Cascadia Code', 'Menlo', 'Consolas', 'monospace']},
|
|
3126
|
+
);
|
|
3127
|
+
case UndThemeName.kesar:
|
|
3128
|
+
return UndThemeData(
|
|
3129
|
+
name: name,
|
|
3130
|
+
darkOnly: false,
|
|
3131
|
+
colors: UndColors.of(name, brightness: brightness, highContrast: highContrast),
|
|
3132
|
+
radii: const UndRadii(factor: 1.25, none: 0.0, xs: 2.5, sm: 5.0, md: 7.5, lg: 10.0, xl: 15.0, xxl: 20.0, xxxl: 30.0, full: 9999.0),
|
|
3133
|
+
motion: UndMotion.kesar,
|
|
3134
|
+
density: UndDensity.comfortable,
|
|
3135
|
+
fontFamilies: const <String, List<String>>{'body': <String>['Inter', 'Noto Sans Devanagari', 'Noto Sans', 'system-ui', '-apple-system', 'Segoe UI', 'Roboto', 'Nirmala UI', 'Kohinoor Devanagari', 'Helvetica Neue', 'Arial', 'sans-serif'], 'heading': <String>['Anek Latin', 'Anek Devanagari', 'Inter', 'Noto Sans Devanagari', 'system-ui', '-apple-system', 'Segoe UI', 'Roboto', 'Nirmala UI', 'Kohinoor Devanagari', 'Helvetica Neue', 'Arial', 'sans-serif'], 'display': <String>['Anek Latin', 'Anek Devanagari', 'Inter', 'Noto Sans Devanagari', 'system-ui', '-apple-system', 'Segoe UI', 'Roboto', 'Nirmala UI', 'Kohinoor Devanagari', 'Helvetica Neue', 'Arial', 'sans-serif'], 'code': <String>['Geist Mono', 'ui-monospace', 'SF Mono', 'Cascadia Code', 'Menlo', 'Consolas', 'monospace']},
|
|
3136
|
+
);
|
|
3137
|
+
case UndThemeName.neem:
|
|
3138
|
+
return UndThemeData(
|
|
3139
|
+
name: name,
|
|
3140
|
+
darkOnly: false,
|
|
3141
|
+
colors: UndColors.of(name, brightness: brightness, highContrast: highContrast),
|
|
3142
|
+
radii: const UndRadii(factor: 1.0, none: 0.0, xs: 2.0, sm: 4.0, md: 6.0, lg: 8.0, xl: 12.0, xxl: 16.0, xxxl: 24.0, full: 9999.0),
|
|
3143
|
+
motion: UndMotion.neem,
|
|
3144
|
+
density: UndDensity.comfortable,
|
|
3145
|
+
fontFamilies: const <String, List<String>>{'body': <String>['Inter', 'Noto Sans Devanagari', 'Noto Sans', 'system-ui', '-apple-system', 'Segoe UI', 'Roboto', 'Nirmala UI', 'Kohinoor Devanagari', 'Helvetica Neue', 'Arial', 'sans-serif'], 'heading': <String>['Inter', 'Noto Sans Devanagari', 'Noto Sans', 'system-ui', '-apple-system', 'Segoe UI', 'Roboto', 'Nirmala UI', 'Kohinoor Devanagari', 'Helvetica Neue', 'Arial', 'sans-serif'], 'display': <String>['Inter', 'Noto Sans Devanagari', 'Noto Sans', 'system-ui', '-apple-system', 'Segoe UI', 'Roboto', 'Nirmala UI', 'Kohinoor Devanagari', 'Helvetica Neue', 'Arial', 'sans-serif'], 'code': <String>['Geist Mono', 'ui-monospace', 'SF Mono', 'Cascadia Code', 'Menlo', 'Consolas', 'monospace']},
|
|
3146
|
+
);
|
|
3147
|
+
case UndThemeName.mitti:
|
|
3148
|
+
return UndThemeData(
|
|
3149
|
+
name: name,
|
|
3150
|
+
darkOnly: false,
|
|
3151
|
+
colors: UndColors.of(name, brightness: brightness, highContrast: highContrast),
|
|
3152
|
+
radii: const UndRadii(factor: 1.5, none: 0.0, xs: 3.0, sm: 6.0, md: 9.0, lg: 12.0, xl: 18.0, xxl: 24.0, xxxl: 36.0, full: 9999.0),
|
|
3153
|
+
motion: UndMotion.mitti,
|
|
3154
|
+
density: UndDensity.comfortable,
|
|
3155
|
+
fontFamilies: const <String, List<String>>{'body': <String>['Inter', 'Noto Sans Devanagari', 'Noto Sans', 'system-ui', '-apple-system', 'Segoe UI', 'Roboto', 'Nirmala UI', 'Kohinoor Devanagari', 'Helvetica Neue', 'Arial', 'sans-serif'], 'heading': <String>['Noto Serif', 'Noto Serif Devanagari', 'Georgia', 'Nirmala UI', 'serif'], 'display': <String>['Noto Serif', 'Noto Serif Devanagari', 'Georgia', 'Nirmala UI', 'serif'], 'code': <String>['Geist Mono', 'ui-monospace', 'SF Mono', 'Cascadia Code', 'Menlo', 'Consolas', 'monospace']},
|
|
3156
|
+
);
|
|
3157
|
+
case UndThemeName.raat:
|
|
3158
|
+
return UndThemeData(
|
|
3159
|
+
name: name,
|
|
3160
|
+
darkOnly: true,
|
|
3161
|
+
colors: UndColors.of(name, brightness: Brightness.dark, highContrast: highContrast),
|
|
3162
|
+
radii: const UndRadii(factor: 1.25, none: 0.0, xs: 2.5, sm: 5.0, md: 7.5, lg: 10.0, xl: 15.0, xxl: 20.0, xxxl: 30.0, full: 9999.0),
|
|
3163
|
+
motion: UndMotion.raat,
|
|
3164
|
+
density: UndDensity.comfortable,
|
|
3165
|
+
fontFamilies: const <String, List<String>>{'body': <String>['Inter', 'Noto Sans Devanagari', 'Noto Sans', 'system-ui', '-apple-system', 'Segoe UI', 'Roboto', 'Nirmala UI', 'Kohinoor Devanagari', 'Helvetica Neue', 'Arial', 'sans-serif'], 'heading': <String>['Inter', 'Noto Sans Devanagari', 'Noto Sans', 'system-ui', '-apple-system', 'Segoe UI', 'Roboto', 'Nirmala UI', 'Kohinoor Devanagari', 'Helvetica Neue', 'Arial', 'sans-serif'], 'display': <String>['Inter', 'Noto Sans Devanagari', 'Noto Sans', 'system-ui', '-apple-system', 'Segoe UI', 'Roboto', 'Nirmala UI', 'Kohinoor Devanagari', 'Helvetica Neue', 'Arial', 'sans-serif'], 'code': <String>['Geist Mono', 'ui-monospace', 'SF Mono', 'Cascadia Code', 'Menlo', 'Consolas', 'monospace']},
|
|
3166
|
+
);
|
|
3167
|
+
case UndThemeName.sutra:
|
|
3168
|
+
return UndThemeData(
|
|
3169
|
+
name: name,
|
|
3170
|
+
darkOnly: false,
|
|
3171
|
+
colors: UndColors.of(name, brightness: brightness, highContrast: highContrast),
|
|
3172
|
+
radii: const UndRadii(factor: 0.5, none: 0.0, xs: 1.0, sm: 2.0, md: 3.0, lg: 4.0, xl: 6.0, xxl: 8.0, xxxl: 12.0, full: 9999.0),
|
|
3173
|
+
motion: UndMotion.sutra,
|
|
3174
|
+
density: UndDensity.compact,
|
|
3175
|
+
fontFamilies: const <String, List<String>>{'body': <String>['Geist', 'Noto Sans Devanagari', 'Noto Sans', 'system-ui', '-apple-system', 'Segoe UI', 'Roboto', 'Nirmala UI', 'Kohinoor Devanagari', 'Helvetica Neue', 'Arial', 'sans-serif'], 'heading': <String>['Geist', 'Noto Sans Devanagari', 'Noto Sans', 'system-ui', '-apple-system', 'Segoe UI', 'Roboto', 'Nirmala UI', 'Kohinoor Devanagari', 'Helvetica Neue', 'Arial', 'sans-serif'], 'display': <String>['Geist', 'Noto Sans Devanagari', 'Noto Sans', 'system-ui', '-apple-system', 'Segoe UI', 'Roboto', 'Nirmala UI', 'Kohinoor Devanagari', 'Helvetica Neue', 'Arial', 'sans-serif'], 'code': <String>['Geist Mono', 'ui-monospace', 'SF Mono', 'Cascadia Code', 'Menlo', 'Consolas', 'monospace']},
|
|
3176
|
+
);
|
|
3177
|
+
}
|
|
3178
|
+
}
|
|
3179
|
+
|
|
3180
|
+
UndThemeData copyWith({UndColors? colors, UndRadii? radii, UndMotion? motion, UndDensity? density}) => UndThemeData(
|
|
3181
|
+
name: name,
|
|
3182
|
+
darkOnly: darkOnly,
|
|
3183
|
+
colors: colors ?? this.colors,
|
|
3184
|
+
radii: radii ?? this.radii,
|
|
3185
|
+
motion: motion ?? this.motion,
|
|
3186
|
+
density: density ?? this.density,
|
|
3187
|
+
fontFamilies: fontFamilies,
|
|
3188
|
+
);
|
|
3189
|
+
|
|
3190
|
+
/// Interpolates colours and radii (motion and density switch at t = 0.5).
|
|
3191
|
+
UndThemeData lerp(UndThemeData other, double t) => UndThemeData(
|
|
3192
|
+
name: t < 0.5 ? name : other.name,
|
|
3193
|
+
darkOnly: t < 0.5 ? darkOnly : other.darkOnly,
|
|
3194
|
+
colors: colors.lerp(other.colors, t),
|
|
3195
|
+
radii: radii.lerp(other.radii, t),
|
|
3196
|
+
motion: t < 0.5 ? motion : other.motion,
|
|
3197
|
+
density: t < 0.5 ? density : other.density,
|
|
3198
|
+
fontFamilies: t < 0.5 ? fontFamilies : other.fontFamilies,
|
|
3199
|
+
);
|
|
3200
|
+
|
|
3201
|
+
@override
|
|
3202
|
+
bool operator ==(Object other) =>
|
|
3203
|
+
other is UndThemeData && other.name == name && other.colors == colors && other.radii == radii && other.motion == motion && other.density == density;
|
|
3204
|
+
|
|
3205
|
+
@override
|
|
3206
|
+
int get hashCode => Object.hash(name, colors, radii, motion, density);
|
|
3207
|
+
}
|
|
3208
|
+
|
|
3209
|
+
/// Provides [UndThemeData] to descendants without any Material dependency.
|
|
3210
|
+
class UndTheme extends InheritedWidget {
|
|
3211
|
+
const UndTheme({super.key, required this.data, required super.child});
|
|
3212
|
+
|
|
3213
|
+
final UndThemeData data;
|
|
3214
|
+
|
|
3215
|
+
static UndThemeData of(BuildContext context) =>
|
|
3216
|
+
context.dependOnInheritedWidgetOfExactType<UndTheme>()?.data ?? UndThemeData.of(UndThemeName.ujala);
|
|
3217
|
+
|
|
3218
|
+
@override
|
|
3219
|
+
bool updateShouldNotify(UndTheme oldWidget) => data != oldWidget.data;
|
|
3220
|
+
}
|
|
3221
|
+
|
|
3222
|
+
/// Keeps [Widget] in the public import surface for wrappers.
|
|
3223
|
+
typedef UndWidgetBuilder = Widget Function(BuildContext context, UndThemeData theme);
|