@nubisco/ui 5.60.0 → 5.62.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 (52) hide show
  1. package/dist/Spreadsheet-Bg1gxM7t.cjs +4 -0
  2. package/dist/Spreadsheet-Cdl14I3Q.js +2326 -0
  3. package/dist/all.cjs +1 -1
  4. package/dist/all.mjs +12 -11
  5. package/dist/components/Spreadsheet.cjs +1 -1
  6. package/dist/components/Spreadsheet.d.ts +7 -0
  7. package/dist/components/Spreadsheet.mjs +1 -1
  8. package/dist/components/Spreadsheet.vue.d.ts.map +1 -1
  9. package/dist/components/spreadsheet/sheetLook.d.ts.map +1 -1
  10. package/dist/composables/useDarkSurfaces.composable.cjs +1 -0
  11. package/dist/composables/useDarkSurfaces.composable.d.ts +112 -0
  12. package/dist/composables/useDarkSurfaces.composable.d.ts.map +1 -0
  13. package/dist/composables/useDarkSurfaces.composable.mjs +65 -0
  14. package/dist/formula/criteria.d.ts.map +1 -1
  15. package/dist/formula/dates.d.ts +31 -0
  16. package/dist/formula/dates.d.ts.map +1 -0
  17. package/dist/formula/evaluator.d.ts.map +1 -1
  18. package/dist/formula/format.d.ts +7 -0
  19. package/dist/formula/format.d.ts.map +1 -0
  20. package/dist/formula/functions/date.d.ts +3 -0
  21. package/dist/formula/functions/date.d.ts.map +1 -0
  22. package/dist/formula/functions/index.d.ts.map +1 -1
  23. package/dist/formula/functions/text.d.ts.map +1 -1
  24. package/dist/formula/index.cjs +1 -1
  25. package/dist/formula/index.d.ts +2 -0
  26. package/dist/formula/index.d.ts.map +1 -1
  27. package/dist/formula/index.mjs +2 -2
  28. package/dist/formula/parser.d.ts.map +1 -1
  29. package/dist/formula/syntax.d.ts.map +1 -1
  30. package/dist/formula/tokenizer.d.ts +2 -0
  31. package/dist/formula/tokenizer.d.ts.map +1 -1
  32. package/dist/formula/types.d.ts +7 -2
  33. package/dist/formula/types.d.ts.map +1 -1
  34. package/dist/formula/values.d.ts.map +1 -1
  35. package/dist/formula-Co-gRJ5f.cjs +1 -0
  36. package/dist/{formula-Bic1LaPK.js → formula-QEIwkjmo.js} +1042 -434
  37. package/dist/index.cjs +1 -1
  38. package/dist/index.mjs +6 -5
  39. package/dist/{main-wtHGDDYS.js → main-DJ43_gPi.js} +1 -1
  40. package/dist/{main-vJqUlyCN.cjs → main-NxnoNUx0.cjs} +1 -1
  41. package/dist/main.d.ts +2 -0
  42. package/dist/main.d.ts.map +1 -1
  43. package/dist/styles/Spreadsheet.css +1 -1
  44. package/dist/ui.css +1 -1
  45. package/package.json +2 -1
  46. package/src/styles/_contrast.scss +13 -0
  47. package/src/styles/_theme-api.scss +159 -0
  48. package/src/styles/presets/_classic-fields.scss +20 -22
  49. package/src/styles/variables/_tinted-dark.scss +489 -0
  50. package/dist/Spreadsheet-DD0OS-sF.cjs +0 -4
  51. package/dist/Spreadsheet-DN8_9s4Q.js +0 -2215
  52. package/dist/formula-CoCixvl3.cjs +0 -1
@@ -53,9 +53,14 @@
53
53
  @use 'sass:meta';
54
54
  @use 'sass:string';
55
55
  @use 'accent' as accent;
56
+ @use 'contrast' as contrast;
56
57
  @use 'logic' as logic;
