@und-ui/tokens 0.0.0-stage → 0.2.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.
Files changed (172) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +345 -2
  3. package/dist/android/values/und_colors.xml +91 -0
  4. package/dist/android/values/und_dimens.xml +93 -0
  5. package/dist/android/values-night/und_colors.xml +91 -0
  6. package/dist/css/base.css +2335 -0
  7. package/dist/css/motion.css +223 -0
  8. package/dist/css/themes/kesar.css +68 -0
  9. package/dist/css/themes/mitti.css +84 -0
  10. package/dist/css/themes/neem.css +84 -0
  11. package/dist/css/themes/raat.css +507 -0
  12. package/dist/css/themes/sutra.css +109 -0
  13. package/dist/css/themes/ujala.css +67 -0
  14. package/dist/css/tokens.css +3167 -0
  15. package/dist/dart/und_tokens.dart +3223 -0
  16. package/dist/js/contexts.d.ts +2 -0
  17. package/dist/js/contexts.js +3 -0
  18. package/dist/js/index.d.ts +1883 -0
  19. package/dist/js/index.js +2230 -0
  20. package/dist/json/flat/kesar.dark.json +737 -0
  21. package/dist/json/flat/kesar.darkMore.json +737 -0
  22. package/dist/json/flat/kesar.light.json +737 -0
  23. package/dist/json/flat/kesar.lightMore.json +737 -0
  24. package/dist/json/flat/mitti.dark.json +737 -0
  25. package/dist/json/flat/mitti.darkMore.json +737 -0
  26. package/dist/json/flat/mitti.light.json +737 -0
  27. package/dist/json/flat/mitti.lightMore.json +737 -0
  28. package/dist/json/flat/neem.dark.json +737 -0
  29. package/dist/json/flat/neem.darkMore.json +737 -0
  30. package/dist/json/flat/neem.light.json +737 -0
  31. package/dist/json/flat/neem.lightMore.json +737 -0
  32. package/dist/json/flat/raat.dark.json +737 -0
  33. package/dist/json/flat/raat.darkMore.json +737 -0
  34. package/dist/json/flat/sutra.dark.json +738 -0
  35. package/dist/json/flat/sutra.darkMore.json +738 -0
  36. package/dist/json/flat/sutra.light.json +738 -0
  37. package/dist/json/flat/sutra.lightMore.json +738 -0
  38. package/dist/json/flat/ujala.dark.json +737 -0
  39. package/dist/json/flat/ujala.darkMore.json +737 -0
  40. package/dist/json/flat/ujala.light.json +737 -0
  41. package/dist/json/flat/ujala.lightMore.json +737 -0
  42. package/dist/json/nested/kesar.dark.json +885 -0
  43. package/dist/json/nested/kesar.darkMore.json +885 -0
  44. package/dist/json/nested/kesar.light.json +885 -0
  45. package/dist/json/nested/kesar.lightMore.json +885 -0
  46. package/dist/json/nested/mitti.dark.json +885 -0
  47. package/dist/json/nested/mitti.darkMore.json +885 -0
  48. package/dist/json/nested/mitti.light.json +885 -0
  49. package/dist/json/nested/mitti.lightMore.json +885 -0
  50. package/dist/json/nested/neem.dark.json +885 -0
  51. package/dist/json/nested/neem.darkMore.json +885 -0
  52. package/dist/json/nested/neem.light.json +885 -0
  53. package/dist/json/nested/neem.lightMore.json +885 -0
  54. package/dist/json/nested/raat.dark.json +885 -0
  55. package/dist/json/nested/raat.darkMore.json +885 -0
  56. package/dist/json/nested/sutra.dark.json +886 -0
  57. package/dist/json/nested/sutra.darkMore.json +886 -0
  58. package/dist/json/nested/sutra.light.json +886 -0
  59. package/dist/json/nested/sutra.lightMore.json +886 -0
  60. package/dist/json/nested/ujala.dark.json +885 -0
  61. package/dist/json/nested/ujala.darkMore.json +885 -0
  62. package/dist/json/nested/ujala.light.json +885 -0
  63. package/dist/json/nested/ujala.lightMore.json +885 -0
  64. package/dist/kotlin/UndTokens.kt +2870 -0
  65. package/dist/lib/build/contexts.d.ts +13 -0
  66. package/dist/lib/build/contexts.js +20 -0
  67. package/dist/lib/build/css-values.d.ts +31 -0
  68. package/dist/lib/build/css-values.js +191 -0
  69. package/dist/lib/build/formats/css.d.ts +43 -0
  70. package/dist/lib/build/formats/css.js +380 -0
  71. package/dist/lib/build/formats/dart.d.ts +9 -0
  72. package/dist/lib/build/formats/dart.js +342 -0
  73. package/dist/lib/build/formats/js.d.ts +29 -0
  74. package/dist/lib/build/formats/js.js +297 -0
  75. package/dist/lib/build/formats/kotlin.d.ts +8 -0
  76. package/dist/lib/build/formats/kotlin.js +232 -0
  77. package/dist/lib/build/formats/react-native.d.ts +2 -0
  78. package/dist/lib/build/formats/react-native.js +208 -0
  79. package/dist/lib/build/formats/style-dictionary.d.ts +8 -0
  80. package/dist/lib/build/formats/style-dictionary.js +163 -0
  81. package/dist/lib/build/formats/swift.d.ts +8 -0
  82. package/dist/lib/build/formats/swift.js +395 -0
  83. package/dist/lib/build/formats/tailwind.d.ts +9 -0
  84. package/dist/lib/build/formats/tailwind.js +105 -0
  85. package/dist/lib/build/index.d.ts +12 -0
  86. package/dist/lib/build/index.js +133 -0
  87. package/dist/lib/build/materialize.d.ts +102 -0
  88. package/dist/lib/build/materialize.js +170 -0
  89. package/dist/lib/build/native-model.d.ts +46 -0
  90. package/dist/lib/build/native-model.js +177 -0
  91. package/dist/lib/color/contrast.d.ts +24 -0
  92. package/dist/lib/color/contrast.js +95 -0
  93. package/dist/lib/color/convert.d.ts +39 -0
  94. package/dist/lib/color/convert.js +91 -0
  95. package/dist/lib/color/pairs.d.ts +29 -0
  96. package/dist/lib/color/pairs.js +90 -0
  97. package/dist/lib/color/palette.d.ts +118 -0
  98. package/dist/lib/color/palette.js +199 -0
  99. package/dist/lib/color/scales.d.ts +18 -0
  100. package/dist/lib/color/scales.js +115 -0
  101. package/dist/lib/dtcg/engine.d.ts +75 -0
  102. package/dist/lib/dtcg/engine.js +395 -0
  103. package/dist/lib/dtcg/format-json.d.ts +1 -0
  104. package/dist/lib/dtcg/format-json.js +59 -0
  105. package/dist/lib/dtcg/types.d.ts +124 -0
  106. package/dist/lib/dtcg/types.js +54 -0
  107. package/dist/lib/index.d.ts +20 -0
  108. package/dist/lib/index.js +14 -0
  109. package/dist/lib/motion/spring.d.ts +40 -0
  110. package/dist/lib/motion/spring.js +129 -0
  111. package/dist/lib/source/generate.d.ts +28 -0
  112. package/dist/lib/source/generate.js +468 -0
  113. package/dist/lib/themes/definitions.d.ts +43 -0
  114. package/dist/lib/themes/definitions.js +140 -0
  115. package/dist/react-native/index.d.ts +130 -0
  116. package/dist/react-native/index.js +15 -0
  117. package/dist/react-native/tokens.d.ts +2 -0
  118. package/dist/react-native/tokens.js +4413 -0
  119. package/dist/scss/_variables.scss +738 -0
  120. package/dist/scss/_vars.scss +857 -0
  121. package/dist/scss/kesar.dark.scss +738 -0
  122. package/dist/scss/kesar.darkMore.scss +738 -0
  123. package/dist/scss/kesar.light.scss +738 -0
  124. package/dist/scss/kesar.lightMore.scss +738 -0
  125. package/dist/scss/mitti.dark.scss +738 -0
  126. package/dist/scss/mitti.darkMore.scss +738 -0
  127. package/dist/scss/mitti.light.scss +738 -0
  128. package/dist/scss/mitti.lightMore.scss +738 -0
  129. package/dist/scss/neem.dark.scss +738 -0
  130. package/dist/scss/neem.darkMore.scss +738 -0
  131. package/dist/scss/neem.light.scss +738 -0
  132. package/dist/scss/neem.lightMore.scss +738 -0
  133. package/dist/scss/raat.dark.scss +738 -0
  134. package/dist/scss/raat.darkMore.scss +738 -0
  135. package/dist/scss/sutra.dark.scss +739 -0
  136. package/dist/scss/sutra.darkMore.scss +739 -0
  137. package/dist/scss/sutra.light.scss +739 -0
  138. package/dist/scss/sutra.lightMore.scss +739 -0
  139. package/dist/scss/ujala.dark.scss +738 -0
  140. package/dist/scss/ujala.darkMore.scss +738 -0
  141. package/dist/scss/ujala.light.scss +738 -0
  142. package/dist/scss/ujala.lightMore.scss +738 -0
  143. package/dist/swift/UndTokens.swift +4117 -0
  144. package/dist/tailwind/und.css +586 -0
  145. package/package.json +84 -3
  146. package/tokens/contrast/more.tokens.json +46 -0
  147. package/tokens/density/comfortable.tokens.json +64 -0
  148. package/tokens/density/compact.tokens.json +68 -0
  149. package/tokens/density/touch.tokens.json +64 -0
  150. package/tokens/modes/dark.tokens.json +197 -0
  151. package/tokens/modes/light.tokens.json +166 -0
  152. package/tokens/motion/reduced.tokens.json +119 -0
  153. package/tokens/primitives/color.dark.tokens.json +2001 -0
  154. package/tokens/primitives/color.light.tokens.json +2077 -0
  155. package/tokens/primitives/dimension.tokens.json +181 -0
  156. package/tokens/primitives/motion.tokens.json +41 -0
  157. package/tokens/primitives/spring.tokens.json +138 -0
  158. package/tokens/primitives/typography.tokens.json +107 -0
  159. package/tokens/semantic/bridge.tokens.json +52 -0
  160. package/tokens/semantic/color.tokens.json +129 -0
  161. package/tokens/semantic/layout.tokens.json +84 -0
  162. package/tokens/semantic/motion.tokens.json +111 -0
  163. package/tokens/semantic/scale.tokens.json +66 -0
  164. package/tokens/semantic/typography.tokens.json +281 -0
  165. package/tokens/themes/kesar.tokens.json +105 -0
  166. package/tokens/themes/mitti.tokens.json +123 -0
  167. package/tokens/themes/neem.tokens.json +123 -0
  168. package/tokens/themes/raat.tokens.json +104 -0
  169. package/tokens/themes/sutra.tokens.json +126 -0
  170. package/tokens/themes/ujala.tokens.json +96 -0
  171. package/tokens/transparency/reduced.tokens.json +30 -0
  172. package/tokens/und.resolver.json +83 -0