57
58
  @use 'logic/ink' as ink;
59
+ @use 'presets/classic-fields' as classic-fields;
60
+ @use 'theme' as base-theme;
58
61
  @use 'variables/categories' as categories;
62
+ @use 'variables/layers' as layers;
63
+ @use 'variables/tinted-dark' as tinted;
59
64
 
60
65
  /// The tints every palette colour is expanded into, matching the library's own
61
66
  /// ramp exactly.
@@ -301,6 +306,9 @@ $_max-step: 900;
301
306
  /// they are not, and a surface that groups products by audience wants the
302
307
  /// category, not the app's own colour.
303
308
  ///
309
+ /// It also emits the category's tinted dark ramp, which applies only under
310
+ /// `[data-nb-dark-surfaces='tinted']` (see `configureDarkSurfaces()`).
311
+ ///
304
312
  /// @param {String} $id - the app's identifier, chosen by the app. The library
305
313
  /// keeps no registry of these: it never needs to know which products exist.
306
314
  /// @param {String} $category - one of `creatives`, `engineers`, `home`, `fun`, `education`, `agents`
@@ -364,4 +372,155 @@ $_max-step: 900;
364
372
  @include accent.focus-inverse(dark);
365
373
  @include accent.link;
366
374
  }
375
+
376
+ // Opt-in, so nothing here applies until the document carries the flag.
377
+ @include _tinted-dark($id, $category);
378
+ }
379
+
380
+ /// The attribute that opts a document into tinted dark surfaces. Written on
381
+ /// `<html>` by `configureDarkSurfaces()`.
382
+ $_tinted-flag: "[data-nb-dark-surfaces='tinted']";
383
+
384
+ /// Joins selectors into one comma-separated selector list.
385
+ @function _selector-list($selectors) {
386
+ $out: '';
387
+ @each $s in $selectors {
388
+ @if $out == '' {
389
+ $out: $s;
390
+ } @else {
391
+ $out: '#{$out}, #{$s}';
392
+ }
393
+ }
394
+ @return $out;
395
+ }
396
+
397
+ /// The four places a tinted dark scope can land.
398
+ ///
399
+ /// The flag is on `<html>`. The dark class and the theme attribute are on
400
+ /// `<html>` too when an application uses `useTheme()` and
401
+ /// `useNamedTheme()`, but either can also sit on a subtree, which is the same
402
+ /// pair of cases `theme()` covers. Each selector has three class or attribute
403
+ /// parts against the single `.dark` that emits the grey ramp, so the tint wins
404
+ /// whatever order the stylesheets are concatenated in.
405
+ ///
406
+ /// @param {String} $theme - the `[data-nb-theme]` compound for the app
407
+ /// @return {List} four selectors, each ending on the element that is themed
408
+ @function _tinted-scopes($theme) {
409
+ @return (
410
+ '#{$_tinted-flag}.dark#{$theme}',
411
+ '#{$_tinted-flag} .dark#{$theme}',
412
+ '#{$_tinted-flag}.dark #{$theme}',
413
+ '#{$_tinted-flag} .dark #{$theme}'
414
+ );
415
+ }
416
+
417
+ /// The tinted scopes, each with a variant attribute added where the
418
+ /// library's own variant rules can share an element with them: on `<html>`
419
+ /// (the scope's first compound), on the themed element itself, or on a
420
+ /// subtree inside it.
421
+ @function _tinted-variants($scopes, $attribute) {
422
+ $out: ();
423
+ @each $scope in $scopes {
424
+ $out: list.append($out, '#{$attribute}#{$scope}', $separator: comma);
425
+ $out: list.append($out, '#{$scope}#{$attribute}', $separator: comma);
426
+ $out: list.append($out, '#{$scope} #{$attribute}', $separator: comma);
427
+ }
428
+ @return $out;
429
+ }
430
+
431
+ /// Every custom property the library's `dark` mixin derives from the dark
432
+ /// ramp, emitted from another ramp of the same shape.
433
+ ///
434
+ /// Mirrors `_theme.scss` (`dark`): the layer surfaces, borders and hovers,
435
+ /// the per-plane set, the aliases that resolve them (re-declared because an
436
+ /// alias written on an ancestor freezes to the ancestor's value), the text
437
+ /// tiers with their readable foregrounds, the text roles and the field
438
+ /// states. The link is re-emitted because its visited state mixes in the
439
+ /// muted tier.
440
+ @mixin _dark-ramp-values($ramp) {
441
+ @for $i from 0 through 3 {
442
+ --nb-c-layer-#{$i}: #{layers.level($ramp, surface, $i)};
443
+ }
444
+ @for $i from 0 through 3 {
445
+ --nb-c-layer-border-#{$i}: #{layers.level($ramp, border, $i)};
446
+ }
447
+ @for $i from 0 through 3 {
448
+ --nb-c-layer-hover-#{$i}: #{layers.level($ramp, hover, $i)};
449
+ }
450
+ @include base-theme.plane-values($ramp);
451
+
452
+ --nb-c-surface: var(--nb-c-layer-1);
453
+ --nb-c-surface-raised: var(--nb-c-layer-0);
454
+ --nb-c-border: var(--nb-c-layer-border-1);
455
+ --nb-c-surface-hover: var(--nb-c-layer-hover-1);
456
+ @include base-theme.plane-aliases(1);
457
+
458
+ --nb-c-text: #{layers.token($ramp, text)};
459
+ --nb-c-text-a11y: #{logic.color-contrast(layers.token($ramp, text))};
460
+ --nb-c-text-muted: #{layers.token($ramp, text-muted)};
461
+ --nb-c-text-muted-a11y: #{logic.color-contrast(
462
+ layers.token($ramp, text-muted)
463
+ )};
464
+ --nb-c-text-subtle: #{layers.token($ramp, text-subtle)};
465
+ @include base-theme.text-roles($ramp);
466
+
467
+ --nb-c-bg: var(--nb-c-layer-0);
468
+ --nb-c-bg-soft: var(--nb-c-layer-1);
469
+
470
+ --nb-c-field-bg-disabled: #{layers.level($ramp, surface, 0)};
471
+ --nb-c-field-border-disabled: #{layers.level($ramp, border, 0)};
472
+ --nb-c-field-border-readonly: #{layers.level($ramp, border, 1)};
473
+
474
+ @include accent.link;
475
+ }
476
+
477
+ /// Tinted dark surfaces, for one app.
478
+ ///
479
+ /// Opt-in: every rule is scoped to `[data-nb-dark-surfaces='tinted']`, so a
480
+ /// document without the attribute renders exactly the grey ramp, and light
481
+ /// mode is never touched. With it, the dark surfaces, borders, hovers and
482
+ /// per-plane values take the app's category hue at a holding WCAG luminance,
483
+ /// and the text tiers take a trace of it. The values are generated, see
484
+ /// `variables/_tinted-dark.scss`.
485
+ ///
486
+ /// The tint follows `$category`, never an overridden accent: the generated
487
+ /// ramps are measured per category, and an arbitrary accent is not.
488
+ ///
489
+ /// Increased contrast and the classic field preset re-declare some of the
490
+ /// same properties on the same elements. The tinted scope outranks their
491
+ /// plain dark rules, so it restates both from the tinted ramp, at higher
492
+ /// specificity still, rather than silently undoing them.
493
+ ///
494
+ /// @param {String} $id - the app's theme id
495
+ /// @param {String} $category - a key of `$categories`
496
+ /// @access private
497
+ @mixin _tinted-dark($id, $category) {
498
+ @if not map.has-key(tinted.$tinted-dark, $category) {
499
+ @error "No tinted dark ramp for category #{$category}. Run `pnpm run generate:tinted-dark`.";
500
+ }
501
+ $ramp: map.get(tinted.$tinted-dark, $category);
502
+ $scopes: _tinted-scopes("[data-nb-theme='#{$id}']");
503
+
504
+ #{_selector-list($scopes)} {
505
+ @include _dark-ramp-values($ramp);
506
+ }
507
+
508
+ #{_selector-list(_tinted-variants($scopes, "[data-nb-contrast='more']"))} {
509
+ @include contrast.values($ramp);
510
+ }
511
+
512
+ @media (prefers-contrast: more) {
513
+ $root: ":root:not([data-nb-contrast='standard'])";
514
+ $media: ();
515
+ @each $scope in $scopes {
516
+ $media: list.append($media, '#{$root}#{$scope}', $separator: comma);
517
+ }
518
+ #{_selector-list($media)} {
519
+ @include contrast.values($ramp);
520
+ }
521
+ }
522
+
523
+ #{_selector-list(_tinted-variants($scopes, "[data-nb-preset='classic-fields']"))} {
524
+ @include classic-fields.values($ramp);
525
+ }
367
526
  }
@@ -44,20 +44,27 @@
44
44
  }
45
45
  }
46
46
 
47
+ /// Every declaration the preset makes, for one ramp.
48
+ ///
49
+ /// Public so a scope that re-declares the per-plane field values from a
50
+ /// different ramp (the tinted dark surfaces in `app-theme()`) can restate the
51
+ /// preset from that ramp instead of overriding it.
52
+ ///
53
+ /// @param {Map} $ramp - `$light`, `$dark`, or a map of the same shape
54
+ /// @access public
55
+ /// @group @nubisco/presets
56
+ @mixin values($ramp) {
57
+ @include _fields($ramp);
58
+ // The old treatment had no separate disabled or read-only values: both
59
+ // fell back to the enabled ones and leaned on opacity alone.
60
+ --nb-c-field-bg-disabled: #{layers.token($ramp, classic-field-bg)};
61
+ --nb-c-field-border-disabled: #{layers.token($ramp, classic-field-border)};
62
+ --nb-c-field-border-readonly: #{layers.token($ramp, classic-field-border)};
63
+ }
64
+
47
65
  @mixin classic-fields {
48
66
  [data-nb-preset='classic-fields'] {
49
- @include _fields(layers.$light);
50
- // The old treatment had no separate disabled or read-only values: both
51
- // fell back to the enabled ones and leaned on opacity alone.
52
- --nb-c-field-bg-disabled: #{layers.token(layers.$light, classic-field-bg)};
53
- --nb-c-field-border-disabled: #{layers.token(
54
- layers.$light,
55
- classic-field-border
56
- )};
57
- --nb-c-field-border-readonly: #{layers.token(
58
- layers.$light,
59
- classic-field-border
60
- )};
67
+ @include values(layers.$light);
61
68
  }