@@ -0,0 +1,4117 @@
1
+ // Generated by @und-ui/tokens 0.2.0. Do not edit.
2
+ // Source: DTCG 2025.10 tokens (packages/tokens/tokens). Semantic roles only.
3
+
4
+ import Foundation
5
+ #if canImport(CoreGraphics)
6
+ import CoreGraphics
7
+ #endif
8
+
9
+ public enum UndTokens {
10
+ public static let version = "0.2.0"
11
+ }
12
+
13
+ /// A colour value (components 0...1) in sRGB or Display P3.
14
+ public struct UndRGBA: Sendable, Equatable, Hashable {
15
+ public enum Space: Sendable, Equatable, Hashable { case sRGB, displayP3 }
16
+ public let red: Double
17
+ public let green: Double
18
+ public let blue: Double
19
+ public let alpha: Double
20
+ public let space: Space
21
+
22
+ public init(_ red: Double, _ green: Double, _ blue: Double, _ alpha: Double = 1, space: Space = .sRGB) {
23
+ self.red = red
24
+ self.green = green
25
+ self.blue = blue
26
+ self.alpha = alpha
27
+ self.space = space
28
+ }
29
+ }
30
+
31
+ /// A semantic colour resolved for every appearance: light, dark, and Increase Contrast.
32
+ public struct UndDynamicColor: Sendable, Equatable, Hashable {
33
+ public let light: UndRGBA
34
+ public let dark: UndRGBA
35
+ public let lightMore: UndRGBA
36
+ public let darkMore: UndRGBA
37
+
38
+ public init(light: UndRGBA, dark: UndRGBA, lightMore: UndRGBA, darkMore: UndRGBA) {
39
+ self.light = light
40
+ self.dark = dark
41
+ self.lightMore = lightMore
42
+ self.darkMore = darkMore
43
+ }
44
+
45
+ public func resolve(dark isDark: Bool, increasedContrast: Bool) -> UndRGBA {
46
+ switch (isDark, increasedContrast) {
47
+ case (false, false): return light
48
+ case (true, false): return dark
49
+ case (false, true): return lightMore
50
+ case (true, true): return darkMore
51
+ }
52
+ }
53
+ }
54
+
55
+ public enum UndThemeName: String, CaseIterable, Sendable {
56
+ case ujala
57
+ case kesar
58
+ case neem
59
+ case mitti
60
+ case raat
61
+ case sutra
62
+ }
63
+
64
+ public enum UndCharacter: String, Sendable { case crisp, standard, expressive }
65
+ public enum UndDensity: String, Sendable { case comfortable, compact, touch }
66
+ public enum UndGlass: String, Sendable { case chrome, on, off }
67
+
68
+ /// Semantic colour roles (names generated from token paths, for example bg.surface -> bgSurface).
69
+ public struct UndColorRoles: Sendable, Equatable {
70
+ public let accentBg: UndDynamicColor
71
+ public let accentBgActive: UndDynamicColor
72
+ public let accentBgHover: UndDynamicColor
73
+ public let accentBorder: UndDynamicColor
74
+ public let accentFg: UndDynamicColor
75
+ public let accentFgStrong: UndDynamicColor
76
+ public let accentSolid: UndDynamicColor
77
+ public let accentSolidHover: UndDynamicColor
78
+ public let bgCanvas: UndDynamicColor
79
+ public let bgInverse: UndDynamicColor
80
+ public let bgMuted: UndDynamicColor
81
+ public let bgMutedActive: UndDynamicColor
82
+ public let bgMutedHover: UndDynamicColor
83
+ public let bgOverlay: UndDynamicColor
84
+ public let bgRaised: UndDynamicColor
85
+ public let bgSubtle: UndDynamicColor
86
+ public let bgSurface: UndDynamicColor
87
+ public let borderControl: UndDynamicColor
88
+ public let borderControlHover: UndDynamicColor
89
+ public let borderDefault: UndDynamicColor
90
+ public let borderStrong: UndDynamicColor
91
+ public let borderSubtle: UndDynamicColor
92
+ public let dataviz1: UndDynamicColor
93
+ public let dataviz2: UndDynamicColor
94
+ public let dataviz3: UndDynamicColor
95
+ public let dataviz4: UndDynamicColor
96
+ public let dataviz5: UndDynamicColor
97
+ public let dataviz6: UndDynamicColor
98
+ public let dataviz7: UndDynamicColor
99
+ public let dataviz8: UndDynamicColor
100
+ public let datavizAxis: UndDynamicColor
101
+ public let datavizGridline: UndDynamicColor
102
+ public let fgDefault: UndDynamicColor
103
+ public let fgDisabled: UndDynamicColor
104
+ public let fgInverse: UndDynamicColor
105
+ public let fgMuted: UndDynamicColor
106
+ public let fgOnAccent: UndDynamicColor
107
+ public let fgSubtle: UndDynamicColor
108
+ public let focusRing: UndDynamicColor
109
+ public let linkDefault: UndDynamicColor
110
+ public let linkVisited: UndDynamicColor
111
+ public let materialChromeBg: UndDynamicColor
112
+ public let materialChromeBorder: UndDynamicColor
113
+ public let materialChromeHighlight: UndDynamicColor
114
+ public let materialRegularBg: UndDynamicColor
115
+ public let materialRegularBorder: UndDynamicColor
116
+ public let materialThickBg: UndDynamicColor
117
+ public let materialThickBorder: UndDynamicColor
118
+ public let materialThinBg: UndDynamicColor
119
+ public let materialThinBorder: UndDynamicColor
120
+ public let selectionBg: UndDynamicColor
121
+ public let statusDangerBg: UndDynamicColor
122
+ public let statusDangerBgHover: UndDynamicColor
123
+ public let statusDangerBorder: UndDynamicColor
124
+ public let statusDangerFg: UndDynamicColor
125
+ public let statusDangerFgStrong: UndDynamicColor
126
+ public let statusDangerOnSolid: UndDynamicColor
127
+ public let statusDangerSolid: UndDynamicColor
128
+ public let statusDangerSolidHover: UndDynamicColor
129
+ public let statusInfoBg: UndDynamicColor
130
+ public let statusInfoBgHover: UndDynamicColor
131
+ public let statusInfoBorder: UndDynamicColor
132
+ public let statusInfoFg: UndDynamicColor
133
+ public let statusInfoFgStrong: UndDynamicColor
134
+ public let statusInfoOnSolid: UndDynamicColor
135
+ public let statusInfoSolid: UndDynamicColor
136
+ public let statusInfoSolidHover: UndDynamicColor
137
+ public let statusSuccessBg: UndDynamicColor
138
+ public let statusSuccessBgHover: UndDynamicColor
139
+ public let statusSuccessBorder: UndDynamicColor
140
+ public let statusSuccessFg: UndDynamicColor
141
+ public let statusSuccessFgStrong: UndDynamicColor
142
+ public let statusSuccessOnSolid: UndDynamicColor
143
+ public let statusSuccessSolid: UndDynamicColor
144
+ public let statusSuccessSolidHover: UndDynamicColor
145
+ public let statusWarningBg: UndDynamicColor
146
+ public let statusWarningBgHover: UndDynamicColor
147
+ public let statusWarningBorder: UndDynamicColor
148
+ public let statusWarningFg: UndDynamicColor
149
+ public let statusWarningFgStrong: UndDynamicColor
150
+ public let statusWarningOnSolid: UndDynamicColor
151
+ public let statusWarningSolid: UndDynamicColor
152
+ public let statusWarningSolidHover: UndDynamicColor
153
+ }
154
+
155
+ extension UndColorRoles {
156
+ public static let ujala = UndColorRoles(
157
+ accentBg: UndDynamicColor(
158
+ light: UndRGBA(0.9373, 0.949, 0.9961, 1),
159
+ dark: UndRGBA(0.0902, 0.1059, 0.2314, 1),
160
+ lightMore: UndRGBA(0.9373, 0.949, 0.9961, 1),
161
+ darkMore: UndRGBA(0.0902, 0.1059, 0.2314, 1)
162
+ ),
163
+ accentBgActive: UndDynamicColor(
164
+ light: UndRGBA(0.8549, 0.8824, 0.9882, 1),
165
+ dark: UndRGBA(0.1333, 0.149, 0.3608, 1),
166
+ lightMore: UndRGBA(0.8549, 0.8824, 0.9882, 1),
167
+ darkMore: UndRGBA(0.1333, 0.149, 0.3608, 1)
168
+ ),
169
+ accentBgHover: UndDynamicColor(
170
+ light: UndRGBA(0.898, 0.9176, 0.9882, 1),
171
+ dark: UndRGBA(0.1098, 0.1255, 0.298, 1),
172
+ lightMore: UndRGBA(0.898, 0.9176, 0.9882, 1),
173
+ darkMore: UndRGBA(0.1098, 0.1255, 0.298, 1)
174
+ ),
175
+ accentBorder: UndDynamicColor(
176
+ light: UndRGBA(0.7373, 0.7804, 0.9765, 1),
177
+ dark: UndRGBA(0.2078, 0.2275, 0.5373, 1),
178
+ lightMore: UndRGBA(0.7373, 0.7804, 0.9765, 1),
179
+ darkMore: UndRGBA(0.2078, 0.2275, 0.5373, 1)
180
+ ),
181
+ accentFg: UndDynamicColor(
182
+ light: UndRGBA(0.2941, 0.302, 0.8353, 1),
183
+ dark: UndRGBA(0.6758, 0.7192, 0.999, 1, space: .displayP3),
184
+ lightMore: UndRGBA(0.102, 0.102, 0.3451, 1),
185
+ darkMore: UndRGBA(0.9096, 0.9241, 0.9977, 1, space: .displayP3)
186
+ ),
187
+ accentFgStrong: UndDynamicColor(
188
+ light: UndRGBA(0.102, 0.102, 0.3451, 1),
189
+ dark: UndRGBA(0.9096, 0.9241, 0.9977, 1, space: .displayP3),
190
+ lightMore: UndRGBA(0.102, 0.102, 0.3451, 1),
191
+ darkMore: UndRGBA(0.9096, 0.9241, 0.9977, 1, space: .displayP3)
192
+ ),
193
+ accentSolid: UndDynamicColor(
194
+ light: UndRGBA(0.3137, 0.2941, 0.949, 1),
195
+ dark: UndRGBA(0.3137, 0.2941, 0.949, 1),
196
+ lightMore: UndRGBA(0.3137, 0.2941, 0.949, 1),
197
+ darkMore: UndRGBA(0.3137, 0.2941, 0.949, 1)
198
+ ),
199
+ accentSolidHover: UndDynamicColor(
200
+ light: UndRGBA(0.2784, 0.2392, 0.8941, 1),
201
+ dark: UndRGBA(0.3554, 0.3579, 0.976, 1, space: .displayP3),
202
+ lightMore: UndRGBA(0.2784, 0.2392, 0.8941, 1),
203
+ darkMore: UndRGBA(0.3554, 0.3579, 0.976, 1, space: .displayP3)
204
+ ),
205
+ bgCanvas: UndDynamicColor(
206
+ light: UndRGBA(0.9882, 0.9922, 0.9961, 1),
207
+ dark: UndRGBA(0.0549, 0.0549, 0.0588, 1),
208
+ lightMore: UndRGBA(0.9882, 0.9922, 0.9961, 1),
209
+ darkMore: UndRGBA(0.0549, 0.0549, 0.0588, 1)
210
+ ),
211
+ bgInverse: UndDynamicColor(
212
+ light: UndRGBA(0.1373, 0.1451, 0.1725, 1),
213
+ dark: UndRGBA(0.9176, 0.9255, 0.9686, 1),
214
+ lightMore: UndRGBA(0.1373, 0.1451, 0.1725, 1),
215
+ darkMore: UndRGBA(0.9176, 0.9255, 0.9686, 1)
216
+ ),
217
+ bgMuted: UndDynamicColor(
218
+ light: UndRGBA(0.9451, 0.949, 0.9647, 1),
219
+ dark: UndRGBA(0.1176, 0.1216, 0.1294, 1),
220
+ lightMore: UndRGBA(0.9451, 0.949, 0.9647, 1),
221
+ darkMore: UndRGBA(0.1176, 0.1216, 0.1294, 1)
222
+ ),
223
+ bgMutedActive: UndDynamicColor(
224
+ light: UndRGBA(0.8784, 0.8863, 0.9059, 1),
225
+ dark: UndRGBA(0.1725, 0.1765, 0.1922, 1),
226
+ lightMore: UndRGBA(0.8784, 0.8863, 0.9059, 1),
227
+ darkMore: UndRGBA(0.1725, 0.1765, 0.1922, 1)
228
+ ),
229
+ bgMutedHover: UndDynamicColor(
230
+ light: UndRGBA(0.9137, 0.9176, 0.9373, 1),
231
+ dark: UndRGBA(0.1451, 0.149, 0.1608, 1),
232
+ lightMore: UndRGBA(0.9137, 0.9176, 0.9373, 1),
233
+ darkMore: UndRGBA(0.1451, 0.149, 0.1608, 1)
234
+ ),
235
+ bgOverlay: UndDynamicColor(
236
+ light: UndRGBA(0.0431, 0.051, 0.0863, 0.45),
237
+ dark: UndRGBA(0, 0, 0, 0.6),
238
+ lightMore: UndRGBA(0.0431, 0.051, 0.0863, 0.45),
239
+ darkMore: UndRGBA(0, 0, 0, 0.6)
240
+ ),
241
+ bgRaised: UndDynamicColor(
242
+ light: UndRGBA(1, 1, 1, 1),
243
+ dark: UndRGBA(0.1176, 0.1216, 0.1294, 1),
244
+ lightMore: UndRGBA(1, 1, 1, 1),
245
+ darkMore: UndRGBA(0.1176, 0.1216, 0.1294, 1)
246
+ ),
247
+ bgSubtle: UndDynamicColor(
248
+ light: UndRGBA(0.9765, 0.9765, 0.9843, 1),
249
+ dark: UndRGBA(0.0824, 0.0824, 0.0902, 1),
250
+ lightMore: UndRGBA(0.9765, 0.9765, 0.9843, 1),
251
+ darkMore: UndRGBA(0.0824, 0.0824, 0.0902, 1)
252
+ ),
253
+ bgSurface: UndDynamicColor(
254
+ light: UndRGBA(1, 1, 1, 1),
255
+ dark: UndRGBA(0.0824, 0.0824, 0.0902, 1),
256
+ lightMore: UndRGBA(1, 1, 1, 1),
257
+ darkMore: UndRGBA(0.0824, 0.0824, 0.0902, 1)
258
+ ),
259
+ borderControl: UndDynamicColor(
260
+ light: UndRGBA(0.5373, 0.549, 0.5882, 1),
261
+ dark: UndRGBA(0.4, 0.4118, 0.451, 1),
262
+ lightMore: UndRGBA(0.3843, 0.3922, 0.4314, 1),
263
+ darkMore: UndRGBA(0.7294, 0.7412, 0.7843, 1)
264
+ ),
265
+ borderControlHover: UndDynamicColor(
266
+ light: UndRGBA(0.4902, 0.502, 0.5412, 1),
267
+ dark: UndRGBA(0.451, 0.4627, 0.502, 1),
268
+ lightMore: UndRGBA(0.1373, 0.1451, 0.1725, 1),
269
+ darkMore: UndRGBA(0.9176, 0.9255, 0.9686, 1)
270
+ ),
271
+ borderDefault: UndDynamicColor(
272
+ light: UndRGBA(0.7843, 0.7882, 0.8196, 1),
273
+ dark: UndRGBA(0.2667, 0.2706, 0.2941, 1),
274
+ lightMore: UndRGBA(0.5373, 0.549, 0.5882, 1),
275
+ darkMore: UndRGBA(0.4, 0.4118, 0.451, 1)
276
+ ),
277
+ borderStrong: UndDynamicColor(
278
+ light: UndRGBA(0.698, 0.7059, 0.7412, 1),
279
+ dark: UndRGBA(0.3451, 0.3529, 0.3843, 1),
280
+ lightMore: UndRGBA(0.698, 0.7059, 0.7412, 1),
281
+ darkMore: UndRGBA(0.3451, 0.3529, 0.3843, 1)
282
+ ),
283
+ borderSubtle: UndDynamicColor(
284
+ light: UndRGBA(0.8392, 0.8471, 0.8667, 1),
285
+ dark: UndRGBA(0.2118, 0.2157, 0.2314, 1),
286
+ lightMore: UndRGBA(0.698, 0.7059, 0.7412, 1),
287
+ darkMore: UndRGBA(0.3451, 0.3529, 0.3843, 1)
288
+ ),
289
+ dataviz1: UndDynamicColor(
290
+ light: UndRGBA(0.3137, 0.2941, 0.949, 1),
291
+ dark: UndRGBA(0.3137, 0.2941, 0.949, 1),
292
+ lightMore: UndRGBA(0.3137, 0.2941, 0.949, 1),
293
+ darkMore: UndRGBA(0.3137, 0.2941, 0.949, 1)
294
+ ),
295
+ dataviz2: UndDynamicColor(
296
+ light: UndRGBA(0.9211, 0.515, 0.1346, 1, space: .displayP3),
297
+ dark: UndRGBA(0.9211, 0.515, 0.1346, 1, space: .displayP3),
298
+ lightMore: UndRGBA(0.9211, 0.515, 0.1346, 1, space: .displayP3),
299
+ darkMore: UndRGBA(0.9211, 0.515, 0.1346, 1, space: .displayP3)
300
+ ),
301
+ dataviz3: UndDynamicColor(
302
+ light: UndRGBA(0.0077, 0.4931, 0.5021, 1, space: .displayP3),
303
+ dark: UndRGBA(0.0077, 0.4931, 0.5021, 1, space: .displayP3),
304
+ lightMore: UndRGBA(0.0077, 0.4931, 0.5021, 1, space: .displayP3),
305
+ darkMore: UndRGBA(0.0077, 0.4931, 0.5021, 1, space: .displayP3)
306
+ ),
307
+ dataviz4: UndDynamicColor(
308
+ light: UndRGBA(0.7922, 0.2078, 0.5451, 1),
309
+ dark: UndRGBA(0.7922, 0.2078, 0.5451, 1),
310
+ lightMore: UndRGBA(0.7922, 0.2078, 0.5451, 1),
311
+ darkMore: UndRGBA(0.7922, 0.2078, 0.5451, 1)
312
+ ),
313
+ dataviz5: UndDynamicColor(
314
+ light: UndRGBA(0.1691, 0.5098, 0.2544, 1, space: .displayP3),
315
+ dark: UndRGBA(0.1691, 0.5098, 0.2544, 1, space: .displayP3),
316
+ lightMore: UndRGBA(0.1691, 0.5098, 0.2544, 1, space: .displayP3),
317
+ darkMore: UndRGBA(0.1691, 0.5098, 0.2544, 1, space: .displayP3)
318
+ ),
319
+ dataviz6: UndDynamicColor(
320
+ light: UndRGBA(0.1194, 0.4327, 0.8303, 1, space: .displayP3),
321
+ dark: UndRGBA(0.1194, 0.4327, 0.8303, 1, space: .displayP3),
322
+ lightMore: UndRGBA(0.1194, 0.4327, 0.8303, 1, space: .displayP3),
323
+ darkMore: UndRGBA(0.1194, 0.4327, 0.8303, 1, space: .displayP3)
324
+ ),
325
+ dataviz7: UndDynamicColor(
326
+ light: UndRGBA(0.7333, 0.302, 0.1647, 1),
327
+ dark: UndRGBA(0.7333, 0.302, 0.1647, 1),
328
+ lightMore: UndRGBA(0.7333, 0.302, 0.1647, 1),
329
+ darkMore: UndRGBA(0.7333, 0.302, 0.1647, 1)
330
+ ),
331
+ dataviz8: UndDynamicColor(
332
+ light: UndRGBA(0.9367, 0.7103, 0.2322, 1, space: .displayP3),
333
+ dark: UndRGBA(0.9367, 0.7103, 0.2322, 1, space: .displayP3),
334
+ lightMore: UndRGBA(0.9367, 0.7103, 0.2322, 1, space: .displayP3),
335
+ darkMore: UndRGBA(0.9367, 0.7103, 0.2322, 1, space: .displayP3)
336
+ ),
337
+ datavizAxis: UndDynamicColor(
338
+ light: UndRGBA(0, 0.0196, 0.1647, 0.216),
339
+ dark: UndRGBA(0.9059, 0.9176, 0.9961, 0.295),
340
+ lightMore: UndRGBA(0, 0.0196, 0.1647, 0.216),
341
+ darkMore: UndRGBA(0.9059, 0.9176, 0.9961, 0.295)
342
+ ),
343
+ datavizGridline: UndDynamicColor(
344
+ light: UndRGBA(0.0078, 0.0549, 0.2784, 0.087),
345
+ dark: UndRGBA(0.902, 0.9255, 1, 0.161),
346
+ lightMore: UndRGBA(0.0078, 0.0549, 0.2784, 0.087),
347
+ darkMore: UndRGBA(0.902, 0.9255, 1, 0.161)
348
+ ),
349
+ fgDefault: UndDynamicColor(
350
+ light: UndRGBA(0.1373, 0.1451, 0.1725, 1),
351
+ dark: UndRGBA(0.9176, 0.9255, 0.9686, 1),
352
+ lightMore: UndRGBA(0.1373, 0.1451, 0.1725, 1),
353
+ darkMore: UndRGBA(0.9176, 0.9255, 0.9686, 1)
354
+ ),
355
+ fgDisabled: UndDynamicColor(
356
+ light: UndRGBA(0.698, 0.7059, 0.7412, 1),
357
+ dark: UndRGBA(0.3451, 0.3529, 0.3843, 1),
358
+ lightMore: UndRGBA(0.698, 0.7059, 0.7412, 1),
359
+ darkMore: UndRGBA(0.3451, 0.3529, 0.3843, 1)
360
+ ),
361
+ fgInverse: UndDynamicColor(
362
+ light: UndRGBA(0.9882, 0.9922, 0.9961, 1),
363
+ dark: UndRGBA(0.0549, 0.0549, 0.0588, 1),
364
+ lightMore: UndRGBA(0.9882, 0.9922, 0.9961, 1),
365
+ darkMore: UndRGBA(0.0549, 0.0549, 0.0588, 1)
366
+ ),
367
+ fgMuted: UndDynamicColor(
368
+ light: UndRGBA(0.3843, 0.3922, 0.4314, 1),
369
+ dark: UndRGBA(0.7294, 0.7412, 0.7843, 1),
370
+ lightMore: UndRGBA(0.1373, 0.1451, 0.1725, 1),
371
+ darkMore: UndRGBA(0.9176, 0.9255, 0.9686, 1)
372
+ ),
373
+ fgOnAccent: UndDynamicColor(
374
+ light: UndRGBA(1, 1, 1, 1),
375
+ dark: UndRGBA(1, 1, 1, 1),
376
+ lightMore: UndRGBA(1, 1, 1, 1),
377
+ darkMore: UndRGBA(1, 1, 1, 1)
378
+ ),
379
+ fgSubtle: UndDynamicColor(
380
+ light: UndRGBA(0.4902, 0.502, 0.5412, 1),
381
+ dark: UndRGBA(0.451, 0.4627, 0.502, 1),
382
+ lightMore: UndRGBA(0.3843, 0.3922, 0.4314, 1),
383
+ darkMore: UndRGBA(0.7294, 0.7412, 0.7843, 1)
384
+ ),
385
+ focusRing: UndDynamicColor(
386
+ light: UndRGBA(0.2941, 0.302, 0.8353, 1),
387
+ dark: UndRGBA(0.6758, 0.7192, 0.999, 1, space: .displayP3),
388
+ lightMore: UndRGBA(0.2941, 0.302, 0.8353, 1),
389
+ darkMore: UndRGBA(0.6758, 0.7192, 0.999, 1, space: .displayP3)
390
+ ),
391
+ linkDefault: UndDynamicColor(
392
+ light: UndRGBA(0.2941, 0.302, 0.8353, 1),
393
+ dark: UndRGBA(0.6758, 0.7192, 0.999, 1, space: .displayP3),
394
+ lightMore: UndRGBA(0.102, 0.102, 0.3451, 1),
395
+ darkMore: UndRGBA(0.9096, 0.9241, 0.9977, 1, space: .displayP3)
396
+ ),
397
+ linkVisited: UndDynamicColor(
398
+ light: UndRGBA(0.651, 0.1765, 0.4471, 1),
399
+ dark: UndRGBA(0.9621, 0.5989, 0.7883, 1, space: .displayP3),
400
+ lightMore: UndRGBA(0.651, 0.1765, 0.4471, 1),
401
+ darkMore: UndRGBA(0.9621, 0.5989, 0.7883, 1, space: .displayP3)
402
+ ),
403
+ materialChromeBg: UndDynamicColor(
404
+ light: UndRGBA(0.9843, 0.9882, 0.9961, 0.72),
405
+ dark: UndRGBA(0.098, 0.102, 0.1216, 0.68),
406
+ lightMore: UndRGBA(1, 1, 1, 1),
407
+ darkMore: UndRGBA(0.0824, 0.0824, 0.0902, 1)
408
+ ),
409
+ materialChromeBorder: UndDynamicColor(
410
+ light: UndRGBA(0.0039, 0.0667, 0.2275, 0.122),
411
+ dark: UndRGBA(0.8941, 0.9137, 0.9961, 0.193),
412
+ lightMore: UndRGBA(0.698, 0.7059, 0.7412, 1),
413
+ darkMore: UndRGBA(0.3451, 0.3529, 0.3843, 1)
414
+ ),
415
+ materialChromeHighlight: UndDynamicColor(
416
+ light: UndRGBA(1, 1, 1, 0.5),
417
+ dark: UndRGBA(1, 1, 1, 0.12),
418
+ lightMore: UndRGBA(0, 0, 0, 0),
419
+ darkMore: UndRGBA(0, 0, 0, 0)
420
+ ),
421
+ materialRegularBg: UndDynamicColor(
422
+ light: UndRGBA(0.9843, 0.9882, 0.9961, 0.72),
423
+ dark: UndRGBA(0.098, 0.102, 0.1216, 0.68),
424
+ lightMore: UndRGBA(1, 1, 1, 1),
425
+ darkMore: UndRGBA(0.0824, 0.0824, 0.0902, 1)
426
+ ),
427
+ materialRegularBorder: UndDynamicColor(
428
+ light: UndRGBA(0.0039, 0.0667, 0.2275, 0.122),
429
+ dark: UndRGBA(0.8941, 0.9137, 0.9961, 0.193),
430
+ lightMore: UndRGBA(0.698, 0.7059, 0.7412, 1),
431
+ darkMore: UndRGBA(0.3451, 0.3529, 0.3843, 1)
432
+ ),
433
+ materialThickBg: UndDynamicColor(
434
+ light: UndRGBA(0.9843, 0.9882, 0.9961, 0.84),
435
+ dark: UndRGBA(0.0824, 0.0863, 0.1059, 0.8),
436
+ lightMore: UndRGBA(1, 1, 1, 1),
437
+ darkMore: UndRGBA(0.0824, 0.0824, 0.0902, 1)
438
+ ),
439
+ materialThickBorder: UndDynamicColor(
440
+ light: UndRGBA(0, 0.051, 0.1725, 0.161),
441
+ dark: UndRGBA(0.9137, 0.9294, 0.9961, 0.232),
442
+ lightMore: UndRGBA(0.698, 0.7059, 0.7412, 1),
443
+ darkMore: UndRGBA(0.3451, 0.3529, 0.3843, 1)
444
+ ),
445
+ materialThinBg: UndDynamicColor(
446
+ light: UndRGBA(0.9843, 0.9882, 0.9961, 0.62),
447
+ dark: UndRGBA(0.098, 0.102, 0.1216, 0.65),
448
+ lightMore: UndRGBA(1, 1, 1, 1),
449
+ darkMore: UndRGBA(0.0824, 0.0824, 0.0902, 1)
450
+ ),
451
+ materialThinBorder: UndDynamicColor(
452
+ light: UndRGBA(0.0078, 0.0549, 0.2784, 0.087),
453
+ dark: UndRGBA(0.902, 0.9255, 1, 0.161),
454
+ lightMore: UndRGBA(0.698, 0.7059, 0.7412, 1),
455
+ darkMore: UndRGBA(0.3451, 0.3529, 0.3843, 1)
456
+ ),
457
+ selectionBg: UndDynamicColor(
458
+ light: UndRGBA(0.0078, 0.1961, 0.9176, 0.146),
459
+ dark: UndRGBA(0.3725, 0.4157, 1, 0.432),
460
+ lightMore: UndRGBA(0.0078, 0.1961, 0.9176, 0.146),
461
+ darkMore: UndRGBA(0.3725, 0.4157, 1, 0.432)
462
+ ),
463
+ statusDangerBg: UndDynamicColor(
464
+ light: UndRGBA(0.9922, 0.9373, 0.9294, 1),
465
+ dark: UndRGBA(0.2078, 0.0745, 0.0667, 1),
466
+ lightMore: UndRGBA(0.9922, 0.9373, 0.9294, 1),
467
+ darkMore: UndRGBA(0.2078, 0.0745, 0.0667, 1)
468
+ ),
469
+ statusDangerBgHover: UndDynamicColor(
470
+ light: UndRGBA(0.9804, 0.898, 0.8863, 1),
471
+ dark: UndRGBA(0.2627, 0.0784, 0.0745, 1),
472
+ lightMore: UndRGBA(0.9804, 0.898, 0.8863, 1),
473
+ darkMore: UndRGBA(0.2627, 0.0784, 0.0745, 1)
474
+ ),
475
+ statusDangerBorder: UndDynamicColor(
476
+ light: UndRGBA(0.949, 0.7294, 0.7059, 1),
477
+ dark: UndRGBA(0.4745, 0.1373, 0.1373, 1),
478
+ lightMore: UndRGBA(0.949, 0.7294, 0.7059, 1),
479
+ darkMore: UndRGBA(0.4745, 0.1373, 0.1373, 1)
480
+ ),
481
+ statusDangerFg: UndDynamicColor(
482
+ light: UndRGBA(0.7216, 0.1176, 0.1529, 1),
483
+ dark: UndRGBA(0.9998, 0.6102, 0.5696, 1, space: .displayP3),
484
+ lightMore: UndRGBA(0.7216, 0.1176, 0.1529, 1),
485
+ darkMore: UndRGBA(0.9998, 0.6102, 0.5696, 1, space: .displayP3)
486
+ ),
487
+ statusDangerFgStrong: UndDynamicColor(
488
+ light: UndRGBA(0.2941, 0.0235, 0.0353, 1),
489
+ dark: UndRGBA(0.9985, 0.9003, 0.8863, 1, space: .displayP3),
490
+ lightMore: UndRGBA(0.2941, 0.0235, 0.0353, 1),
491
+ darkMore: UndRGBA(0.9985, 0.9003, 0.8863, 1, space: .displayP3)
492
+ ),
493
+ statusDangerOnSolid: UndDynamicColor(
494
+ light: UndRGBA(1, 1, 1, 1),
495
+ dark: UndRGBA(1, 1, 1, 1),
496
+ lightMore: UndRGBA(1, 1, 1, 1),
497
+ darkMore: UndRGBA(1, 1, 1, 1)
498
+ ),
499
+ statusDangerSolid: UndDynamicColor(
500
+ light: UndRGBA(0.8667, 0.1137, 0.1725, 1),
501
+ dark: UndRGBA(0.8667, 0.1137, 0.1725, 1),
502
+ lightMore: UndRGBA(0.8667, 0.1137, 0.1725, 1),
503
+ darkMore: UndRGBA(0.8667, 0.1137, 0.1725, 1)
504
+ ),
505
+ statusDangerSolidHover: UndDynamicColor(
506
+ light: UndRGBA(0.7416, 0.1432, 0.1633, 1, space: .displayP3),
507
+ dark: UndRGBA(0.7348, 0.1339, 0.1573, 1, space: .displayP3),
508
+ lightMore: UndRGBA(0.7416, 0.1432, 0.1633, 1, space: .displayP3),
509
+ darkMore: UndRGBA(0.7348, 0.1339, 0.1573, 1, space: .displayP3)
510
+ ),
511
+ statusInfoBg: UndDynamicColor(
512
+ light: UndRGBA(0.9255, 0.9529, 0.9843, 1),
513
+ dark: UndRGBA(0.0471, 0.1255, 0.2078, 1),
514
+ lightMore: UndRGBA(0.9255, 0.9529, 0.9843, 1),
515
+ darkMore: UndRGBA(0.0471, 0.1255, 0.2078, 1)
516
+ ),
517
+ statusInfoBgHover: UndDynamicColor(
518
+ light: UndRGBA(0.8824, 0.9255, 0.9765, 1),
519
+ dark: UndRGBA(0.0431, 0.1529, 0.2627, 1),
520
+ lightMore: UndRGBA(0.8824, 0.9255, 0.9765, 1),
521
+ darkMore: UndRGBA(0.0431, 0.1529, 0.2627, 1)
522
+ ),
523
+ statusInfoBorder: UndDynamicColor(
524
+ light: UndRGBA(0.6902, 0.8039, 0.9373, 1),
525
+ dark: UndRGBA(0.0706, 0.2784, 0.4784, 1),
526
+ lightMore: UndRGBA(0.6902, 0.8039, 0.9373, 1),
527
+ darkMore: UndRGBA(0.0706, 0.2784, 0.4784, 1)
528
+ ),
529
+ statusInfoFg: UndDynamicColor(
530
+ light: UndRGBA(0.1385, 0.3875, 0.7163, 1, space: .displayP3),
531
+ dark: UndRGBA(0.5796, 0.7556, 1, 1, space: .displayP3),
532
+ lightMore: UndRGBA(0.1385, 0.3875, 0.7163, 1, space: .displayP3),
533
+ darkMore: UndRGBA(0.5796, 0.7556, 1, 1, space: .displayP3)
534
+ ),
535
+ statusInfoFgStrong: UndDynamicColor(
536
+ light: UndRGBA(0.0299, 0.1424, 0.2911, 1, space: .displayP3),
537
+ dark: UndRGBA(0.8869, 0.934, 0.9984, 1, space: .displayP3),
538
+ lightMore: UndRGBA(0.0299, 0.1424, 0.2911, 1, space: .displayP3),
539
+ darkMore: UndRGBA(0.8869, 0.934, 0.9984, 1, space: .displayP3)
540
+ ),
541
+ statusInfoOnSolid: UndDynamicColor(
542
+ light: UndRGBA(1, 1, 1, 1),
543
+ dark: UndRGBA(1, 1, 1, 1),
544
+ lightMore: UndRGBA(1, 1, 1, 1),
545
+ darkMore: UndRGBA(1, 1, 1, 1)
546
+ ),
547
+ statusInfoSolid: UndDynamicColor(
548
+ light: UndRGBA(0.1194, 0.4327, 0.8303, 1, space: .displayP3),
549
+ dark: UndRGBA(0.1194, 0.4327, 0.8303, 1, space: .displayP3),
550
+ lightMore: UndRGBA(0.1194, 0.4327, 0.8303, 1, space: .displayP3),
551
+ darkMore: UndRGBA(0.1194, 0.4327, 0.8303, 1, space: .displayP3)
552
+ ),
553
+ statusInfoSolidHover: UndDynamicColor(
554
+ light: UndRGBA(0.0421, 0.3834, 0.7776, 1, space: .displayP3),
555
+ dark: UndRGBA(0.0287, 0.3773, 0.7711, 1, space: .displayP3),
556
+ lightMore: UndRGBA(0.0421, 0.3834, 0.7776, 1, space: .displayP3),
557
+ darkMore: UndRGBA(0.0287, 0.3773, 0.7711, 1, space: .displayP3)
558
+ ),
559
+ statusSuccessBg: UndDynamicColor(
560
+ light: UndRGBA(0.9294, 0.9608, 0.9373, 1),
561
+ dark: UndRGBA(0.0588, 0.1412, 0.0824, 1),
562
+ lightMore: UndRGBA(0.9294, 0.9608, 0.9373, 1),
563
+ darkMore: UndRGBA(0.0588, 0.1412, 0.0824, 1)
564
+ ),
565
+ statusSuccessBgHover: UndDynamicColor(
566
+ light: UndRGBA(0.8863, 0.9333, 0.898, 1),
567
+ dark: UndRGBA(0.0549, 0.1765, 0.098, 1),
568
+ lightMore: UndRGBA(0.8863, 0.9333, 0.898, 1),
569
+ darkMore: UndRGBA(0.0549, 0.1765, 0.098, 1)
570
+ ),
571
+ statusSuccessBorder: UndDynamicColor(
572
+ light: UndRGBA(0.7059, 0.8275, 0.7333, 1),
573
+ dark: UndRGBA(0.098, 0.3216, 0.1765, 1),
574
+ lightMore: UndRGBA(0.7059, 0.8275, 0.7333, 1),
575
+ darkMore: UndRGBA(0.098, 0.3216, 0.1765, 1)
576
+ ),
577
+ statusSuccessFg: UndDynamicColor(
578
+ light: UndRGBA(0.1962, 0.4692, 0.2558, 1, space: .displayP3),
579
+ dark: UndRGBA(0.498, 0.8314, 0.5922, 1),
580
+ lightMore: UndRGBA(0.1962, 0.4692, 0.2558, 1, space: .displayP3),
581
+ darkMore: UndRGBA(0.498, 0.8314, 0.5922, 1)
582
+ ),
583
+ statusSuccessFgStrong: UndDynamicColor(
584
+ light: UndRGBA(0.056, 0.1794, 0.0832, 1, space: .displayP3),
585
+ dark: UndRGBA(0.8549, 0.9608, 0.8784, 1),
586
+ lightMore: UndRGBA(0.056, 0.1794, 0.0832, 1, space: .displayP3),
587
+ darkMore: UndRGBA(0.8549, 0.9608, 0.8784, 1)
588
+ ),
589
+ statusSuccessOnSolid: UndDynamicColor(
590
+ light: UndRGBA(1, 1, 1, 1),
591
+ dark: UndRGBA(1, 1, 1, 1),
592
+ lightMore: UndRGBA(1, 1, 1, 1),
593
+ darkMore: UndRGBA(1, 1, 1, 1)
594
+ ),
595
+ statusSuccessSolid: UndDynamicColor(
596
+ light: UndRGBA(0.1691, 0.5098, 0.2544, 1, space: .displayP3),
597
+ dark: UndRGBA(0.1691, 0.5098, 0.2544, 1, space: .displayP3),
598
+ lightMore: UndRGBA(0.1691, 0.5098, 0.2544, 1, space: .displayP3),
599
+ darkMore: UndRGBA(0.1691, 0.5098, 0.2544, 1, space: .displayP3)
600
+ ),
601
+ statusSuccessSolidHover: UndDynamicColor(
602
+ light: UndRGBA(0.1105, 0.4623, 0.2105, 1, space: .displayP3),
603
+ dark: UndRGBA(0.1024, 0.4564, 0.205, 1, space: .displayP3),
604
+ lightMore: UndRGBA(0.1105, 0.4623, 0.2105, 1, space: .displayP3),
605
+ darkMore: UndRGBA(0.1024, 0.4564, 0.205, 1, space: .displayP3)
606
+ ),
607
+ statusWarningBg: UndDynamicColor(
608
+ light: UndRGBA(0.9686, 0.949, 0.9176, 1),
609
+ dark: UndRGBA(0.1608, 0.1098, 0.0157, 1),
610
+ lightMore: UndRGBA(0.9686, 0.949, 0.9176, 1),
611
+ darkMore: UndRGBA(0.1608, 0.1098, 0.0157, 1)
612
+ ),
613
+ statusWarningBgHover: UndDynamicColor(
614
+ light: UndRGBA(0.9451, 0.9137, 0.8667, 1),
615
+ dark: UndRGBA(0.1937, 0.1371, 0.0213, 1, space: .displayP3),
616
+ lightMore: UndRGBA(0.9451, 0.9137, 0.8667, 1),
617
+ darkMore: UndRGBA(0.1937, 0.1371, 0.0213, 1, space: .displayP3)
618
+ ),
619
+ statusWarningBorder: UndDynamicColor(
620
+ light: UndRGBA(0.8627, 0.7804, 0.6471, 1),
621
+ dark: UndRGBA(0.3535, 0.2503, 0.008, 1, space: .displayP3),
622
+ lightMore: UndRGBA(0.8627, 0.7804, 0.6471, 1),
623
+ darkMore: UndRGBA(0.3535, 0.2503, 0.008, 1, space: .displayP3)
624
+ ),
625
+ statusWarningFg: UndDynamicColor(
626
+ light: UndRGBA(0.5069, 0.3634, 0.0036, 1, space: .displayP3),
627
+ dark: UndRGBA(0.9137, 0.7059, 0.3294, 1),
628
+ lightMore: UndRGBA(0.5069, 0.3634, 0.0036, 1, space: .displayP3),
629
+ darkMore: UndRGBA(0.9137, 0.7059, 0.3294, 1)
630
+ ),
631
+ statusWarningFgStrong: UndDynamicColor(
632
+ light: UndRGBA(0.196, 0.1319, 0.0004, 1, space: .displayP3),
633
+ dark: UndRGBA(0.9882, 0.9176, 0.8039, 1),
634
+ lightMore: UndRGBA(0.196, 0.1319, 0.0004, 1, space: .displayP3),
635
+ darkMore: UndRGBA(0.9882, 0.9176, 0.8039, 1)
636
+ ),
637
+ statusWarningOnSolid: UndDynamicColor(
638
+ light: UndRGBA(0.196, 0.1319, 0.0004, 1, space: .displayP3),
639
+ dark: UndRGBA(0.196, 0.1319, 0.0004, 1, space: .displayP3),
640
+ lightMore: UndRGBA(0.196, 0.1319, 0.0004, 1, space: .displayP3),
641
+ darkMore: UndRGBA(0.196, 0.1319, 0.0004, 1, space: .displayP3)
642
+ ),
643
+ statusWarningSolid: UndDynamicColor(
644
+ light: UndRGBA(0.9367, 0.7103, 0.2322, 1, space: .displayP3),
645
+ dark: UndRGBA(0.9367, 0.7103, 0.2322, 1, space: .displayP3),
646
+ lightMore: UndRGBA(0.9367, 0.7103, 0.2322, 1, space: .displayP3),
647
+ darkMore: UndRGBA(0.9367, 0.7103, 0.2322, 1, space: .displayP3)
648
+ ),
649
+ statusWarningSolidHover: UndDynamicColor(
650
+ light: UndRGBA(0.8842, 0.6598, 0.1637, 1, space: .displayP3),
651
+ dark: UndRGBA(0.9963, 0.7678, 0.3003, 1, space: .displayP3),
652
+ lightMore: UndRGBA(0.8842, 0.6598, 0.1637, 1, space: .displayP3),
653
+ darkMore: UndRGBA(0.9963, 0.7678, 0.3003, 1, space: .displayP3)
654
+ )
655
+ )
656
+ public static let kesar = UndColorRoles(
657
+ accentBg: UndDynamicColor(
658
+ light: UndRGBA(0.9804, 0.9412, 0.9176, 1),
659
+ dark: UndRGBA(0.1882, 0.0941, 0.0235, 1),
660
+ lightMore: UndRGBA(0.9804, 0.9412, 0.9176, 1),
661
+ darkMore: UndRGBA(0.1882, 0.0941, 0.0235, 1)
662
+ ),
663
+ accentBgActive: UndDynamicColor(
664
+ light: UndRGBA(0.9529, 0.8667, 0.8157, 1),
665
+ dark: UndRGBA(0.2663, 0.1363, 0.0223, 1, space: .displayP3),
666
+ lightMore: UndRGBA(0.9529, 0.8667, 0.8157, 1),
667
+ darkMore: UndRGBA(0.2663, 0.1363, 0.0223, 1, space: .displayP3)
668
+ ),
669
+ accentBgHover: UndDynamicColor(
670
+ light: UndRGBA(0.9647, 0.9059, 0.8706, 1),
671
+ dark: UndRGBA(0.2392, 0.1098, 0.0078, 1),
672
+ lightMore: UndRGBA(0.9647, 0.9059, 0.8706, 1),
673
+ darkMore: UndRGBA(0.2392, 0.1098, 0.0078, 1)
674
+ ),
675
+ accentBorder: UndDynamicColor(
676
+ light: UndRGBA(0.9098, 0.7569, 0.6549, 1),
677
+ dark: UndRGBA(0.401, 0.212, 0.036, 1, space: .displayP3),
678
+ lightMore: UndRGBA(0.9098, 0.7569, 0.6549, 1),
679
+ darkMore: UndRGBA(0.401, 0.212, 0.036, 1, space: .displayP3)
680
+ ),
681
+ accentFg: UndDynamicColor(
682
+ light: UndRGBA(0.5819, 0.3027, 0.0044, 1, space: .displayP3),
683
+ dark: UndRGBA(0.9645, 0.6566, 0.415, 1, space: .displayP3),
684
+ lightMore: UndRGBA(0.229, 0.1052, 0.0017, 1, space: .displayP3),
685
+ darkMore: UndRGBA(0.9991, 0.9075, 0.8384, 1, space: .displayP3)
686
+ ),
687
+ accentFgStrong: UndDynamicColor(
688
+ light: UndRGBA(0.229, 0.1052, 0.0017, 1, space: .displayP3),
689
+ dark: UndRGBA(0.9991, 0.9075, 0.8384, 1, space: .displayP3),
690
+ lightMore: UndRGBA(0.229, 0.1052, 0.0017, 1, space: .displayP3),
691
+ darkMore: UndRGBA(0.9991, 0.9075, 0.8384, 1, space: .displayP3)
692
+ ),
693
+ accentSolid: UndDynamicColor(
694
+ light: UndRGBA(0.9211, 0.515, 0.1346, 1, space: .displayP3),
695
+ dark: UndRGBA(0.9211, 0.515, 0.1346, 1, space: .displayP3),
696
+ lightMore: UndRGBA(0.9211, 0.515, 0.1346, 1, space: .displayP3),
697
+ darkMore: UndRGBA(0.9211, 0.515, 0.1346, 1, space: .displayP3)
698
+ ),
699
+ accentSolidHover: UndDynamicColor(
700
+ light: UndRGBA(0.8673, 0.4651, 0.0274, 1, space: .displayP3),
701
+ dark: UndRGBA(0.9821, 0.5717, 0.2115, 1, space: .displayP3),
702
+ lightMore: UndRGBA(0.8673, 0.4651, 0.0274, 1, space: .displayP3),
703
+ darkMore: UndRGBA(0.9821, 0.5717, 0.2115, 1, space: .displayP3)
704
+ ),
705
+ bgCanvas: UndDynamicColor(
706
+ light: UndRGBA(0.9922, 0.9922, 0.9882, 1),
707
+ dark: UndRGBA(0.0588, 0.0549, 0.0549, 1),
708
+ lightMore: UndRGBA(0.9922, 0.9922, 0.9882, 1),
709
+ darkMore: UndRGBA(0.0588, 0.0549, 0.0549, 1)
710
+ ),
711
+ bgInverse: UndDynamicColor(
712
+ light: UndRGBA(0.1608, 0.1412, 0.1294, 1),
713
+ dark: UndRGBA(0.949, 0.9216, 0.9059, 1),
714
+ lightMore: UndRGBA(0.1608, 0.1412, 0.1294, 1),
715
+ darkMore: UndRGBA(0.949, 0.9216, 0.9059, 1)
716
+ ),
717
+ bgMuted: UndDynamicColor(
718
+ light: UndRGBA(0.9569, 0.949, 0.9412, 1),
719
+ dark: UndRGBA(0.1255, 0.1176, 0.1137, 1),
720
+ lightMore: UndRGBA(0.9569, 0.949, 0.9412, 1),
721
+ darkMore: UndRGBA(0.1255, 0.1176, 0.1137, 1)
722
+ ),
723
+ bgMutedActive: UndDynamicColor(
724
+ light: UndRGBA(0.8941, 0.8824, 0.8745, 1),
725
+ dark: UndRGBA(0.1843, 0.1765, 0.1686, 1),
726
+ lightMore: UndRGBA(0.8941, 0.8824, 0.8745, 1),
727
+ darkMore: UndRGBA(0.1843, 0.1765, 0.1686, 1)
728
+ ),
729
+ bgMutedHover: UndDynamicColor(
730
+ light: UndRGBA(0.9294, 0.9176, 0.9098, 1),
731
+ dark: UndRGBA(0.1529, 0.1451, 0.1412, 1),
732
+ lightMore: UndRGBA(0.9294, 0.9176, 0.9098, 1),
733
+ darkMore: UndRGBA(0.1529, 0.1451, 0.1412, 1)
734
+ ),
735
+ bgOverlay: UndDynamicColor(
736
+ light: UndRGBA(0.0431, 0.051, 0.0863, 0.45),
737
+ dark: UndRGBA(0, 0, 0, 0.6),
738
+ lightMore: UndRGBA(0.0431, 0.051, 0.0863, 0.45),
739
+ darkMore: UndRGBA(0, 0, 0, 0.6)
740
+ ),
741
+ bgRaised: UndDynamicColor(
742
+ light: UndRGBA(1, 1, 1, 1),
743
+ dark: UndRGBA(0.1255, 0.1176, 0.1137, 1),
744
+ lightMore: UndRGBA(1, 1, 1, 1),
745
+ darkMore: UndRGBA(0.1255, 0.1176, 0.1137, 1)
746
+ ),
747
+ bgSubtle: UndDynamicColor(
748
+ light: UndRGBA(0.9804, 0.9765, 0.9725, 1),
749
+ dark: UndRGBA(0.0863, 0.0824, 0.0824, 1),
750
+ lightMore: UndRGBA(0.9804, 0.9765, 0.9725, 1),
751
+ darkMore: UndRGBA(0.0863, 0.0824, 0.0824, 1)
752
+ ),
753
+ bgSurface: UndDynamicColor(
754
+ light: UndRGBA(1, 1, 1, 1),
755
+ dark: UndRGBA(0.0863, 0.0824, 0.0824, 1),
756
+ lightMore: UndRGBA(1, 1, 1, 1),
757
+ darkMore: UndRGBA(0.0863, 0.0824, 0.0824, 1)
758
+ ),
759
+ borderControl: UndDynamicColor(
760
+ light: UndRGBA(0.5686, 0.5451, 0.5294, 1),
761
+ dark: UndRGBA(0.4275, 0.4078, 0.3882, 1),
762
+ lightMore: UndRGBA(0.4118, 0.3882, 0.3725, 1),
763
+ darkMore: UndRGBA(0.7647, 0.7373, 0.7176, 1)
764
+ ),
765
+ borderControlHover: UndDynamicColor(
766
+ light: UndRGBA(0.5216, 0.498, 0.4824, 1),
767
+ dark: UndRGBA(0.4824, 0.4588, 0.4392, 1),
768
+ lightMore: UndRGBA(0.1608, 0.1412, 0.1294, 1),
769
+ darkMore: UndRGBA(0.949, 0.9216, 0.9059, 1)
770
+ ),
771
+ borderDefault: UndDynamicColor(
772
+ light: UndRGBA(0.8039, 0.7882, 0.7765, 1),
773
+ dark: UndRGBA(0.2824, 0.2706, 0.2588, 1),
774
+ lightMore: UndRGBA(0.5686, 0.5451, 0.5294, 1),
775
+ darkMore: UndRGBA(0.4275, 0.4078, 0.3882, 1)
776
+ ),
777
+ borderStrong: UndDynamicColor(
778
+ light: UndRGBA(0.7255, 0.7059, 0.6902, 1),
779
+ dark: UndRGBA(0.3686, 0.3529, 0.3373, 1),
780
+ lightMore: UndRGBA(0.7255, 0.7059, 0.6902, 1),
781
+ darkMore: UndRGBA(0.3686, 0.3529, 0.3373, 1)
782
+ ),
783
+ borderSubtle: UndDynamicColor(
784
+ light: UndRGBA(0.8588, 0.8431, 0.8353, 1),
785
+ dark: UndRGBA(0.2235, 0.2118, 0.2039, 1),
786
+ lightMore: UndRGBA(0.7255, 0.7059, 0.6902, 1),
787
+ darkMore: UndRGBA(0.3686, 0.3529, 0.3373, 1)
788
+ ),
789
+ dataviz1: UndDynamicColor(
790
+ light: UndRGBA(0.3137, 0.2941, 0.949, 1),
791
+ dark: UndRGBA(0.3137, 0.2941, 0.949, 1),
792
+ lightMore: UndRGBA(0.3137, 0.2941, 0.949, 1),
793
+ darkMore: UndRGBA(0.3137, 0.2941, 0.949, 1)
794
+ ),
795
+ dataviz2: UndDynamicColor(
796
+ light: UndRGBA(0.9211, 0.515, 0.1346, 1, space: .displayP3),
797
+ dark: UndRGBA(0.9211, 0.515, 0.1346, 1, space: .displayP3),
798
+ lightMore: UndRGBA(0.9211, 0.515, 0.1346, 1, space: .displayP3),
799
+ darkMore: UndRGBA(0.9211, 0.515, 0.1346, 1, space: .displayP3)
800
+ ),
801
+ dataviz3: UndDynamicColor(
802
+ light: UndRGBA(0.0077, 0.4931, 0.5021, 1, space: .displayP3),
803
+ dark: UndRGBA(0.0077, 0.4931, 0.5021, 1, space: .displayP3),
804
+ lightMore: UndRGBA(0.0077, 0.4931, 0.5021, 1, space: .displayP3),
805
+ darkMore: UndRGBA(0.0077, 0.4931, 0.5021, 1, space: .displayP3)
806
+ ),
807
+ dataviz4: UndDynamicColor(
808
+ light: UndRGBA(0.7922, 0.2078, 0.5451, 1),
809
+ dark: UndRGBA(0.7922, 0.2078, 0.5451, 1),
810
+ lightMore: UndRGBA(0.7922, 0.2078, 0.5451, 1),
811
+ darkMore: UndRGBA(0.7922, 0.2078, 0.5451, 1)
812
+ ),
813
+ dataviz5: UndDynamicColor(
814
+ light: UndRGBA(0.1691, 0.5098, 0.2544, 1, space: .displayP3),
815
+ dark: UndRGBA(0.1691, 0.5098, 0.2544, 1, space: .displayP3),
816
+ lightMore: UndRGBA(0.1691, 0.5098, 0.2544, 1, space: .displayP3),
817
+ darkMore: UndRGBA(0.1691, 0.5098, 0.2544, 1, space: .displayP3)
818
+ ),
819
+ dataviz6: UndDynamicColor(
820
+ light: UndRGBA(0.1194, 0.4327, 0.8303, 1, space: .displayP3),
821
+ dark: UndRGBA(0.1194, 0.4327, 0.8303, 1, space: .displayP3),
822
+ lightMore: UndRGBA(0.1194, 0.4327, 0.8303, 1, space: .displayP3),
823
+ darkMore: UndRGBA(0.1194, 0.4327, 0.8303, 1, space: .displayP3)
824
+ ),
825
+ dataviz7: UndDynamicColor(
826
+ light: UndRGBA(0.7333, 0.302, 0.1647, 1),
827
+ dark: UndRGBA(0.7333, 0.302, 0.1647, 1),
828
+ lightMore: UndRGBA(0.7333, 0.302, 0.1647, 1),
829
+ darkMore: UndRGBA(0.7333, 0.302, 0.1647, 1)
830
+ ),
831
+ dataviz8: UndDynamicColor(
832
+ light: UndRGBA(0.9367, 0.7103, 0.2322, 1, space: .displayP3),
833
+ dark: UndRGBA(0.9367, 0.7103, 0.2322, 1, space: .displayP3),
834
+ lightMore: UndRGBA(0.9367, 0.7103, 0.2322, 1, space: .displayP3),
835
+ darkMore: UndRGBA(0.9367, 0.7103, 0.2322, 1, space: .displayP3)
836
+ ),
837
+ datavizAxis: UndDynamicColor(
838
+ light: UndRGBA(0.1255, 0.0549, 0.0039, 0.224),
839
+ dark: UndRGBA(0.9961, 0.9569, 0.9137, 0.283),
840
+ lightMore: UndRGBA(0.1255, 0.0549, 0.0039, 0.224),
841
+ darkMore: UndRGBA(0.9961, 0.9569, 0.9137, 0.283)
842
+ ),
843
+ datavizGridline: UndDynamicColor(
844
+ light: UndRGBA(0.2235, 0.0941, 0.0078, 0.091),
845
+ dark: UndRGBA(1, 0.949, 0.9216, 0.153),
846
+ lightMore: UndRGBA(0.2235, 0.0941, 0.0078, 0.091),
847
+ darkMore: UndRGBA(1, 0.949, 0.9216, 0.153)
848
+ ),
849
+ fgDefault: UndDynamicColor(
850
+ light: UndRGBA(0.1608, 0.1412, 0.1294, 1),
851
+ dark: UndRGBA(0.949, 0.9216, 0.9059, 1),
852
+ lightMore: UndRGBA(0.1608, 0.1412, 0.1294, 1),
853
+ darkMore: UndRGBA(0.949, 0.9216, 0.9059, 1)
854
+ ),
855
+ fgDisabled: UndDynamicColor(
856
+ light: UndRGBA(0.7255, 0.7059, 0.6902, 1),
857
+ dark: UndRGBA(0.3686, 0.3529, 0.3373, 1),
858
+ lightMore: UndRGBA(0.7255, 0.7059, 0.6902, 1),
859
+ darkMore: UndRGBA(0.3686, 0.3529, 0.3373, 1)
860
+ ),
861
+ fgInverse: UndDynamicColor(
862
+ light: UndRGBA(0.9922, 0.9922, 0.9882, 1),
863
+ dark: UndRGBA(0.0588, 0.0549, 0.0549, 1),
864
+ lightMore: UndRGBA(0.9922, 0.9922, 0.9882, 1),
865
+ darkMore: UndRGBA(0.0588, 0.0549, 0.0549, 1)
866
+ ),
867
+ fgMuted: UndDynamicColor(
868
+ light: UndRGBA(0.4118, 0.3882, 0.3725, 1),
869
+ dark: UndRGBA(0.7647, 0.7373, 0.7176, 1),
870
+ lightMore: UndRGBA(0.1608, 0.1412, 0.1294, 1),
871
+ darkMore: UndRGBA(0.949, 0.9216, 0.9059, 1)
872
+ ),
873
+ fgOnAccent: UndDynamicColor(
874
+ light: UndRGBA(0.229, 0.1052, 0.0017, 1, space: .displayP3),
875
+ dark: UndRGBA(0.229, 0.1052, 0.0017, 1, space: .displayP3),
876
+ lightMore: UndRGBA(0.229, 0.1052, 0.0017, 1, space: .displayP3),
877
+ darkMore: UndRGBA(0.229, 0.1052, 0.0017, 1, space: .displayP3)
878
+ ),
879
+ fgSubtle: UndDynamicColor(
880
+ light: UndRGBA(0.5216, 0.498, 0.4824, 1),
881
+ dark: UndRGBA(0.4824, 0.4588, 0.4392, 1),
882
+ lightMore: UndRGBA(0.4118, 0.3882, 0.3725, 1),
883
+ darkMore: UndRGBA(0.7647, 0.7373, 0.7176, 1)
884
+ ),
885
+ focusRing: UndDynamicColor(
886
+ light: UndRGBA(0.1608, 0.1412, 0.1294, 1),
887
+ dark: UndRGBA(0.949, 0.9216, 0.9059, 1),
888
+ lightMore: UndRGBA(0.1608, 0.1412, 0.1294, 1),
889
+ darkMore: UndRGBA(0.949, 0.9216, 0.9059, 1)
890
+ ),
891
+ linkDefault: UndDynamicColor(
892
+ light: UndRGBA(0.5819, 0.3027, 0.0044, 1, space: .displayP3),
893
+ dark: UndRGBA(0.9645, 0.6566, 0.415, 1, space: .displayP3),
894
+ lightMore: UndRGBA(0.229, 0.1052, 0.0017, 1, space: .displayP3),
895
+ darkMore: UndRGBA(0.9991, 0.9075, 0.8384, 1, space: .displayP3)
896
+ ),
897
+ linkVisited: UndDynamicColor(
898
+ light: UndRGBA(0.651, 0.1765, 0.4471, 1),
899
+ dark: UndRGBA(0.9621, 0.5989, 0.7883, 1, space: .displayP3),
900
+ lightMore: UndRGBA(0.651, 0.1765, 0.4471, 1),
901
+ darkMore: UndRGBA(0.9621, 0.5989, 0.7883, 1, space: .displayP3)
902
+ ),
903
+ materialChromeBg: UndDynamicColor(
904
+ light: UndRGBA(0.9843, 0.9882, 0.9961, 0.72),
905
+ dark: UndRGBA(0.098, 0.102, 0.1216, 0.68),
906
+ lightMore: UndRGBA(1, 1, 1, 1),
907
+ darkMore: UndRGBA(0.0863, 0.0824, 0.0824, 1)
908
+ ),
909
+ materialChromeBorder: UndDynamicColor(
910
+ light: UndRGBA(0.1608, 0.0667, 0.0039, 0.126),
911
+ dark: UndRGBA(0.9961, 0.9529, 0.9098, 0.185),
912
+ lightMore: UndRGBA(0.7255, 0.7059, 0.6902, 1),
913
+ darkMore: UndRGBA(0.3686, 0.3529, 0.3373, 1)
914
+ ),
915
+ materialChromeHighlight: UndDynamicColor(
916
+ light: UndRGBA(1, 1, 1, 0.5),
917
+ dark: UndRGBA(1, 1, 1, 0.12),
918
+ lightMore: UndRGBA(0, 0, 0, 0),
919
+ darkMore: UndRGBA(0, 0, 0, 0)
920
+ ),
921
+ materialRegularBg: UndDynamicColor(
922
+ light: UndRGBA(0.9843, 0.9882, 0.9961, 0.72),
923
+ dark: UndRGBA(0.098, 0.102, 0.1216, 0.68),
924
+ lightMore: UndRGBA(1, 1, 1, 1),
925
+ darkMore: UndRGBA(0.0863, 0.0824, 0.0824, 1)
926
+ ),
927
+ materialRegularBorder: UndDynamicColor(
928
+ light: UndRGBA(0.1608, 0.0667, 0.0039, 0.126),
929
+ dark: UndRGBA(0.9961, 0.9529, 0.9098, 0.185),
930
+ lightMore: UndRGBA(0.7255, 0.7059, 0.6902, 1),
931
+ darkMore: UndRGBA(0.3686, 0.3529, 0.3373, 1)
932
+ ),
933
+ materialThickBg: UndDynamicColor(
934
+ light: UndRGBA(0.9843, 0.9882, 0.9961, 0.84),
935
+ dark: UndRGBA(0.0824, 0.0863, 0.1059, 0.8),
936
+ lightMore: UndRGBA(1, 1, 1, 1),
937
+ darkMore: UndRGBA(0.0863, 0.0824, 0.0824, 1)
938
+ ),
939
+ materialThickBorder: UndDynamicColor(
940
+ light: UndRGBA(0.1451, 0.051, 0, 0.165),
941
+ dark: UndRGBA(0.9961, 0.9451, 0.9098, 0.224),
942
+ lightMore: UndRGBA(0.7255, 0.7059, 0.6902, 1),
943
+ darkMore: UndRGBA(0.3686, 0.3529, 0.3373, 1)
944
+ ),
945
+ materialThinBg: UndDynamicColor(
946
+ light: UndRGBA(0.9843, 0.9882, 0.9961, 0.62),
947
+ dark: UndRGBA(0.098, 0.102, 0.1216, 0.65),
948
+ lightMore: UndRGBA(1, 1, 1, 1),
949
+ darkMore: UndRGBA(0.0863, 0.0824, 0.0824, 1)
950
+ ),
951
+ materialThinBorder: UndDynamicColor(
952
+ light: UndRGBA(0.2235, 0.0941, 0.0078, 0.091),
953
+ dark: UndRGBA(1, 0.949, 0.9216, 0.153),
954
+ lightMore: UndRGBA(0.7255, 0.7059, 0.6902, 1),
955
+ darkMore: UndRGBA(0.3686, 0.3529, 0.3373, 1)
956
+ ),
957
+ selectionBg: UndDynamicColor(
958
+ light: UndRGBA(0.7451, 0.2784, 0.0039, 0.185),
959
+ dark: UndRGBA(0.9961, 0.4745, 0, 0.338),
960
+ lightMore: UndRGBA(0.7451, 0.2784, 0.0039, 0.185),
961
+ darkMore: UndRGBA(0.9961, 0.4745, 0, 0.338)
962
+ ),
963
+ statusDangerBg: UndDynamicColor(
964
+ light: UndRGBA(0.9922, 0.9373, 0.9294, 1),
965
+ dark: UndRGBA(0.2078, 0.0745, 0.0667, 1),
966
+ lightMore: UndRGBA(0.9922, 0.9373, 0.9294, 1),
967
+ darkMore: UndRGBA(0.2078, 0.0745, 0.0667, 1)
968
+ ),
969
+ statusDangerBgHover: UndDynamicColor(
970
+ light: UndRGBA(0.9804, 0.898, 0.8863, 1),
971
+ dark: UndRGBA(0.2627, 0.0784, 0.0745, 1),
972
+ lightMore: UndRGBA(0.9804, 0.898, 0.8863, 1),
973
+ darkMore: UndRGBA(0.2627, 0.0784, 0.0745, 1)
974
+ ),
975
+ statusDangerBorder: UndDynamicColor(
976
+ light: UndRGBA(0.949, 0.7294, 0.7059, 1),
977
+ dark: UndRGBA(0.4745, 0.1373, 0.1373, 1),
978
+ lightMore: UndRGBA(0.949, 0.7294, 0.7059, 1),
979
+ darkMore: UndRGBA(0.4745, 0.1373, 0.1373, 1)
980
+ ),
981
+ statusDangerFg: UndDynamicColor(
982
+ light: UndRGBA(0.7216, 0.1176, 0.1529, 1),
983
+ dark: UndRGBA(0.9998, 0.6102, 0.5696, 1, space: .displayP3),
984
+ lightMore: UndRGBA(0.7216, 0.1176, 0.1529, 1),
985
+ darkMore: UndRGBA(0.9998, 0.6102, 0.5696, 1, space: .displayP3)
986
+ ),
987
+ statusDangerFgStrong: UndDynamicColor(
988
+ light: UndRGBA(0.2941, 0.0235, 0.0353, 1),
989
+ dark: UndRGBA(0.9985, 0.9003, 0.8863, 1, space: .displayP3),
990
+ lightMore: UndRGBA(0.2941, 0.0235, 0.0353, 1),
991
+ darkMore: UndRGBA(0.9985, 0.9003, 0.8863, 1, space: .displayP3)
992
+ ),
993
+ statusDangerOnSolid: UndDynamicColor(
994
+ light: UndRGBA(1, 1, 1, 1),
995
+ dark: UndRGBA(1, 1, 1, 1),
996
+ lightMore: UndRGBA(1, 1, 1, 1),
997
+ darkMore: UndRGBA(1, 1, 1, 1)
998
+ ),
999
+ statusDangerSolid: UndDynamicColor(
1000
+ light: UndRGBA(0.8667, 0.1137, 0.1725, 1),
1001
+ dark: UndRGBA(0.8667, 0.1137, 0.1725, 1),
1002
+ lightMore: UndRGBA(0.8667, 0.1137, 0.1725, 1),
1003
+ darkMore: UndRGBA(0.8667, 0.1137, 0.1725, 1)
1004
+ ),
1005
+ statusDangerSolidHover: UndDynamicColor(
1006
+ light: UndRGBA(0.7416, 0.1432, 0.1633, 1, space: .displayP3),
1007
+ dark: UndRGBA(0.7348, 0.1339, 0.1573, 1, space: .displayP3),
1008
+ lightMore: UndRGBA(0.7416, 0.1432, 0.1633, 1, space: .displayP3),
1009
+ darkMore: UndRGBA(0.7348, 0.1339, 0.1573, 1, space: .displayP3)
1010
+ ),
1011
+ statusInfoBg: UndDynamicColor(
1012
+ light: UndRGBA(0.9255, 0.9529, 0.9843, 1),
1013
+ dark: UndRGBA(0.0471, 0.1255, 0.2078, 1),
1014
+ lightMore: UndRGBA(0.9255, 0.9529, 0.9843, 1),
1015
+ darkMore: UndRGBA(0.0471, 0.1255, 0.2078, 1)
1016
+ ),
1017
+ statusInfoBgHover: UndDynamicColor(
1018
+ light: UndRGBA(0.8824, 0.9255, 0.9765, 1),
1019
+ dark: UndRGBA(0.0431, 0.1529, 0.2627, 1),
1020
+ lightMore: UndRGBA(0.8824, 0.9255, 0.9765, 1),
1021
+ darkMore: UndRGBA(0.0431, 0.1529, 0.2627, 1)
1022
+ ),
1023
+ statusInfoBorder: UndDynamicColor(
1024
+ light: UndRGBA(0.6902, 0.8039, 0.9373, 1),
1025
+ dark: UndRGBA(0.0706, 0.2784, 0.4784, 1),
1026
+ lightMore: UndRGBA(0.6902, 0.8039, 0.9373, 1),
1027
+ darkMore: UndRGBA(0.0706, 0.2784, 0.4784, 1)
1028
+ ),
1029
+ statusInfoFg: UndDynamicColor(
1030
+ light: UndRGBA(0.1385, 0.3875, 0.7163, 1, space: .displayP3),
1031
+ dark: UndRGBA(0.5796, 0.7556, 1, 1, space: .displayP3),
1032
+ lightMore: UndRGBA(0.1385, 0.3875, 0.7163, 1, space: .displayP3),
1033
+ darkMore: UndRGBA(0.5796, 0.7556, 1, 1, space: .displayP3)
1034
+ ),
1035
+ statusInfoFgStrong: UndDynamicColor(
1036
+ light: UndRGBA(0.0299, 0.1424, 0.2911, 1, space: .displayP3),
1037
+ dark: UndRGBA(0.8869, 0.934, 0.9984, 1, space: .displayP3),
1038
+ lightMore: UndRGBA(0.0299, 0.1424, 0.2911, 1, space: .displayP3),
1039
+ darkMore: UndRGBA(0.8869, 0.934, 0.9984, 1, space: .displayP3)
1040
+ ),
1041
+ statusInfoOnSolid: UndDynamicColor(
1042
+ light: UndRGBA(1, 1, 1, 1),
1043
+ dark: UndRGBA(1, 1, 1, 1),
1044
+ lightMore: UndRGBA(1, 1, 1, 1),
1045
+ darkMore: UndRGBA(1, 1, 1, 1)
1046
+ ),
1047
+ statusInfoSolid: UndDynamicColor(
1048
+ light: UndRGBA(0.1194, 0.4327, 0.8303, 1, space: .displayP3),
1049
+ dark: UndRGBA(0.1194, 0.4327, 0.8303, 1, space: .displayP3),
1050
+ lightMore: UndRGBA(0.1194, 0.4327, 0.8303, 1, space: .displayP3),
1051
+ darkMore: UndRGBA(0.1194, 0.4327, 0.8303, 1, space: .displayP3)
1052
+ ),
1053
+ statusInfoSolidHover: UndDynamicColor(
1054
+ light: UndRGBA(0.0421, 0.3834, 0.7776, 1, space: .displayP3),
1055
+ dark: UndRGBA(0.0287, 0.3773, 0.7711, 1, space: .displayP3),
1056
+ lightMore: UndRGBA(0.0421, 0.3834, 0.7776, 1, space: .displayP3),
1057
+ darkMore: UndRGBA(0.0287, 0.3773, 0.7711, 1, space: .displayP3)
1058
+ ),
1059
+ statusSuccessBg: UndDynamicColor(
1060
+ light: UndRGBA(0.9294, 0.9608, 0.9373, 1),
1061
+ dark: UndRGBA(0.0588, 0.1412, 0.0824, 1),
1062
+ lightMore: UndRGBA(0.9294, 0.9608, 0.9373, 1),
1063
+ darkMore: UndRGBA(0.0588, 0.1412, 0.0824, 1)
1064
+ ),
1065
+ statusSuccessBgHover: UndDynamicColor(
1066
+ light: UndRGBA(0.8863, 0.9333, 0.898, 1),
1067
+ dark: UndRGBA(0.0549, 0.1765, 0.098, 1),
1068
+ lightMore: UndRGBA(0.8863, 0.9333, 0.898, 1),
1069
+ darkMore: UndRGBA(0.0549, 0.1765, 0.098, 1)
1070
+ ),
1071
+ statusSuccessBorder: UndDynamicColor(
1072
+ light: UndRGBA(0.7059, 0.8275, 0.7333, 1),
1073
+ dark: UndRGBA(0.098, 0.3216, 0.1765, 1),
1074
+ lightMore: UndRGBA(0.7059, 0.8275, 0.7333, 1),
1075
+ darkMore: UndRGBA(0.098, 0.3216, 0.1765, 1)
1076
+ ),
1077
+ statusSuccessFg: UndDynamicColor(
1078
+ light: UndRGBA(0.1962, 0.4692, 0.2558, 1, space: .displayP3),
1079
+ dark: UndRGBA(0.498, 0.8314, 0.5922, 1),
1080
+ lightMore: UndRGBA(0.1962, 0.4692, 0.2558, 1, space: .displayP3),
1081
+ darkMore: UndRGBA(0.498, 0.8314, 0.5922, 1)
1082
+ ),
1083
+ statusSuccessFgStrong: UndDynamicColor(
1084
+ light: UndRGBA(0.056, 0.1794, 0.0832, 1, space: .displayP3),
1085
+ dark: UndRGBA(0.8549, 0.9608, 0.8784, 1),
1086
+ lightMore: UndRGBA(0.056, 0.1794, 0.0832, 1, space: .displayP3),
1087
+ darkMore: UndRGBA(0.8549, 0.9608, 0.8784, 1)
1088
+ ),
1089
+ statusSuccessOnSolid: UndDynamicColor(
1090
+ light: UndRGBA(1, 1, 1, 1),
1091
+ dark: UndRGBA(1, 1, 1, 1),
1092
+ lightMore: UndRGBA(1, 1, 1, 1),
1093
+ darkMore: UndRGBA(1, 1, 1, 1)
1094
+ ),
1095
+ statusSuccessSolid: UndDynamicColor(
1096
+ light: UndRGBA(0.1691, 0.5098, 0.2544, 1, space: .displayP3),
1097
+ dark: UndRGBA(0.1691, 0.5098, 0.2544, 1, space: .displayP3),
1098
+ lightMore: UndRGBA(0.1691, 0.5098, 0.2544, 1, space: .displayP3),
1099
+ darkMore: UndRGBA(0.1691, 0.5098, 0.2544, 1, space: .displayP3)
1100
+ ),
1101
+ statusSuccessSolidHover: UndDynamicColor(
1102
+ light: UndRGBA(0.1105, 0.4623, 0.2105, 1, space: .displayP3),
1103
+ dark: UndRGBA(0.1024, 0.4564, 0.205, 1, space: .displayP3),
1104
+ lightMore: UndRGBA(0.1105, 0.4623, 0.2105, 1, space: .displayP3),
1105
+ darkMore: UndRGBA(0.1024, 0.4564, 0.205, 1, space: .displayP3)
1106
+ ),
1107
+ statusWarningBg: UndDynamicColor(
1108
+ light: UndRGBA(0.9686, 0.949, 0.9176, 1),
1109
+ dark: UndRGBA(0.1608, 0.1098, 0.0157, 1),
1110
+ lightMore: UndRGBA(0.9686, 0.949, 0.9176, 1),
1111
+ darkMore: UndRGBA(0.1608, 0.1098, 0.0157, 1)
1112
+ ),
1113
+ statusWarningBgHover: UndDynamicColor(
1114
+ light: UndRGBA(0.9451, 0.9137, 0.8667, 1),
1115
+ dark: UndRGBA(0.1937, 0.1371, 0.0213, 1, space: .displayP3),
1116
+ lightMore: UndRGBA(0.9451, 0.9137, 0.8667, 1),
1117
+ darkMore: UndRGBA(0.1937, 0.1371, 0.0213, 1, space: .displayP3)
1118
+ ),
1119
+ statusWarningBorder: UndDynamicColor(
1120
+ light: UndRGBA(0.8627, 0.7804, 0.6471, 1),
1121
+ dark: UndRGBA(0.3535, 0.2503, 0.008, 1, space: .displayP3),
1122
+ lightMore: UndRGBA(0.8627, 0.7804, 0.6471, 1),
1123
+ darkMore: UndRGBA(0.3535, 0.2503, 0.008, 1, space: .displayP3)
1124
+ ),
1125
+ statusWarningFg: UndDynamicColor(
1126
+ light: UndRGBA(0.5069, 0.3634, 0.0036, 1, space: .displayP3),
1127
+ dark: UndRGBA(0.9137, 0.7059, 0.3294, 1),
1128
+ lightMore: UndRGBA(0.5069, 0.3634, 0.0036, 1, space: .displayP3),
1129
+ darkMore: UndRGBA(0.9137, 0.7059, 0.3294, 1)
1130
+ ),
1131
+ statusWarningFgStrong: UndDynamicColor(
1132
+ light: UndRGBA(0.196, 0.1319, 0.0004, 1, space: .displayP3),
1133
+ dark: UndRGBA(0.9882, 0.9176, 0.8039, 1),
1134
+ lightMore: UndRGBA(0.196, 0.1319, 0.0004, 1, space: .displayP3),
1135
+ darkMore: UndRGBA(0.9882, 0.9176, 0.8039, 1)
1136
+ ),
1137
+ statusWarningOnSolid: UndDynamicColor(
1138
+ light: UndRGBA(0.196, 0.1319, 0.0004, 1, space: .displayP3),
1139
+ dark: UndRGBA(0.196, 0.1319, 0.0004, 1, space: .displayP3),
1140
+ lightMore: UndRGBA(0.196, 0.1319, 0.0004, 1, space: .displayP3),
1141
+ darkMore: UndRGBA(0.196, 0.1319, 0.0004, 1, space: .displayP3)
1142
+ ),
1143
+ statusWarningSolid: UndDynamicColor(
1144
+ light: UndRGBA(0.9367, 0.7103, 0.2322, 1, space: .displayP3),
1145
+ dark: UndRGBA(0.9367, 0.7103, 0.2322, 1, space: .displayP3),
1146
+ lightMore: UndRGBA(0.9367, 0.7103, 0.2322, 1, space: .displayP3),
1147
+ darkMore: UndRGBA(0.9367, 0.7103, 0.2322, 1, space: .displayP3)
1148
+ ),
1149
+ statusWarningSolidHover: UndDynamicColor(
1150
+ light: UndRGBA(0.8842, 0.6598, 0.1637, 1, space: .displayP3),
1151
+ dark: UndRGBA(0.9963, 0.7678, 0.3003, 1, space: .displayP3),
1152
+ lightMore: UndRGBA(0.8842, 0.6598, 0.1637, 1, space: .displayP3),
1153
+ darkMore: UndRGBA(0.9963, 0.7678, 0.3003, 1, space: .displayP3)
1154
+ )
1155
+ )
1156
+ public static let neem = UndColorRoles(
1157
+ accentBg: UndDynamicColor(
1158
+ light: UndRGBA(0.9294, 0.9608, 0.9373, 1),
1159
+ dark: UndRGBA(0.0588, 0.1412, 0.0824, 1),
1160
+ lightMore: UndRGBA(0.9294, 0.9608, 0.9373, 1),
1161
+ darkMore: UndRGBA(0.0588, 0.1412, 0.0824, 1)
1162
+ ),
1163
+ accentBgActive: UndDynamicColor(
1164
+ light: UndRGBA(0.8392, 0.9059, 0.8549, 1),
1165
+ dark: UndRGBA(0.0588, 0.2118, 0.1137, 1),
1166
+ lightMore: UndRGBA(0.8392, 0.9059, 0.8549, 1),
1167
+ darkMore: UndRGBA(0.0588, 0.2118, 0.1137, 1)
1168
+ ),
1169
+ accentBgHover: UndDynamicColor(
1170
+ light: UndRGBA(0.8863, 0.9333, 0.898, 1),
1171
+ dark: UndRGBA(0.0549, 0.1765, 0.098, 1),
1172
+ lightMore: UndRGBA(0.8863, 0.9333, 0.898, 1),
1173
+ darkMore: UndRGBA(0.0549, 0.1765, 0.098, 1)
1174
+ ),
1175
+ accentBorder: UndDynamicColor(
1176
+ light: UndRGBA(0.7059, 0.8275, 0.7333, 1),
1177
+ dark: UndRGBA(0.098, 0.3216, 0.1765, 1),
1178
+ lightMore: UndRGBA(0.7059, 0.8275, 0.7333, 1),
1179
+ darkMore: UndRGBA(0.098, 0.3216, 0.1765, 1)
1180
+ ),
1181
+ accentFg: UndDynamicColor(
1182
+ light: UndRGBA(0.1962, 0.4692, 0.2558, 1, space: .displayP3),
1183
+ dark: UndRGBA(0.498, 0.8314, 0.5922, 1),
1184
+ lightMore: UndRGBA(0.056, 0.1794, 0.0832, 1, space: .displayP3),
1185
+ darkMore: UndRGBA(0.8549, 0.9608, 0.8784, 1)
1186
+ ),
1187
+ accentFgStrong: UndDynamicColor(
1188
+ light: UndRGBA(0.056, 0.1794, 0.0832, 1, space: .displayP3),
1189
+ dark: UndRGBA(0.8549, 0.9608, 0.8784, 1),
1190
+ lightMore: UndRGBA(0.056, 0.1794, 0.0832, 1, space: .displayP3),
1191
+ darkMore: UndRGBA(0.8549, 0.9608, 0.8784, 1)
1192
+ ),
1193
+ accentSolid: UndDynamicColor(
1194
+ light: UndRGBA(0.1691, 0.5098, 0.2544, 1, space: .displayP3),
1195
+ dark: UndRGBA(0.1691, 0.5098, 0.2544, 1, space: .displayP3),
1196
+ lightMore: UndRGBA(0.1691, 0.5098, 0.2544, 1, space: .displayP3),
1197
+ darkMore: UndRGBA(0.1691, 0.5098, 0.2544, 1, space: .displayP3)
1198
+ ),
1199
+ accentSolidHover: UndDynamicColor(
1200
+ light: UndRGBA(0.1105, 0.4623, 0.2105, 1, space: .displayP3),
1201
+ dark: UndRGBA(0.1024, 0.4564, 0.205, 1, space: .displayP3),
1202
+ lightMore: UndRGBA(0.1105, 0.4623, 0.2105, 1, space: .displayP3),
1203
+ darkMore: UndRGBA(0.1024, 0.4564, 0.205, 1, space: .displayP3)
1204
+ ),
1205
+ bgCanvas: UndDynamicColor(
1206
+ light: UndRGBA(0.9882, 0.9922, 0.9882, 1),
1207
+ dark: UndRGBA(0.0549, 0.0549, 0.0549, 1),
1208
+ lightMore: UndRGBA(0.9882, 0.9922, 0.9882, 1),
1209
+ darkMore: UndRGBA(0.0549, 0.0549, 0.0549, 1)
1210
+ ),
1211
+ bgInverse: UndDynamicColor(
1212
+ light: UndRGBA(0.1333, 0.149, 0.1373, 1),
1213
+ dark: UndRGBA(0.9137, 0.9373, 0.9176, 1),
1214
+ lightMore: UndRGBA(0.1333, 0.149, 0.1373, 1),
1215
+ darkMore: UndRGBA(0.9137, 0.9373, 0.9176, 1)
1216
+ ),
1217
+ bgMuted: UndDynamicColor(
1218
+ light: UndRGBA(0.9451, 0.9529, 0.9451, 1),
1219
+ dark: UndRGBA(0.1176, 0.1216, 0.1176, 1),
1220
+ lightMore: UndRGBA(0.9451, 0.9529, 0.9451, 1),
1221
+ darkMore: UndRGBA(0.1176, 0.1216, 0.1176, 1)
1222
+ ),
1223
+ bgMutedActive: UndDynamicColor(
1224
+ light: UndRGBA(0.8784, 0.8902, 0.8784, 1),
1225
+ dark: UndRGBA(0.1725, 0.1804, 0.1725, 1),
1226
+ lightMore: UndRGBA(0.8784, 0.8902, 0.8784, 1),
1227
+ darkMore: UndRGBA(0.1725, 0.1804, 0.1725, 1)
1228
+ ),
1229
+ bgMutedHover: UndDynamicColor(
1230
+ light: UndRGBA(0.9137, 0.9216, 0.9137, 1),
1231
+ dark: UndRGBA(0.1451, 0.149, 0.1451, 1),
1232
+ lightMore: UndRGBA(0.9137, 0.9216, 0.9137, 1),
1233
+ darkMore: UndRGBA(0.1451, 0.149, 0.1451, 1)
1234
+ ),
1235
+ bgOverlay: UndDynamicColor(
1236
+ light: UndRGBA(0.0431, 0.051, 0.0863, 0.45),
1237
+ dark: UndRGBA(0, 0, 0, 0.6),
1238
+ lightMore: UndRGBA(0.0431, 0.051, 0.0863, 0.45),
1239
+ darkMore: UndRGBA(0, 0, 0, 0.6)
1240
+ ),
1241
+ bgRaised: UndDynamicColor(
1242
+ light: UndRGBA(1, 1, 1, 1),
1243
+ dark: UndRGBA(0.1176, 0.1216, 0.1176, 1),
1244
+ lightMore: UndRGBA(1, 1, 1, 1),
1245
+ darkMore: UndRGBA(0.1176, 0.1216, 0.1176, 1)
1246
+ ),
1247
+ bgSubtle: UndDynamicColor(
1248
+ light: UndRGBA(0.9725, 0.9804, 0.9765, 1),
1249
+ dark: UndRGBA(0.0824, 0.0863, 0.0824, 1),
1250
+ lightMore: UndRGBA(0.9725, 0.9804, 0.9765, 1),
1251
+ darkMore: UndRGBA(0.0824, 0.0863, 0.0824, 1)
1252
+ ),
1253
+ bgSurface: UndDynamicColor(
1254
+ light: UndRGBA(1, 1, 1, 1),
1255
+ dark: UndRGBA(0.0824, 0.0863, 0.0824, 1),
1256
+ lightMore: UndRGBA(1, 1, 1, 1),
1257
+ darkMore: UndRGBA(0.0824, 0.0863, 0.0824, 1)
1258
+ ),
1259
+ borderControl: UndDynamicColor(
1260
+ light: UndRGBA(0.5294, 0.5529, 0.5333, 1),
1261
+ dark: UndRGBA(0.3961, 0.4196, 0.4, 1),
1262
+ lightMore: UndRGBA(0.3804, 0.4, 0.3843, 1),
1263
+ darkMore: UndRGBA(0.7255, 0.7529, 0.7294, 1)
1264
+ ),
1265
+ borderControlHover: UndDynamicColor(
1266
+ light: UndRGBA(0.4863, 0.5059, 0.4863, 1),
1267
+ dark: UndRGBA(0.4471, 0.4706, 0.451, 1),
1268
+ lightMore: UndRGBA(0.1333, 0.149, 0.1373, 1),
1269
+ darkMore: UndRGBA(0.9137, 0.9373, 0.9176, 1)
1270
+ ),
1271
+ borderDefault: UndDynamicColor(
1272
+ light: UndRGBA(0.7804, 0.7961, 0.7843, 1),
1273
+ dark: UndRGBA(0.2627, 0.2745, 0.2667, 1),
1274
+ lightMore: UndRGBA(0.5294, 0.5529, 0.5333, 1),
1275
+ darkMore: UndRGBA(0.3961, 0.4196, 0.4, 1)
1276
+ ),
1277
+ borderStrong: UndDynamicColor(
1278
+ light: UndRGBA(0.6941, 0.7137, 0.698, 1),
1279
+ dark: UndRGBA(0.3451, 0.3608, 0.3451, 1),
1280
+ lightMore: UndRGBA(0.6941, 0.7137, 0.698, 1),
1281
+ darkMore: UndRGBA(0.3451, 0.3608, 0.3451, 1)
1282
+ ),
1283
+ borderSubtle: UndDynamicColor(
1284
+ light: UndRGBA(0.8392, 0.851, 0.8392, 1),
1285
+ dark: UndRGBA(0.2078, 0.2196, 0.2078, 1),
1286
+ lightMore: UndRGBA(0.6941, 0.7137, 0.698, 1),
1287
+ darkMore: UndRGBA(0.3451, 0.3608, 0.3451, 1)
1288
+ ),
1289
+ dataviz1: UndDynamicColor(
1290
+ light: UndRGBA(0.3137, 0.2941, 0.949, 1),
1291
+ dark: UndRGBA(0.3137, 0.2941, 0.949, 1),
1292
+ lightMore: UndRGBA(0.3137, 0.2941, 0.949, 1),
1293
+ darkMore: UndRGBA(0.3137, 0.2941, 0.949, 1)
1294
+ ),
1295
+ dataviz2: UndDynamicColor(
1296
+ light: UndRGBA(0.9211, 0.515, 0.1346, 1, space: .displayP3),
1297
+ dark: UndRGBA(0.9211, 0.515, 0.1346, 1, space: .displayP3),
1298
+ lightMore: UndRGBA(0.9211, 0.515, 0.1346, 1, space: .displayP3),
1299
+ darkMore: UndRGBA(0.9211, 0.515, 0.1346, 1, space: .displayP3)
1300
+ ),
1301
+ dataviz3: UndDynamicColor(
1302
+ light: UndRGBA(0.0077, 0.4931, 0.5021, 1, space: .displayP3),
1303
+ dark: UndRGBA(0.0077, 0.4931, 0.5021, 1, space: .displayP3),
1304
+ lightMore: UndRGBA(0.0077, 0.4931, 0.5021, 1, space: .displayP3),
1305
+ darkMore: UndRGBA(0.0077, 0.4931, 0.5021, 1, space: .displayP3)
1306
+ ),
1307
+ dataviz4: UndDynamicColor(
1308
+ light: UndRGBA(0.7922, 0.2078, 0.5451, 1),
1309
+ dark: UndRGBA(0.7922, 0.2078, 0.5451, 1),
1310
+ lightMore: UndRGBA(0.7922, 0.2078, 0.5451, 1),
1311
+ darkMore: UndRGBA(0.7922, 0.2078, 0.5451, 1)
1312
+ ),
1313
+ dataviz5: UndDynamicColor(
1314
+ light: UndRGBA(0.1691, 0.5098, 0.2544, 1, space: .displayP3),
1315
+ dark: UndRGBA(0.1691, 0.5098, 0.2544, 1, space: .displayP3),
1316
+ lightMore: UndRGBA(0.1691, 0.5098, 0.2544, 1, space: .displayP3),
1317
+ darkMore: UndRGBA(0.1691, 0.5098, 0.2544, 1, space: .displayP3)
1318
+ ),
1319
+ dataviz6: UndDynamicColor(
1320
+ light: UndRGBA(0.1194, 0.4327, 0.8303, 1, space: .displayP3),
1321
+ dark: UndRGBA(0.1194, 0.4327, 0.8303, 1, space: .displayP3),
1322
+ lightMore: UndRGBA(0.1194, 0.4327, 0.8303, 1, space: .displayP3),
1323
+ darkMore: UndRGBA(0.1194, 0.4327, 0.8303, 1, space: .displayP3)
1324
+ ),
1325
+ dataviz7: UndDynamicColor(
1326
+ light: UndRGBA(0.7333, 0.302, 0.1647, 1),
1327
+ dark: UndRGBA(0.7333, 0.302, 0.1647, 1),
1328
+ lightMore: UndRGBA(0.7333, 0.302, 0.1647, 1),
1329
+ darkMore: UndRGBA(0.7333, 0.302, 0.1647, 1)
1330
+ ),
1331
+ dataviz8: UndDynamicColor(
1332
+ light: UndRGBA(0.9367, 0.7103, 0.2322, 1, space: .displayP3),
1333
+ dark: UndRGBA(0.9367, 0.7103, 0.2322, 1, space: .displayP3),
1334
+ lightMore: UndRGBA(0.9367, 0.7103, 0.2322, 1, space: .displayP3),
1335
+ darkMore: UndRGBA(0.9367, 0.7103, 0.2322, 1, space: .displayP3)
1336
+ ),
1337
+ datavizAxis: UndDynamicColor(
1338
+ light: UndRGBA(0, 0.0745, 0.0196, 0.22),
1339
+ dark: UndRGBA(0.9569, 1, 0.9686, 0.275),
1340
+ lightMore: UndRGBA(0, 0.0745, 0.0196, 0.22),
1341
+ darkMore: UndRGBA(0.9569, 1, 0.9686, 0.275)
1342
+ ),
1343
+ datavizGridline: UndDynamicColor(
1344
+ light: UndRGBA(0.0078, 0.098, 0.0078, 0.087),
1345
+ dark: UndRGBA(0.9686, 0.9922, 0.9686, 0.15),
1346
+ lightMore: UndRGBA(0.0078, 0.098, 0.0078, 0.087),
1347
+ darkMore: UndRGBA(0.9686, 0.9922, 0.9686, 0.15)
1348
+ ),
1349
+ fgDefault: UndDynamicColor(
1350
+ light: UndRGBA(0.1333, 0.149, 0.1373, 1),
1351
+ dark: UndRGBA(0.9137, 0.9373, 0.9176, 1),
1352
+ lightMore: UndRGBA(0.1333, 0.149, 0.1373, 1),
1353
+ darkMore: UndRGBA(0.9137, 0.9373, 0.9176, 1)
1354
+ ),
1355
+ fgDisabled: UndDynamicColor(
1356
+ light: UndRGBA(0.6941, 0.7137, 0.698, 1),
1357
+ dark: UndRGBA(0.3451, 0.3608, 0.3451, 1),
1358
+ lightMore: UndRGBA(0.6941, 0.7137, 0.698, 1),
1359
+ darkMore: UndRGBA(0.3451, 0.3608, 0.3451, 1)
1360
+ ),
1361
+ fgInverse: UndDynamicColor(
1362
+ light: UndRGBA(0.9882, 0.9922, 0.9882, 1),
1363
+ dark: UndRGBA(0.0549, 0.0549, 0.0549, 1),
1364
+ lightMore: UndRGBA(0.9882, 0.9922, 0.9882, 1),
1365
+ darkMore: UndRGBA(0.0549, 0.0549, 0.0549, 1)
1366
+ ),
1367
+ fgMuted: UndDynamicColor(
1368
+ light: UndRGBA(0.3804, 0.4, 0.3843, 1),
1369
+ dark: UndRGBA(0.7255, 0.7529, 0.7294, 1),
1370
+ lightMore: UndRGBA(0.1333, 0.149, 0.1373, 1),
1371
+ darkMore: UndRGBA(0.9137, 0.9373, 0.9176, 1)
1372
+ ),
1373
+ fgOnAccent: UndDynamicColor(
1374
+ light: UndRGBA(1, 1, 1, 1),
1375
+ dark: UndRGBA(1, 1, 1, 1),
1376
+ lightMore: UndRGBA(1, 1, 1, 1),
1377
+ darkMore: UndRGBA(1, 1, 1, 1)
1378
+ ),
1379
+ fgSubtle: UndDynamicColor(
1380
+ light: UndRGBA(0.4863, 0.5059, 0.4863, 1),
1381
+ dark: UndRGBA(0.4471, 0.4706, 0.451, 1),
1382
+ lightMore: UndRGBA(0.3804, 0.4, 0.3843, 1),
1383
+ darkMore: UndRGBA(0.7255, 0.7529, 0.7294, 1)
1384
+ ),
1385
+ focusRing: UndDynamicColor(
1386
+ light: UndRGBA(0.1962, 0.4692, 0.2558, 1, space: .displayP3),
1387
+ dark: UndRGBA(0.498, 0.8314, 0.5922, 1),
1388
+ lightMore: UndRGBA(0.1962, 0.4692, 0.2558, 1, space: .displayP3),
1389
+ darkMore: UndRGBA(0.498, 0.8314, 0.5922, 1)
1390
+ ),
1391
+ linkDefault: UndDynamicColor(
1392
+ light: UndRGBA(0.1962, 0.4692, 0.2558, 1, space: .displayP3),
1393
+ dark: UndRGBA(0.498, 0.8314, 0.5922, 1),
1394
+ lightMore: UndRGBA(0.056, 0.1794, 0.0832, 1, space: .displayP3),
1395
+ darkMore: UndRGBA(0.8549, 0.9608, 0.8784, 1)
1396
+ ),
1397
+ linkVisited: UndDynamicColor(
1398
+ light: UndRGBA(0.651, 0.1765, 0.4471, 1),
1399
+ dark: UndRGBA(0.9621, 0.5989, 0.7883, 1, space: .displayP3),
1400
+ lightMore: UndRGBA(0.651, 0.1765, 0.4471, 1),
1401
+ darkMore: UndRGBA(0.9621, 0.5989, 0.7883, 1, space: .displayP3)
1402
+ ),
1403
+ materialChromeBg: UndDynamicColor(
1404
+ light: UndRGBA(1, 1, 1, 1),
1405
+ dark: UndRGBA(0.0824, 0.0863, 0.0824, 1),
1406
+ lightMore: UndRGBA(1, 1, 1, 1),
1407
+ darkMore: UndRGBA(0.0824, 0.0863, 0.0824, 1)
1408
+ ),
1409
+ materialChromeBorder: UndDynamicColor(
1410
+ light: UndRGBA(0.7804, 0.7961, 0.7843, 1),
1411
+ dark: UndRGBA(0.2627, 0.2745, 0.2667, 1),
1412
+ lightMore: UndRGBA(0.6941, 0.7137, 0.698, 1),
1413
+ darkMore: UndRGBA(0.3451, 0.3608, 0.3451, 1)
1414
+ ),
1415
+ materialChromeHighlight: UndDynamicColor(
1416
+ light: UndRGBA(0, 0, 0, 0),
1417
+ dark: UndRGBA(0, 0, 0, 0),
1418
+ lightMore: UndRGBA(0, 0, 0, 0),
1419
+ darkMore: UndRGBA(0, 0, 0, 0)
1420
+ ),
1421
+ materialRegularBg: UndDynamicColor(
1422
+ light: UndRGBA(1, 1, 1, 1),
1423
+ dark: UndRGBA(0.0824, 0.0863, 0.0824, 1),
1424
+ lightMore: UndRGBA(1, 1, 1, 1),
1425
+ darkMore: UndRGBA(0.0824, 0.0863, 0.0824, 1)
1426
+ ),
1427
+ materialRegularBorder: UndDynamicColor(
1428
+ light: UndRGBA(0.7804, 0.7961, 0.7843, 1),
1429
+ dark: UndRGBA(0.2627, 0.2745, 0.2667, 1),
1430
+ lightMore: UndRGBA(0.6941, 0.7137, 0.698, 1),
1431
+ darkMore: UndRGBA(0.3451, 0.3608, 0.3451, 1)
1432
+ ),
1433
+ materialThickBg: UndDynamicColor(
1434
+ light: UndRGBA(1, 1, 1, 1),
1435
+ dark: UndRGBA(0.0824, 0.0863, 0.0824, 1),
1436
+ lightMore: UndRGBA(1, 1, 1, 1),
1437
+ darkMore: UndRGBA(0.0824, 0.0863, 0.0824, 1)
1438
+ ),
1439
+ materialThickBorder: UndDynamicColor(
1440
+ light: UndRGBA(0.7804, 0.7961, 0.7843, 1),
1441
+ dark: UndRGBA(0.2627, 0.2745, 0.2667, 1),
1442
+ lightMore: UndRGBA(0.6941, 0.7137, 0.698, 1),
1443
+ darkMore: UndRGBA(0.3451, 0.3608, 0.3451, 1)
1444
+ ),
1445
+ materialThinBg: UndDynamicColor(
1446
+ light: UndRGBA(1, 1, 1, 1),
1447
+ dark: UndRGBA(0.0824, 0.0863, 0.0824, 1),
1448
+ lightMore: UndRGBA(1, 1, 1, 1),
1449
+ darkMore: UndRGBA(0.0824, 0.0863, 0.0824, 1)
1450
+ ),
1451
+ materialThinBorder: UndDynamicColor(
1452
+ light: UndRGBA(0.7804, 0.7961, 0.7843, 1),
1453
+ dark: UndRGBA(0.2627, 0.2745, 0.2667, 1),
1454
+ lightMore: UndRGBA(0.6941, 0.7137, 0.698, 1),
1455
+ darkMore: UndRGBA(0.3451, 0.3608, 0.3451, 1)
1456
+ ),
1457
+ selectionBg: UndDynamicColor(
1458
+ light: UndRGBA(0, 0.4157, 0.098, 0.161),
1459
+ dark: UndRGBA(0.2784, 1, 0.5373, 0.255),
1460
+ lightMore: UndRGBA(0, 0.4157, 0.098, 0.161),
1461
+ darkMore: UndRGBA(0.2784, 1, 0.5373, 0.255)
1462
+ ),
1463
+ statusDangerBg: UndDynamicColor(
1464
+ light: UndRGBA(0.9922, 0.9373, 0.9294, 1),
1465
+ dark: UndRGBA(0.2078, 0.0745, 0.0667, 1),
1466
+ lightMore: UndRGBA(0.9922, 0.9373, 0.9294, 1),
1467
+ darkMore: UndRGBA(0.2078, 0.0745, 0.0667, 1)
1468
+ ),
1469
+ statusDangerBgHover: UndDynamicColor(
1470
+ light: UndRGBA(0.9804, 0.898, 0.8863, 1),
1471
+ dark: UndRGBA(0.2627, 0.0784, 0.0745, 1),
1472
+ lightMore: UndRGBA(0.9804, 0.898, 0.8863, 1),
1473
+ darkMore: UndRGBA(0.2627, 0.0784, 0.0745, 1)
1474
+ ),
1475
+ statusDangerBorder: UndDynamicColor(
1476
+ light: UndRGBA(0.949, 0.7294, 0.7059, 1),
1477
+ dark: UndRGBA(0.4745, 0.1373, 0.1373, 1),
1478
+ lightMore: UndRGBA(0.949, 0.7294, 0.7059, 1),
1479
+ darkMore: UndRGBA(0.4745, 0.1373, 0.1373, 1)
1480
+ ),
1481
+ statusDangerFg: UndDynamicColor(
1482
+ light: UndRGBA(0.7216, 0.1176, 0.1529, 1),
1483
+ dark: UndRGBA(0.9998, 0.6102, 0.5696, 1, space: .displayP3),
1484
+ lightMore: UndRGBA(0.7216, 0.1176, 0.1529, 1),
1485
+ darkMore: UndRGBA(0.9998, 0.6102, 0.5696, 1, space: .displayP3)
1486
+ ),
1487
+ statusDangerFgStrong: UndDynamicColor(
1488
+ light: UndRGBA(0.2941, 0.0235, 0.0353, 1),
1489
+ dark: UndRGBA(0.9985, 0.9003, 0.8863, 1, space: .displayP3),
1490
+ lightMore: UndRGBA(0.2941, 0.0235, 0.0353, 1),
1491
+ darkMore: UndRGBA(0.9985, 0.9003, 0.8863, 1, space: .displayP3)
1492
+ ),
1493
+ statusDangerOnSolid: UndDynamicColor(
1494
+ light: UndRGBA(1, 1, 1, 1),
1495
+ dark: UndRGBA(1, 1, 1, 1),
1496
+ lightMore: UndRGBA(1, 1, 1, 1),
1497
+ darkMore: UndRGBA(1, 1, 1, 1)
1498
+ ),
1499
+ statusDangerSolid: UndDynamicColor(
1500
+ light: UndRGBA(0.8667, 0.1137, 0.1725, 1),
1501
+ dark: UndRGBA(0.8667, 0.1137, 0.1725, 1),
1502
+ lightMore: UndRGBA(0.8667, 0.1137, 0.1725, 1),
1503
+ darkMore: UndRGBA(0.8667, 0.1137, 0.1725, 1)
1504
+ ),
1505
+ statusDangerSolidHover: UndDynamicColor(
1506
+ light: UndRGBA(0.7416, 0.1432, 0.1633, 1, space: .displayP3),
1507
+ dark: UndRGBA(0.7348, 0.1339, 0.1573, 1, space: .displayP3),
1508
+ lightMore: UndRGBA(0.7416, 0.1432, 0.1633, 1, space: .displayP3),
1509
+ darkMore: UndRGBA(0.7348, 0.1339, 0.1573, 1, space: .displayP3)
1510
+ ),
1511
+ statusInfoBg: UndDynamicColor(
1512
+ light: UndRGBA(0.9255, 0.9529, 0.9843, 1),
1513
+ dark: UndRGBA(0.0471, 0.1255, 0.2078, 1),
1514
+ lightMore: UndRGBA(0.9255, 0.9529, 0.9843, 1),
1515
+ darkMore: UndRGBA(0.0471, 0.1255, 0.2078, 1)
1516
+ ),
1517
+ statusInfoBgHover: UndDynamicColor(
1518
+ light: UndRGBA(0.8824, 0.9255, 0.9765, 1),
1519
+ dark: UndRGBA(0.0431, 0.1529, 0.2627, 1),
1520
+ lightMore: UndRGBA(0.8824, 0.9255, 0.9765, 1),
1521
+ darkMore: UndRGBA(0.0431, 0.1529, 0.2627, 1)
1522
+ ),
1523
+ statusInfoBorder: UndDynamicColor(
1524
+ light: UndRGBA(0.6902, 0.8039, 0.9373, 1),
1525
+ dark: UndRGBA(0.0706, 0.2784, 0.4784, 1),
1526
+ lightMore: UndRGBA(0.6902, 0.8039, 0.9373, 1),
1527
+ darkMore: UndRGBA(0.0706, 0.2784, 0.4784, 1)
1528
+ ),
1529
+ statusInfoFg: UndDynamicColor(
1530
+ light: UndRGBA(0.1385, 0.3875, 0.7163, 1, space: .displayP3),
1531
+ dark: UndRGBA(0.5796, 0.7556, 1, 1, space: .displayP3),
1532
+ lightMore: UndRGBA(0.1385, 0.3875, 0.7163, 1, space: .displayP3),
1533
+ darkMore: UndRGBA(0.5796, 0.7556, 1, 1, space: .displayP3)
1534
+ ),
1535
+ statusInfoFgStrong: UndDynamicColor(
1536
+ light: UndRGBA(0.0299, 0.1424, 0.2911, 1, space: .displayP3),
1537
+ dark: UndRGBA(0.8869, 0.934, 0.9984, 1, space: .displayP3),
1538
+ lightMore: UndRGBA(0.0299, 0.1424, 0.2911, 1, space: .displayP3),
1539
+ darkMore: UndRGBA(0.8869, 0.934, 0.9984, 1, space: .displayP3)
1540
+ ),
1541
+ statusInfoOnSolid: UndDynamicColor(
1542
+ light: UndRGBA(1, 1, 1, 1),
1543
+ dark: UndRGBA(1, 1, 1, 1),
1544
+ lightMore: UndRGBA(1, 1, 1, 1),
1545
+ darkMore: UndRGBA(1, 1, 1, 1)
1546
+ ),
1547
+ statusInfoSolid: UndDynamicColor(
1548
+ light: UndRGBA(0.1194, 0.4327, 0.8303, 1, space: .displayP3),
1549
+ dark: UndRGBA(0.1194, 0.4327, 0.8303, 1, space: .displayP3),
1550
+ lightMore: UndRGBA(0.1194, 0.4327, 0.8303, 1, space: .displayP3),
1551
+ darkMore: UndRGBA(0.1194, 0.4327, 0.8303, 1, space: .displayP3)
1552
+ ),
1553
+ statusInfoSolidHover: UndDynamicColor(
1554
+ light: UndRGBA(0.0421, 0.3834, 0.7776, 1, space: .displayP3),
1555
+ dark: UndRGBA(0.0287, 0.3773, 0.7711, 1, space: .displayP3),
1556
+ lightMore: UndRGBA(0.0421, 0.3834, 0.7776, 1, space: .displayP3),
1557
+ darkMore: UndRGBA(0.0287, 0.3773, 0.7711, 1, space: .displayP3)
1558
+ ),
1559
+ statusSuccessBg: UndDynamicColor(
1560
+ light: UndRGBA(0.9294, 0.9608, 0.9373, 1),
1561
+ dark: UndRGBA(0.0588, 0.1412, 0.0824, 1),
1562
+ lightMore: UndRGBA(0.9294, 0.9608, 0.9373, 1),
1563
+ darkMore: UndRGBA(0.0588, 0.1412, 0.0824, 1)
1564
+ ),
1565
+ statusSuccessBgHover: UndDynamicColor(
1566
+ light: UndRGBA(0.8863, 0.9333, 0.898, 1),
1567
+ dark: UndRGBA(0.0549, 0.1765, 0.098, 1),
1568
+ lightMore: UndRGBA(0.8863, 0.9333, 0.898, 1),
1569
+ darkMore: UndRGBA(0.0549, 0.1765, 0.098, 1)
1570
+ ),
1571
+ statusSuccessBorder: UndDynamicColor(
1572
+ light: UndRGBA(0.7059, 0.8275, 0.7333, 1),
1573
+ dark: UndRGBA(0.098, 0.3216, 0.1765, 1),
1574
+ lightMore: UndRGBA(0.7059, 0.8275, 0.7333, 1),
1575
+ darkMore: UndRGBA(0.098, 0.3216, 0.1765, 1)
1576
+ ),
1577
+ statusSuccessFg: UndDynamicColor(
1578
+ light: UndRGBA(0.1962, 0.4692, 0.2558, 1, space: .displayP3),
1579
+ dark: UndRGBA(0.498, 0.8314, 0.5922, 1),
1580
+ lightMore: UndRGBA(0.1962, 0.4692, 0.2558, 1, space: .displayP3),
1581
+ darkMore: UndRGBA(0.498, 0.8314, 0.5922, 1)
1582
+ ),
1583
+ statusSuccessFgStrong: UndDynamicColor(
1584
+ light: UndRGBA(0.056, 0.1794, 0.0832, 1, space: .displayP3),
1585
+ dark: UndRGBA(0.8549, 0.9608, 0.8784, 1),
1586
+ lightMore: UndRGBA(0.056, 0.1794, 0.0832, 1, space: .displayP3),
1587
+ darkMore: UndRGBA(0.8549, 0.9608, 0.8784, 1)
1588
+ ),
1589
+ statusSuccessOnSolid: UndDynamicColor(
1590
+ light: UndRGBA(1, 1, 1, 1),
1591
+ dark: UndRGBA(1, 1, 1, 1),
1592
+ lightMore: UndRGBA(1, 1, 1, 1),
1593
+ darkMore: UndRGBA(1, 1, 1, 1)
1594
+ ),
1595
+ statusSuccessSolid: UndDynamicColor(
1596
+ light: UndRGBA(0.1691, 0.5098, 0.2544, 1, space: .displayP3),
1597
+ dark: UndRGBA(0.1691, 0.5098, 0.2544, 1, space: .displayP3),
1598
+ lightMore: UndRGBA(0.1691, 0.5098, 0.2544, 1, space: .displayP3),
1599
+ darkMore: UndRGBA(0.1691, 0.5098, 0.2544, 1, space: .displayP3)
1600
+ ),
1601
+ statusSuccessSolidHover: UndDynamicColor(
1602
+ light: UndRGBA(0.1105, 0.4623, 0.2105, 1, space: .displayP3),
1603
+ dark: UndRGBA(0.1024, 0.4564, 0.205, 1, space: .displayP3),
1604
+ lightMore: UndRGBA(0.1105, 0.4623, 0.2105, 1, space: .displayP3),
1605
+ darkMore: UndRGBA(0.1024, 0.4564, 0.205, 1, space: .displayP3)
1606
+ ),
1607
+ statusWarningBg: UndDynamicColor(
1608
+ light: UndRGBA(0.9686, 0.949, 0.9176, 1),
1609
+ dark: UndRGBA(0.1608, 0.1098, 0.0157, 1),
1610
+ lightMore: UndRGBA(0.9686, 0.949, 0.9176, 1),
1611
+ darkMore: UndRGBA(0.1608, 0.1098, 0.0157, 1)
1612
+ ),
1613
+ statusWarningBgHover: UndDynamicColor(
1614
+ light: UndRGBA(0.9451, 0.9137, 0.8667, 1),
1615
+ dark: UndRGBA(0.1937, 0.1371, 0.0213, 1, space: .displayP3),
1616
+ lightMore: UndRGBA(0.9451, 0.9137, 0.8667, 1),
1617
+ darkMore: UndRGBA(0.1937, 0.1371, 0.0213, 1, space: .displayP3)
1618
+ ),
1619
+ statusWarningBorder: UndDynamicColor(
1620
+ light: UndRGBA(0.8627, 0.7804, 0.6471, 1),
1621
+ dark: UndRGBA(0.3535, 0.2503, 0.008, 1, space: .displayP3),
1622
+ lightMore: UndRGBA(0.8627, 0.7804, 0.6471, 1),
1623
+ darkMore: UndRGBA(0.3535, 0.2503, 0.008, 1, space: .displayP3)
1624
+ ),
1625
+ statusWarningFg: UndDynamicColor(
1626
+ light: UndRGBA(0.5069, 0.3634, 0.0036, 1, space: .displayP3),
1627
+ dark: UndRGBA(0.9137, 0.7059, 0.3294, 1),
1628
+ lightMore: UndRGBA(0.5069, 0.3634, 0.0036, 1, space: .displayP3),
1629
+ darkMore: UndRGBA(0.9137, 0.7059, 0.3294, 1)
1630
+ ),
1631
+ statusWarningFgStrong: UndDynamicColor(
1632
+ light: UndRGBA(0.196, 0.1319, 0.0004, 1, space: .displayP3),
1633
+ dark: UndRGBA(0.9882, 0.9176, 0.8039, 1),
1634
+ lightMore: UndRGBA(0.196, 0.1319, 0.0004, 1, space: .displayP3),
1635
+ darkMore: UndRGBA(0.9882, 0.9176, 0.8039, 1)
1636
+ ),
1637
+ statusWarningOnSolid: UndDynamicColor(
1638
+ light: UndRGBA(0.196, 0.1319, 0.0004, 1, space: .displayP3),
1639
+ dark: UndRGBA(0.196, 0.1319, 0.0004, 1, space: .displayP3),
1640
+ lightMore: UndRGBA(0.196, 0.1319, 0.0004, 1, space: .displayP3),
1641
+ darkMore: UndRGBA(0.196, 0.1319, 0.0004, 1, space: .displayP3)
1642
+ ),
1643
+ statusWarningSolid: UndDynamicColor(
1644
+ light: UndRGBA(0.9367, 0.7103, 0.2322, 1, space: .displayP3),
1645
+ dark: UndRGBA(0.9367, 0.7103, 0.2322, 1, space: .displayP3),
1646
+ lightMore: UndRGBA(0.9367, 0.7103, 0.2322, 1, space: .displayP3),
1647
+ darkMore: UndRGBA(0.9367, 0.7103, 0.2322, 1, space: .displayP3)
1648
+ ),
1649
+ statusWarningSolidHover: UndDynamicColor(
1650
+ light: UndRGBA(0.8842, 0.6598, 0.1637, 1, space: .displayP3),
1651
+ dark: UndRGBA(0.9963, 0.7678, 0.3003, 1, space: .displayP3),
1652
+ lightMore: UndRGBA(0.8842, 0.6598, 0.1637, 1, space: .displayP3),
1653
+ darkMore: UndRGBA(0.9963, 0.7678, 0.3003, 1, space: .displayP3)
1654
+ )
1655
+ )
1656
+ public static let mitti = UndColorRoles(
1657
+ accentBg: UndDynamicColor(
1658
+ light: UndRGBA(0.9804, 0.9412, 0.9294, 1),
1659
+ dark: UndRGBA(0.1804, 0.0941, 0.0667, 1),
1660
+ lightMore: UndRGBA(0.9804, 0.9412, 0.9294, 1),
1661
+ darkMore: UndRGBA(0.1804, 0.0941, 0.0667, 1)
1662
+ ),
1663
+ accentBgActive: UndDynamicColor(
1664
+ light: UndRGBA(0.9451, 0.8667, 0.8431, 1),
1665
+ dark: UndRGBA(0.2745, 0.1294, 0.0863, 1),
1666
+ lightMore: UndRGBA(0.9451, 0.8667, 0.8431, 1),
1667
+ darkMore: UndRGBA(0.2745, 0.1294, 0.0863, 1)
1668
+ ),
1669
+ accentBgHover: UndDynamicColor(
1670
+ light: UndRGBA(0.9608, 0.9059, 0.8863, 1),
1671
+ dark: UndRGBA(0.2275, 0.1137, 0.0745, 1),
1672
+ lightMore: UndRGBA(0.9608, 0.9059, 0.8863, 1),
1673
+ darkMore: UndRGBA(0.2275, 0.1137, 0.0745, 1)
1674
+ ),
1675
+ accentBorder: UndDynamicColor(
1676
+ light: UndRGBA(0.898, 0.7569, 0.7098, 1),
1677
+ dark: UndRGBA(0.4157, 0.2039, 0.1412, 1),
1678
+ lightMore: UndRGBA(0.898, 0.7569, 0.7098, 1),
1679
+ darkMore: UndRGBA(0.4157, 0.2039, 0.1412, 1)
1680
+ ),
1681
+ accentFg: UndDynamicColor(
1682
+ light: UndRGBA(0.6275, 0.2706, 0.1569, 1),
1683
+ dark: UndRGBA(0.9882, 0.6431, 0.5373, 1),
1684
+ lightMore: UndRGBA(0.251, 0.0902, 0.0392, 1),
1685
+ darkMore: UndRGBA(0.9985, 0.9033, 0.8676, 1, space: .displayP3)
1686
+ ),
1687
+ accentFgStrong: UndDynamicColor(
1688
+ light: UndRGBA(0.251, 0.0902, 0.0392, 1),
1689
+ dark: UndRGBA(0.9985, 0.9033, 0.8676, 1, space: .displayP3),
1690
+ lightMore: UndRGBA(0.251, 0.0902, 0.0392, 1),
1691
+ darkMore: UndRGBA(0.9985, 0.9033, 0.8676, 1, space: .displayP3)
1692
+ ),
1693
+ accentSolid: UndDynamicColor(
1694
+ light: UndRGBA(0.7333, 0.302, 0.1647, 1),
1695
+ dark: UndRGBA(0.7333, 0.302, 0.1647, 1),
1696
+ lightMore: UndRGBA(0.7333, 0.302, 0.1647, 1),
1697
+ darkMore: UndRGBA(0.7333, 0.302, 0.1647, 1)
1698
+ ),
1699
+ accentSolidHover: UndDynamicColor(
1700
+ light: UndRGBA(0.6784, 0.2549, 0.1098, 1),
1701
+ dark: UndRGBA(0.6745, 0.2471, 0.102, 1),
1702
+ lightMore: UndRGBA(0.6784, 0.2549, 0.1098, 1),
1703
+ darkMore: UndRGBA(0.6745, 0.2471, 0.102, 1)
1704
+ ),
1705
+ bgCanvas: UndDynamicColor(
1706
+ light: UndRGBA(0.9922, 0.9804, 0.9569, 1),
1707
+ dark: UndRGBA(0.0588, 0.0549, 0.051, 1),
1708
+ lightMore: UndRGBA(0.9922, 0.9804, 0.9569, 1),
1709
+ darkMore: UndRGBA(0.0588, 0.0549, 0.051, 1)
1710
+ ),
1711
+ bgInverse: UndDynamicColor(
1712
+ light: UndRGBA(0.1608, 0.1412, 0.1216, 1),
1713
+ dark: UndRGBA(0.949, 0.9255, 0.8941, 1),
1714
+ lightMore: UndRGBA(0.1608, 0.1412, 0.1216, 1),
1715
+ darkMore: UndRGBA(0.949, 0.9255, 0.8941, 1)
1716
+ ),
1717
+ bgMuted: UndDynamicColor(
1718
+ light: UndRGBA(0.9569, 0.949, 0.9412, 1),
1719
+ dark: UndRGBA(0.1255, 0.1176, 0.1137, 1),
1720
+ lightMore: UndRGBA(0.9569, 0.949, 0.9412, 1),
1721
+ darkMore: UndRGBA(0.1255, 0.1176, 0.1137, 1)
1722
+ ),
1723
+ bgMutedActive: UndDynamicColor(
1724
+ light: UndRGBA(0.898, 0.8824, 0.8706, 1),
1725
+ dark: UndRGBA(0.1843, 0.1765, 0.1647, 1),
1726
+ lightMore: UndRGBA(0.898, 0.8824, 0.8706, 1),
1727
+ darkMore: UndRGBA(0.1843, 0.1765, 0.1647, 1)
1728
+ ),
1729
+ bgMutedHover: UndDynamicColor(
1730
+ light: UndRGBA(0.9294, 0.9176, 0.9059, 1),
1731
+ dark: UndRGBA(0.1569, 0.149, 0.1373, 1),
1732
+ lightMore: UndRGBA(0.9294, 0.9176, 0.9059, 1),
1733
+ darkMore: UndRGBA(0.1569, 0.149, 0.1373, 1)
1734
+ ),
1735
+ bgOverlay: UndDynamicColor(
1736
+ light: UndRGBA(0.0431, 0.051, 0.0863, 0.45),
1737
+ dark: UndRGBA(0, 0, 0, 0.6),
1738
+ lightMore: UndRGBA(0.0431, 0.051, 0.0863, 0.45),
1739
+ darkMore: UndRGBA(0, 0, 0, 0.6)
1740
+ ),
1741
+ bgRaised: UndDynamicColor(
1742
+ light: UndRGBA(1, 1, 1, 1),
1743
+ dark: UndRGBA(0.1255, 0.1176, 0.1137, 1),
1744
+ lightMore: UndRGBA(1, 1, 1, 1),
1745
+ darkMore: UndRGBA(0.1255, 0.1176, 0.1137, 1)
1746
+ ),
1747
+ bgSubtle: UndDynamicColor(
1748
+ light: UndRGBA(0.9843, 0.9765, 0.9686, 1),
1749
+ dark: UndRGBA(0.0863, 0.0824, 0.0784, 1),
1750
+ lightMore: UndRGBA(0.9843, 0.9765, 0.9686, 1),
1751
+ darkMore: UndRGBA(0.0863, 0.0824, 0.0784, 1)
1752
+ ),
1753
+ bgSurface: UndDynamicColor(
1754
+ light: UndRGBA(1, 1, 1, 1),
1755
+ dark: UndRGBA(0.0863, 0.0824, 0.0784, 1),
1756
+ lightMore: UndRGBA(1, 1, 1, 1),
1757
+ darkMore: UndRGBA(0.0863, 0.0824, 0.0784, 1)
1758
+ ),
1759
+ borderControl: UndDynamicColor(
1760
+ light: UndRGBA(0.5725, 0.5451, 0.5176, 1),
1761
+ dark: UndRGBA(0.4314, 0.4078, 0.3765, 1),
1762
+ lightMore: UndRGBA(0.4157, 0.3882, 0.3608, 1),
1763
+ darkMore: UndRGBA(0.7686, 0.7373, 0.7059, 1)
1764
+ ),
1765
+ borderControlHover: UndDynamicColor(
1766
+ light: UndRGBA(0.5255, 0.502, 0.4706, 1),
1767
+ dark: UndRGBA(0.4824, 0.4588, 0.4275, 1),
1768
+ lightMore: UndRGBA(0.1608, 0.1412, 0.1216, 1),
1769
+ darkMore: UndRGBA(0.949, 0.9255, 0.8941, 1)
1770
+ ),
1771
+ borderDefault: UndDynamicColor(
1772
+ light: UndRGBA(0.8078, 0.7882, 0.7686, 1),
1773
+ dark: UndRGBA(0.2863, 0.2706, 0.251, 1),
1774
+ lightMore: UndRGBA(0.5725, 0.5451, 0.5176, 1),
1775
+ darkMore: UndRGBA(0.4314, 0.4078, 0.3765, 1)
1776
+ ),
1777
+ borderStrong: UndDynamicColor(
1778
+ light: UndRGBA(0.7255, 0.7059, 0.6784, 1),
1779
+ dark: UndRGBA(0.3725, 0.3529, 0.3294, 1),
1780
+ lightMore: UndRGBA(0.7255, 0.7059, 0.6784, 1),
1781
+ darkMore: UndRGBA(0.3725, 0.3529, 0.3294, 1)
1782
+ ),
1783
+ borderSubtle: UndDynamicColor(
1784
+ light: UndRGBA(0.8588, 0.8431, 0.8275, 1),
1785
+ dark: UndRGBA(0.2235, 0.2118, 0.2, 1),
1786
+ lightMore: UndRGBA(0.7255, 0.7059, 0.6784, 1),
1787
+ darkMore: UndRGBA(0.3725, 0.3529, 0.3294, 1)
1788
+ ),
1789
+ dataviz1: UndDynamicColor(
1790
+ light: UndRGBA(0.3137, 0.2941, 0.949, 1),
1791
+ dark: UndRGBA(0.3137, 0.2941, 0.949, 1),
1792
+ lightMore: UndRGBA(0.3137, 0.2941, 0.949, 1),
1793
+ darkMore: UndRGBA(0.3137, 0.2941, 0.949, 1)
1794
+ ),
1795
+ dataviz2: UndDynamicColor(
1796
+ light: UndRGBA(0.9211, 0.515, 0.1346, 1, space: .displayP3),
1797
+ dark: UndRGBA(0.9211, 0.515, 0.1346, 1, space: .displayP3),
1798
+ lightMore: UndRGBA(0.9211, 0.515, 0.1346, 1, space: .displayP3),
1799
+ darkMore: UndRGBA(0.9211, 0.515, 0.1346, 1, space: .displayP3)
1800
+ ),
1801
+ dataviz3: UndDynamicColor(
1802
+ light: UndRGBA(0.0077, 0.4931, 0.5021, 1, space: .displayP3),
1803
+ dark: UndRGBA(0.0077, 0.4931, 0.5021, 1, space: .displayP3),
1804
+ lightMore: UndRGBA(0.0077, 0.4931, 0.5021, 1, space: .displayP3),
1805
+ darkMore: UndRGBA(0.0077, 0.4931, 0.5021, 1, space: .displayP3)
1806
+ ),
1807
+ dataviz4: UndDynamicColor(
1808
+ light: UndRGBA(0.7922, 0.2078, 0.5451, 1),
1809
+ dark: UndRGBA(0.7922, 0.2078, 0.5451, 1),
1810
+ lightMore: UndRGBA(0.7922, 0.2078, 0.5451, 1),
1811
+ darkMore: UndRGBA(0.7922, 0.2078, 0.5451, 1)
1812
+ ),
1813
+ dataviz5: UndDynamicColor(
1814
+ light: UndRGBA(0.1691, 0.5098, 0.2544, 1, space: .displayP3),
1815
+ dark: UndRGBA(0.1691, 0.5098, 0.2544, 1, space: .displayP3),
1816
+ lightMore: UndRGBA(0.1691, 0.5098, 0.2544, 1, space: .displayP3),
1817
+ darkMore: UndRGBA(0.1691, 0.5098, 0.2544, 1, space: .displayP3)
1818
+ ),
1819
+ dataviz6: UndDynamicColor(
1820
+ light: UndRGBA(0.1194, 0.4327, 0.8303, 1, space: .displayP3),
1821
+ dark: UndRGBA(0.1194, 0.4327, 0.8303, 1, space: .displayP3),
1822
+ lightMore: UndRGBA(0.1194, 0.4327, 0.8303, 1, space: .displayP3),
1823
+ darkMore: UndRGBA(0.1194, 0.4327, 0.8303, 1, space: .displayP3)
1824
+ ),
1825
+ dataviz7: UndDynamicColor(
1826
+ light: UndRGBA(0.7333, 0.302, 0.1647, 1),
1827
+ dark: UndRGBA(0.7333, 0.302, 0.1647, 1),
1828
+ lightMore: UndRGBA(0.7333, 0.302, 0.1647, 1),
1829
+ darkMore: UndRGBA(0.7333, 0.302, 0.1647, 1)
1830
+ ),
1831
+ dataviz8: UndDynamicColor(
1832
+ light: UndRGBA(0.9367, 0.7103, 0.2322, 1, space: .displayP3),
1833
+ dark: UndRGBA(0.9367, 0.7103, 0.2322, 1, space: .displayP3),
1834
+ lightMore: UndRGBA(0.9367, 0.7103, 0.2322, 1, space: .displayP3),
1835
+ darkMore: UndRGBA(0.9367, 0.7103, 0.2322, 1, space: .displayP3)
1836
+ ),
1837
+ datavizAxis: UndDynamicColor(
1838
+ light: UndRGBA(0.1725, 0.0863, 0.0039, 0.232),
1839
+ dark: UndRGBA(0.9961, 0.9412, 0.8745, 0.287),
1840
+ lightMore: UndRGBA(0.1725, 0.0863, 0.0039, 0.232),
1841
+ darkMore: UndRGBA(0.9961, 0.9412, 0.8745, 0.287)
1842
+ ),
1843
+ datavizGridline: UndDynamicColor(
1844
+ light: UndRGBA(0.2588, 0.1333, 0.0078, 0.095),
1845
+ dark: UndRGBA(1, 0.949, 0.8745, 0.157),
1846
+ lightMore: UndRGBA(0.2588, 0.1333, 0.0078, 0.095),
1847
+ darkMore: UndRGBA(1, 0.949, 0.8745, 0.157)
1848
+ ),
1849
+ fgDefault: UndDynamicColor(
1850
+ light: UndRGBA(0.1608, 0.1412, 0.1216, 1),
1851
+ dark: UndRGBA(0.949, 0.9255, 0.8941, 1),
1852
+ lightMore: UndRGBA(0.1608, 0.1412, 0.1216, 1),
1853
+ darkMore: UndRGBA(0.949, 0.9255, 0.8941, 1)
1854
+ ),
1855
+ fgDisabled: UndDynamicColor(
1856
+ light: UndRGBA(0.7255, 0.7059, 0.6784, 1),
1857
+ dark: UndRGBA(0.3725, 0.3529, 0.3294, 1),
1858
+ lightMore: UndRGBA(0.7255, 0.7059, 0.6784, 1),
1859
+ darkMore: UndRGBA(0.3725, 0.3529, 0.3294, 1)
1860
+ ),
1861
+ fgInverse: UndDynamicColor(
1862
+ light: UndRGBA(0.9922, 0.9804, 0.9569, 1),
1863
+ dark: UndRGBA(0.0588, 0.0549, 0.051, 1),
1864
+ lightMore: UndRGBA(0.9922, 0.9804, 0.9569, 1),
1865
+ darkMore: UndRGBA(0.0588, 0.0549, 0.051, 1)
1866
+ ),
1867
+ fgMuted: UndDynamicColor(
1868
+ light: UndRGBA(0.4157, 0.3882, 0.3608, 1),
1869
+ dark: UndRGBA(0.7686, 0.7373, 0.7059, 1),
1870
+ lightMore: UndRGBA(0.1608, 0.1412, 0.1216, 1),
1871
+ darkMore: UndRGBA(0.949, 0.9255, 0.8941, 1)
1872
+ ),
1873
+ fgOnAccent: UndDynamicColor(
1874
+ light: UndRGBA(1, 1, 1, 1),
1875
+ dark: UndRGBA(1, 1, 1, 1),
1876
+ lightMore: UndRGBA(1, 1, 1, 1),
1877
+ darkMore: UndRGBA(1, 1, 1, 1)
1878
+ ),
1879
+ fgSubtle: UndDynamicColor(
1880
+ light: UndRGBA(0.5255, 0.502, 0.4706, 1),
1881
+ dark: UndRGBA(0.4824, 0.4588, 0.4275, 1),
1882
+ lightMore: UndRGBA(0.4157, 0.3882, 0.3608, 1),
1883
+ darkMore: UndRGBA(0.7686, 0.7373, 0.7059, 1)
1884
+ ),
1885
+ focusRing: UndDynamicColor(
1886
+ light: UndRGBA(0.6275, 0.2706, 0.1569, 1),
1887
+ dark: UndRGBA(0.9882, 0.6431, 0.5373, 1),
1888
+ lightMore: UndRGBA(0.6275, 0.2706, 0.1569, 1),
1889
+ darkMore: UndRGBA(0.9882, 0.6431, 0.5373, 1)
1890
+ ),
1891
+ linkDefault: UndDynamicColor(
1892
+ light: UndRGBA(0.6275, 0.2706, 0.1569, 1),
1893
+ dark: UndRGBA(0.9882, 0.6431, 0.5373, 1),
1894
+ lightMore: UndRGBA(0.251, 0.0902, 0.0392, 1),
1895
+ darkMore: UndRGBA(0.9985, 0.9033, 0.8676, 1, space: .displayP3)
1896
+ ),
1897
+ linkVisited: UndDynamicColor(
1898
+ light: UndRGBA(0.651, 0.1765, 0.4471, 1),
1899
+ dark: UndRGBA(0.9621, 0.5989, 0.7883, 1, space: .displayP3),
1900
+ lightMore: UndRGBA(0.651, 0.1765, 0.4471, 1),
1901
+ darkMore: UndRGBA(0.9621, 0.5989, 0.7883, 1, space: .displayP3)
1902
+ ),
1903
+ materialChromeBg: UndDynamicColor(
1904
+ light: UndRGBA(1, 1, 1, 1),
1905
+ dark: UndRGBA(0.0863, 0.0824, 0.0784, 1),
1906
+ lightMore: UndRGBA(1, 1, 1, 1),
1907
+ darkMore: UndRGBA(0.0863, 0.0824, 0.0784, 1)
1908
+ ),
1909
+ materialChromeBorder: UndDynamicColor(
1910
+ light: UndRGBA(0.8078, 0.7882, 0.7686, 1),
1911
+ dark: UndRGBA(0.2863, 0.2706, 0.251, 1),
1912
+ lightMore: UndRGBA(0.7255, 0.7059, 0.6784, 1),
1913
+ darkMore: UndRGBA(0.3725, 0.3529, 0.3294, 1)
1914
+ ),
1915
+ materialChromeHighlight: UndDynamicColor(
1916
+ light: UndRGBA(0, 0, 0, 0),
1917
+ dark: UndRGBA(0, 0, 0, 0),
1918
+ lightMore: UndRGBA(0, 0, 0, 0),
1919
+ darkMore: UndRGBA(0, 0, 0, 0)
1920
+ ),
1921
+ materialRegularBg: UndDynamicColor(
1922
+ light: UndRGBA(1, 1, 1, 1),
1923
+ dark: UndRGBA(0.0863, 0.0824, 0.0784, 1),
1924
+ lightMore: UndRGBA(1, 1, 1, 1),
1925
+ darkMore: UndRGBA(0.0863, 0.0824, 0.0784, 1)
1926
+ ),
1927
+ materialRegularBorder: UndDynamicColor(
1928
+ light: UndRGBA(0.8078, 0.7882, 0.7686, 1),
1929
+ dark: UndRGBA(0.2863, 0.2706, 0.251, 1),
1930
+ lightMore: UndRGBA(0.7255, 0.7059, 0.6784, 1),
1931
+ darkMore: UndRGBA(0.3725, 0.3529, 0.3294, 1)
1932
+ ),
1933
+ materialThickBg: UndDynamicColor(
1934
+ light: UndRGBA(1, 1, 1, 1),
1935
+ dark: UndRGBA(0.0863, 0.0824, 0.0784, 1),
1936
+ lightMore: UndRGBA(1, 1, 1, 1),
1937
+ darkMore: UndRGBA(0.0863, 0.0824, 0.0784, 1)
1938
+ ),
1939
+ materialThickBorder: UndDynamicColor(
1940
+ light: UndRGBA(0.8078, 0.7882, 0.7686, 1),
1941
+ dark: UndRGBA(0.2863, 0.2706, 0.251, 1),
1942
+ lightMore: UndRGBA(0.7255, 0.7059, 0.6784, 1),
1943
+ darkMore: UndRGBA(0.3725, 0.3529, 0.3294, 1)
1944
+ ),
1945
+ materialThinBg: UndDynamicColor(
1946
+ light: UndRGBA(1, 1, 1, 1),
1947
+ dark: UndRGBA(0.0863, 0.0824, 0.0784, 1),
1948
+ lightMore: UndRGBA(1, 1, 1, 1),
1949
+ darkMore: UndRGBA(0.0863, 0.0824, 0.0784, 1)
1950
+ ),
1951
+ materialThinBorder: UndDynamicColor(
1952
+ light: UndRGBA(0.8078, 0.7882, 0.7686, 1),
1953
+ dark: UndRGBA(0.2863, 0.2706, 0.251, 1),
1954
+ lightMore: UndRGBA(0.7255, 0.7059, 0.6784, 1),
1955
+ darkMore: UndRGBA(0.3725, 0.3529, 0.3294, 1)
1956
+ ),
1957
+ selectionBg: UndDynamicColor(
1958
+ light: UndRGBA(0.651, 0.149, 0, 0.157),
1959
+ dark: UndRGBA(1, 0.4863, 0.3216, 0.33),
1960
+ lightMore: UndRGBA(0.651, 0.149, 0, 0.157),
1961
+ darkMore: UndRGBA(1, 0.4863, 0.3216, 0.33)
1962
+ ),
1963
+ statusDangerBg: UndDynamicColor(
1964
+ light: UndRGBA(0.9922, 0.9373, 0.9294, 1),
1965
+ dark: UndRGBA(0.2078, 0.0745, 0.0667, 1),
1966
+ lightMore: UndRGBA(0.9922, 0.9373, 0.9294, 1),
1967
+ darkMore: UndRGBA(0.2078, 0.0745, 0.0667, 1)
1968
+ ),
1969
+ statusDangerBgHover: UndDynamicColor(
1970
+ light: UndRGBA(0.9804, 0.898, 0.8863, 1),
1971
+ dark: UndRGBA(0.2627, 0.0784, 0.0745, 1),
1972
+ lightMore: UndRGBA(0.9804, 0.898, 0.8863, 1),
1973
+ darkMore: UndRGBA(0.2627, 0.0784, 0.0745, 1)
1974
+ ),
1975
+ statusDangerBorder: UndDynamicColor(
1976
+ light: UndRGBA(0.949, 0.7294, 0.7059, 1),
1977
+ dark: UndRGBA(0.4745, 0.1373, 0.1373, 1),
1978
+ lightMore: UndRGBA(0.949, 0.7294, 0.7059, 1),
1979
+ darkMore: UndRGBA(0.4745, 0.1373, 0.1373, 1)
1980
+ ),
1981
+ statusDangerFg: UndDynamicColor(
1982
+ light: UndRGBA(0.7216, 0.1176, 0.1529, 1),
1983
+ dark: UndRGBA(0.9998, 0.6102, 0.5696, 1, space: .displayP3),
1984
+ lightMore: UndRGBA(0.7216, 0.1176, 0.1529, 1),
1985
+ darkMore: UndRGBA(0.9998, 0.6102, 0.5696, 1, space: .displayP3)
1986
+ ),
1987
+ statusDangerFgStrong: UndDynamicColor(
1988
+ light: UndRGBA(0.2941, 0.0235, 0.0353, 1),
1989
+ dark: UndRGBA(0.9985, 0.9003, 0.8863, 1, space: .displayP3),
1990
+ lightMore: UndRGBA(0.2941, 0.0235, 0.0353, 1),
1991
+ darkMore: UndRGBA(0.9985, 0.9003, 0.8863, 1, space: .displayP3)
1992
+ ),
1993
+ statusDangerOnSolid: UndDynamicColor(
1994
+ light: UndRGBA(1, 1, 1, 1),
1995
+ dark: UndRGBA(1, 1, 1, 1),
1996
+ lightMore: UndRGBA(1, 1, 1, 1),
1997
+ darkMore: UndRGBA(1, 1, 1, 1)
1998
+ ),
1999
+ statusDangerSolid: UndDynamicColor(
2000
+ light: UndRGBA(0.8667, 0.1137, 0.1725, 1),
2001
+ dark: UndRGBA(0.8667, 0.1137, 0.1725, 1),
2002
+ lightMore: UndRGBA(0.8667, 0.1137, 0.1725, 1),
2003
+ darkMore: UndRGBA(0.8667, 0.1137, 0.1725, 1)
2004
+ ),
2005
+ statusDangerSolidHover: UndDynamicColor(
2006
+ light: UndRGBA(0.7416, 0.1432, 0.1633, 1, space: .displayP3),
2007
+ dark: UndRGBA(0.7348, 0.1339, 0.1573, 1, space: .displayP3),
2008
+ lightMore: UndRGBA(0.7416, 0.1432, 0.1633, 1, space: .displayP3),
2009
+ darkMore: UndRGBA(0.7348, 0.1339, 0.1573, 1, space: .displayP3)
2010
+ ),
2011
+ statusInfoBg: UndDynamicColor(
2012
+ light: UndRGBA(0.9255, 0.9529, 0.9843, 1),
2013
+ dark: UndRGBA(0.0471, 0.1255, 0.2078, 1),
2014
+ lightMore: UndRGBA(0.9255, 0.9529, 0.9843, 1),
2015
+ darkMore: UndRGBA(0.0471, 0.1255, 0.2078, 1)
2016
+ ),
2017
+ statusInfoBgHover: UndDynamicColor(
2018
+ light: UndRGBA(0.8824, 0.9255, 0.9765, 1),
2019
+ dark: UndRGBA(0.0431, 0.1529, 0.2627, 1),
2020
+ lightMore: UndRGBA(0.8824, 0.9255, 0.9765, 1),
2021
+ darkMore: UndRGBA(0.0431, 0.1529, 0.2627, 1)
2022
+ ),
2023
+ statusInfoBorder: UndDynamicColor(
2024
+ light: UndRGBA(0.6902, 0.8039, 0.9373, 1),
2025
+ dark: UndRGBA(0.0706, 0.2784, 0.4784, 1),
2026
+ lightMore: UndRGBA(0.6902, 0.8039, 0.9373, 1),
2027
+ darkMore: UndRGBA(0.0706, 0.2784, 0.4784, 1)
2028
+ ),
2029
+ statusInfoFg: UndDynamicColor(
2030
+ light: UndRGBA(0.1385, 0.3875, 0.7163, 1, space: .displayP3),
2031
+ dark: UndRGBA(0.5796, 0.7556, 1, 1, space: .displayP3),
2032
+ lightMore: UndRGBA(0.1385, 0.3875, 0.7163, 1, space: .displayP3),
2033
+ darkMore: UndRGBA(0.5796, 0.7556, 1, 1, space: .displayP3)
2034
+ ),
2035
+ statusInfoFgStrong: UndDynamicColor(
2036
+ light: UndRGBA(0.0299, 0.1424, 0.2911, 1, space: .displayP3),
2037
+ dark: UndRGBA(0.8869, 0.934, 0.9984, 1, space: .displayP3),
2038
+ lightMore: UndRGBA(0.0299, 0.1424, 0.2911, 1, space: .displayP3),
2039
+ darkMore: UndRGBA(0.8869, 0.934, 0.9984, 1, space: .displayP3)
2040
+ ),
2041
+ statusInfoOnSolid: UndDynamicColor(
2042
+ light: UndRGBA(1, 1, 1, 1),
2043
+ dark: UndRGBA(1, 1, 1, 1),
2044
+ lightMore: UndRGBA(1, 1, 1, 1),
2045
+ darkMore: UndRGBA(1, 1, 1, 1)
2046
+ ),
2047
+ statusInfoSolid: UndDynamicColor(
2048
+ light: UndRGBA(0.1194, 0.4327, 0.8303, 1, space: .displayP3),
2049
+ dark: UndRGBA(0.1194, 0.4327, 0.8303, 1, space: .displayP3),
2050
+ lightMore: UndRGBA(0.1194, 0.4327, 0.8303, 1, space: .displayP3),
2051
+ darkMore: UndRGBA(0.1194, 0.4327, 0.8303, 1, space: .displayP3)
2052
+ ),
2053
+ statusInfoSolidHover: UndDynamicColor(
2054
+ light: UndRGBA(0.0421, 0.3834, 0.7776, 1, space: .displayP3),
2055
+ dark: UndRGBA(0.0287, 0.3773, 0.7711, 1, space: .displayP3),
2056
+ lightMore: UndRGBA(0.0421, 0.3834, 0.7776, 1, space: .displayP3),
2057
+ darkMore: UndRGBA(0.0287, 0.3773, 0.7711, 1, space: .displayP3)
2058
+ ),
2059
+ statusSuccessBg: UndDynamicColor(
2060
+ light: UndRGBA(0.9294, 0.9608, 0.9373, 1),
2061
+ dark: UndRGBA(0.0588, 0.1412, 0.0824, 1),
2062
+ lightMore: UndRGBA(0.9294, 0.9608, 0.9373, 1),
2063
+ darkMore: UndRGBA(0.0588, 0.1412, 0.0824, 1)
2064
+ ),
2065
+ statusSuccessBgHover: UndDynamicColor(
2066
+ light: UndRGBA(0.8863, 0.9333, 0.898, 1),
2067
+ dark: UndRGBA(0.0549, 0.1765, 0.098, 1),
2068
+ lightMore: UndRGBA(0.8863, 0.9333, 0.898, 1),
2069
+ darkMore: UndRGBA(0.0549, 0.1765, 0.098, 1)
2070
+ ),
2071
+ statusSuccessBorder: UndDynamicColor(
2072
+ light: UndRGBA(0.7059, 0.8275, 0.7333, 1),
2073
+ dark: UndRGBA(0.098, 0.3216, 0.1765, 1),
2074
+ lightMore: UndRGBA(0.7059, 0.8275, 0.7333, 1),
2075
+ darkMore: UndRGBA(0.098, 0.3216, 0.1765, 1)
2076
+ ),
2077
+ statusSuccessFg: UndDynamicColor(
2078
+ light: UndRGBA(0.1962, 0.4692, 0.2558, 1, space: .displayP3),
2079
+ dark: UndRGBA(0.498, 0.8314, 0.5922, 1),
2080
+ lightMore: UndRGBA(0.1962, 0.4692, 0.2558, 1, space: .displayP3),
2081
+ darkMore: UndRGBA(0.498, 0.8314, 0.5922, 1)
2082
+ ),
2083
+ statusSuccessFgStrong: UndDynamicColor(
2084
+ light: UndRGBA(0.056, 0.1794, 0.0832, 1, space: .displayP3),
2085
+ dark: UndRGBA(0.8549, 0.9608, 0.8784, 1),
2086
+ lightMore: UndRGBA(0.056, 0.1794, 0.0832, 1, space: .displayP3),
2087
+ darkMore: UndRGBA(0.8549, 0.9608, 0.8784, 1)
2088
+ ),
2089
+ statusSuccessOnSolid: UndDynamicColor(
2090
+ light: UndRGBA(1, 1, 1, 1),
2091
+ dark: UndRGBA(1, 1, 1, 1),
2092
+ lightMore: UndRGBA(1, 1, 1, 1),
2093
+ darkMore: UndRGBA(1, 1, 1, 1)
2094
+ ),
2095
+ statusSuccessSolid: UndDynamicColor(
2096
+ light: UndRGBA(0.1691, 0.5098, 0.2544, 1, space: .displayP3),
2097
+ dark: UndRGBA(0.1691, 0.5098, 0.2544, 1, space: .displayP3),
2098
+ lightMore: UndRGBA(0.1691, 0.5098, 0.2544, 1, space: .displayP3),
2099
+ darkMore: UndRGBA(0.1691, 0.5098, 0.2544, 1, space: .displayP3)
2100
+ ),
2101
+ statusSuccessSolidHover: UndDynamicColor(
2102
+ light: UndRGBA(0.1105, 0.4623, 0.2105, 1, space: .displayP3),
2103
+ dark: UndRGBA(0.1024, 0.4564, 0.205, 1, space: .displayP3),
2104
+ lightMore: UndRGBA(0.1105, 0.4623, 0.2105, 1, space: .displayP3),
2105
+ darkMore: UndRGBA(0.1024, 0.4564, 0.205, 1, space: .displayP3)
2106
+ ),
2107
+ statusWarningBg: UndDynamicColor(
2108
+ light: UndRGBA(0.9686, 0.949, 0.9176, 1),
2109
+ dark: UndRGBA(0.1608, 0.1098, 0.0157, 1),
2110
+ lightMore: UndRGBA(0.9686, 0.949, 0.9176, 1),
2111
+ darkMore: UndRGBA(0.1608, 0.1098, 0.0157, 1)
2112
+ ),
2113
+ statusWarningBgHover: UndDynamicColor(
2114
+ light: UndRGBA(0.9451, 0.9137, 0.8667, 1),
2115
+ dark: UndRGBA(0.1937, 0.1371, 0.0213, 1, space: .displayP3),
2116
+ lightMore: UndRGBA(0.9451, 0.9137, 0.8667, 1),
2117
+ darkMore: UndRGBA(0.1937, 0.1371, 0.0213, 1, space: .displayP3)
2118
+ ),
2119
+ statusWarningBorder: UndDynamicColor(
2120
+ light: UndRGBA(0.8627, 0.7804, 0.6471, 1),
2121
+ dark: UndRGBA(0.3535, 0.2503, 0.008, 1, space: .displayP3),
2122
+ lightMore: UndRGBA(0.8627, 0.7804, 0.6471, 1),
2123
+ darkMore: UndRGBA(0.3535, 0.2503, 0.008, 1, space: .displayP3)
2124
+ ),
2125
+ statusWarningFg: UndDynamicColor(
2126
+ light: UndRGBA(0.5069, 0.3634, 0.0036, 1, space: .displayP3),
2127
+ dark: UndRGBA(0.9137, 0.7059, 0.3294, 1),
2128
+ lightMore: UndRGBA(0.5069, 0.3634, 0.0036, 1, space: .displayP3),
2129
+ darkMore: UndRGBA(0.9137, 0.7059, 0.3294, 1)
2130
+ ),
2131
+ statusWarningFgStrong: UndDynamicColor(
2132
+ light: UndRGBA(0.196, 0.1319, 0.0004, 1, space: .displayP3),
2133
+ dark: UndRGBA(0.9882, 0.9176, 0.8039, 1),
2134
+ lightMore: UndRGBA(0.196, 0.1319, 0.0004, 1, space: .displayP3),
2135
+ darkMore: UndRGBA(0.9882, 0.9176, 0.8039, 1)
2136
+ ),
2137
+ statusWarningOnSolid: UndDynamicColor(
2138
+ light: UndRGBA(0.196, 0.1319, 0.0004, 1, space: .displayP3),
2139
+ dark: UndRGBA(0.196, 0.1319, 0.0004, 1, space: .displayP3),
2140
+ lightMore: UndRGBA(0.196, 0.1319, 0.0004, 1, space: .displayP3),
2141
+ darkMore: UndRGBA(0.196, 0.1319, 0.0004, 1, space: .displayP3)
2142
+ ),
2143
+ statusWarningSolid: UndDynamicColor(
2144
+ light: UndRGBA(0.9367, 0.7103, 0.2322, 1, space: .displayP3),
2145
+ dark: UndRGBA(0.9367, 0.7103, 0.2322, 1, space: .displayP3),
2146
+ lightMore: UndRGBA(0.9367, 0.7103, 0.2322, 1, space: .displayP3),
2147
+ darkMore: UndRGBA(0.9367, 0.7103, 0.2322, 1, space: .displayP3)
2148
+ ),
2149
+ statusWarningSolidHover: UndDynamicColor(
2150
+ light: UndRGBA(0.8842, 0.6598, 0.1637, 1, space: .displayP3),
2151
+ dark: UndRGBA(0.9963, 0.7678, 0.3003, 1, space: .displayP3),
2152
+ lightMore: UndRGBA(0.8842, 0.6598, 0.1637, 1, space: .displayP3),
2153
+ darkMore: UndRGBA(0.9963, 0.7678, 0.3003, 1, space: .displayP3)
2154
+ )
2155
+ )
2156
+ public static let raat = UndColorRoles(
2157
+ accentBg: UndDynamicColor(
2158
+ light: UndRGBA(0.0902, 0.1059, 0.2314, 1),
2159
+ dark: UndRGBA(0.0902, 0.1059, 0.2314, 1),
2160
+ lightMore: UndRGBA(0.0902, 0.1059, 0.2314, 1),
2161
+ darkMore: UndRGBA(0.0902, 0.1059, 0.2314, 1)
2162
+ ),
2163
+ accentBgActive: UndDynamicColor(
2164
+ light: UndRGBA(0.1333, 0.149, 0.3608, 1),
2165
+ dark: UndRGBA(0.1333, 0.149, 0.3608, 1),
2166
+ lightMore: UndRGBA(0.1333, 0.149, 0.3608, 1),
2167
+ darkMore: UndRGBA(0.1333, 0.149, 0.3608, 1)
2168
+ ),
2169
+ accentBgHover: UndDynamicColor(
2170
+ light: UndRGBA(0.1098, 0.1255, 0.298, 1),
2171
+ dark: UndRGBA(0.1098, 0.1255, 0.298, 1),
2172
+ lightMore: UndRGBA(0.1098, 0.1255, 0.298, 1),
2173
+ darkMore: UndRGBA(0.1098, 0.1255, 0.298, 1)
2174
+ ),
2175
+ accentBorder: UndDynamicColor(
2176
+ light: UndRGBA(0.2078, 0.2275, 0.5373, 1),
2177
+ dark: UndRGBA(0.2078, 0.2275, 0.5373, 1),
2178
+ lightMore: UndRGBA(0.2078, 0.2275, 0.5373, 1),
2179
+ darkMore: UndRGBA(0.2078, 0.2275, 0.5373, 1)
2180
+ ),
2181
+ accentFg: UndDynamicColor(
2182
+ light: UndRGBA(0.6758, 0.7192, 0.999, 1, space: .displayP3),
2183
+ dark: UndRGBA(0.6758, 0.7192, 0.999, 1, space: .displayP3),
2184
+ lightMore: UndRGBA(0.9096, 0.9241, 0.9977, 1, space: .displayP3),
2185
+ darkMore: UndRGBA(0.9096, 0.9241, 0.9977, 1, space: .displayP3)
2186
+ ),
2187
+ accentFgStrong: UndDynamicColor(
2188
+ light: UndRGBA(0.9096, 0.9241, 0.9977, 1, space: .displayP3),
2189
+ dark: UndRGBA(0.9096, 0.9241, 0.9977, 1, space: .displayP3),
2190
+ lightMore: UndRGBA(0.9096, 0.9241, 0.9977, 1, space: .displayP3),
2191
+ darkMore: UndRGBA(0.9096, 0.9241, 0.9977, 1, space: .displayP3)
2192
+ ),
2193
+ accentSolid: UndDynamicColor(
2194
+ light: UndRGBA(0.3137, 0.2941, 0.949, 1),
2195
+ dark: UndRGBA(0.3137, 0.2941, 0.949, 1),
2196
+ lightMore: UndRGBA(0.3137, 0.2941, 0.949, 1),
2197
+ darkMore: UndRGBA(0.3137, 0.2941, 0.949, 1)
2198
+ ),
2199
+ accentSolidHover: UndDynamicColor(
2200
+ light: UndRGBA(0.3554, 0.3579, 0.976, 1, space: .displayP3),
2201
+ dark: UndRGBA(0.3554, 0.3579, 0.976, 1, space: .displayP3),
2202
+ lightMore: UndRGBA(0.3554, 0.3579, 0.976, 1, space: .displayP3),
2203
+ darkMore: UndRGBA(0.3554, 0.3579, 0.976, 1, space: .displayP3)
2204
+ ),
2205
+ bgCanvas: UndDynamicColor(
2206
+ light: UndRGBA(0.0196, 0.0275, 0.0588, 1),
2207
+ dark: UndRGBA(0.0196, 0.0275, 0.0588, 1),
2208
+ lightMore: UndRGBA(0.0196, 0.0275, 0.0588, 1),
2209
+ darkMore: UndRGBA(0.0196, 0.0275, 0.0588, 1)
2210
+ ),
2211
+ bgInverse: UndDynamicColor(
2212
+ light: UndRGBA(0.9137, 0.9294, 0.9608, 1),
2213
+ dark: UndRGBA(0.9137, 0.9294, 0.9608, 1),
2214
+ lightMore: UndRGBA(0.9137, 0.9294, 0.9608, 1),
2215
+ darkMore: UndRGBA(0.9137, 0.9294, 0.9608, 1)
2216
+ ),
2217
+ bgMuted: UndDynamicColor(
2218
+ light: UndRGBA(0.0784, 0.0902, 0.1255, 1),
2219
+ dark: UndRGBA(0.0784, 0.0902, 0.1255, 1),
2220
+ lightMore: UndRGBA(0.0784, 0.0902, 0.1255, 1),
2221
+ darkMore: UndRGBA(0.0784, 0.0902, 0.1255, 1)
2222
+ ),
2223
+ bgMutedActive: UndDynamicColor(
2224
+ light: UndRGBA(0.1294, 0.1451, 0.1843, 1),
2225
+ dark: UndRGBA(0.1294, 0.1451, 0.1843, 1),
2226
+ lightMore: UndRGBA(0.1294, 0.1451, 0.1843, 1),
2227
+ darkMore: UndRGBA(0.1294, 0.1451, 0.1843, 1)
2228
+ ),
2229
+ bgMutedHover: UndDynamicColor(
2230
+ light: UndRGBA(0.102, 0.1176, 0.1569, 1),
2231
+ dark: UndRGBA(0.102, 0.1176, 0.1569, 1),
2232
+ lightMore: UndRGBA(0.102, 0.1176, 0.1569, 1),
2233
+ darkMore: UndRGBA(0.102, 0.1176, 0.1569, 1)
2234
+ ),
2235
+ bgOverlay: UndDynamicColor(
2236
+ light: UndRGBA(0, 0, 0, 0.6),
2237
+ dark: UndRGBA(0, 0, 0, 0.6),
2238
+ lightMore: UndRGBA(0, 0, 0, 0.6),
2239
+ darkMore: UndRGBA(0, 0, 0, 0.6)
2240
+ ),
2241
+ bgRaised: UndDynamicColor(
2242
+ light: UndRGBA(0.0784, 0.0902, 0.1255, 1),
2243
+ dark: UndRGBA(0.0784, 0.0902, 0.1255, 1),
2244
+ lightMore: UndRGBA(0.0784, 0.0902, 0.1255, 1),
2245
+ darkMore: UndRGBA(0.0784, 0.0902, 0.1255, 1)
2246
+ ),
2247
+ bgSubtle: UndDynamicColor(
2248
+ light: UndRGBA(0.0431, 0.0549, 0.0902, 1),
2249
+ dark: UndRGBA(0.0431, 0.0549, 0.0902, 1),
2250
+ lightMore: UndRGBA(0.0431, 0.0549, 0.0902, 1),
2251
+ darkMore: UndRGBA(0.0431, 0.0549, 0.0902, 1)
2252
+ ),
2253
+ bgSurface: UndDynamicColor(
2254
+ light: UndRGBA(0.0431, 0.0549, 0.0902, 1),
2255
+ dark: UndRGBA(0.0431, 0.0549, 0.0902, 1),
2256
+ lightMore: UndRGBA(0.0431, 0.0549, 0.0902, 1),
2257
+ darkMore: UndRGBA(0.0431, 0.0549, 0.0902, 1)
2258
+ ),
2259
+ borderControl: UndDynamicColor(
2260
+ light: UndRGBA(0.3725, 0.3922, 0.4392, 1),
2261
+ dark: UndRGBA(0.3725, 0.3922, 0.4392, 1),
2262
+ lightMore: UndRGBA(0.7255, 0.7412, 0.7843, 1),
2263
+ darkMore: UndRGBA(0.7255, 0.7412, 0.7843, 1)
2264
+ ),
2265
+ borderControlHover: UndDynamicColor(
2266
+ light: UndRGBA(0.4235, 0.4392, 0.4902, 1),
2267
+ dark: UndRGBA(0.4235, 0.4392, 0.4902, 1),
2268
+ lightMore: UndRGBA(0.9137, 0.9294, 0.9608, 1),
2269
+ darkMore: UndRGBA(0.9137, 0.9294, 0.9608, 1)
2270
+ ),
2271
+ borderDefault: UndDynamicColor(
2272
+ light: UndRGBA(0.2235, 0.2392, 0.2824, 1),
2273
+ dark: UndRGBA(0.2235, 0.2392, 0.2824, 1),
2274
+ lightMore: UndRGBA(0.3725, 0.3922, 0.4392, 1),
2275
+ darkMore: UndRGBA(0.3725, 0.3922, 0.4392, 1)
2276
+ ),
2277
+ borderStrong: UndDynamicColor(
2278
+ light: UndRGBA(0.3059, 0.3216, 0.3686, 1),
2279
+ dark: UndRGBA(0.3059, 0.3216, 0.3686, 1),
2280
+ lightMore: UndRGBA(0.3059, 0.3216, 0.3686, 1),
2281
+ darkMore: UndRGBA(0.3059, 0.3216, 0.3686, 1)
2282
+ ),
2283
+ borderSubtle: UndDynamicColor(
2284
+ light: UndRGBA(0.1647, 0.1804, 0.2235, 1),
2285
+ dark: UndRGBA(0.1647, 0.1804, 0.2235, 1),
2286
+ lightMore: UndRGBA(0.3059, 0.3216, 0.3686, 1),
2287
+ darkMore: UndRGBA(0.3059, 0.3216, 0.3686, 1)
2288
+ ),
2289
+ dataviz1: UndDynamicColor(
2290
+ light: UndRGBA(0.3137, 0.2941, 0.949, 1),
2291
+ dark: UndRGBA(0.3137, 0.2941, 0.949, 1),
2292
+ lightMore: UndRGBA(0.3137, 0.2941, 0.949, 1),
2293
+ darkMore: UndRGBA(0.3137, 0.2941, 0.949, 1)
2294
+ ),
2295
+ dataviz2: UndDynamicColor(
2296
+ light: UndRGBA(0.9211, 0.515, 0.1346, 1, space: .displayP3),
2297
+ dark: UndRGBA(0.9211, 0.515, 0.1346, 1, space: .displayP3),
2298
+ lightMore: UndRGBA(0.9211, 0.515, 0.1346, 1, space: .displayP3),
2299
+ darkMore: UndRGBA(0.9211, 0.515, 0.1346, 1, space: .displayP3)
2300
+ ),
2301
+ dataviz3: UndDynamicColor(
2302
+ light: UndRGBA(0.0077, 0.4931, 0.5021, 1, space: .displayP3),
2303
+ dark: UndRGBA(0.0077, 0.4931, 0.5021, 1, space: .displayP3),
2304
+ lightMore: UndRGBA(0.0077, 0.4931, 0.5021, 1, space: .displayP3),
2305
+ darkMore: UndRGBA(0.0077, 0.4931, 0.5021, 1, space: .displayP3)
2306
+ ),
2307
+ dataviz4: UndDynamicColor(
2308
+ light: UndRGBA(0.7922, 0.2078, 0.5451, 1),
2309
+ dark: UndRGBA(0.7922, 0.2078, 0.5451, 1),
2310
+ lightMore: UndRGBA(0.7922, 0.2078, 0.5451, 1),
2311
+ darkMore: UndRGBA(0.7922, 0.2078, 0.5451, 1)
2312
+ ),
2313
+ dataviz5: UndDynamicColor(
2314
+ light: UndRGBA(0.1691, 0.5098, 0.2544, 1, space: .displayP3),
2315
+ dark: UndRGBA(0.1691, 0.5098, 0.2544, 1, space: .displayP3),
2316
+ lightMore: UndRGBA(0.1691, 0.5098, 0.2544, 1, space: .displayP3),
2317
+ darkMore: UndRGBA(0.1691, 0.5098, 0.2544, 1, space: .displayP3)
2318
+ ),
2319
+ dataviz6: UndDynamicColor(
2320
+ light: UndRGBA(0.1194, 0.4327, 0.8303, 1, space: .displayP3),
2321
+ dark: UndRGBA(0.1194, 0.4327, 0.8303, 1, space: .displayP3),
2322
+ lightMore: UndRGBA(0.1194, 0.4327, 0.8303, 1, space: .displayP3),
2323
+ darkMore: UndRGBA(0.1194, 0.4327, 0.8303, 1, space: .displayP3)
2324
+ ),
2325
+ dataviz7: UndDynamicColor(
2326
+ light: UndRGBA(0.7333, 0.302, 0.1647, 1),
2327
+ dark: UndRGBA(0.7333, 0.302, 0.1647, 1),
2328
+ lightMore: UndRGBA(0.7333, 0.302, 0.1647, 1),
2329
+ darkMore: UndRGBA(0.7333, 0.302, 0.1647, 1)
2330
+ ),
2331
+ dataviz8: UndDynamicColor(
2332
+ light: UndRGBA(0.9367, 0.7103, 0.2322, 1, space: .displayP3),
2333
+ dark: UndRGBA(0.9367, 0.7103, 0.2322, 1, space: .displayP3),
2334
+ lightMore: UndRGBA(0.9367, 0.7103, 0.2322, 1, space: .displayP3),
2335
+ darkMore: UndRGBA(0.9367, 0.7103, 0.2322, 1, space: .displayP3)
2336
+ ),
2337
+ datavizAxis: UndDynamicColor(
2338
+ light: UndRGBA(0.7882, 0.8471, 0.9961, 0.283),
2339
+ dark: UndRGBA(0.7882, 0.8471, 0.9961, 0.283),
2340
+ lightMore: UndRGBA(0.7882, 0.8471, 0.9961, 0.283),
2341
+ darkMore: UndRGBA(0.7882, 0.8471, 0.9961, 0.283)
2342
+ ),
2343
+ datavizGridline: UndDynamicColor(
2344
+ light: UndRGBA(0.651, 0.749, 1, 0.157),
2345
+ dark: UndRGBA(0.651, 0.749, 1, 0.157),
2346
+ lightMore: UndRGBA(0.651, 0.749, 1, 0.157),
2347
+ darkMore: UndRGBA(0.651, 0.749, 1, 0.157)
2348
+ ),
2349
+ fgDefault: UndDynamicColor(
2350
+ light: UndRGBA(0.9137, 0.9294, 0.9608, 1),
2351
+ dark: UndRGBA(0.9137, 0.9294, 0.9608, 1),
2352
+ lightMore: UndRGBA(0.9137, 0.9294, 0.9608, 1),
2353
+ darkMore: UndRGBA(0.9137, 0.9294, 0.9608, 1)
2354
+ ),
2355
+ fgDisabled: UndDynamicColor(
2356
+ light: UndRGBA(0.3059, 0.3216, 0.3686, 1),
2357
+ dark: UndRGBA(0.3059, 0.3216, 0.3686, 1),
2358
+ lightMore: UndRGBA(0.3059, 0.3216, 0.3686, 1),
2359
+ darkMore: UndRGBA(0.3059, 0.3216, 0.3686, 1)
2360
+ ),
2361
+ fgInverse: UndDynamicColor(
2362
+ light: UndRGBA(0.0196, 0.0275, 0.0588, 1),
2363
+ dark: UndRGBA(0.0196, 0.0275, 0.0588, 1),
2364
+ lightMore: UndRGBA(0.0196, 0.0275, 0.0588, 1),
2365
+ darkMore: UndRGBA(0.0196, 0.0275, 0.0588, 1)
2366
+ ),
2367
+ fgMuted: UndDynamicColor(
2368
+ light: UndRGBA(0.7255, 0.7412, 0.7843, 1),
2369
+ dark: UndRGBA(0.7255, 0.7412, 0.7843, 1),
2370
+ lightMore: UndRGBA(0.9137, 0.9294, 0.9608, 1),
2371
+ darkMore: UndRGBA(0.9137, 0.9294, 0.9608, 1)
2372
+ ),
2373
+ fgOnAccent: UndDynamicColor(
2374
+ light: UndRGBA(1, 1, 1, 1),
2375
+ dark: UndRGBA(1, 1, 1, 1),
2376
+ lightMore: UndRGBA(1, 1, 1, 1),
2377
+ darkMore: UndRGBA(1, 1, 1, 1)
2378
+ ),
2379
+ fgSubtle: UndDynamicColor(
2380
+ light: UndRGBA(0.4235, 0.4392, 0.4902, 1),
2381
+ dark: UndRGBA(0.4235, 0.4392, 0.4902, 1),
2382
+ lightMore: UndRGBA(0.7255, 0.7412, 0.7843, 1),
2383
+ darkMore: UndRGBA(0.7255, 0.7412, 0.7843, 1)
2384
+ ),
2385
+ focusRing: UndDynamicColor(
2386
+ light: UndRGBA(0.6758, 0.7192, 0.999, 1, space: .displayP3),
2387
+ dark: UndRGBA(0.6758, 0.7192, 0.999, 1, space: .displayP3),
2388
+ lightMore: UndRGBA(0.6758, 0.7192, 0.999, 1, space: .displayP3),
2389
+ darkMore: UndRGBA(0.6758, 0.7192, 0.999, 1, space: .displayP3)
2390
+ ),
2391
+ linkDefault: UndDynamicColor(
2392
+ light: UndRGBA(0.6758, 0.7192, 0.999, 1, space: .displayP3),
2393
+ dark: UndRGBA(0.6758, 0.7192, 0.999, 1, space: .displayP3),
2394
+ lightMore: UndRGBA(0.9096, 0.9241, 0.9977, 1, space: .displayP3),
2395
+ darkMore: UndRGBA(0.9096, 0.9241, 0.9977, 1, space: .displayP3)
2396
+ ),
2397
+ linkVisited: UndDynamicColor(
2398
+ light: UndRGBA(0.9621, 0.5989, 0.7883, 1, space: .displayP3),
2399
+ dark: UndRGBA(0.9621, 0.5989, 0.7883, 1, space: .displayP3),
2400
+ lightMore: UndRGBA(0.9621, 0.5989, 0.7883, 1, space: .displayP3),
2401
+ darkMore: UndRGBA(0.9621, 0.5989, 0.7883, 1, space: .displayP3)
2402
+ ),
2403
+ materialChromeBg: UndDynamicColor(
2404
+ light: UndRGBA(0.098, 0.102, 0.1216, 0.68),
2405
+ dark: UndRGBA(0.098, 0.102, 0.1216, 0.68),
2406
+ lightMore: UndRGBA(0.0431, 0.0549, 0.0902, 1),
2407
+ darkMore: UndRGBA(0.0431, 0.0549, 0.0902, 1)
2408
+ ),
2409
+ materialChromeBorder: UndDynamicColor(
2410
+ light: UndRGBA(0.698, 0.7843, 0.9961, 0.185),
2411
+ dark: UndRGBA(0.698, 0.7843, 0.9961, 0.185),
2412
+ lightMore: UndRGBA(0.3059, 0.3216, 0.3686, 1),
2413
+ darkMore: UndRGBA(0.3059, 0.3216, 0.3686, 1)
2414
+ ),
2415
+ materialChromeHighlight: UndDynamicColor(
2416
+ light: UndRGBA(1, 1, 1, 0.12),
2417
+ dark: UndRGBA(1, 1, 1, 0.12),
2418
+ lightMore: UndRGBA(0, 0, 0, 0),
2419
+ darkMore: UndRGBA(0, 0, 0, 0)
2420
+ ),
2421
+ materialRegularBg: UndDynamicColor(
2422
+ light: UndRGBA(0.098, 0.102, 0.1216, 0.68),
2423
+ dark: UndRGBA(0.098, 0.102, 0.1216, 0.68),
2424
+ lightMore: UndRGBA(0.0431, 0.0549, 0.0902, 1),
2425
+ darkMore: UndRGBA(0.0431, 0.0549, 0.0902, 1)
2426
+ ),
2427
+ materialRegularBorder: UndDynamicColor(
2428
+ light: UndRGBA(0.698, 0.7843, 0.9961, 0.185),
2429
+ dark: UndRGBA(0.698, 0.7843, 0.9961, 0.185),
2430
+ lightMore: UndRGBA(0.3059, 0.3216, 0.3686, 1),
2431
+ darkMore: UndRGBA(0.3059, 0.3216, 0.3686, 1)
2432
+ ),
2433
+ materialThickBg: UndDynamicColor(
2434
+ light: UndRGBA(0.0824, 0.0863, 0.1059, 0.8),
2435
+ dark: UndRGBA(0.0824, 0.0863, 0.1059, 0.8),
2436
+ lightMore: UndRGBA(0.0431, 0.0549, 0.0902, 1),
2437
+ darkMore: UndRGBA(0.0431, 0.0549, 0.0902, 1)
2438
+ ),
2439
+ materialThickBorder: UndDynamicColor(
2440
+ light: UndRGBA(0.7333, 0.8039, 0.9961, 0.224),
2441
+ dark: UndRGBA(0.7333, 0.8039, 0.9961, 0.224),
2442
+ lightMore: UndRGBA(0.3059, 0.3216, 0.3686, 1),
2443
+ darkMore: UndRGBA(0.3059, 0.3216, 0.3686, 1)
2444
+ ),
2445
+ materialThinBg: UndDynamicColor(
2446
+ light: UndRGBA(0.098, 0.102, 0.1216, 0.65),
2447
+ dark: UndRGBA(0.098, 0.102, 0.1216, 0.65),
2448
+ lightMore: UndRGBA(0.0431, 0.0549, 0.0902, 1),
2449
+ darkMore: UndRGBA(0.0431, 0.0549, 0.0902, 1)
2450
+ ),
2451
+ materialThinBorder: UndDynamicColor(
2452
+ light: UndRGBA(0.651, 0.749, 1, 0.157),
2453
+ dark: UndRGBA(0.651, 0.749, 1, 0.157),
2454
+ lightMore: UndRGBA(0.3059, 0.3216, 0.3686, 1),
2455
+ darkMore: UndRGBA(0.3059, 0.3216, 0.3686, 1)
2456
+ ),
2457
+ selectionBg: UndDynamicColor(
2458
+ light: UndRGBA(0.3725, 0.4157, 1, 0.432),
2459
+ dark: UndRGBA(0.3725, 0.4157, 1, 0.432),
2460
+ lightMore: UndRGBA(0.3725, 0.4157, 1, 0.432),
2461
+ darkMore: UndRGBA(0.3725, 0.4157, 1, 0.432)
2462
+ ),
2463
+ statusDangerBg: UndDynamicColor(
2464
+ light: UndRGBA(0.2078, 0.0745, 0.0667, 1),
2465
+ dark: UndRGBA(0.2078, 0.0745, 0.0667, 1),
2466
+ lightMore: UndRGBA(0.2078, 0.0745, 0.0667, 1),
2467
+ darkMore: UndRGBA(0.2078, 0.0745, 0.0667, 1)
2468
+ ),
2469
+ statusDangerBgHover: UndDynamicColor(
2470
+ light: UndRGBA(0.2627, 0.0784, 0.0745, 1),
2471
+ dark: UndRGBA(0.2627, 0.0784, 0.0745, 1),
2472
+ lightMore: UndRGBA(0.2627, 0.0784, 0.0745, 1),
2473
+ darkMore: UndRGBA(0.2627, 0.0784, 0.0745, 1)
2474
+ ),
2475
+ statusDangerBorder: UndDynamicColor(
2476
+ light: UndRGBA(0.4745, 0.1373, 0.1373, 1),
2477
+ dark: UndRGBA(0.4745, 0.1373, 0.1373, 1),
2478
+ lightMore: UndRGBA(0.4745, 0.1373, 0.1373, 1),
2479
+ darkMore: UndRGBA(0.4745, 0.1373, 0.1373, 1)
2480
+ ),
2481
+ statusDangerFg: UndDynamicColor(
2482
+ light: UndRGBA(0.9998, 0.6102, 0.5696, 1, space: .displayP3),
2483
+ dark: UndRGBA(0.9998, 0.6102, 0.5696, 1, space: .displayP3),
2484
+ lightMore: UndRGBA(0.9998, 0.6102, 0.5696, 1, space: .displayP3),
2485
+ darkMore: UndRGBA(0.9998, 0.6102, 0.5696, 1, space: .displayP3)
2486
+ ),
2487
+ statusDangerFgStrong: UndDynamicColor(
2488
+ light: UndRGBA(0.9985, 0.9003, 0.8863, 1, space: .displayP3),
2489
+ dark: UndRGBA(0.9985, 0.9003, 0.8863, 1, space: .displayP3),
2490
+ lightMore: UndRGBA(0.9985, 0.9003, 0.8863, 1, space: .displayP3),
2491
+ darkMore: UndRGBA(0.9985, 0.9003, 0.8863, 1, space: .displayP3)
2492
+ ),
2493
+ statusDangerOnSolid: UndDynamicColor(
2494
+ light: UndRGBA(1, 1, 1, 1),
2495
+ dark: UndRGBA(1, 1, 1, 1),
2496
+ lightMore: UndRGBA(1, 1, 1, 1),
2497
+ darkMore: UndRGBA(1, 1, 1, 1)
2498
+ ),
2499
+ statusDangerSolid: UndDynamicColor(
2500
+ light: UndRGBA(0.8667, 0.1137, 0.1725, 1),
2501
+ dark: UndRGBA(0.8667, 0.1137, 0.1725, 1),
2502
+ lightMore: UndRGBA(0.8667, 0.1137, 0.1725, 1),
2503
+ darkMore: UndRGBA(0.8667, 0.1137, 0.1725, 1)
2504
+ ),
2505
+ statusDangerSolidHover: UndDynamicColor(
2506
+ light: UndRGBA(0.7348, 0.1339, 0.1573, 1, space: .displayP3),
2507
+ dark: UndRGBA(0.7348, 0.1339, 0.1573, 1, space: .displayP3),
2508
+ lightMore: UndRGBA(0.7348, 0.1339, 0.1573, 1, space: .displayP3),
2509
+ darkMore: UndRGBA(0.7348, 0.1339, 0.1573, 1, space: .displayP3)
2510
+ ),
2511
+ statusInfoBg: UndDynamicColor(
2512
+ light: UndRGBA(0.0471, 0.1255, 0.2078, 1),
2513
+ dark: UndRGBA(0.0471, 0.1255, 0.2078, 1),
2514
+ lightMore: UndRGBA(0.0471, 0.1255, 0.2078, 1),
2515
+ darkMore: UndRGBA(0.0471, 0.1255, 0.2078, 1)
2516
+ ),
2517
+ statusInfoBgHover: UndDynamicColor(
2518
+ light: UndRGBA(0.0431, 0.1529, 0.2627, 1),
2519
+ dark: UndRGBA(0.0431, 0.1529, 0.2627, 1),
2520
+ lightMore: UndRGBA(0.0431, 0.1529, 0.2627, 1),
2521
+ darkMore: UndRGBA(0.0431, 0.1529, 0.2627, 1)
2522
+ ),
2523
+ statusInfoBorder: UndDynamicColor(
2524
+ light: UndRGBA(0.0706, 0.2784, 0.4784, 1),
2525
+ dark: UndRGBA(0.0706, 0.2784, 0.4784, 1),
2526
+ lightMore: UndRGBA(0.0706, 0.2784, 0.4784, 1),
2527
+ darkMore: UndRGBA(0.0706, 0.2784, 0.4784, 1)
2528
+ ),
2529
+ statusInfoFg: UndDynamicColor(
2530
+ light: UndRGBA(0.5796, 0.7556, 1, 1, space: .displayP3),
2531
+ dark: UndRGBA(0.5796, 0.7556, 1, 1, space: .displayP3),
2532
+ lightMore: UndRGBA(0.5796, 0.7556, 1, 1, space: .displayP3),
2533
+ darkMore: UndRGBA(0.5796, 0.7556, 1, 1, space: .displayP3)
2534
+ ),
2535
+ statusInfoFgStrong: UndDynamicColor(
2536
+ light: UndRGBA(0.8869, 0.934, 0.9984, 1, space: .displayP3),
2537
+ dark: UndRGBA(0.8869, 0.934, 0.9984, 1, space: .displayP3),
2538
+ lightMore: UndRGBA(0.8869, 0.934, 0.9984, 1, space: .displayP3),
2539
+ darkMore: UndRGBA(0.8869, 0.934, 0.9984, 1, space: .displayP3)
2540
+ ),
2541
+ statusInfoOnSolid: UndDynamicColor(
2542
+ light: UndRGBA(1, 1, 1, 1),
2543
+ dark: UndRGBA(1, 1, 1, 1),
2544
+ lightMore: UndRGBA(1, 1, 1, 1),
2545
+ darkMore: UndRGBA(1, 1, 1, 1)
2546
+ ),
2547
+ statusInfoSolid: UndDynamicColor(
2548
+ light: UndRGBA(0.1194, 0.4327, 0.8303, 1, space: .displayP3),
2549
+ dark: UndRGBA(0.1194, 0.4327, 0.8303, 1, space: .displayP3),
2550
+ lightMore: UndRGBA(0.1194, 0.4327, 0.8303, 1, space: .displayP3),
2551
+ darkMore: UndRGBA(0.1194, 0.4327, 0.8303, 1, space: .displayP3)
2552
+ ),
2553
+ statusInfoSolidHover: UndDynamicColor(
2554
+ light: UndRGBA(0.0287, 0.3773, 0.7711, 1, space: .displayP3),
2555
+ dark: UndRGBA(0.0287, 0.3773, 0.7711, 1, space: .displayP3),
2556
+ lightMore: UndRGBA(0.0287, 0.3773, 0.7711, 1, space: .displayP3),
2557
+ darkMore: UndRGBA(0.0287, 0.3773, 0.7711, 1, space: .displayP3)
2558
+ ),
2559
+ statusSuccessBg: UndDynamicColor(
2560
+ light: UndRGBA(0.0588, 0.1412, 0.0824, 1),
2561
+ dark: UndRGBA(0.0588, 0.1412, 0.0824, 1),
2562
+ lightMore: UndRGBA(0.0588, 0.1412, 0.0824, 1),
2563
+ darkMore: UndRGBA(0.0588, 0.1412, 0.0824, 1)
2564
+ ),
2565
+ statusSuccessBgHover: UndDynamicColor(
2566
+ light: UndRGBA(0.0549, 0.1765, 0.098, 1),
2567
+ dark: UndRGBA(0.0549, 0.1765, 0.098, 1),
2568
+ lightMore: UndRGBA(0.0549, 0.1765, 0.098, 1),
2569
+ darkMore: UndRGBA(0.0549, 0.1765, 0.098, 1)
2570
+ ),
2571
+ statusSuccessBorder: UndDynamicColor(
2572
+ light: UndRGBA(0.098, 0.3216, 0.1765, 1),
2573
+ dark: UndRGBA(0.098, 0.3216, 0.1765, 1),
2574
+ lightMore: UndRGBA(0.098, 0.3216, 0.1765, 1),
2575
+ darkMore: UndRGBA(0.098, 0.3216, 0.1765, 1)
2576
+ ),
2577
+ statusSuccessFg: UndDynamicColor(
2578
+ light: UndRGBA(0.498, 0.8314, 0.5922, 1),
2579
+ dark: UndRGBA(0.498, 0.8314, 0.5922, 1),
2580
+ lightMore: UndRGBA(0.498, 0.8314, 0.5922, 1),
2581
+ darkMore: UndRGBA(0.498, 0.8314, 0.5922, 1)
2582
+ ),
2583
+ statusSuccessFgStrong: UndDynamicColor(
2584
+ light: UndRGBA(0.8549, 0.9608, 0.8784, 1),
2585
+ dark: UndRGBA(0.8549, 0.9608, 0.8784, 1),
2586
+ lightMore: UndRGBA(0.8549, 0.9608, 0.8784, 1),
2587
+ darkMore: UndRGBA(0.8549, 0.9608, 0.8784, 1)
2588
+ ),
2589
+ statusSuccessOnSolid: UndDynamicColor(
2590
+ light: UndRGBA(1, 1, 1, 1),
2591
+ dark: UndRGBA(1, 1, 1, 1),
2592
+ lightMore: UndRGBA(1, 1, 1, 1),
2593
+ darkMore: UndRGBA(1, 1, 1, 1)
2594
+ ),
2595
+ statusSuccessSolid: UndDynamicColor(
2596
+ light: UndRGBA(0.1691, 0.5098, 0.2544, 1, space: .displayP3),
2597
+ dark: UndRGBA(0.1691, 0.5098, 0.2544, 1, space: .displayP3),
2598
+ lightMore: UndRGBA(0.1691, 0.5098, 0.2544, 1, space: .displayP3),
2599
+ darkMore: UndRGBA(0.1691, 0.5098, 0.2544, 1, space: .displayP3)
2600
+ ),
2601
+ statusSuccessSolidHover: UndDynamicColor(
2602
+ light: UndRGBA(0.1024, 0.4564, 0.205, 1, space: .displayP3),
2603
+ dark: UndRGBA(0.1024, 0.4564, 0.205, 1, space: .displayP3),
2604
+ lightMore: UndRGBA(0.1024, 0.4564, 0.205, 1, space: .displayP3),
2605
+ darkMore: UndRGBA(0.1024, 0.4564, 0.205, 1, space: .displayP3)
2606
+ ),
2607
+ statusWarningBg: UndDynamicColor(
2608
+ light: UndRGBA(0.1608, 0.1098, 0.0157, 1),
2609
+ dark: UndRGBA(0.1608, 0.1098, 0.0157, 1),
2610
+ lightMore: UndRGBA(0.1608, 0.1098, 0.0157, 1),
2611
+ darkMore: UndRGBA(0.1608, 0.1098, 0.0157, 1)
2612
+ ),
2613
+ statusWarningBgHover: UndDynamicColor(
2614
+ light: UndRGBA(0.1937, 0.1371, 0.0213, 1, space: .displayP3),
2615
+ dark: UndRGBA(0.1937, 0.1371, 0.0213, 1, space: .displayP3),
2616
+ lightMore: UndRGBA(0.1937, 0.1371, 0.0213, 1, space: .displayP3),
2617
+ darkMore: UndRGBA(0.1937, 0.1371, 0.0213, 1, space: .displayP3)
2618
+ ),
2619
+ statusWarningBorder: UndDynamicColor(
2620
+ light: UndRGBA(0.3535, 0.2503, 0.008, 1, space: .displayP3),
2621
+ dark: UndRGBA(0.3535, 0.2503, 0.008, 1, space: .displayP3),
2622
+ lightMore: UndRGBA(0.3535, 0.2503, 0.008, 1, space: .displayP3),
2623
+ darkMore: UndRGBA(0.3535, 0.2503, 0.008, 1, space: .displayP3)
2624
+ ),
2625
+ statusWarningFg: UndDynamicColor(
2626
+ light: UndRGBA(0.9137, 0.7059, 0.3294, 1),
2627
+ dark: UndRGBA(0.9137, 0.7059, 0.3294, 1),
2628
+ lightMore: UndRGBA(0.9137, 0.7059, 0.3294, 1),
2629
+ darkMore: UndRGBA(0.9137, 0.7059, 0.3294, 1)
2630
+ ),
2631
+ statusWarningFgStrong: UndDynamicColor(
2632
+ light: UndRGBA(0.9882, 0.9176, 0.8039, 1),
2633
+ dark: UndRGBA(0.9882, 0.9176, 0.8039, 1),
2634
+ lightMore: UndRGBA(0.9882, 0.9176, 0.8039, 1),
2635
+ darkMore: UndRGBA(0.9882, 0.9176, 0.8039, 1)
2636
+ ),
2637
+ statusWarningOnSolid: UndDynamicColor(
2638
+ light: UndRGBA(0.196, 0.1319, 0.0004, 1, space: .displayP3),
2639
+ dark: UndRGBA(0.196, 0.1319, 0.0004, 1, space: .displayP3),
2640
+ lightMore: UndRGBA(0.196, 0.1319, 0.0004, 1, space: .displayP3),
2641
+ darkMore: UndRGBA(0.196, 0.1319, 0.0004, 1, space: .displayP3)
2642
+ ),
2643
+ statusWarningSolid: UndDynamicColor(
2644
+ light: UndRGBA(0.9367, 0.7103, 0.2322, 1, space: .displayP3),
2645
+ dark: UndRGBA(0.9367, 0.7103, 0.2322, 1, space: .displayP3),
2646
+ lightMore: UndRGBA(0.9367, 0.7103, 0.2322, 1, space: .displayP3),
2647
+ darkMore: UndRGBA(0.9367, 0.7103, 0.2322, 1, space: .displayP3)
2648
+ ),
2649
+ statusWarningSolidHover: UndDynamicColor(
2650
+ light: UndRGBA(0.9963, 0.7678, 0.3003, 1, space: .displayP3),
2651
+ dark: UndRGBA(0.9963, 0.7678, 0.3003, 1, space: .displayP3),
2652
+ lightMore: UndRGBA(0.9963, 0.7678, 0.3003, 1, space: .displayP3),
2653
+ darkMore: UndRGBA(0.9963, 0.7678, 0.3003, 1, space: .displayP3)
2654
+ )
2655
+ )
2656
+ public static let sutra = UndColorRoles(
2657
+ accentBg: UndDynamicColor(
2658
+ light: UndRGBA(0.949, 0.949, 0.9569, 1),
2659
+ dark: UndRGBA(0.1176, 0.1216, 0.1255, 1),
2660
+ lightMore: UndRGBA(0.949, 0.949, 0.9569, 1),
2661
+ darkMore: UndRGBA(0.1176, 0.1216, 0.1255, 1)
2662
+ ),
2663
+ accentBgActive: UndDynamicColor(
2664
+ light: UndRGBA(0.8824, 0.8863, 0.8902, 1),
2665
+ dark: UndRGBA(0.1765, 0.1765, 0.1804, 1),
2666
+ lightMore: UndRGBA(0.8824, 0.8863, 0.8902, 1),
2667
+ darkMore: UndRGBA(0.1765, 0.1765, 0.1804, 1)
2668
+ ),
2669
+ accentBgHover: UndDynamicColor(
2670
+ light: UndRGBA(0.9176, 0.9176, 0.9255, 1),
2671
+ dark: UndRGBA(0.149, 0.149, 0.1529, 1),
2672
+ lightMore: UndRGBA(0.9176, 0.9176, 0.9255, 1),
2673
+ darkMore: UndRGBA(0.149, 0.149, 0.1529, 1)
2674
+ ),
2675
+ accentBorder: UndDynamicColor(
2676
+ light: UndRGBA(0.7882, 0.7922, 0.7961, 1),
2677
+ dark: UndRGBA(0.2706, 0.2706, 0.2784, 1),
2678
+ lightMore: UndRGBA(0.7882, 0.7922, 0.7961, 1),
2679
+ darkMore: UndRGBA(0.2706, 0.2706, 0.2784, 1)
2680
+ ),
2681
+ accentFg: UndDynamicColor(
2682
+ light: UndRGBA(0.1385, 0.3875, 0.7163, 1, space: .displayP3),
2683
+ dark: UndRGBA(0.5796, 0.7556, 1, 1, space: .displayP3),
2684
+ lightMore: UndRGBA(0.0299, 0.1424, 0.2911, 1, space: .displayP3),
2685
+ darkMore: UndRGBA(0.8869, 0.934, 0.9984, 1, space: .displayP3)
2686
+ ),
2687
+ accentFgStrong: UndDynamicColor(
2688
+ light: UndRGBA(0.1451, 0.1451, 0.149, 1),
2689
+ dark: UndRGBA(0.9255, 0.9294, 0.9333, 1),
2690
+ lightMore: UndRGBA(0.1451, 0.1451, 0.149, 1),
2691
+ darkMore: UndRGBA(0.9255, 0.9294, 0.9333, 1)
2692
+ ),
2693
+ accentSolid: UndDynamicColor(
2694
+ light: UndRGBA(0.1451, 0.1451, 0.149, 1),
2695
+ dark: UndRGBA(0.9255, 0.9294, 0.9333, 1),
2696
+ lightMore: UndRGBA(0.1451, 0.1451, 0.149, 1),
2697
+ darkMore: UndRGBA(0.9255, 0.9294, 0.9333, 1)
2698
+ ),
2699
+ accentSolidHover: UndDynamicColor(
2700
+ light: UndRGBA(0.3922, 0.3922, 0.4, 1),
2701
+ dark: UndRGBA(0.7412, 0.7412, 0.749, 1),
2702
+ lightMore: UndRGBA(0.3922, 0.3922, 0.4, 1),
2703
+ darkMore: UndRGBA(0.7412, 0.7412, 0.749, 1)
2704
+ ),
2705
+ bgCanvas: UndDynamicColor(
2706
+ light: UndRGBA(0.9882, 0.9922, 0.9961, 1),
2707
+ dark: UndRGBA(0.0549, 0.0549, 0.0588, 1),
2708
+ lightMore: UndRGBA(0.9882, 0.9922, 0.9961, 1),
2709
+ darkMore: UndRGBA(0.0549, 0.0549, 0.0588, 1)
2710
+ ),
2711
+ bgInverse: UndDynamicColor(
2712
+ light: UndRGBA(0.1451, 0.1451, 0.149, 1),
2713
+ dark: UndRGBA(0.9255, 0.9294, 0.9333, 1),
2714
+ lightMore: UndRGBA(0.1451, 0.1451, 0.149, 1),
2715
+ darkMore: UndRGBA(0.9255, 0.9294, 0.9333, 1)
2716
+ ),
2717
+ bgMuted: UndDynamicColor(
2718
+ light: UndRGBA(0.949, 0.949, 0.9569, 1),
2719
+ dark: UndRGBA(0.1176, 0.1216, 0.1255, 1),
2720
+ lightMore: UndRGBA(0.949, 0.949, 0.9569, 1),
2721
+ darkMore: UndRGBA(0.1176, 0.1216, 0.1255, 1)
2722
+ ),
2723
+ bgMutedActive: UndDynamicColor(
2724
+ light: UndRGBA(0.8824, 0.8863, 0.8902, 1),
2725
+ dark: UndRGBA(0.1765, 0.1765, 0.1804, 1),
2726
+ lightMore: UndRGBA(0.8824, 0.8863, 0.8902, 1),
2727
+ darkMore: UndRGBA(0.1765, 0.1765, 0.1804, 1)
2728
+ ),
2729
+ bgMutedHover: UndDynamicColor(
2730
+ light: UndRGBA(0.9176, 0.9176, 0.9255, 1),
2731
+ dark: UndRGBA(0.149, 0.149, 0.1529, 1),
2732
+ lightMore: UndRGBA(0.9176, 0.9176, 0.9255, 1),
2733
+ darkMore: UndRGBA(0.149, 0.149, 0.1529, 1)
2734
+ ),
2735
+ bgOverlay: UndDynamicColor(
2736
+ light: UndRGBA(0.0431, 0.051, 0.0863, 0.45),
2737
+ dark: UndRGBA(0, 0, 0, 0.6),
2738
+ lightMore: UndRGBA(0.0431, 0.051, 0.0863, 0.45),
2739
+ darkMore: UndRGBA(0, 0, 0, 0.6)
2740
+ ),
2741
+ bgRaised: UndDynamicColor(
2742
+ light: UndRGBA(1, 1, 1, 1),
2743
+ dark: UndRGBA(0.1176, 0.1216, 0.1255, 1),
2744
+ lightMore: UndRGBA(1, 1, 1, 1),
2745
+ darkMore: UndRGBA(0.1176, 0.1216, 0.1255, 1)
2746
+ ),
2747
+ bgSubtle: UndDynamicColor(
2748
+ light: UndRGBA(0.9765, 0.9765, 0.9843, 1),
2749
+ dark: UndRGBA(0.0824, 0.0824, 0.0863, 1),
2750
+ lightMore: UndRGBA(0.9765, 0.9765, 0.9843, 1),
2751
+ darkMore: UndRGBA(0.0824, 0.0824, 0.0863, 1)
2752
+ ),
2753
+ bgSurface: UndDynamicColor(
2754
+ light: UndRGBA(1, 1, 1, 1),
2755
+ dark: UndRGBA(0.0824, 0.0824, 0.0863, 1),
2756
+ lightMore: UndRGBA(1, 1, 1, 1),
2757
+ darkMore: UndRGBA(0.0824, 0.0824, 0.0863, 1)
2758
+ ),
2759
+ borderControl: UndDynamicColor(
2760
+ light: UndRGBA(0.549, 0.549, 0.5569, 1),
2761
+ dark: UndRGBA(0.4078, 0.4118, 0.4157, 1),
2762
+ lightMore: UndRGBA(0.3922, 0.3922, 0.4, 1),
2763
+ darkMore: UndRGBA(0.7412, 0.7412, 0.749, 1)
2764
+ ),
2765
+ borderControlHover: UndDynamicColor(
2766
+ light: UndRGBA(0.502, 0.502, 0.5098, 1),
2767
+ dark: UndRGBA(0.4588, 0.4627, 0.4667, 1),
2768
+ lightMore: UndRGBA(0.1451, 0.1451, 0.149, 1),
2769
+ darkMore: UndRGBA(0.9255, 0.9294, 0.9333, 1)
2770
+ ),
2771
+ borderDefault: UndDynamicColor(
2772
+ light: UndRGBA(0.7882, 0.7922, 0.7961, 1),
2773
+ dark: UndRGBA(0.2706, 0.2706, 0.2784, 1),
2774
+ lightMore: UndRGBA(0.549, 0.549, 0.5569, 1),
2775
+ darkMore: UndRGBA(0.4078, 0.4118, 0.4157, 1)
2776
+ ),
2777
+ borderStrong: UndDynamicColor(
2778
+ light: UndRGBA(0.7059, 0.7098, 0.7137, 1),
2779
+ dark: UndRGBA(0.3529, 0.3569, 0.3608, 1),
2780
+ lightMore: UndRGBA(0.7059, 0.7098, 0.7137, 1),
2781
+ darkMore: UndRGBA(0.3529, 0.3569, 0.3608, 1)
2782
+ ),
2783
+ borderSubtle: UndDynamicColor(
2784
+ light: UndRGBA(0.8471, 0.8471, 0.851, 1),
2785
+ dark: UndRGBA(0.2118, 0.2157, 0.2196, 1),
2786
+ lightMore: UndRGBA(0.7059, 0.7098, 0.7137, 1),
2787
+ darkMore: UndRGBA(0.3529, 0.3569, 0.3608, 1)
2788
+ ),
2789
+ dataviz1: UndDynamicColor(
2790
+ light: UndRGBA(0.3137, 0.2941, 0.949, 1),
2791
+ dark: UndRGBA(0.3137, 0.2941, 0.949, 1),
2792
+ lightMore: UndRGBA(0.3137, 0.2941, 0.949, 1),
2793
+ darkMore: UndRGBA(0.3137, 0.2941, 0.949, 1)
2794
+ ),
2795
+ dataviz2: UndDynamicColor(
2796
+ light: UndRGBA(0.9211, 0.515, 0.1346, 1, space: .displayP3),
2797
+ dark: UndRGBA(0.9211, 0.515, 0.1346, 1, space: .displayP3),
2798
+ lightMore: UndRGBA(0.9211, 0.515, 0.1346, 1, space: .displayP3),
2799
+ darkMore: UndRGBA(0.9211, 0.515, 0.1346, 1, space: .displayP3)
2800
+ ),
2801
+ dataviz3: UndDynamicColor(
2802
+ light: UndRGBA(0.0077, 0.4931, 0.5021, 1, space: .displayP3),
2803
+ dark: UndRGBA(0.0077, 0.4931, 0.5021, 1, space: .displayP3),
2804
+ lightMore: UndRGBA(0.0077, 0.4931, 0.5021, 1, space: .displayP3),
2805
+ darkMore: UndRGBA(0.0077, 0.4931, 0.5021, 1, space: .displayP3)
2806
+ ),
2807
+ dataviz4: UndDynamicColor(
2808
+ light: UndRGBA(0.7922, 0.2078, 0.5451, 1),
2809
+ dark: UndRGBA(0.7922, 0.2078, 0.5451, 1),
2810
+ lightMore: UndRGBA(0.7922, 0.2078, 0.5451, 1),
2811
+ darkMore: UndRGBA(0.7922, 0.2078, 0.5451, 1)
2812
+ ),
2813
+ dataviz5: UndDynamicColor(
2814
+ light: UndRGBA(0.1691, 0.5098, 0.2544, 1, space: .displayP3),
2815
+ dark: UndRGBA(0.1691, 0.5098, 0.2544, 1, space: .displayP3),
2816
+ lightMore: UndRGBA(0.1691, 0.5098, 0.2544, 1, space: .displayP3),
2817
+ darkMore: UndRGBA(0.1691, 0.5098, 0.2544, 1, space: .displayP3)
2818
+ ),
2819
+ dataviz6: UndDynamicColor(
2820
+ light: UndRGBA(0.1194, 0.4327, 0.8303, 1, space: .displayP3),
2821
+ dark: UndRGBA(0.1194, 0.4327, 0.8303, 1, space: .displayP3),
2822
+ lightMore: UndRGBA(0.1194, 0.4327, 0.8303, 1, space: .displayP3),
2823
+ darkMore: UndRGBA(0.1194, 0.4327, 0.8303, 1, space: .displayP3)
2824
+ ),
2825
+ dataviz7: UndDynamicColor(
2826
+ light: UndRGBA(0.7333, 0.302, 0.1647, 1),
2827
+ dark: UndRGBA(0.7333, 0.302, 0.1647, 1),
2828
+ lightMore: UndRGBA(0.7333, 0.302, 0.1647, 1),
2829
+ darkMore: UndRGBA(0.7333, 0.302, 0.1647, 1)
2830
+ ),
2831
+ dataviz8: UndDynamicColor(
2832
+ light: UndRGBA(0.9367, 0.7103, 0.2322, 1, space: .displayP3),
2833
+ dark: UndRGBA(0.9367, 0.7103, 0.2322, 1, space: .displayP3),
2834
+ lightMore: UndRGBA(0.9367, 0.7103, 0.2322, 1, space: .displayP3),
2835
+ darkMore: UndRGBA(0.9367, 0.7103, 0.2322, 1, space: .displayP3)
2836
+ ),
2837
+ datavizAxis: UndDynamicColor(
2838
+ light: UndRGBA(0, 0.0196, 0.0392, 0.212),
2839
+ dark: UndRGBA(0.9686, 0.9686, 0.9961, 0.279),
2840
+ lightMore: UndRGBA(0, 0.0196, 0.0392, 0.212),
2841
+ darkMore: UndRGBA(0.9686, 0.9686, 0.9961, 0.279)
2842
+ ),
2843
+ datavizGridline: UndDynamicColor(
2844
+ light: UndRGBA(0.0078, 0.0078, 0.102, 0.083),
2845
+ dark: UndRGBA(0.9725, 0.9725, 1, 0.153),
2846
+ lightMore: UndRGBA(0.0078, 0.0078, 0.102, 0.083),
2847
+ darkMore: UndRGBA(0.9725, 0.9725, 1, 0.153)
2848
+ ),
2849
+ fgDefault: UndDynamicColor(
2850
+ light: UndRGBA(0.1451, 0.1451, 0.149, 1),
2851
+ dark: UndRGBA(0.9255, 0.9294, 0.9333, 1),
2852
+ lightMore: UndRGBA(0.1451, 0.1451, 0.149, 1),
2853
+ darkMore: UndRGBA(0.9255, 0.9294, 0.9333, 1)
2854
+ ),
2855
+ fgDisabled: UndDynamicColor(
2856
+ light: UndRGBA(0.7059, 0.7098, 0.7137, 1),
2857
+ dark: UndRGBA(0.3529, 0.3569, 0.3608, 1),
2858
+ lightMore: UndRGBA(0.7059, 0.7098, 0.7137, 1),
2859
+ darkMore: UndRGBA(0.3529, 0.3569, 0.3608, 1)
2860
+ ),
2861
+ fgInverse: UndDynamicColor(
2862
+ light: UndRGBA(0.9882, 0.9922, 0.9961, 1),
2863
+ dark: UndRGBA(0.0549, 0.0549, 0.0588, 1),
2864
+ lightMore: UndRGBA(0.9882, 0.9922, 0.9961, 1),
2865
+ darkMore: UndRGBA(0.0549, 0.0549, 0.0588, 1)
2866
+ ),
2867
+ fgMuted: UndDynamicColor(
2868
+ light: UndRGBA(0.3922, 0.3922, 0.4, 1),
2869
+ dark: UndRGBA(0.7412, 0.7412, 0.749, 1),
2870
+ lightMore: UndRGBA(0.1451, 0.1451, 0.149, 1),
2871
+ darkMore: UndRGBA(0.9255, 0.9294, 0.9333, 1)
2872
+ ),
2873
+ fgOnAccent: UndDynamicColor(
2874
+ light: UndRGBA(0.9882, 0.9922, 0.9961, 1),
2875
+ dark: UndRGBA(0.0549, 0.0549, 0.0588, 1),
2876
+ lightMore: UndRGBA(0.9882, 0.9922, 0.9961, 1),
2877
+ darkMore: UndRGBA(0.0549, 0.0549, 0.0588, 1)
2878
+ ),
2879
+ fgSubtle: UndDynamicColor(
2880
+ light: UndRGBA(0.502, 0.502, 0.5098, 1),
2881
+ dark: UndRGBA(0.4588, 0.4627, 0.4667, 1),
2882
+ lightMore: UndRGBA(0.3922, 0.3922, 0.4, 1),
2883
+ darkMore: UndRGBA(0.7412, 0.7412, 0.749, 1)
2884
+ ),
2885
+ focusRing: UndDynamicColor(
2886
+ light: UndRGBA(0.1451, 0.1451, 0.149, 1),
2887
+ dark: UndRGBA(0.9255, 0.9294, 0.9333, 1),
2888
+ lightMore: UndRGBA(0.1451, 0.1451, 0.149, 1),
2889
+ darkMore: UndRGBA(0.9255, 0.9294, 0.9333, 1)
2890
+ ),
2891
+ linkDefault: UndDynamicColor(
2892
+ light: UndRGBA(0.1385, 0.3875, 0.7163, 1, space: .displayP3),
2893
+ dark: UndRGBA(0.5796, 0.7556, 1, 1, space: .displayP3),
2894
+ lightMore: UndRGBA(0.0299, 0.1424, 0.2911, 1, space: .displayP3),
2895
+ darkMore: UndRGBA(0.8869, 0.934, 0.9984, 1, space: .displayP3)
2896
+ ),
2897
+ linkVisited: UndDynamicColor(
2898
+ light: UndRGBA(0.651, 0.1765, 0.4471, 1),
2899
+ dark: UndRGBA(0.9621, 0.5989, 0.7883, 1, space: .displayP3),
2900
+ lightMore: UndRGBA(0.651, 0.1765, 0.4471, 1),
2901
+ darkMore: UndRGBA(0.9621, 0.5989, 0.7883, 1, space: .displayP3)
2902
+ ),
2903
+ materialChromeBg: UndDynamicColor(
2904
+ light: UndRGBA(1, 1, 1, 1),
2905
+ dark: UndRGBA(0.0824, 0.0824, 0.0863, 1),
2906
+ lightMore: UndRGBA(1, 1, 1, 1),
2907
+ darkMore: UndRGBA(0.0824, 0.0824, 0.0863, 1)
2908
+ ),
2909
+ materialChromeBorder: UndDynamicColor(
2910
+ light: UndRGBA(0.7882, 0.7922, 0.7961, 1),
2911
+ dark: UndRGBA(0.2706, 0.2706, 0.2784, 1),
2912
+ lightMore: UndRGBA(0.7059, 0.7098, 0.7137, 1),
2913
+ darkMore: UndRGBA(0.3529, 0.3569, 0.3608, 1)
2914
+ ),
2915
+ materialChromeHighlight: UndDynamicColor(
2916
+ light: UndRGBA(0, 0, 0, 0),
2917
+ dark: UndRGBA(0, 0, 0, 0),
2918
+ lightMore: UndRGBA(0, 0, 0, 0),
2919
+ darkMore: UndRGBA(0, 0, 0, 0)
2920
+ ),
2921
+ materialRegularBg: UndDynamicColor(
2922
+ light: UndRGBA(1, 1, 1, 1),
2923
+ dark: UndRGBA(0.0824, 0.0824, 0.0863, 1),
2924
+ lightMore: UndRGBA(1, 1, 1, 1),
2925
+ darkMore: UndRGBA(0.0824, 0.0824, 0.0863, 1)
2926
+ ),
2927
+ materialRegularBorder: UndDynamicColor(
2928
+ light: UndRGBA(0.7882, 0.7922, 0.7961, 1),
2929
+ dark: UndRGBA(0.2706, 0.2706, 0.2784, 1),
2930
+ lightMore: UndRGBA(0.7059, 0.7098, 0.7137, 1),
2931
+ darkMore: UndRGBA(0.3529, 0.3569, 0.3608, 1)
2932
+ ),
2933
+ materialThickBg: UndDynamicColor(
2934
+ light: UndRGBA(1, 1, 1, 1),
2935
+ dark: UndRGBA(0.0824, 0.0824, 0.0863, 1),
2936
+ lightMore: UndRGBA(1, 1, 1, 1),
2937
+ darkMore: UndRGBA(0.0824, 0.0824, 0.0863, 1)
2938
+ ),
2939
+ materialThickBorder: UndDynamicColor(
2940
+ light: UndRGBA(0.7882, 0.7922, 0.7961, 1),
2941
+ dark: UndRGBA(0.2706, 0.2706, 0.2784, 1),
2942
+ lightMore: UndRGBA(0.7059, 0.7098, 0.7137, 1),
2943
+ darkMore: UndRGBA(0.3529, 0.3569, 0.3608, 1)
2944
+ ),
2945
+ materialThinBg: UndDynamicColor(
2946
+ light: UndRGBA(1, 1, 1, 1),
2947
+ dark: UndRGBA(0.0824, 0.0824, 0.0863, 1),
2948
+ lightMore: UndRGBA(1, 1, 1, 1),
2949
+ darkMore: UndRGBA(0.0824, 0.0824, 0.0863, 1)
2950
+ ),
2951
+ materialThinBorder: UndDynamicColor(
2952
+ light: UndRGBA(0.7882, 0.7922, 0.7961, 1),
2953
+ dark: UndRGBA(0.2706, 0.2706, 0.2784, 1),
2954
+ lightMore: UndRGBA(0.7059, 0.7098, 0.7137, 1),
2955
+ darkMore: UndRGBA(0.3529, 0.3569, 0.3608, 1)
2956
+ ),
2957
+ selectionBg: UndDynamicColor(
2958
+ light: UndRGBA(0.0039, 0.0353, 0.0706, 0.118),
2959
+ dark: UndRGBA(0.9608, 0.9804, 1, 0.22),
2960
+ lightMore: UndRGBA(0.0039, 0.0353, 0.0706, 0.118),
2961
+ darkMore: UndRGBA(0.9608, 0.9804, 1, 0.22)
2962
+ ),
2963
+ statusDangerBg: UndDynamicColor(
2964
+ light: UndRGBA(0.9922, 0.9373, 0.9294, 1),
2965
+ dark: UndRGBA(0.2078, 0.0745, 0.0667, 1),
2966
+ lightMore: UndRGBA(0.9922, 0.9373, 0.9294, 1),
2967
+ darkMore: UndRGBA(0.2078, 0.0745, 0.0667, 1)
2968
+ ),
2969
+ statusDangerBgHover: UndDynamicColor(
2970
+ light: UndRGBA(0.9804, 0.898, 0.8863, 1),
2971
+ dark: UndRGBA(0.2627, 0.0784, 0.0745, 1),
2972
+ lightMore: UndRGBA(0.9804, 0.898, 0.8863, 1),
2973
+ darkMore: UndRGBA(0.2627, 0.0784, 0.0745, 1)
2974
+ ),
2975
+ statusDangerBorder: UndDynamicColor(
2976
+ light: UndRGBA(0.949, 0.7294, 0.7059, 1),
2977
+ dark: UndRGBA(0.4745, 0.1373, 0.1373, 1),
2978
+ lightMore: UndRGBA(0.949, 0.7294, 0.7059, 1),
2979
+ darkMore: UndRGBA(0.4745, 0.1373, 0.1373, 1)
2980
+ ),
2981
+ statusDangerFg: UndDynamicColor(
2982
+ light: UndRGBA(0.7216, 0.1176, 0.1529, 1),
2983
+ dark: UndRGBA(0.9998, 0.6102, 0.5696, 1, space: .displayP3),
2984
+ lightMore: UndRGBA(0.7216, 0.1176, 0.1529, 1),
2985
+ darkMore: UndRGBA(0.9998, 0.6102, 0.5696, 1, space: .displayP3)
2986
+ ),
2987
+ statusDangerFgStrong: UndDynamicColor(
2988
+ light: UndRGBA(0.2941, 0.0235, 0.0353, 1),
2989
+ dark: UndRGBA(0.9985, 0.9003, 0.8863, 1, space: .displayP3),
2990
+ lightMore: UndRGBA(0.2941, 0.0235, 0.0353, 1),
2991
+ darkMore: UndRGBA(0.9985, 0.9003, 0.8863, 1, space: .displayP3)
2992
+ ),
2993
+ statusDangerOnSolid: UndDynamicColor(
2994
+ light: UndRGBA(1, 1, 1, 1),
2995
+ dark: UndRGBA(1, 1, 1, 1),
2996
+ lightMore: UndRGBA(1, 1, 1, 1),
2997
+ darkMore: UndRGBA(1, 1, 1, 1)
2998
+ ),
2999
+ statusDangerSolid: UndDynamicColor(
3000
+ light: UndRGBA(0.8667, 0.1137, 0.1725, 1),
3001
+ dark: UndRGBA(0.8667, 0.1137, 0.1725, 1),
3002
+ lightMore: UndRGBA(0.8667, 0.1137, 0.1725, 1),
3003
+ darkMore: UndRGBA(0.8667, 0.1137, 0.1725, 1)
3004
+ ),
3005
+ statusDangerSolidHover: UndDynamicColor(
3006
+ light: UndRGBA(0.7416, 0.1432, 0.1633, 1, space: .displayP3),
3007
+ dark: UndRGBA(0.7348, 0.1339, 0.1573, 1, space: .displayP3),
3008
+ lightMore: UndRGBA(0.7416, 0.1432, 0.1633, 1, space: .displayP3),
3009
+ darkMore: UndRGBA(0.7348, 0.1339, 0.1573, 1, space: .displayP3)
3010
+ ),
3011
+ statusInfoBg: UndDynamicColor(
3012
+ light: UndRGBA(0.9255, 0.9529, 0.9843, 1),
3013
+ dark: UndRGBA(0.0471, 0.1255, 0.2078, 1),
3014
+ lightMore: UndRGBA(0.9255, 0.9529, 0.9843, 1),
3015
+ darkMore: UndRGBA(0.0471, 0.1255, 0.2078, 1)
3016
+ ),
3017
+ statusInfoBgHover: UndDynamicColor(
3018
+ light: UndRGBA(0.8824, 0.9255, 0.9765, 1),
3019
+ dark: UndRGBA(0.0431, 0.1529, 0.2627, 1),
3020
+ lightMore: UndRGBA(0.8824, 0.9255, 0.9765, 1),
3021
+ darkMore: UndRGBA(0.0431, 0.1529, 0.2627, 1)
3022
+ ),
3023
+ statusInfoBorder: UndDynamicColor(
3024
+ light: UndRGBA(0.6902, 0.8039, 0.9373, 1),
3025
+ dark: UndRGBA(0.0706, 0.2784, 0.4784, 1),
3026
+ lightMore: UndRGBA(0.6902, 0.8039, 0.9373, 1),
3027
+ darkMore: UndRGBA(0.0706, 0.2784, 0.4784, 1)
3028
+ ),
3029
+ statusInfoFg: UndDynamicColor(
3030
+ light: UndRGBA(0.1385, 0.3875, 0.7163, 1, space: .displayP3),
3031
+ dark: UndRGBA(0.5796, 0.7556, 1, 1, space: .displayP3),
3032
+ lightMore: UndRGBA(0.1385, 0.3875, 0.7163, 1, space: .displayP3),
3033
+ darkMore: UndRGBA(0.5796, 0.7556, 1, 1, space: .displayP3)
3034
+ ),
3035
+ statusInfoFgStrong: UndDynamicColor(
3036
+ light: UndRGBA(0.0299, 0.1424, 0.2911, 1, space: .displayP3),
3037
+ dark: UndRGBA(0.8869, 0.934, 0.9984, 1, space: .displayP3),
3038
+ lightMore: UndRGBA(0.0299, 0.1424, 0.2911, 1, space: .displayP3),
3039
+ darkMore: UndRGBA(0.8869, 0.934, 0.9984, 1, space: .displayP3)
3040
+ ),
3041
+ statusInfoOnSolid: UndDynamicColor(
3042
+ light: UndRGBA(1, 1, 1, 1),
3043
+ dark: UndRGBA(1, 1, 1, 1),
3044
+ lightMore: UndRGBA(1, 1, 1, 1),
3045
+ darkMore: UndRGBA(1, 1, 1, 1)
3046
+ ),
3047
+ statusInfoSolid: UndDynamicColor(
3048
+ light: UndRGBA(0.1194, 0.4327, 0.8303, 1, space: .displayP3),
3049
+ dark: UndRGBA(0.1194, 0.4327, 0.8303, 1, space: .displayP3),
3050
+ lightMore: UndRGBA(0.1194, 0.4327, 0.8303, 1, space: .displayP3),
3051
+ darkMore: UndRGBA(0.1194, 0.4327, 0.8303, 1, space: .displayP3)
3052
+ ),
3053
+ statusInfoSolidHover: UndDynamicColor(
3054
+ light: UndRGBA(0.0421, 0.3834, 0.7776, 1, space: .displayP3),
3055
+ dark: UndRGBA(0.0287, 0.3773, 0.7711, 1, space: .displayP3),
3056
+ lightMore: UndRGBA(0.0421, 0.3834, 0.7776, 1, space: .displayP3),
3057
+ darkMore: UndRGBA(0.0287, 0.3773, 0.7711, 1, space: .displayP3)
3058
+ ),
3059
+ statusSuccessBg: UndDynamicColor(
3060
+ light: UndRGBA(0.9294, 0.9608, 0.9373, 1),
3061
+ dark: UndRGBA(0.0588, 0.1412, 0.0824, 1),
3062
+ lightMore: UndRGBA(0.9294, 0.9608, 0.9373, 1),
3063
+ darkMore: UndRGBA(0.0588, 0.1412, 0.0824, 1)
3064
+ ),
3065
+ statusSuccessBgHover: UndDynamicColor(
3066
+ light: UndRGBA(0.8863, 0.9333, 0.898, 1),
3067
+ dark: UndRGBA(0.0549, 0.1765, 0.098, 1),
3068
+ lightMore: UndRGBA(0.8863, 0.9333, 0.898, 1),
3069
+ darkMore: UndRGBA(0.0549, 0.1765, 0.098, 1)
3070
+ ),
3071
+ statusSuccessBorder: UndDynamicColor(
3072
+ light: UndRGBA(0.7059, 0.8275, 0.7333, 1),
3073
+ dark: UndRGBA(0.098, 0.3216, 0.1765, 1),
3074
+ lightMore: UndRGBA(0.7059, 0.8275, 0.7333, 1),
3075
+ darkMore: UndRGBA(0.098, 0.3216, 0.1765, 1)
3076
+ ),
3077
+ statusSuccessFg: UndDynamicColor(
3078
+ light: UndRGBA(0.1962, 0.4692, 0.2558, 1, space: .displayP3),
3079
+ dark: UndRGBA(0.498, 0.8314, 0.5922, 1),
3080
+ lightMore: UndRGBA(0.1962, 0.4692, 0.2558, 1, space: .displayP3),
3081
+ darkMore: UndRGBA(0.498, 0.8314, 0.5922, 1)
3082
+ ),
3083
+ statusSuccessFgStrong: UndDynamicColor(
3084
+ light: UndRGBA(0.056, 0.1794, 0.0832, 1, space: .displayP3),
3085
+ dark: UndRGBA(0.8549, 0.9608, 0.8784, 1),
3086
+ lightMore: UndRGBA(0.056, 0.1794, 0.0832, 1, space: .displayP3),
3087
+ darkMore: UndRGBA(0.8549, 0.9608, 0.8784, 1)
3088
+ ),
3089
+ statusSuccessOnSolid: UndDynamicColor(
3090
+ light: UndRGBA(1, 1, 1, 1),
3091
+ dark: UndRGBA(1, 1, 1, 1),
3092
+ lightMore: UndRGBA(1, 1, 1, 1),
3093
+ darkMore: UndRGBA(1, 1, 1, 1)
3094
+ ),
3095
+ statusSuccessSolid: UndDynamicColor(
3096
+ light: UndRGBA(0.1691, 0.5098, 0.2544, 1, space: .displayP3),
3097
+ dark: UndRGBA(0.1691, 0.5098, 0.2544, 1, space: .displayP3),
3098
+ lightMore: UndRGBA(0.1691, 0.5098, 0.2544, 1, space: .displayP3),
3099
+ darkMore: UndRGBA(0.1691, 0.5098, 0.2544, 1, space: .displayP3)
3100
+ ),
3101
+ statusSuccessSolidHover: UndDynamicColor(
3102
+ light: UndRGBA(0.1105, 0.4623, 0.2105, 1, space: .displayP3),
3103
+ dark: UndRGBA(0.1024, 0.4564, 0.205, 1, space: .displayP3),
3104
+ lightMore: UndRGBA(0.1105, 0.4623, 0.2105, 1, space: .displayP3),
3105
+ darkMore: UndRGBA(0.1024, 0.4564, 0.205, 1, space: .displayP3)
3106
+ ),
3107
+ statusWarningBg: UndDynamicColor(
3108
+ light: UndRGBA(0.9686, 0.949, 0.9176, 1),
3109
+ dark: UndRGBA(0.1608, 0.1098, 0.0157, 1),
3110
+ lightMore: UndRGBA(0.9686, 0.949, 0.9176, 1),
3111
+ darkMore: UndRGBA(0.1608, 0.1098, 0.0157, 1)
3112
+ ),
3113
+ statusWarningBgHover: UndDynamicColor(
3114
+ light: UndRGBA(0.9451, 0.9137, 0.8667, 1),
3115
+ dark: UndRGBA(0.1937, 0.1371, 0.0213, 1, space: .displayP3),
3116
+ lightMore: UndRGBA(0.9451, 0.9137, 0.8667, 1),
3117
+ darkMore: UndRGBA(0.1937, 0.1371, 0.0213, 1, space: .displayP3)
3118
+ ),
3119
+ statusWarningBorder: UndDynamicColor(
3120
+ light: UndRGBA(0.8627, 0.7804, 0.6471, 1),
3121
+ dark: UndRGBA(0.3535, 0.2503, 0.008, 1, space: .displayP3),
3122
+ lightMore: UndRGBA(0.8627, 0.7804, 0.6471, 1),
3123
+ darkMore: UndRGBA(0.3535, 0.2503, 0.008, 1, space: .displayP3)
3124
+ ),
3125
+ statusWarningFg: UndDynamicColor(
3126
+ light: UndRGBA(0.5069, 0.3634, 0.0036, 1, space: .displayP3),
3127
+ dark: UndRGBA(0.9137, 0.7059, 0.3294, 1),
3128
+ lightMore: UndRGBA(0.5069, 0.3634, 0.0036, 1, space: .displayP3),
3129
+ darkMore: UndRGBA(0.9137, 0.7059, 0.3294, 1)
3130
+ ),
3131
+ statusWarningFgStrong: UndDynamicColor(
3132
+ light: UndRGBA(0.196, 0.1319, 0.0004, 1, space: .displayP3),
3133
+ dark: UndRGBA(0.9882, 0.9176, 0.8039, 1),
3134
+ lightMore: UndRGBA(0.196, 0.1319, 0.0004, 1, space: .displayP3),
3135
+ darkMore: UndRGBA(0.9882, 0.9176, 0.8039, 1)
3136
+ ),
3137
+ statusWarningOnSolid: UndDynamicColor(
3138
+ light: UndRGBA(0.196, 0.1319, 0.0004, 1, space: .displayP3),
3139
+ dark: UndRGBA(0.196, 0.1319, 0.0004, 1, space: .displayP3),
3140
+ lightMore: UndRGBA(0.196, 0.1319, 0.0004, 1, space: .displayP3),
3141
+ darkMore: UndRGBA(0.196, 0.1319, 0.0004, 1, space: .displayP3)
3142
+ ),
3143
+ statusWarningSolid: UndDynamicColor(
3144
+ light: UndRGBA(0.9367, 0.7103, 0.2322, 1, space: .displayP3),
3145
+ dark: UndRGBA(0.9367, 0.7103, 0.2322, 1, space: .displayP3),
3146
+ lightMore: UndRGBA(0.9367, 0.7103, 0.2322, 1, space: .displayP3),
3147
+ darkMore: UndRGBA(0.9367, 0.7103, 0.2322, 1, space: .displayP3)
3148
+ ),
3149
+ statusWarningSolidHover: UndDynamicColor(
3150
+ light: UndRGBA(0.8842, 0.6598, 0.1637, 1, space: .displayP3),
3151
+ dark: UndRGBA(0.9963, 0.7678, 0.3003, 1, space: .displayP3),
3152
+ lightMore: UndRGBA(0.8842, 0.6598, 0.1637, 1, space: .displayP3),
3153
+ darkMore: UndRGBA(0.9963, 0.7678, 0.3003, 1, space: .displayP3)
3154
+ )
3155
+ )
3156
+ }
3157
+
3158
+ /// 4pt spacing scale (report 3.1). Density never changes these.
3159
+ public enum UndSpacing {
3160
+ public static let s0: CGFloat = 0
3161
+ public static let s1: CGFloat = 4
3162
+ public static let s2: CGFloat = 8
3163
+ public static let s3: CGFloat = 12
3164
+ public static let s4: CGFloat = 16
3165
+ public static let s5: CGFloat = 20
3166
+ public static let s6: CGFloat = 24
3167
+ public static let s8: CGFloat = 32
3168
+ public static let s10: CGFloat = 40
3169
+ public static let s12: CGFloat = 48
3170
+ public static let s16: CGFloat = 64
3171
+ public static let s20: CGFloat = 80
3172
+ public static let s24: CGFloat = 96
3173
+ public static let s32: CGFloat = 128
3174
+ public static let s0p5: CGFloat = 2
3175
+ public static let s1p5: CGFloat = 6
3176
+ public static let px: CGFloat = 1
3177
+ }
3178
+
3179
+ /// Icon sizes.
3180
+ public enum UndIconSize {
3181
+ public static let xs: CGFloat = 12
3182
+ public static let sm: CGFloat = 16
3183
+ public static let md: CGFloat = 20
3184
+ public static let lg: CGFloat = 24
3185
+ public static let xl: CGFloat = 32
3186
+ }
3187
+
3188
+ /// Border widths. Use 1 / displayScale for hairlines.
3189
+ public enum UndBorderWidth {
3190
+ public static let hairline: CGFloat = 1
3191
+ public static let thin: CGFloat = 1
3192
+ public static let thick: CGFloat = 2
3193
+ public static let heavy: CGFloat = 3
3194
+ }
3195
+
3196
+ /// Breakpoints in points (for size classes and window widths).
3197
+ public enum UndBreakpoint {
3198
+ public static let xs: CGFloat = 480
3199
+ public static let sm: CGFloat = 640
3200
+ public static let md: CGFloat = 768
3201
+ public static let lg: CGFloat = 1024
3202
+ public static let xl: CGFloat = 1280
3203
+ public static let xxl: CGFloat = 1536
3204
+ }
3205
+
3206
+ /// Focus ring and hit-target metrics.
3207
+ public enum UndFocus {
3208
+ public static let width: CGFloat = 2
3209
+ public static let widthIncreasedContrast: CGFloat = 3
3210
+ public static let offset: CGFloat = 2
3211
+ /// Minimum hit area on iOS (HIG).
3212
+ public static let minimumTarget: CGFloat = 44
3213
+ }
3214
+
3215
+ /// Control metrics for a density.
3216
+ public struct UndControlMetrics: Sendable, Equatable {
3217
+ public let xs: CGFloat
3218
+ public let sm: CGFloat
3219
+ public let md: CGFloat
3220
+ public let lg: CGFloat
3221
+ public let xl: CGFloat
3222
+ public let paddingX: CGFloat
3223
+ public let gap: CGFloat
3224
+ public let targetMin: CGFloat
3225
+
3226
+ public static let comfortable = UndControlMetrics(xs: 24, sm: 32, md: 40, lg: 48, xl: 56, paddingX: 12, gap: 8, targetMin: 24)
3227
+ public static let compact = UndControlMetrics(xs: 20, sm: 28, md: 32, lg: 40, xl: 48, paddingX: 9, gap: 6, targetMin: 24)
3228
+ public static let touch = UndControlMetrics(xs: 32, sm: 40, md: 44, lg: 48, xl: 56, paddingX: 12, gap: 8, targetMin: 44)
3229
+
3230
+ public static func of(_ density: UndDensity) -> UndControlMetrics {
3231
+ switch density {
3232
+ case .comfortable: return .comfortable
3233
+ case .compact: return .compact
3234
+ case .touch: return .touch
3235
+ }
3236
+ }
3237
+ }
3238
+
3239
+ /// Radius scale with the theme radius factor applied (report 3.3).
3240
+ public struct UndRadius: Sendable, Equatable {
3241
+ public let factor: CGFloat
3242
+ public let none: CGFloat
3243
+ public let xs: CGFloat
3244
+ public let sm: CGFloat
3245
+ public let md: CGFloat
3246
+ public let lg: CGFloat
3247
+ public let xl: CGFloat
3248
+ public let xxl: CGFloat
3249
+ public let xxxl: CGFloat
3250
+ public let full: CGFloat
3251
+
3252
+ /// Concentric inner radius: outer - padding, at least 2.
3253
+ public func inner(outer: CGFloat, padding: CGFloat) -> CGFloat { max(2, outer - padding) }
3254
+ }
3255
+
3256
+ /// Cubic-bezier control points.
3257
+ public struct UndEasing: Sendable, Equatable {
3258
+ public let x1: Double
3259
+ public let y1: Double
3260
+ public let x2: Double
3261
+ public let y2: Double
3262
+ /// Spring preset to use instead, when the theme character is expressive.
3263
+ public let spring: String?
3264
+ }
3265
+
3266
+ /// Spring defined perceptually (response, damping ratio) with mass 1 (report 4.4).
3267
+ public struct UndSpring: Sendable, Equatable {
3268
+ public let response: Double
3269
+ public let dampingFraction: Double
3270
+ public let stiffness: Double
3271
+ public let damping: Double
3272
+ public let mass: Double
3273
+ /// iOS 17 spring(duration:bounce:) bounce, about 1 - dampingFraction.
3274
+ public let bounce: Double
3275
+ /// Settle time (+-0.1%), seconds.
3276
+ public let settle: Double
3277
+ }
3278
+
3279
+ /// Durations (seconds, theme tempo applied), easings and springs.
3280
+ public struct UndMotion: Sendable, Equatable {
3281
+ public let tempo: Double
3282
+ public let character: UndCharacter
3283
+ public let durationInstant: TimeInterval
3284
+ public let durationMicro: TimeInterval
3285
+ public let durationFastMin: TimeInterval
3286
+ public let durationFast: TimeInterval
3287
+ public let durationFastMax: TimeInterval
3288
+ public let durationMediumMin: TimeInterval
3289
+ public let durationMedium: TimeInterval
3290
+ public let durationMediumMax: TimeInterval
3291
+ public let durationSlowMin: TimeInterval
3292
+ public let durationSlow: TimeInterval
3293
+ public let durationSlowMax: TimeInterval
3294
+ public let motionFocus: TimeInterval
3295
+ public let motionPress: TimeInterval
3296
+ public let motionHover: TimeInterval
3297
+ public let motionHoverOut: TimeInterval
3298
+ public let motionTooltipEnter: TimeInterval
3299
+ public let motionTooltipExit: TimeInterval
3300
+ public let motionMenuEnter: TimeInterval
3301
+ public let motionMenuExit: TimeInterval
3302
+ public let motionDialogEnter: TimeInterval
3303
+ public let motionDialogExit: TimeInterval
3304
+ public let motionSheetEnter: TimeInterval
3305
+ public let motionSheetExit: TimeInterval
3306
+ public let motionToastEnter: TimeInterval
3307
+ public let motionToastExit: TimeInterval
3308
+ public let motionScrim: TimeInterval
3309
+ public let motionPage: TimeInterval
3310
+ public let motionPageExit: TimeInterval
3311
+ public let motionReveal: TimeInterval
3312
+ public let motionCelebrate: TimeInterval
3313
+ public let motionCrossfade: TimeInterval
3314
+ public let motionCrossfadeTouch: TimeInterval
3315
+ public let motionSpinner: TimeInterval
3316
+ public let motionShimmer: TimeInterval
3317
+ public let motionTooltipDelay: TimeInterval
3318
+ public let motionTooltipDelayToolbar: TimeInterval
3319
+ public let motionTooltipSkip: TimeInterval
3320
+ public let easeEnter: UndEasing
3321
+ public let easeExit: UndEasing
3322
+ public let easeMove: UndEasing
3323
+ public let easeEmphasized: UndEasing
3324
+ public let easeLinear: UndEasing
3325
+ public let motionEaseEnter: UndEasing
3326
+ public let motionEaseExit: UndEasing
3327
+ public let motionEaseMove: UndEasing
3328
+ public let motionEaseEmphasized: UndEasing
3329
+ public let springSnap: UndSpring
3330
+ public let springSmooth: UndSpring
3331
+ public let springSnappy: UndSpring
3332
+ public let springGentle: UndSpring
3333
+ public let springBouncy: UndSpring
3334
+ public let springExpressive: UndSpring
3335
+ }
3336
+
3337
+ /// Reduced-motion durations (seconds). Never scaled by tempo; themes cannot loosen them (report 4.6).
3338
+ public enum UndReducedMotion {
3339
+ public static let motionFocus: TimeInterval = 0
3340
+ public static let motionPress: TimeInterval = 0
3341
+ public static let motionHover: TimeInterval = 0
3342
+ public static let motionHoverOut: TimeInterval = 0
3343
+ public static let motionTooltipEnter: TimeInterval = 0
3344
+ public static let motionTooltipExit: TimeInterval = 0
3345
+ public static let motionMenuEnter: TimeInterval = 0
3346
+ public static let motionMenuExit: TimeInterval = 0
3347
+ public static let motionDialogEnter: TimeInterval = 0
3348
+ public static let motionDialogExit: TimeInterval = 0
3349
+ public static let motionSheetEnter: TimeInterval = 0
3350
+ public static let motionSheetExit: TimeInterval = 0
3351
+ public static let motionToastEnter: TimeInterval = 0
3352
+ public static let motionToastExit: TimeInterval = 0
3353
+ public static let motionScrim: TimeInterval = 0
3354
+ public static let motionPage: TimeInterval = 0.15
3355
+ public static let motionPageExit: TimeInterval = 0.15
3356
+ public static let motionReveal: TimeInterval = 0
3357
+ public static let motionCelebrate: TimeInterval = 0
3358
+ public static let motionCrossfade: TimeInterval = 0
3359
+ public static let motionCrossfadeTouch: TimeInterval = 0.2
3360
+ public static let motionSpinner: TimeInterval = 1.6
3361
+ public static let motionShimmer: TimeInterval = 0
3362
+ public static let motionTooltipDelay: TimeInterval = 0.5
3363
+ public static let motionTooltipDelayToolbar: TimeInterval = 0.7
3364
+ public static let motionTooltipSkip: TimeInterval = 0.3
3365
+ }
3366
+
3367
+ /// Font roles. Native defaults to system fonts (Dynamic Type); these families are the opt-in brand stack.
3368
+ public struct UndTypeface: Sendable, Equatable {
3369
+ public let body: [String]
3370
+ public let heading: [String]
3371
+ public let display: [String]
3372
+ public let code: [String]
3373
+ }
3374
+
3375
+ /// A text style mapped to an iOS Dynamic Type style (report 2.3).
3376
+ public struct UndTextStyle: Sendable, Equatable {
3377
+ /// Point size at the default (Large) content size.
3378
+ public let size: CGFloat
3379
+ /// Dynamic Type style it scales with (UIFont.TextStyle raw name).
3380
+ public let textStyle: String
3381
+ public let weight: String
3382
+ public let lineHeight: CGFloat
3383
+ /// Line height multiplier for Devanagari and other Indic scripts.
3384
+ public let lineHeightIndic: CGFloat
3385
+ /// Letter spacing in em (Latin only; never track Indic scripts).
3386
+ public let trackingEm: CGFloat
3387
+ }
3388
+
3389
+ public enum UndTypography {
3390
+ public static let display2xl = UndTextStyle(size: 48, textStyle: "largeTitle", weight: "semibold", lineHeight: 1.05, lineHeightIndic: 1.3, trackingEm: -0.025)
3391
+ public static let displayXl = UndTextStyle(size: 40, textStyle: "largeTitle", weight: "semibold", lineHeight: 1.08, lineHeightIndic: 1.32, trackingEm: -0.022)
3392
+ public static let displayLg = UndTextStyle(size: 34, textStyle: "largeTitle", weight: "semibold", lineHeight: 1.12, lineHeightIndic: 1.35, trackingEm: -0.02)
3393
+ public static let headingXl = UndTextStyle(size: 28, textStyle: "title", weight: "semibold", lineHeight: 1.18, lineHeightIndic: 1.4, trackingEm: -0.015)
3394
+ public static let headingLg = UndTextStyle(size: 22, textStyle: "title2", weight: "semibold", lineHeight: 1.25, lineHeightIndic: 1.45, trackingEm: -0.01)
3395
+ public static let headingMd = UndTextStyle(size: 20, textStyle: "title3", weight: "semibold", lineHeight: 1.3, lineHeightIndic: 1.5, trackingEm: -0.005)
3396
+ public static let headingSm = UndTextStyle(size: 17, textStyle: "headline", weight: "semibold", lineHeight: 1.35, lineHeightIndic: 1.55, trackingEm: 0)
3397
+ public static let bodyLg = UndTextStyle(size: 19, textStyle: "body", weight: "regular", lineHeight: 1.55, lineHeightIndic: 1.8, trackingEm: 0)
3398
+ public static let bodyMd = UndTextStyle(size: 17, textStyle: "body", weight: "regular", lineHeight: 1.5, lineHeightIndic: 1.75, trackingEm: 0)
3399
+ public static let bodySm = UndTextStyle(size: 16, textStyle: "callout", weight: "regular", lineHeight: 1.45, lineHeightIndic: 1.7, trackingEm: 0)
3400
+ public static let labelMd = UndTextStyle(size: 15, textStyle: "subheadline", weight: "medium", lineHeight: 1.25, lineHeightIndic: 1.5, trackingEm: 0)
3401
+ public static let labelSm = UndTextStyle(size: 11, textStyle: "caption2", weight: "medium", lineHeight: 1.25, lineHeightIndic: 1.5, trackingEm: 0.01)
3402
+ public static let caption = UndTextStyle(size: 12, textStyle: "caption", weight: "regular", lineHeight: 1.35, lineHeightIndic: 1.6, trackingEm: 0)
3403
+ public static let code = UndTextStyle(size: 15, textStyle: "callout", weight: "regular", lineHeight: 1.55, lineHeightIndic: 1.55, trackingEm: 0)
3404
+ }
3405
+
3406
+ /// A complete UND theme. Provide it through the SwiftUI environment.
3407
+ public struct UndTheme: Sendable, Equatable {
3408
+ public let name: UndThemeName
3409
+ public let label: String
3410
+ /// true for dark-only themes (Raat).
3411
+ public let darkOnly: Bool
3412
+ public let colors: UndColorRoles
3413
+ public let radius: UndRadius
3414
+ public let motion: UndMotion
3415
+ public let typeface: UndTypeface
3416
+ public let density: UndDensity
3417
+ public let glass: UndGlass
3418
+
3419
+ public static let ujala = UndTheme(
3420
+ name: .ujala,
3421
+ label: "Ujala",
3422
+ darkOnly: false,
3423
+ colors: .ujala,
3424
+ radius: UndRadius(factor: 1, none: 0, xs: 2, sm: 4, md: 6, lg: 8, xl: 12, xxl: 16, xxxl: 24, full: 9999),
3425
+ motion: UndMotion(
3426
+ tempo: 1,
3427
+ character: .standard,
3428
+ durationInstant: 0,
3429
+ durationMicro: 0.09,
3430
+ durationFastMin: 0.13,
3431
+ durationFast: 0.175,
3432
+ durationFastMax: 0.23,
3433
+ durationMediumMin: 0.31,
3434
+ durationMedium: 0.41,
3435
+ durationMediumMax: 0.55,
3436
+ durationSlowMin: 0.73,
3437
+ durationSlow: 0.975,
3438
+ durationSlowMax: 1.3,
3439
+ motionFocus: 0,
3440
+ motionPress: 0.09,
3441
+ motionHover: 0.13,
3442
+ motionHoverOut: 0.175,
3443
+ motionTooltipEnter: 0.175,
3444
+ motionTooltipExit: 0,
3445
+ motionMenuEnter: 0.23,
3446
+ motionMenuExit: 0.09,
3447
+ motionDialogEnter: 0.31,
3448
+ motionDialogExit: 0.217,
3449
+ motionSheetEnter: 0.41,
3450
+ motionSheetExit: 0.287,
3451
+ motionToastEnter: 0.31,
3452
+ motionToastExit: 0.217,
3453
+ motionScrim: 0.175,
3454
+ motionPage: 0.55,
3455
+ motionPageExit: 0.385,
3456
+ motionReveal: 0.73,
3457
+ motionCelebrate: 0.975,
3458
+ motionCrossfade: 0.175,
3459
+ motionCrossfadeTouch: 0.2,
3460
+ motionSpinner: 0.8,
3461
+ motionShimmer: 1.6,
3462
+ motionTooltipDelay: 0.5,
3463
+ motionTooltipDelayToolbar: 0.7,
3464
+ motionTooltipSkip: 0.3,
3465
+ easeEnter: UndEasing(x1: 0.24, y1: 1, x2: 0.4, y2: 1, spring: nil),
3466
+ easeExit: UndEasing(x1: 0.3, y1: 0, x2: 0.6, y2: 0.6, spring: nil),
3467
+ easeMove: UndEasing(x1: 0.2, y1: 0, x2: 0, y2: 1, spring: nil),
3468
+ easeEmphasized: UndEasing(x1: 0.05, y1: 0.7, x2: 0.1, y2: 1, spring: nil),
3469
+ easeLinear: UndEasing(x1: 0, y1: 0, x2: 1, y2: 1, spring: nil),
3470
+ motionEaseEnter: UndEasing(x1: 0.24, y1: 1, x2: 0.4, y2: 1, spring: nil),
3471
+ motionEaseExit: UndEasing(x1: 0.3, y1: 0, x2: 0.6, y2: 0.6, spring: nil),
3472
+ motionEaseMove: UndEasing(x1: 0.2, y1: 0, x2: 0, y2: 1, spring: nil),
3473
+ motionEaseEmphasized: UndEasing(x1: 0.05, y1: 0.7, x2: 0.1, y2: 1, spring: nil),
3474
+ springSnap: UndSpring(response: 0.25, dampingFraction: 1, stiffness: 631.7, damping: 50.27, mass: 1, bounce: 0, settle: 0.368),
3475
+ springSmooth: UndSpring(response: 0.4, dampingFraction: 1, stiffness: 246.7, damping: 31.42, mass: 1, bounce: 0, settle: 0.588),
3476
+ springSnappy: UndSpring(response: 0.35, dampingFraction: 0.85, stiffness: 322.3, damping: 30.52, mass: 1, bounce: 0.15, settle: 0.488),
3477
+ springGentle: UndSpring(response: 0.6, dampingFraction: 1, stiffness: 109.7, damping: 20.94, mass: 1, bounce: 0, settle: 0.882),
3478
+ springBouncy: UndSpring(response: 0.5, dampingFraction: 0.7, stiffness: 157.9, damping: 17.59, mass: 1, bounce: 0.3, settle: 0.819),
3479
+ springExpressive: UndSpring(response: 0.55, dampingFraction: 0.6, stiffness: 130.5, damping: 13.71, mass: 1, bounce: 0.4, settle: 0.89)
3480
+ ),
3481
+ typeface: UndTypeface(body: ["Inter","Noto Sans Devanagari","Noto Sans","system-ui","-apple-system","Segoe UI","Roboto","Nirmala UI","Kohinoor Devanagari","Helvetica Neue","Arial","sans-serif"], heading: ["Inter","Noto Sans Devanagari","Noto Sans","system-ui","-apple-system","Segoe UI","Roboto","Nirmala UI","Kohinoor Devanagari","Helvetica Neue","Arial","sans-serif"], display: ["Inter","Noto Sans Devanagari","Noto Sans","system-ui","-apple-system","Segoe UI","Roboto","Nirmala UI","Kohinoor Devanagari","Helvetica Neue","Arial","sans-serif"], code: ["Geist Mono","ui-monospace","SF Mono","Cascadia Code","Menlo","Consolas","monospace"]),
3482
+ density: .comfortable,
3483
+ glass: .chrome
3484
+ )
3485
+
3486
+ public static let kesar = UndTheme(
3487
+ name: .kesar,
3488
+ label: "Kesar",
3489
+ darkOnly: false,
3490
+ colors: .kesar,
3491
+ radius: UndRadius(factor: 1.25, none: 0, xs: 2.5, sm: 5, md: 7.5, lg: 10, xl: 15, xxl: 20, xxxl: 30, full: 9999),
3492
+ motion: UndMotion(
3493
+ tempo: 1,
3494
+ character: .expressive,
3495
+ durationInstant: 0,
3496
+ durationMicro: 0.09,
3497
+ durationFastMin: 0.13,
3498
+ durationFast: 0.175,
3499
+ durationFastMax: 0.23,
3500
+ durationMediumMin: 0.31,
3501
+ durationMedium: 0.41,
3502
+ durationMediumMax: 0.55,
3503
+ durationSlowMin: 0.73,
3504
+ durationSlow: 0.975,
3505
+ durationSlowMax: 1.3,
3506
+ motionFocus: 0,
3507
+ motionPress: 0.09,
3508
+ motionHover: 0.13,
3509
+ motionHoverOut: 0.175,
3510
+ motionTooltipEnter: 0.175,
3511
+ motionTooltipExit: 0,
3512
+ motionMenuEnter: 0.23,
3513
+ motionMenuExit: 0.09,
3514
+ motionDialogEnter: 0.31,
3515
+ motionDialogExit: 0.217,
3516
+ motionSheetEnter: 0.41,
3517
+ motionSheetExit: 0.287,
3518
+ motionToastEnter: 0.31,
3519
+ motionToastExit: 0.217,
3520
+ motionScrim: 0.175,
3521
+ motionPage: 0.55,
3522
+ motionPageExit: 0.385,
3523
+ motionReveal: 0.73,
3524
+ motionCelebrate: 0.975,
3525
+ motionCrossfade: 0.175,
3526
+ motionCrossfadeTouch: 0.2,
3527
+ motionSpinner: 0.8,
3528
+ motionShimmer: 1.6,
3529
+ motionTooltipDelay: 0.5,
3530
+ motionTooltipDelayToolbar: 0.7,
3531
+ motionTooltipSkip: 0.3,
3532
+ easeEnter: UndEasing(x1: 0.24, y1: 1, x2: 0.4, y2: 1, spring: nil),
3533
+ easeExit: UndEasing(x1: 0.3, y1: 0, x2: 0.6, y2: 0.6, spring: nil),
3534
+ easeMove: UndEasing(x1: 0.2, y1: 0, x2: 0, y2: 1, spring: nil),
3535
+ easeEmphasized: UndEasing(x1: 0.05, y1: 0.7, x2: 0.1, y2: 1, spring: nil),
3536
+ easeLinear: UndEasing(x1: 0, y1: 0, x2: 1, y2: 1, spring: nil),
3537
+ motionEaseEnter: UndEasing(x1: 0.2, y1: 0, x2: 0, y2: 1.28, spring: "bouncy"),
3538
+ motionEaseExit: UndEasing(x1: 0.3, y1: 0, x2: 0.6, y2: 0.6, spring: nil),
3539
+ motionEaseMove: UndEasing(x1: 0.2, y1: 0, x2: 0, y2: 1.04, spring: "snappy"),
3540
+ motionEaseEmphasized: UndEasing(x1: 0.05, y1: 0.7, x2: 0.1, y2: 1, spring: nil),
3541
+ springSnap: UndSpring(response: 0.25, dampingFraction: 1, stiffness: 631.7, damping: 50.27, mass: 1, bounce: 0, settle: 0.368),
3542
+ springSmooth: UndSpring(response: 0.4, dampingFraction: 1, stiffness: 246.7, damping: 31.42, mass: 1, bounce: 0, settle: 0.588),
3543
+ springSnappy: UndSpring(response: 0.35, dampingFraction: 0.85, stiffness: 322.3, damping: 30.52, mass: 1, bounce: 0.15, settle: 0.488),
3544
+ springGentle: UndSpring(response: 0.6, dampingFraction: 1, stiffness: 109.7, damping: 20.94, mass: 1, bounce: 0, settle: 0.882),
3545
+ springBouncy: UndSpring(response: 0.5, dampingFraction: 0.7, stiffness: 157.9, damping: 17.59, mass: 1, bounce: 0.3, settle: 0.819),
3546
+ springExpressive: UndSpring(response: 0.55, dampingFraction: 0.6, stiffness: 130.5, damping: 13.71, mass: 1, bounce: 0.4, settle: 0.89)
3547
+ ),
3548
+ typeface: UndTypeface(body: ["Inter","Noto Sans Devanagari","Noto Sans","system-ui","-apple-system","Segoe UI","Roboto","Nirmala UI","Kohinoor Devanagari","Helvetica Neue","Arial","sans-serif"], heading: ["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: ["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: ["Geist Mono","ui-monospace","SF Mono","Cascadia Code","Menlo","Consolas","monospace"]),
3549
+ density: .comfortable,
3550
+ glass: .on
3551
+ )
3552
+
3553
+ public static let neem = UndTheme(
3554
+ name: .neem,
3555
+ label: "Neem",
3556
+ darkOnly: false,
3557
+ colors: .neem,
3558
+ radius: UndRadius(factor: 1, none: 0, xs: 2, sm: 4, md: 6, lg: 8, xl: 12, xxl: 16, xxxl: 24, full: 9999),
3559
+ motion: UndMotion(
3560
+ tempo: 1,
3561
+ character: .crisp,
3562
+ durationInstant: 0,
3563
+ durationMicro: 0.09,
3564
+ durationFastMin: 0.13,
3565
+ durationFast: 0.175,
3566
+ durationFastMax: 0.23,
3567
+ durationMediumMin: 0.31,
3568
+ durationMedium: 0.41,
3569
+ durationMediumMax: 0.55,
3570
+ durationSlowMin: 0.73,
3571
+ durationSlow: 0.975,
3572
+ durationSlowMax: 1.3,
3573
+ motionFocus: 0,
3574
+ motionPress: 0.09,
3575
+ motionHover: 0.13,
3576
+ motionHoverOut: 0.175,
3577
+ motionTooltipEnter: 0.175,
3578
+ motionTooltipExit: 0,
3579
+ motionMenuEnter: 0.23,
3580
+ motionMenuExit: 0.09,
3581
+ motionDialogEnter: 0.31,
3582
+ motionDialogExit: 0.217,
3583
+ motionSheetEnter: 0.41,
3584
+ motionSheetExit: 0.287,
3585
+ motionToastEnter: 0.31,
3586
+ motionToastExit: 0.217,
3587
+ motionScrim: 0.175,
3588
+ motionPage: 0.55,
3589
+ motionPageExit: 0.385,
3590
+ motionReveal: 0.73,
3591
+ motionCelebrate: 0.975,
3592
+ motionCrossfade: 0.175,
3593
+ motionCrossfadeTouch: 0.2,
3594
+ motionSpinner: 0.8,
3595
+ motionShimmer: 1.6,
3596
+ motionTooltipDelay: 0.5,
3597
+ motionTooltipDelayToolbar: 0.7,
3598
+ motionTooltipSkip: 0.3,
3599
+ easeEnter: UndEasing(x1: 0.24, y1: 1, x2: 0.4, y2: 1, spring: nil),
3600
+ easeExit: UndEasing(x1: 0.3, y1: 0, x2: 0.6, y2: 0.6, spring: nil),
3601
+ easeMove: UndEasing(x1: 0.2, y1: 0, x2: 0, y2: 1, spring: nil),
3602
+ easeEmphasized: UndEasing(x1: 0.05, y1: 0.7, x2: 0.1, y2: 1, spring: nil),
3603
+ easeLinear: UndEasing(x1: 0, y1: 0, x2: 1, y2: 1, spring: nil),
3604
+ motionEaseEnter: UndEasing(x1: 0.2, y1: 0, x2: 0, y2: 1, spring: nil),
3605
+ motionEaseExit: UndEasing(x1: 0.3, y1: 0, x2: 0.6, y2: 0.6, spring: nil),
3606
+ motionEaseMove: UndEasing(x1: 0.2, y1: 0, x2: 0, y2: 1, spring: nil),
3607
+ motionEaseEmphasized: UndEasing(x1: 0.05, y1: 0.7, x2: 0.1, y2: 1, spring: nil),
3608
+ springSnap: UndSpring(response: 0.25, dampingFraction: 1, stiffness: 631.7, damping: 50.27, mass: 1, bounce: 0, settle: 0.368),
3609
+ springSmooth: UndSpring(response: 0.4, dampingFraction: 1, stiffness: 246.7, damping: 31.42, mass: 1, bounce: 0, settle: 0.588),
3610
+ springSnappy: UndSpring(response: 0.35, dampingFraction: 0.85, stiffness: 322.3, damping: 30.52, mass: 1, bounce: 0.15, settle: 0.488),
3611
+ springGentle: UndSpring(response: 0.6, dampingFraction: 1, stiffness: 109.7, damping: 20.94, mass: 1, bounce: 0, settle: 0.882),
3612
+ springBouncy: UndSpring(response: 0.5, dampingFraction: 0.7, stiffness: 157.9, damping: 17.59, mass: 1, bounce: 0.3, settle: 0.819),
3613
+ springExpressive: UndSpring(response: 0.55, dampingFraction: 0.6, stiffness: 130.5, damping: 13.71, mass: 1, bounce: 0.4, settle: 0.89)
3614
+ ),
3615
+ typeface: UndTypeface(body: ["Inter","Noto Sans Devanagari","Noto Sans","system-ui","-apple-system","Segoe UI","Roboto","Nirmala UI","Kohinoor Devanagari","Helvetica Neue","Arial","sans-serif"], heading: ["Inter","Noto Sans Devanagari","Noto Sans","system-ui","-apple-system","Segoe UI","Roboto","Nirmala UI","Kohinoor Devanagari","Helvetica Neue","Arial","sans-serif"], display: ["Inter","Noto Sans Devanagari","Noto Sans","system-ui","-apple-system","Segoe UI","Roboto","Nirmala UI","Kohinoor Devanagari","Helvetica Neue","Arial","sans-serif"], code: ["Geist Mono","ui-monospace","SF Mono","Cascadia Code","Menlo","Consolas","monospace"]),
3616
+ density: .comfortable,
3617
+ glass: .off
3618
+ )
3619
+
3620
+ public static let mitti = UndTheme(
3621
+ name: .mitti,
3622
+ label: "Mitti",
3623
+ darkOnly: false,
3624
+ colors: .mitti,
3625
+ radius: UndRadius(factor: 1.5, none: 0, xs: 3, sm: 6, md: 9, lg: 12, xl: 18, xxl: 24, xxxl: 36, full: 9999),
3626
+ motion: UndMotion(
3627
+ tempo: 1.15,
3628
+ character: .standard,
3629
+ durationInstant: 0,
3630
+ durationMicro: 0.103,
3631
+ durationFastMin: 0.15,
3632
+ durationFast: 0.201,
3633
+ durationFastMax: 0.265,
3634
+ durationMediumMin: 0.357,
3635
+ durationMedium: 0.471,
3636
+ durationMediumMax: 0.633,
3637
+ durationSlowMin: 0.839,
3638
+ durationSlow: 1.121,
3639
+ durationSlowMax: 1.495,
3640
+ motionFocus: 0,
3641
+ motionPress: 0.103,
3642
+ motionHover: 0.15,
3643
+ motionHoverOut: 0.201,
3644
+ motionTooltipEnter: 0.201,
3645
+ motionTooltipExit: 0,
3646
+ motionMenuEnter: 0.265,
3647
+ motionMenuExit: 0.103,
3648
+ motionDialogEnter: 0.357,
3649
+ motionDialogExit: 0.25,
3650
+ motionSheetEnter: 0.471,
3651
+ motionSheetExit: 0.33,
3652
+ motionToastEnter: 0.357,
3653
+ motionToastExit: 0.25,
3654
+ motionScrim: 0.201,
3655
+ motionPage: 0.633,
3656
+ motionPageExit: 0.443,
3657
+ motionReveal: 0.839,
3658
+ motionCelebrate: 1.121,
3659
+ motionCrossfade: 0.201,
3660
+ motionCrossfadeTouch: 0.2,
3661
+ motionSpinner: 0.8,
3662
+ motionShimmer: 1.6,
3663
+ motionTooltipDelay: 0.5,
3664
+ motionTooltipDelayToolbar: 0.7,
3665
+ motionTooltipSkip: 0.3,
3666
+ easeEnter: UndEasing(x1: 0.24, y1: 1, x2: 0.4, y2: 1, spring: nil),
3667
+ easeExit: UndEasing(x1: 0.3, y1: 0, x2: 0.6, y2: 0.6, spring: nil),
3668
+ easeMove: UndEasing(x1: 0.2, y1: 0, x2: 0, y2: 1, spring: nil),
3669
+ easeEmphasized: UndEasing(x1: 0.05, y1: 0.7, x2: 0.1, y2: 1, spring: nil),
3670
+ easeLinear: UndEasing(x1: 0, y1: 0, x2: 1, y2: 1, spring: nil),
3671
+ motionEaseEnter: UndEasing(x1: 0.24, y1: 1, x2: 0.4, y2: 1, spring: nil),
3672
+ motionEaseExit: UndEasing(x1: 0.3, y1: 0, x2: 0.6, y2: 0.6, spring: nil),
3673
+ motionEaseMove: UndEasing(x1: 0.2, y1: 0, x2: 0, y2: 1, spring: nil),
3674
+ motionEaseEmphasized: UndEasing(x1: 0.05, y1: 0.7, x2: 0.1, y2: 1, spring: nil),
3675
+ springSnap: UndSpring(response: 0.2875, dampingFraction: 1, stiffness: 477.7, damping: 43.71, mass: 1, bounce: 0, settle: 0.423),
3676
+ springSmooth: UndSpring(response: 0.46, dampingFraction: 1, stiffness: 186.5, damping: 27.32, mass: 1, bounce: 0, settle: 0.676),
3677
+ springSnappy: UndSpring(response: 0.4025, dampingFraction: 0.85, stiffness: 243.7, damping: 26.54, mass: 1, bounce: 0.15, settle: 0.561),
3678
+ springGentle: UndSpring(response: 0.69, dampingFraction: 1, stiffness: 82.9, damping: 18.21, mass: 1, bounce: 0, settle: 1.014),
3679
+ springBouncy: UndSpring(response: 0.575, dampingFraction: 0.7, stiffness: 119.4, damping: 15.3, mass: 1, bounce: 0.3, settle: 0.942),
3680
+ springExpressive: UndSpring(response: 0.6325, dampingFraction: 0.6, stiffness: 98.7, damping: 11.92, mass: 1, bounce: 0.4, settle: 1.023)
3681
+ ),
3682
+ typeface: UndTypeface(body: ["Inter","Noto Sans Devanagari","Noto Sans","system-ui","-apple-system","Segoe UI","Roboto","Nirmala UI","Kohinoor Devanagari","Helvetica Neue","Arial","sans-serif"], heading: ["Noto Serif","Noto Serif Devanagari","Georgia","Nirmala UI","serif"], display: ["Noto Serif","Noto Serif Devanagari","Georgia","Nirmala UI","serif"], code: ["Geist Mono","ui-monospace","SF Mono","Cascadia Code","Menlo","Consolas","monospace"]),
3683
+ density: .comfortable,
3684
+ glass: .off
3685
+ )
3686
+
3687
+ public static let raat = UndTheme(
3688
+ name: .raat,
3689
+ label: "Raat",
3690
+ darkOnly: true,
3691
+ colors: .raat,
3692
+ radius: UndRadius(factor: 1.25, none: 0, xs: 2.5, sm: 5, md: 7.5, lg: 10, xl: 15, xxl: 20, xxxl: 30, full: 9999),
3693
+ motion: UndMotion(
3694
+ tempo: 1,
3695
+ character: .expressive,
3696
+ durationInstant: 0,
3697
+ durationMicro: 0.09,
3698
+ durationFastMin: 0.13,
3699
+ durationFast: 0.175,
3700
+ durationFastMax: 0.23,
3701
+ durationMediumMin: 0.31,
3702
+ durationMedium: 0.41,
3703
+ durationMediumMax: 0.55,
3704
+ durationSlowMin: 0.73,
3705
+ durationSlow: 0.975,
3706
+ durationSlowMax: 1.3,
3707
+ motionFocus: 0,
3708
+ motionPress: 0.09,
3709
+ motionHover: 0.13,
3710
+ motionHoverOut: 0.175,
3711
+ motionTooltipEnter: 0.175,
3712
+ motionTooltipExit: 0,
3713
+ motionMenuEnter: 0.23,
3714
+ motionMenuExit: 0.09,
3715
+ motionDialogEnter: 0.31,
3716
+ motionDialogExit: 0.217,
3717
+ motionSheetEnter: 0.41,
3718
+ motionSheetExit: 0.287,
3719
+ motionToastEnter: 0.31,
3720
+ motionToastExit: 0.217,
3721
+ motionScrim: 0.175,
3722
+ motionPage: 0.55,
3723
+ motionPageExit: 0.385,
3724
+ motionReveal: 0.73,
3725
+ motionCelebrate: 0.975,
3726
+ motionCrossfade: 0.175,
3727
+ motionCrossfadeTouch: 0.2,
3728
+ motionSpinner: 0.8,
3729
+ motionShimmer: 1.6,
3730
+ motionTooltipDelay: 0.5,
3731
+ motionTooltipDelayToolbar: 0.7,
3732
+ motionTooltipSkip: 0.3,
3733
+ easeEnter: UndEasing(x1: 0.24, y1: 1, x2: 0.4, y2: 1, spring: nil),
3734
+ easeExit: UndEasing(x1: 0.3, y1: 0, x2: 0.6, y2: 0.6, spring: nil),
3735
+ easeMove: UndEasing(x1: 0.2, y1: 0, x2: 0, y2: 1, spring: nil),
3736
+ easeEmphasized: UndEasing(x1: 0.05, y1: 0.7, x2: 0.1, y2: 1, spring: nil),
3737
+ easeLinear: UndEasing(x1: 0, y1: 0, x2: 1, y2: 1, spring: nil),
3738
+ motionEaseEnter: UndEasing(x1: 0.2, y1: 0, x2: 0, y2: 1.28, spring: "bouncy"),
3739
+ motionEaseExit: UndEasing(x1: 0.3, y1: 0, x2: 0.6, y2: 0.6, spring: nil),
3740
+ motionEaseMove: UndEasing(x1: 0.2, y1: 0, x2: 0, y2: 1.04, spring: "snappy"),
3741
+ motionEaseEmphasized: UndEasing(x1: 0.05, y1: 0.7, x2: 0.1, y2: 1, spring: nil),
3742
+ springSnap: UndSpring(response: 0.25, dampingFraction: 1, stiffness: 631.7, damping: 50.27, mass: 1, bounce: 0, settle: 0.368),
3743
+ springSmooth: UndSpring(response: 0.4, dampingFraction: 1, stiffness: 246.7, damping: 31.42, mass: 1, bounce: 0, settle: 0.588),
3744
+ springSnappy: UndSpring(response: 0.35, dampingFraction: 0.85, stiffness: 322.3, damping: 30.52, mass: 1, bounce: 0.15, settle: 0.488),
3745
+ springGentle: UndSpring(response: 0.6, dampingFraction: 1, stiffness: 109.7, damping: 20.94, mass: 1, bounce: 0, settle: 0.882),
3746
+ springBouncy: UndSpring(response: 0.5, dampingFraction: 0.7, stiffness: 157.9, damping: 17.59, mass: 1, bounce: 0.3, settle: 0.819),
3747
+ springExpressive: UndSpring(response: 0.55, dampingFraction: 0.6, stiffness: 130.5, damping: 13.71, mass: 1, bounce: 0.4, settle: 0.89)
3748
+ ),
3749
+ typeface: UndTypeface(body: ["Inter","Noto Sans Devanagari","Noto Sans","system-ui","-apple-system","Segoe UI","Roboto","Nirmala UI","Kohinoor Devanagari","Helvetica Neue","Arial","sans-serif"], heading: ["Inter","Noto Sans Devanagari","Noto Sans","system-ui","-apple-system","Segoe UI","Roboto","Nirmala UI","Kohinoor Devanagari","Helvetica Neue","Arial","sans-serif"], display: ["Inter","Noto Sans Devanagari","Noto Sans","system-ui","-apple-system","Segoe UI","Roboto","Nirmala UI","Kohinoor Devanagari","Helvetica Neue","Arial","sans-serif"], code: ["Geist Mono","ui-monospace","SF Mono","Cascadia Code","Menlo","Consolas","monospace"]),
3750
+ density: .comfortable,
3751
+ glass: .on
3752
+ )
3753
+
3754
+ public static let sutra = UndTheme(
3755
+ name: .sutra,
3756
+ label: "Sutra",
3757
+ darkOnly: false,
3758
+ colors: .sutra,
3759
+ radius: UndRadius(factor: 0.5, none: 0, xs: 1, sm: 2, md: 3, lg: 4, xl: 6, xxl: 8, xxxl: 12, full: 9999),
3760
+ motion: UndMotion(
3761
+ tempo: 0.85,
3762
+ character: .crisp,
3763
+ durationInstant: 0,
3764
+ durationMicro: 0.077,
3765
+ durationFastMin: 0.111,
3766
+ durationFast: 0.149,
3767
+ durationFastMax: 0.196,
3768
+ durationMediumMin: 0.264,
3769
+ durationMedium: 0.349,
3770
+ durationMediumMax: 0.468,
3771
+ durationSlowMin: 0.621,
3772
+ durationSlow: 0.829,
3773
+ durationSlowMax: 1.105,
3774
+ motionFocus: 0,
3775
+ motionPress: 0.077,
3776
+ motionHover: 0.111,
3777
+ motionHoverOut: 0.149,
3778
+ motionTooltipEnter: 0.149,
3779
+ motionTooltipExit: 0,
3780
+ motionMenuEnter: 0.196,
3781
+ motionMenuExit: 0.077,
3782
+ motionDialogEnter: 0.264,
3783
+ motionDialogExit: 0.184,
3784
+ motionSheetEnter: 0.349,
3785
+ motionSheetExit: 0.244,
3786
+ motionToastEnter: 0.264,
3787
+ motionToastExit: 0.184,
3788
+ motionScrim: 0.149,
3789
+ motionPage: 0.468,
3790
+ motionPageExit: 0.327,
3791
+ motionReveal: 0.621,
3792
+ motionCelebrate: 0.829,
3793
+ motionCrossfade: 0.149,
3794
+ motionCrossfadeTouch: 0.2,
3795
+ motionSpinner: 0.8,
3796
+ motionShimmer: 1.6,
3797
+ motionTooltipDelay: 0.5,
3798
+ motionTooltipDelayToolbar: 0.7,
3799
+ motionTooltipSkip: 0.3,
3800
+ easeEnter: UndEasing(x1: 0.24, y1: 1, x2: 0.4, y2: 1, spring: nil),
3801
+ easeExit: UndEasing(x1: 0.3, y1: 0, x2: 0.6, y2: 0.6, spring: nil),
3802
+ easeMove: UndEasing(x1: 0.2, y1: 0, x2: 0, y2: 1, spring: nil),
3803
+ easeEmphasized: UndEasing(x1: 0.05, y1: 0.7, x2: 0.1, y2: 1, spring: nil),
3804
+ easeLinear: UndEasing(x1: 0, y1: 0, x2: 1, y2: 1, spring: nil),
3805
+ motionEaseEnter: UndEasing(x1: 0.2, y1: 0, x2: 0, y2: 1, spring: nil),
3806
+ motionEaseExit: UndEasing(x1: 0.3, y1: 0, x2: 0.6, y2: 0.6, spring: nil),
3807
+ motionEaseMove: UndEasing(x1: 0.2, y1: 0, x2: 0, y2: 1, spring: nil),
3808
+ motionEaseEmphasized: UndEasing(x1: 0.05, y1: 0.7, x2: 0.1, y2: 1, spring: nil),
3809
+ springSnap: UndSpring(response: 0.2125, dampingFraction: 1, stiffness: 874.3, damping: 59.14, mass: 1, bounce: 0, settle: 0.313),
3810
+ springSmooth: UndSpring(response: 0.34, dampingFraction: 1, stiffness: 341.5, damping: 36.96, mass: 1, bounce: 0, settle: 0.5),
3811
+ springSnappy: UndSpring(response: 0.2975, dampingFraction: 0.85, stiffness: 446.1, damping: 35.91, mass: 1, bounce: 0.15, settle: 0.415),
3812
+ springGentle: UndSpring(response: 0.51, dampingFraction: 1, stiffness: 151.8, damping: 24.64, mass: 1, bounce: 0, settle: 0.75),
3813
+ springBouncy: UndSpring(response: 0.425, dampingFraction: 0.7, stiffness: 218.5, damping: 20.69, mass: 1, bounce: 0.3, settle: 0.696),
3814
+ springExpressive: UndSpring(response: 0.4675, dampingFraction: 0.6, stiffness: 180.6, damping: 16.13, mass: 1, bounce: 0.4, settle: 0.757)
3815
+ ),
3816
+ typeface: UndTypeface(body: ["Geist","Noto Sans Devanagari","Noto Sans","system-ui","-apple-system","Segoe UI","Roboto","Nirmala UI","Kohinoor Devanagari","Helvetica Neue","Arial","sans-serif"], heading: ["Geist","Noto Sans Devanagari","Noto Sans","system-ui","-apple-system","Segoe UI","Roboto","Nirmala UI","Kohinoor Devanagari","Helvetica Neue","Arial","sans-serif"], display: ["Geist","Noto Sans Devanagari","Noto Sans","system-ui","-apple-system","Segoe UI","Roboto","Nirmala UI","Kohinoor Devanagari","Helvetica Neue","Arial","sans-serif"], code: ["Geist Mono","ui-monospace","SF Mono","Cascadia Code","Menlo","Consolas","monospace"]),
3817
+ density: .compact,
3818
+ glass: .off
3819
+ )
3820
+
3821
+ public static func named(_ name: UndThemeName) -> UndTheme {
3822
+ switch name {
3823
+ case .ujala: return .ujala
3824
+ case .kesar: return .kesar
3825
+ case .neem: return .neem
3826
+ case .mitti: return .mitti
3827
+ case .raat: return .raat
3828
+ case .sutra: return .sutra
3829
+ }
3830
+ }
3831
+ }
3832
+
3833
+ #if canImport(SwiftUI)
3834
+ import SwiftUI
3835
+ #if canImport(UIKit)
3836
+ import UIKit
3837
+ #elseif canImport(AppKit)
3838
+ import AppKit
3839
+ #endif
3840
+
3841
+ extension UndRGBA {
3842
+ public var color: Color {
3843
+ Color(space == .displayP3 ? .displayP3 : .sRGB, red: red, green: green, blue: blue, opacity: alpha)
3844
+ }
3845
+ }
3846
+
3847
+ extension UndDynamicColor {
3848
+ /// A SwiftUI Color that follows light/dark appearance and Increase Contrast.
3849
+ public var color: Color {
3850
+ #if canImport(UIKit) && !os(watchOS)
3851
+ return Color(uiColor: UIColor { traits in
3852
+ let value = resolve(dark: traits.userInterfaceStyle == .dark, increasedContrast: traits.accessibilityContrast == .high)
3853
+ return value.space == .displayP3
3854
+ ? UIColor(displayP3Red: value.red, green: value.green, blue: value.blue, alpha: value.alpha)
3855
+ : UIColor(red: value.red, green: value.green, blue: value.blue, alpha: value.alpha)
3856
+ })
3857
+ #elseif canImport(AppKit)
3858
+ return Color(nsColor: NSColor(name: nil) { appearance in
3859
+ let match = appearance.bestMatch(from: [.aqua, .darkAqua, .accessibilityHighContrastAqua, .accessibilityHighContrastDarkAqua])
3860
+ let isDark = match == .darkAqua || match == .accessibilityHighContrastDarkAqua
3861
+ let more = match == .accessibilityHighContrastAqua || match == .accessibilityHighContrastDarkAqua
3862
+ let value = resolve(dark: isDark, increasedContrast: more)
3863
+ return value.space == .displayP3
3864
+ ? NSColor(displayP3Red: value.red, green: value.green, blue: value.blue, alpha: value.alpha)
3865
+ : NSColor(srgbRed: value.red, green: value.green, blue: value.blue, alpha: value.alpha)
3866
+ })
3867
+ #else
3868
+ return dark.color
3869
+ #endif
3870
+ }
3871
+ }
3872
+
3873
+ /// SwiftUI Colors for a theme's semantic roles.
3874
+ public struct UndColors {
3875
+ public let accentBg: Color
3876
+ public let accentBgActive: Color
3877
+ public let accentBgHover: Color
3878
+ public let accentBorder: Color
3879
+ public let accentFg: Color
3880
+ public let accentFgStrong: Color
3881
+ public let accentSolid: Color
3882
+ public let accentSolidHover: Color
3883
+ public let bgCanvas: Color
3884
+ public let bgInverse: Color
3885
+ public let bgMuted: Color
3886
+ public let bgMutedActive: Color
3887
+ public let bgMutedHover: Color
3888
+ public let bgOverlay: Color
3889
+ public let bgRaised: Color
3890
+ public let bgSubtle: Color
3891
+ public let bgSurface: Color
3892
+ public let borderControl: Color
3893
+ public let borderControlHover: Color
3894
+ public let borderDefault: Color
3895
+ public let borderStrong: Color
3896
+ public let borderSubtle: Color
3897
+ public let dataviz1: Color
3898
+ public let dataviz2: Color
3899
+ public let dataviz3: Color
3900
+ public let dataviz4: Color
3901
+ public let dataviz5: Color
3902
+ public let dataviz6: Color
3903
+ public let dataviz7: Color
3904
+ public let dataviz8: Color
3905
+ public let datavizAxis: Color
3906
+ public let datavizGridline: Color
3907
+ public let fgDefault: Color
3908
+ public let fgDisabled: Color
3909
+ public let fgInverse: Color
3910
+ public let fgMuted: Color
3911
+ public let fgOnAccent: Color
3912
+ public let fgSubtle: Color
3913
+ public let focusRing: Color
3914
+ public let linkDefault: Color
3915
+ public let linkVisited: Color
3916
+ public let materialChromeBg: Color
3917
+ public let materialChromeBorder: Color
3918
+ public let materialChromeHighlight: Color
3919
+ public let materialRegularBg: Color
3920
+ public let materialRegularBorder: Color
3921
+ public let materialThickBg: Color
3922
+ public let materialThickBorder: Color
3923
+ public let materialThinBg: Color
3924
+ public let materialThinBorder: Color
3925
+ public let selectionBg: Color
3926
+ public let statusDangerBg: Color
3927
+ public let statusDangerBgHover: Color
3928
+ public let statusDangerBorder: Color
3929
+ public let statusDangerFg: Color
3930
+ public let statusDangerFgStrong: Color
3931
+ public let statusDangerOnSolid: Color
3932
+ public let statusDangerSolid: Color
3933
+ public let statusDangerSolidHover: Color
3934
+ public let statusInfoBg: Color
3935
+ public let statusInfoBgHover: Color
3936
+ public let statusInfoBorder: Color
3937
+ public let statusInfoFg: Color
3938
+ public let statusInfoFgStrong: Color
3939
+ public let statusInfoOnSolid: Color
3940
+ public let statusInfoSolid: Color
3941
+ public let statusInfoSolidHover: Color
3942
+ public let statusSuccessBg: Color
3943
+ public let statusSuccessBgHover: Color
3944
+ public let statusSuccessBorder: Color
3945
+ public let statusSuccessFg: Color
3946
+ public let statusSuccessFgStrong: Color
3947
+ public let statusSuccessOnSolid: Color
3948
+ public let statusSuccessSolid: Color
3949
+ public let statusSuccessSolidHover: Color
3950
+ public let statusWarningBg: Color
3951
+ public let statusWarningBgHover: Color
3952
+ public let statusWarningBorder: Color
3953
+ public let statusWarningFg: Color
3954
+ public let statusWarningFgStrong: Color
3955
+ public let statusWarningOnSolid: Color
3956
+ public let statusWarningSolid: Color
3957
+ public let statusWarningSolidHover: Color
3958
+
3959
+ public init(_ roles: UndColorRoles) {
3960
+ accentBg = roles.accentBg.color
3961
+ accentBgActive = roles.accentBgActive.color
3962
+ accentBgHover = roles.accentBgHover.color
3963
+ accentBorder = roles.accentBorder.color
3964
+ accentFg = roles.accentFg.color
3965
+ accentFgStrong = roles.accentFgStrong.color
3966
+ accentSolid = roles.accentSolid.color
3967
+ accentSolidHover = roles.accentSolidHover.color
3968
+ bgCanvas = roles.bgCanvas.color
3969
+ bgInverse = roles.bgInverse.color
3970
+ bgMuted = roles.bgMuted.color
3971
+ bgMutedActive = roles.bgMutedActive.color
3972
+ bgMutedHover = roles.bgMutedHover.color
3973
+ bgOverlay = roles.bgOverlay.color
3974
+ bgRaised = roles.bgRaised.color
3975
+ bgSubtle = roles.bgSubtle.color
3976
+ bgSurface = roles.bgSurface.color
3977
+ borderControl = roles.borderControl.color
3978
+ borderControlHover = roles.borderControlHover.color
3979
+ borderDefault = roles.borderDefault.color
3980
+ borderStrong = roles.borderStrong.color
3981
+ borderSubtle = roles.borderSubtle.color
3982
+ dataviz1 = roles.dataviz1.color
3983
+ dataviz2 = roles.dataviz2.color
3984
+ dataviz3 = roles.dataviz3.color
3985
+ dataviz4 = roles.dataviz4.color
3986
+ dataviz5 = roles.dataviz5.color
3987
+ dataviz6 = roles.dataviz6.color
3988
+ dataviz7 = roles.dataviz7.color
3989
+ dataviz8 = roles.dataviz8.color
3990
+ datavizAxis = roles.datavizAxis.color
3991
+ datavizGridline = roles.datavizGridline.color
3992
+ fgDefault = roles.fgDefault.color
3993
+ fgDisabled = roles.fgDisabled.color
3994
+ fgInverse = roles.fgInverse.color
3995
+ fgMuted = roles.fgMuted.color
3996
+ fgOnAccent = roles.fgOnAccent.color
3997
+ fgSubtle = roles.fgSubtle.color
3998
+ focusRing = roles.focusRing.color
3999
+ linkDefault = roles.linkDefault.color
4000
+ linkVisited = roles.linkVisited.color
4001
+ materialChromeBg = roles.materialChromeBg.color
4002
+ materialChromeBorder = roles.materialChromeBorder.color
4003
+ materialChromeHighlight = roles.materialChromeHighlight.color
4004
+ materialRegularBg = roles.materialRegularBg.color
4005
+ materialRegularBorder = roles.materialRegularBorder.color
4006
+ materialThickBg = roles.materialThickBg.color
4007
+ materialThickBorder = roles.materialThickBorder.color
4008
+ materialThinBg = roles.materialThinBg.color
4009
+ materialThinBorder = roles.materialThinBorder.color
4010
+ selectionBg = roles.selectionBg.color
4011
+ statusDangerBg = roles.statusDangerBg.color
4012
+ statusDangerBgHover = roles.statusDangerBgHover.color
4013
+ statusDangerBorder = roles.statusDangerBorder.color
4014
+ statusDangerFg = roles.statusDangerFg.color
4015
+ statusDangerFgStrong = roles.statusDangerFgStrong.color
4016
+ statusDangerOnSolid = roles.statusDangerOnSolid.color
4017
+ statusDangerSolid = roles.statusDangerSolid.color
4018
+ statusDangerSolidHover = roles.statusDangerSolidHover.color
4019
+ statusInfoBg = roles.statusInfoBg.color
4020
+ statusInfoBgHover = roles.statusInfoBgHover.color
4021
+ statusInfoBorder = roles.statusInfoBorder.color
4022
+ statusInfoFg = roles.statusInfoFg.color
4023
+ statusInfoFgStrong = roles.statusInfoFgStrong.color
4024
+ statusInfoOnSolid = roles.statusInfoOnSolid.color
4025
+ statusInfoSolid = roles.statusInfoSolid.color
4026
+ statusInfoSolidHover = roles.statusInfoSolidHover.color
4027
+ statusSuccessBg = roles.statusSuccessBg.color
4028
+ statusSuccessBgHover = roles.statusSuccessBgHover.color
4029
+ statusSuccessBorder = roles.statusSuccessBorder.color
4030
+ statusSuccessFg = roles.statusSuccessFg.color
4031
+ statusSuccessFgStrong = roles.statusSuccessFgStrong.color
4032
+ statusSuccessOnSolid = roles.statusSuccessOnSolid.color
4033
+ statusSuccessSolid = roles.statusSuccessSolid.color
4034
+ statusSuccessSolidHover = roles.statusSuccessSolidHover.color
4035
+ statusWarningBg = roles.statusWarningBg.color
4036
+ statusWarningBgHover = roles.statusWarningBgHover.color
4037
+ statusWarningBorder = roles.statusWarningBorder.color
4038
+ statusWarningFg = roles.statusWarningFg.color
4039
+ statusWarningFgStrong = roles.statusWarningFgStrong.color
4040
+ statusWarningOnSolid = roles.statusWarningOnSolid.color
4041
+ statusWarningSolid = roles.statusWarningSolid.color
4042
+ statusWarningSolidHover = roles.statusWarningSolidHover.color
4043
+ }
4044
+ }
4045
+
4046
+ extension UndSpring {
4047
+ /// SwiftUI spring with the same physics.
4048
+ public var animation: Animation {
4049
+ .spring(response: response, dampingFraction: dampingFraction, blendDuration: 0)
4050
+ }
4051
+ }
4052
+
4053
+ extension UndEasing {
4054
+ public func animation(duration: TimeInterval) -> Animation {
4055
+ .timingCurve(x1, y1, x2, y2, duration: duration)
4056
+ }
4057
+ }
4058
+
4059
+ extension UndTextStyle {
4060
+ var swiftUITextStyle: Font.TextStyle {
4061
+ switch textStyle {
4062
+ case "largeTitle": return .largeTitle
4063
+ case "title": return .title
4064
+ case "title2": return .title2
4065
+ case "title3": return .title3
4066
+ case "headline": return .headline
4067
+ case "body": return .body
4068
+ case "callout": return .callout
4069
+ case "subheadline": return .subheadline
4070
+ case "footnote": return .footnote
4071
+ case "caption": return .caption
4072
+ case "caption2": return .caption2
4073
+ default: return .body
4074
+ }
4075
+ }
4076
+
4077
+ var swiftUIWeight: Font.Weight {
4078
+ switch weight {
4079
+ case "regular": return .regular
4080
+ case "medium": return .medium
4081
+ case "semibold": return .semibold
4082
+ case "bold": return .bold
4083
+ default: return .regular
4084
+ }
4085
+ }
4086
+
4087
+ /// System font at the matching Dynamic Type style (scales through all accessibility sizes).
4088
+ public var font: Font {
4089
+ .system(swiftUITextStyle, design: .default, weight: swiftUIWeight)
4090
+ }
4091
+
4092
+ /// Brand font (opt-in) relative to the matching Dynamic Type style.
4093
+ public func font(family: String) -> Font {
4094
+ .custom(family, size: size, relativeTo: swiftUITextStyle).weight(swiftUIWeight)
4095
+ }
4096
+ }
4097
+
4098
+ private struct UndThemeKey: EnvironmentKey {
4099
+ static let defaultValue: UndTheme = .ujala
4100
+ }
4101
+
4102
+ extension EnvironmentValues {
4103
+ /// The active UND theme. Set it with .undTheme(.kesar).
4104
+ public var undTheme: UndTheme {
4105
+ get { self[UndThemeKey.self] }
4106
+ set { self[UndThemeKey.self] = newValue }
4107
+ }
4108
+ }
4109
+
4110
+ extension View {
4111
+ /// Applies an UND theme; dark-only themes force the dark colour scheme.
4112
+ public func undTheme(_ theme: UndTheme) -> some View {
4113
+ environment(\.undTheme, theme)
4114
+ .preferredColorScheme(theme.darkOnly ? .dark : nil)
4115
+ }
4116
+ }
4117
+ #endif