62
69
 
63
70
  /*
@@ -67,15 +74,6 @@
67
74
  */
68
75
  .dark[data-nb-preset='classic-fields'],
69
76
  .dark [data-nb-preset='classic-fields'] {
70
- @include _fields(layers.$dark);
71
- --nb-c-field-bg-disabled: #{layers.token(layers.$dark, classic-field-bg)};
72
- --nb-c-field-border-disabled: #{layers.token(
73
- layers.$dark,
74
- classic-field-border
75
- )};
76
- --nb-c-field-border-readonly: #{layers.token(
77
- layers.$dark,
78
- classic-field-border
79
- )};
77
+ @include values(layers.$dark);
80
78
  }
81
79
  }
@@ -0,0 +1,489 @@
1
+ // GENERATED FILE. Do not edit by hand.
2
+ //
3
+ // Written by `scripts/build-tinted-dark.mjs` from `$dark` in `_layers.scss`
4
+ // and `$categories` in `_categories.scss`. After changing either, run
5
+ // `pnpm run generate:tinted-dark` and commit the result.
6
+ // `tests/tintedDark.test.ts` fails while this file is out of date.
7
+
8
+ /// The dark ramp, tinted toward each category.
9
+ ///
10
+ /// One map per category, each the same shape as `$dark`, so `level()`,
11
+ /// `token()` and `plane-values()` read it unchanged. Every value holds the
12
+ /// WCAG relative luminance of the grey it replaces, at OKLCH chroma 0.01
13
+ /// (scaled 0.85 to 1.15 from layer 0 to 3) on the hue of the category's
14
+ /// dark accent, and 0.004 on the text tiers. Where 8-bit rounding cannot
15
+ /// hold the luminance exactly, a surface, border or hover rounds darker
16
+ /// and a text tier rounds lighter, so no contrast pair gets worse.
17
+ ///
18
+ /// Applied by `app-theme()` under `[data-nb-dark-surfaces='tinted']`.
19
+ ///
20
+ /// ```text
21
+ /// creatives accent #e8c15a OKLCH hue 88.53
22
+ /// engineers accent #a99dff OKLCH hue 288.15
23
+ /// home accent #5ec1e8 OKLCH hue 226.62
24
+ /// fun accent #f686ae OKLCH hue 358.34
25
+ /// education accent #5bbd74 OKLCH hue 149.91
26
+ /// agents accent #3cc8c0 OKLCH hue 189.36
27
+ /// ```
28
+ ///
29
+ /// @type Map
30
+ /// @access public
31
+ /// @group @nubisco/layers
32
+ $tinted-dark: (
33
+ creatives: (
34
+ surface: (
35
+ 0: #110f0b,
36
+ 1: #201e1a,
37
+ 2: #302d28,
38
+ 3: #403d37,
39
+ ),
40
+ border: (
41
+ 0: #45433f,
42
+ 1: #504d48,
43
+ 2: #5c5953,
44
+ 3: #6c6962,
45
+ ),
46
+ hover: (
47
+ 0: #1c1a16,
48
+ 1: #2b2924,
49
+ 2: #3b3833,
50
+ 3: #34312b,
51
+ ),
52
+ accent: (
53
+ 0: #24221e,
54
+ 1: #33312c,
55
+ 2: #26231e,
56
+ 3: #2d2a24,
57
+ ),
58
+ accent-hover: (
59
+ 0: #2d2b27,
60
+ 1: #3d3a35,
61
+ 2: #1e1b16,
62
+ 3: #24211c,
63
+ ),
64
+ selected: (
65
+ 0: #292723,
66
+ 1: #393631,
67
+ 2: #221f1a,
68
+ 3: #292620,
69
+ ),
70
+ selected-hover: (
71
+ 0: #2d2b27,
72
+ 1: #3d3a35,
73
+ 2: #1e1b16,
74
+ 3: #24211c,
75
+ ),
76
+ active: (
77
+ 0: #23211d,
78
+ 1: #32302b,
79
+ 2: #3f3c37,
80
+ 3: #2d2a24,
81
+ ),
82
+ border-strong: (
83
+ 0: #686560,
84
+ 1: #726f6a,
85
+ 2: #807d77,
86
+ 3: #918e87,
87
+ ),
88
+ field: (
89
+ 0: #201e1a,
90
+ 1: #2f2d28,
91
+ 2: #403d38,
92
+ 3: #302d27,
93
+ ),
94
+ field-border: (
95
+ 0: #84817c,
96
+ 1: #84817b,
97
+ 2: #96938d,
98
+ 3: #96938c,
99
+ ),
100
+ text: #ecebe8,
101
+ text-muted: #d2d1ce,
102
+ text-subtle: #a9a8a5,
103
+ bg-inverse: #ecebe8,
104
+ text-inverse: #201e19,
105
+ border-inverse: #84817b,
106
+ classic-field-bg: #161410,
107
+ classic-field-border: #65625c,
108
+ ),
109
+ engineers: (
110
+ surface: (
111
+ 0: #100f14,
112
+ 1: #1f1e23,
113
+ 2: #2e2d33,
114
+ 3: #3e3d44,
115
+ ),
116
+ border: (
117
+ 0: #444349,
118
+ 1: #4e4d53,
119
+ 2: #5a5960,
120
+ 3: #6a6971,
121
+ ),
122
+ hover: (
123
+ 0: #1b1a1f,
124
+ 1: #2a292f,
125
+ 2: #39383f,
126
+ 3: #323138,
127
+ ),
128
+ accent: (
129
+ 0: #232227,
130
+ 1: #323137,
131
+ 2: #242329,
132
+ 3: #2b2a31,
133
+ ),
134
+ accent-hover: (
135
+ 0: #2c2b30,
136
+ 1: #3b3a40,
137
+ 2: #1c1b21,
138
+ 3: #222128,
139
+ ),
140
+ selected: (
141
+ 0: #28272c,
142
+ 1: #37363c,
143
+ 2: #201f25,
144
+ 3: #27262d,
145
+ ),
146
+ selected-hover: (
147
+ 0: #2c2b30,
148
+ 1: #3b3a40,
149
+ 2: #1c1b21,
150
+ 3: #222128,
151
+ ),
152
+ active: (
153
+ 0: #222126,
154
+ 1: #313036,
155
+ 2: #3d3c43,
156
+ 3: #2b2a31,
157
+ ),
158
+ border-strong: (
159
+ 0: #66656b,
160
+ 1: #706f76,
161
+ 2: #7e7d84,
162
+ 3: #8f8e96,
163
+ ),
164
+ field: (
165
+ 0: #1f1e23,
166
+ 1: #2e2d33,
167
+ 2: #3e3d44,
168
+ 3: #2e2d34,
169
+ ),
170
+ field-border: (
171
+ 0: #828187,
172
+ 1: #828188,
173
+ 2: #94939b,
174
+ 3: #94939b,
175
+ ),
176
+ text: #ebebee,
177
+ text-muted: #d1d1d4,
178
+ text-subtle: #a8a8aa,
179
+ bg-inverse: #ebebee,
180
+ text-inverse: #1f1e24,
181
+ border-inverse: #828188,
182
+ classic-field-bg: #151419,
183
+ classic-field-border: #636269,
184
+ ),
185
+ home: (
186
+ surface: (
187
+ 0: #0c1013,
188
+ 1: #1a1f22,
189
+ 2: #282f32,
190
+ 3: #383f42,
191
+ ),
192
+ border: (
193
+ 0: #3f4447,
194
+ 1: #484f52,
195
+ 2: #545b5e,
196
+ 3: #636b6f,
197
+ ),
198
+ hover: (
199
+ 0: #171b1e,
200
+ 1: #252a2d,
201
+ 2: #333a3d,
202
+ 3: #2c3336,
203
+ ),
204
+ accent: (
205
+ 0: #1e2326,
206
+ 1: #2d3235,
207
+ 2: #1e2528,
208
+ 3: #252c2f,
209
+ ),
210
+ accent-hover: (
211
+ 0: #272c2f,
212
+ 1: #353b3e,
213
+ 2: #161c1f,
214
+ 3: #1c2226,
215
+ ),
216
+ selected: (
217
+ 0: #23282b,
218
+ 1: #31373a,
219
+ 2: #1a2123,
220
+ 3: #21282b,
221
+ ),
222
+ selected-hover: (
223
+ 0: #272c2f,
224
+ 1: #353b3e,
225
+ 2: #161c1f,
226
+ 3: #1c2226,
227
+ ),
228
+ active: (
229
+ 0: #1d2225,
230
+ 1: #2c3134,
231
+ 2: #373e41,
232
+ 3: #252c2f,
233
+ ),
234
+ border-strong: (
235
+ 0: #616669,
236
+ 1: #6a7174,
237
+ 2: #787f83,
238
+ 3: #889094,
239
+ ),
240
+ field: (
241
+ 0: #1a1f22,
242
+ 1: #292e31,
243
+ 2: #383f42,
244
+ 3: #282f32,
245
+ ),
246
+ field-border: (
247
+ 0: #7c8385,
248
+ 1: #7c8386,
249
+ 2: #8e9599,
250
+ 3: #8d9599,
251
+ ),
252
+ text: #e8eced,
253
+ text-muted: #ced2d3,
254
+ text-subtle: #a6a9aa,
255
+ bg-inverse: #e8eced,
256
+ text-inverse: #1a1f22,
257
+ border-inverse: #7c8387,
258
+ classic-field-bg: #101518,
259
+ classic-field-border: #5d6467,
260
+ ),
261
+ fun: (
262
+ surface: (
263
+ 0: #130e10,
264
+ 1: #231d1f,
265
+ 2: #332c2e,
266
+ 3: #433c3e,
267
+ ),
268
+ border: (
269
+ 0: #484244,
270
+ 1: #534c4e,
271
+ 2: #5f585a,
272
+ 3: #70676a,
273
+ ),
274
+ hover: (
275
+ 0: #1f191b,
276
+ 1: #2f282a,
277
+ 2: #3e3739,
278
+ 3: #373032,
279
+ ),
280
+ accent: (
281
+ 0: #272123,
282
+ 1: #373032,
283
+ 2: #292224,
284
+ 3: #30292b,
285
+ ),
286
+ accent-hover: (
287
+ 0: #302a2c,
288
+ 1: #40393b,
289
+ 2: #211a1c,
290
+ 3: #272022,
291
+ ),
292
+ selected: (
293
+ 0: #2c2628,
294
+ 1: #3c3537,
295
+ 2: #251e20,
296
+ 3: #2c2527,
297
+ ),
298
+ selected-hover: (
299
+ 0: #302a2c,
300
+ 1: #40393b,
301
+ 2: #211a1c,
302
+ 3: #272022,
303
+ ),
304
+ active: (
305
+ 0: #262022,
306
+ 1: #362f31,
307
+ 2: #423b3d,
308
+ 3: #30292b,
309
+ ),
310
+ border-strong: (
311
+ 0: #6b6466,
312
+ 1: #756e70,
313
+ 2: #847b7e,
314
+ 3: #968c8f,
315
+ ),
316
+ field: (
317
+ 0: #231d1f,
318
+ 1: #332c2e,
319
+ 2: #433c3e,
320
+ 3: #332c2e,
321
+ ),
322
+ field-border: (
323
+ 0: #878082,
324
+ 1: #878082,
325
+ 2: #9a9194,
326
+ 3: #9b9194,
327
+ ),
328
+ text: #eeeaeb,
329
+ text-muted: #d4d0d1,
330
+ text-subtle: #aba8a9,
331
+ bg-inverse: #eeeaeb,
332
+ text-inverse: #241d1f,
333
+ border-inverse: #878082,
334
+ classic-field-bg: #191315,
335
+ classic-field-border: #686163,
336
+ ),
337
+ education: (
338
+ surface: (
339
+ 0: #0d100d,
340
+ 1: #1b201c,
341
+ 2: #2a2f2b,
342
+ 3: #3a3f3a,
343
+ ),
344
+ border: (
345
+ 0: #404541,
346
+ 1: #4a4f4b,
347
+ 2: #565b57,
348
+ 3: #656b66,
349
+ ),
350
+ hover: (
351
+ 0: #181b18,
352
+ 1: #262b27,
353
+ 2: #353a36,
354
+ 3: #2e332f,
355
+ ),
356
+ accent: (
357
+ 0: #1f2320,
358
+ 1: #2e332f,
359
+ 2: #202521,
360
+ 3: #272c28,
361
+ ),
362
+ accent-hover: (
363
+ 0: #282d29,
364
+ 1: #373c38,
365
+ 2: #181d19,
366
+ 3: #1e231f,
367
+ ),
368
+ selected: (
369
+ 0: #242825,
370
+ 1: #333834,
371
+ 2: #1c211d,
372
+ 3: #232824,
373
+ ),
374
+ selected-hover: (
375
+ 0: #282d29,
376
+ 1: #373c38,
377
+ 2: #181d19,
378
+ 3: #1e231f,
379
+ ),
380
+ active: (
381
+ 0: #1e221f,
382
+ 1: #2d322e,
383
+ 2: #393e3a,
384
+ 3: #272c28,
385
+ ),
386
+ border-strong: (
387
+ 0: #626763,
388
+ 1: #6c716d,
389
+ 2: #797f7a,
390
+ 3: #8a908b,
391
+ ),
392
+ field: (
393
+ 0: #1c1f1c,
394
+ 1: #2a2f2b,
395
+ 2: #3a3f3b,
396
+ 3: #2a2f2b,
397
+ ),
398
+ field-border: (
399
+ 0: #7e837f,
400
+ 1: #7e837f,
401
+ 2: #8f9590,
402
+ 3: #8f9590,
403
+ ),
404
+ text: #e9ece9,
405
+ text-muted: #cfd2cf,
406
+ text-subtle: #a6a9a7,
407
+ bg-inverse: #e9ece9,
408
+ text-inverse: #1b201c,
409
+ border-inverse: #7e837e,
410
+ classic-field-bg: #111612,
411
+ classic-field-border: #5f6460,
412
+ ),
413
+ agents: (
414
+ surface: (
415
+ 0: #0b1110,
416
+ 1: #1a2020,
417
+ 2: #282f2f,
418
+ 3: #373f3f,
419
+ ),
420
+ border: (
421
+ 0: #3f4545,
422
+ 1: #484f4f,
423
+ 2: #535b5b,
424
+ 3: #626b6a,
425
+ ),
426
+ hover: (
427
+ 0: #161c1c,
428
+ 1: #252b2b,
429
+ 2: #333a3a,
430
+ 3: #2b3333,
431
+ ),
432
+ accent: (
433
+ 0: #1e2424,
434
+ 1: #2d3333,
435
+ 2: #1e2525,
436
+ 3: #242c2c,
437
+ ),
438
+ accent-hover: (
439
+ 0: #272d2d,
440
+ 1: #353c3c,
441
+ 2: #161d1d,
442
+ 3: #1b2323,
443
+ ),
444
+ selected: (
445
+ 0: #232929,
446
+ 1: #313838,
447
+ 2: #1a2121,
448
+ 3: #202828,
449
+ ),
450
+ selected-hover: (
451
+ 0: #272d2d,
452
+ 1: #353c3c,
453
+ 2: #161d1d,
454
+ 3: #1b2323,
455
+ ),
456
+ active: (
457
+ 0: #1d2323,
458
+ 1: #2c3232,
459
+ 2: #373e3e,
460
+ 3: #242c2c,
461
+ ),
462
+ border-strong: (
463
+ 0: #616767,
464
+ 1: #6a7171,
465
+ 2: #777f7f,
466
+ 3: #87908f,
467
+ ),
468
+ field: (
469
+ 0: #1a2020,
470
+ 1: #292f2f,
471
+ 2: #383f3f,
472
+ 3: #272f2f,
473
+ ),
474
+ field-border: (
475
+ 0: #7c8383,
476
+ 1: #7b8383,
477
+ 2: #8c9595,
478
+ 3: #8c9694,
479
+ ),
480
+ text: #e8eceb,
481
+ text-muted: #ced2d1,
482
+ text-subtle: #a5a9a8,
483
+ bg-inverse: #e8eceb,
484
+ text-inverse: #1a2020,
485
+ border-inverse: #7b8382,
486
+ classic-field-bg: #101616,
487
+ classic-field-border: #5c6464,
488
+ ),
489
+ );