@opencode/theme 2.0.6 → 2.0.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/tui/defaults.d.ts +8 -6
- package/dist/tui/defaults.js +16 -14
- package/dist/tui/fallback.js +1 -1
- package/dist/tui/schema.d.ts +164 -123
- package/dist/tui/schema.js +4 -3
- package/dist/tui/types.d.ts +4 -3
- package/dist/tui/v1-migrate.js +8 -6
- package/package.json +1 -1
package/dist/tui/defaults.d.ts
CHANGED
|
@@ -147,9 +147,10 @@ export declare const DEFAULT_THEME: {
|
|
|
147
147
|
};
|
|
148
148
|
background: {
|
|
149
149
|
default: string;
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
150
|
+
raised: {
|
|
151
|
+
base: string;
|
|
152
|
+
high: string;
|
|
153
|
+
max: string;
|
|
153
154
|
};
|
|
154
155
|
action: {
|
|
155
156
|
primary: {
|
|
@@ -434,9 +435,10 @@ export declare const DEFAULT_THEME: {
|
|
|
434
435
|
};
|
|
435
436
|
background: {
|
|
436
437
|
default: string;
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
438
|
+
raised: {
|
|
439
|
+
base: string;
|
|
440
|
+
high: string;
|
|
441
|
+
max: string;
|
|
440
442
|
};
|
|
441
443
|
action: {
|
|
442
444
|
primary: {
|
package/dist/tui/defaults.js
CHANGED
|
@@ -133,9 +133,10 @@ export const DEFAULT_THEME = {
|
|
|
133
133
|
},
|
|
134
134
|
background: {
|
|
135
135
|
default: "$hue.neutral.200",
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
136
|
+
raised: {
|
|
137
|
+
base: "$hue.neutral.300",
|
|
138
|
+
high: "$hue.neutral.400",
|
|
139
|
+
max: "$hue.neutral.500",
|
|
139
140
|
},
|
|
140
141
|
action: {
|
|
141
142
|
primary: {
|
|
@@ -158,7 +159,7 @@ export const DEFAULT_THEME = {
|
|
|
158
159
|
},
|
|
159
160
|
formfield: {
|
|
160
161
|
default: "$background.default",
|
|
161
|
-
$hovered: "$background.
|
|
162
|
+
$hovered: "$background.raised.base",
|
|
162
163
|
$focused: "$background.action.primary.default",
|
|
163
164
|
$pressed: "$hue.interactive.800",
|
|
164
165
|
$disabled: "$background.default",
|
|
@@ -217,14 +218,14 @@ export const DEFAULT_THEME = {
|
|
|
217
218
|
"@context:elevated": {
|
|
218
219
|
text: { action: { primary: { default: "$hue.neutral.100" } } },
|
|
219
220
|
background: {
|
|
220
|
-
default: "$background.
|
|
221
|
-
action: { primary: { default: "$hue.interactive.500", $hovered: "$background.
|
|
221
|
+
default: "$background.raised.base",
|
|
222
|
+
action: { primary: { default: "$hue.interactive.500", $hovered: "$background.raised.high" } },
|
|
222
223
|
},
|
|
223
224
|
},
|
|
224
225
|
"@context:overlay": {
|
|
225
226
|
text: { action: { primary: { default: "$hue.neutral.100" } } },
|
|
226
227
|
background: {
|
|
227
|
-
default: "$background.
|
|
228
|
+
default: "$background.raised.high",
|
|
228
229
|
action: { primary: { default: "$hue.interactive.500" } },
|
|
229
230
|
},
|
|
230
231
|
},
|
|
@@ -354,9 +355,10 @@ export const DEFAULT_THEME = {
|
|
|
354
355
|
},
|
|
355
356
|
background: {
|
|
356
357
|
default: "$hue.neutral.800",
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
358
|
+
raised: {
|
|
359
|
+
base: "$hue.neutral.700",
|
|
360
|
+
high: "$hue.neutral.600",
|
|
361
|
+
max: "$hue.neutral.500",
|
|
360
362
|
},
|
|
361
363
|
action: {
|
|
362
364
|
primary: {
|
|
@@ -379,7 +381,7 @@ export const DEFAULT_THEME = {
|
|
|
379
381
|
},
|
|
380
382
|
formfield: {
|
|
381
383
|
default: "$background.default",
|
|
382
|
-
$hovered: "$background.
|
|
384
|
+
$hovered: "$background.raised.base",
|
|
383
385
|
$focused: "$background.action.primary.default",
|
|
384
386
|
$pressed: "$hue.interactive.800",
|
|
385
387
|
$disabled: "$background.default",
|
|
@@ -438,14 +440,14 @@ export const DEFAULT_THEME = {
|
|
|
438
440
|
"@context:elevated": {
|
|
439
441
|
text: { action: { primary: { default: "$hue.neutral.200" } } },
|
|
440
442
|
background: {
|
|
441
|
-
default: "$background.
|
|
442
|
-
action: { primary: { default: "$hue.interactive.400", $hovered: "$background.
|
|
443
|
+
default: "$background.raised.base",
|
|
444
|
+
action: { primary: { default: "$hue.interactive.400", $hovered: "$background.raised.high" } },
|
|
443
445
|
},
|
|
444
446
|
},
|
|
445
447
|
"@context:overlay": {
|
|
446
448
|
text: { action: { primary: { default: "$hue.neutral.200" } } },
|
|
447
449
|
background: {
|
|
448
|
-
default: "$background.
|
|
450
|
+
default: "$background.raised.high",
|
|
449
451
|
action: { primary: { default: "$hue.interactive.400" } },
|
|
450
452
|
},
|
|
451
453
|
},
|
package/dist/tui/fallback.js
CHANGED
|
@@ -12,7 +12,7 @@ export function fallback(mode) {
|
|
|
12
12
|
},
|
|
13
13
|
background: {
|
|
14
14
|
default: red,
|
|
15
|
-
|
|
15
|
+
raised: { base: red, high: red, max: red },
|
|
16
16
|
action: Object.fromEntries(ActionVariant.literals.map((variant) => [variant, { default: red }])),
|
|
17
17
|
formfield: { default: red },
|
|
18
18
|
feedback: Object.fromEntries(FeedbackKind.literals.map((kind) => [kind, { default: red }])),
|
package/dist/tui/schema.d.ts
CHANGED
|
@@ -126,9 +126,10 @@ declare const TextDefinition: Schema.Struct<{
|
|
|
126
126
|
export type TextDefinition = Schema.Schema.Type<typeof TextDefinition>;
|
|
127
127
|
declare const BackgroundDefinition: Schema.Struct<{
|
|
128
128
|
readonly default: Schema.optional<Schema.Union<readonly [Schema.String, Schema.Literal<"transparent">, Schema.TemplateLiteral<readonly ["$", Schema.NonEmptyString]>]>>;
|
|
129
|
-
readonly
|
|
130
|
-
readonly
|
|
131
|
-
readonly
|
|
129
|
+
readonly raised: Schema.optional<Schema.Struct<{
|
|
130
|
+
readonly base: Schema.optional<Schema.Union<readonly [Schema.String, Schema.Literal<"transparent">, Schema.TemplateLiteral<readonly ["$", Schema.NonEmptyString]>]>>;
|
|
131
|
+
readonly high: Schema.optional<Schema.Union<readonly [Schema.String, Schema.Literal<"transparent">, Schema.TemplateLiteral<readonly ["$", Schema.NonEmptyString]>]>>;
|
|
132
|
+
readonly max: Schema.optional<Schema.Union<readonly [Schema.String, Schema.Literal<"transparent">, Schema.TemplateLiteral<readonly ["$", Schema.NonEmptyString]>]>>;
|
|
132
133
|
}>>;
|
|
133
134
|
readonly action: Schema.optional<Schema.Struct<{
|
|
134
135
|
readonly primary: Schema.optional<Schema.Struct<{
|
|
@@ -278,9 +279,10 @@ declare const ThemeTokensDefinition: Schema.Struct<{
|
|
|
278
279
|
}>>;
|
|
279
280
|
readonly background: Schema.optional<Schema.Struct<{
|
|
280
281
|
readonly default: Schema.optional<Schema.Union<readonly [Schema.String, Schema.Literal<"transparent">, Schema.TemplateLiteral<readonly ["$", Schema.NonEmptyString]>]>>;
|
|
281
|
-
readonly
|
|
282
|
-
readonly
|
|
283
|
-
readonly
|
|
282
|
+
readonly raised: Schema.optional<Schema.Struct<{
|
|
283
|
+
readonly base: Schema.optional<Schema.Union<readonly [Schema.String, Schema.Literal<"transparent">, Schema.TemplateLiteral<readonly ["$", Schema.NonEmptyString]>]>>;
|
|
284
|
+
readonly high: Schema.optional<Schema.Union<readonly [Schema.String, Schema.Literal<"transparent">, Schema.TemplateLiteral<readonly ["$", Schema.NonEmptyString]>]>>;
|
|
285
|
+
readonly max: Schema.optional<Schema.Union<readonly [Schema.String, Schema.Literal<"transparent">, Schema.TemplateLiteral<readonly ["$", Schema.NonEmptyString]>]>>;
|
|
284
286
|
}>>;
|
|
285
287
|
readonly action: Schema.optional<Schema.Struct<{
|
|
286
288
|
readonly primary: Schema.optional<Schema.Struct<{
|
|
@@ -431,9 +433,10 @@ export declare const ThemeDefinition: Schema.Struct<{
|
|
|
431
433
|
}>>;
|
|
432
434
|
readonly background: Schema.optional<Schema.Struct<{
|
|
433
435
|
readonly default: Schema.optional<Schema.Union<readonly [Schema.String, Schema.Literal<"transparent">, Schema.TemplateLiteral<readonly ["$", Schema.NonEmptyString]>]>>;
|
|
434
|
-
readonly
|
|
435
|
-
readonly
|
|
436
|
-
readonly
|
|
436
|
+
readonly raised: Schema.optional<Schema.Struct<{
|
|
437
|
+
readonly base: Schema.optional<Schema.Union<readonly [Schema.String, Schema.Literal<"transparent">, Schema.TemplateLiteral<readonly ["$", Schema.NonEmptyString]>]>>;
|
|
438
|
+
readonly high: Schema.optional<Schema.Union<readonly [Schema.String, Schema.Literal<"transparent">, Schema.TemplateLiteral<readonly ["$", Schema.NonEmptyString]>]>>;
|
|
439
|
+
readonly max: Schema.optional<Schema.Union<readonly [Schema.String, Schema.Literal<"transparent">, Schema.TemplateLiteral<readonly ["$", Schema.NonEmptyString]>]>>;
|
|
437
440
|
}>>;
|
|
438
441
|
readonly action: Schema.optional<Schema.Struct<{
|
|
439
442
|
readonly primary: Schema.optional<Schema.Struct<{
|
|
@@ -582,9 +585,10 @@ export declare const ThemeDefinition: Schema.Struct<{
|
|
|
582
585
|
}>>;
|
|
583
586
|
readonly background: Schema.optional<Schema.Struct<{
|
|
584
587
|
readonly default: Schema.optional<Schema.Union<readonly [Schema.String, Schema.Literal<"transparent">, Schema.TemplateLiteral<readonly ["$", Schema.NonEmptyString]>]>>;
|
|
585
|
-
readonly
|
|
586
|
-
readonly
|
|
587
|
-
readonly
|
|
588
|
+
readonly raised: Schema.optional<Schema.Struct<{
|
|
589
|
+
readonly base: Schema.optional<Schema.Union<readonly [Schema.String, Schema.Literal<"transparent">, Schema.TemplateLiteral<readonly ["$", Schema.NonEmptyString]>]>>;
|
|
590
|
+
readonly high: Schema.optional<Schema.Union<readonly [Schema.String, Schema.Literal<"transparent">, Schema.TemplateLiteral<readonly ["$", Schema.NonEmptyString]>]>>;
|
|
591
|
+
readonly max: Schema.optional<Schema.Union<readonly [Schema.String, Schema.Literal<"transparent">, Schema.TemplateLiteral<readonly ["$", Schema.NonEmptyString]>]>>;
|
|
588
592
|
}>>;
|
|
589
593
|
readonly action: Schema.optional<Schema.Struct<{
|
|
590
594
|
readonly primary: Schema.optional<Schema.Struct<{
|
|
@@ -732,9 +736,10 @@ export declare const ThemeDefinition: Schema.Struct<{
|
|
|
732
736
|
}>>;
|
|
733
737
|
readonly background: Schema.optional<Schema.Struct<{
|
|
734
738
|
readonly default: Schema.optional<Schema.Union<readonly [Schema.String, Schema.Literal<"transparent">, Schema.TemplateLiteral<readonly ["$", Schema.NonEmptyString]>]>>;
|
|
735
|
-
readonly
|
|
736
|
-
readonly
|
|
737
|
-
readonly
|
|
739
|
+
readonly raised: Schema.optional<Schema.Struct<{
|
|
740
|
+
readonly base: Schema.optional<Schema.Union<readonly [Schema.String, Schema.Literal<"transparent">, Schema.TemplateLiteral<readonly ["$", Schema.NonEmptyString]>]>>;
|
|
741
|
+
readonly high: Schema.optional<Schema.Union<readonly [Schema.String, Schema.Literal<"transparent">, Schema.TemplateLiteral<readonly ["$", Schema.NonEmptyString]>]>>;
|
|
742
|
+
readonly max: Schema.optional<Schema.Union<readonly [Schema.String, Schema.Literal<"transparent">, Schema.TemplateLiteral<readonly ["$", Schema.NonEmptyString]>]>>;
|
|
738
743
|
}>>;
|
|
739
744
|
readonly action: Schema.optional<Schema.Struct<{
|
|
740
745
|
readonly primary: Schema.optional<Schema.Struct<{
|
|
@@ -899,9 +904,10 @@ declare const FileThemeDefinition: Schema.Struct<{
|
|
|
899
904
|
}>>;
|
|
900
905
|
readonly background: Schema.optional<Schema.Struct<{
|
|
901
906
|
readonly default: Schema.optional<Schema.Union<readonly [Schema.String, Schema.Literal<"transparent">, Schema.TemplateLiteral<readonly ["$", Schema.NonEmptyString]>]>>;
|
|
902
|
-
readonly
|
|
903
|
-
readonly
|
|
904
|
-
readonly
|
|
907
|
+
readonly raised: Schema.optional<Schema.Struct<{
|
|
908
|
+
readonly base: Schema.optional<Schema.Union<readonly [Schema.String, Schema.Literal<"transparent">, Schema.TemplateLiteral<readonly ["$", Schema.NonEmptyString]>]>>;
|
|
909
|
+
readonly high: Schema.optional<Schema.Union<readonly [Schema.String, Schema.Literal<"transparent">, Schema.TemplateLiteral<readonly ["$", Schema.NonEmptyString]>]>>;
|
|
910
|
+
readonly max: Schema.optional<Schema.Union<readonly [Schema.String, Schema.Literal<"transparent">, Schema.TemplateLiteral<readonly ["$", Schema.NonEmptyString]>]>>;
|
|
905
911
|
}>>;
|
|
906
912
|
readonly action: Schema.optional<Schema.Struct<{
|
|
907
913
|
readonly primary: Schema.optional<Schema.Struct<{
|
|
@@ -1050,9 +1056,10 @@ declare const FileThemeDefinition: Schema.Struct<{
|
|
|
1050
1056
|
}>>;
|
|
1051
1057
|
readonly background: Schema.optional<Schema.Struct<{
|
|
1052
1058
|
readonly default: Schema.optional<Schema.Union<readonly [Schema.String, Schema.Literal<"transparent">, Schema.TemplateLiteral<readonly ["$", Schema.NonEmptyString]>]>>;
|
|
1053
|
-
readonly
|
|
1054
|
-
readonly
|
|
1055
|
-
readonly
|
|
1059
|
+
readonly raised: Schema.optional<Schema.Struct<{
|
|
1060
|
+
readonly base: Schema.optional<Schema.Union<readonly [Schema.String, Schema.Literal<"transparent">, Schema.TemplateLiteral<readonly ["$", Schema.NonEmptyString]>]>>;
|
|
1061
|
+
readonly high: Schema.optional<Schema.Union<readonly [Schema.String, Schema.Literal<"transparent">, Schema.TemplateLiteral<readonly ["$", Schema.NonEmptyString]>]>>;
|
|
1062
|
+
readonly max: Schema.optional<Schema.Union<readonly [Schema.String, Schema.Literal<"transparent">, Schema.TemplateLiteral<readonly ["$", Schema.NonEmptyString]>]>>;
|
|
1056
1063
|
}>>;
|
|
1057
1064
|
readonly action: Schema.optional<Schema.Struct<{
|
|
1058
1065
|
readonly primary: Schema.optional<Schema.Struct<{
|
|
@@ -1200,9 +1207,10 @@ declare const FileThemeDefinition: Schema.Struct<{
|
|
|
1200
1207
|
}>>;
|
|
1201
1208
|
readonly background: Schema.optional<Schema.Struct<{
|
|
1202
1209
|
readonly default: Schema.optional<Schema.Union<readonly [Schema.String, Schema.Literal<"transparent">, Schema.TemplateLiteral<readonly ["$", Schema.NonEmptyString]>]>>;
|
|
1203
|
-
readonly
|
|
1204
|
-
readonly
|
|
1205
|
-
readonly
|
|
1210
|
+
readonly raised: Schema.optional<Schema.Struct<{
|
|
1211
|
+
readonly base: Schema.optional<Schema.Union<readonly [Schema.String, Schema.Literal<"transparent">, Schema.TemplateLiteral<readonly ["$", Schema.NonEmptyString]>]>>;
|
|
1212
|
+
readonly high: Schema.optional<Schema.Union<readonly [Schema.String, Schema.Literal<"transparent">, Schema.TemplateLiteral<readonly ["$", Schema.NonEmptyString]>]>>;
|
|
1213
|
+
readonly max: Schema.optional<Schema.Union<readonly [Schema.String, Schema.Literal<"transparent">, Schema.TemplateLiteral<readonly ["$", Schema.NonEmptyString]>]>>;
|
|
1206
1214
|
}>>;
|
|
1207
1215
|
readonly action: Schema.optional<Schema.Struct<{
|
|
1208
1216
|
readonly primary: Schema.optional<Schema.Struct<{
|
|
@@ -1367,9 +1375,10 @@ declare const MergeModeDefinition: Schema.Struct<{
|
|
|
1367
1375
|
}>>;
|
|
1368
1376
|
readonly background: Schema.optional<Schema.Struct<{
|
|
1369
1377
|
readonly default: Schema.optional<Schema.Union<readonly [Schema.String, Schema.Literal<"transparent">, Schema.TemplateLiteral<readonly ["$", Schema.NonEmptyString]>]>>;
|
|
1370
|
-
readonly
|
|
1371
|
-
readonly
|
|
1372
|
-
readonly
|
|
1378
|
+
readonly raised: Schema.optional<Schema.Struct<{
|
|
1379
|
+
readonly base: Schema.optional<Schema.Union<readonly [Schema.String, Schema.Literal<"transparent">, Schema.TemplateLiteral<readonly ["$", Schema.NonEmptyString]>]>>;
|
|
1380
|
+
readonly high: Schema.optional<Schema.Union<readonly [Schema.String, Schema.Literal<"transparent">, Schema.TemplateLiteral<readonly ["$", Schema.NonEmptyString]>]>>;
|
|
1381
|
+
readonly max: Schema.optional<Schema.Union<readonly [Schema.String, Schema.Literal<"transparent">, Schema.TemplateLiteral<readonly ["$", Schema.NonEmptyString]>]>>;
|
|
1373
1382
|
}>>;
|
|
1374
1383
|
readonly action: Schema.optional<Schema.Struct<{
|
|
1375
1384
|
readonly primary: Schema.optional<Schema.Struct<{
|
|
@@ -1518,9 +1527,10 @@ declare const MergeModeDefinition: Schema.Struct<{
|
|
|
1518
1527
|
}>>;
|
|
1519
1528
|
readonly background: Schema.optional<Schema.Struct<{
|
|
1520
1529
|
readonly default: Schema.optional<Schema.Union<readonly [Schema.String, Schema.Literal<"transparent">, Schema.TemplateLiteral<readonly ["$", Schema.NonEmptyString]>]>>;
|
|
1521
|
-
readonly
|
|
1522
|
-
readonly
|
|
1523
|
-
readonly
|
|
1530
|
+
readonly raised: Schema.optional<Schema.Struct<{
|
|
1531
|
+
readonly base: Schema.optional<Schema.Union<readonly [Schema.String, Schema.Literal<"transparent">, Schema.TemplateLiteral<readonly ["$", Schema.NonEmptyString]>]>>;
|
|
1532
|
+
readonly high: Schema.optional<Schema.Union<readonly [Schema.String, Schema.Literal<"transparent">, Schema.TemplateLiteral<readonly ["$", Schema.NonEmptyString]>]>>;
|
|
1533
|
+
readonly max: Schema.optional<Schema.Union<readonly [Schema.String, Schema.Literal<"transparent">, Schema.TemplateLiteral<readonly ["$", Schema.NonEmptyString]>]>>;
|
|
1524
1534
|
}>>;
|
|
1525
1535
|
readonly action: Schema.optional<Schema.Struct<{
|
|
1526
1536
|
readonly primary: Schema.optional<Schema.Struct<{
|
|
@@ -1668,9 +1678,10 @@ declare const MergeModeDefinition: Schema.Struct<{
|
|
|
1668
1678
|
}>>;
|
|
1669
1679
|
readonly background: Schema.optional<Schema.Struct<{
|
|
1670
1680
|
readonly default: Schema.optional<Schema.Union<readonly [Schema.String, Schema.Literal<"transparent">, Schema.TemplateLiteral<readonly ["$", Schema.NonEmptyString]>]>>;
|
|
1671
|
-
readonly
|
|
1672
|
-
readonly
|
|
1673
|
-
readonly
|
|
1681
|
+
readonly raised: Schema.optional<Schema.Struct<{
|
|
1682
|
+
readonly base: Schema.optional<Schema.Union<readonly [Schema.String, Schema.Literal<"transparent">, Schema.TemplateLiteral<readonly ["$", Schema.NonEmptyString]>]>>;
|
|
1683
|
+
readonly high: Schema.optional<Schema.Union<readonly [Schema.String, Schema.Literal<"transparent">, Schema.TemplateLiteral<readonly ["$", Schema.NonEmptyString]>]>>;
|
|
1684
|
+
readonly max: Schema.optional<Schema.Union<readonly [Schema.String, Schema.Literal<"transparent">, Schema.TemplateLiteral<readonly ["$", Schema.NonEmptyString]>]>>;
|
|
1674
1685
|
}>>;
|
|
1675
1686
|
readonly action: Schema.optional<Schema.Struct<{
|
|
1676
1687
|
readonly primary: Schema.optional<Schema.Struct<{
|
|
@@ -1836,9 +1847,10 @@ export declare const ModeDefinition: Schema.Union<readonly [Schema.Struct<{
|
|
|
1836
1847
|
}>>;
|
|
1837
1848
|
readonly background: Schema.optional<Schema.Struct<{
|
|
1838
1849
|
readonly default: Schema.optional<Schema.Union<readonly [Schema.String, Schema.Literal<"transparent">, Schema.TemplateLiteral<readonly ["$", Schema.NonEmptyString]>]>>;
|
|
1839
|
-
readonly
|
|
1840
|
-
readonly
|
|
1841
|
-
readonly
|
|
1850
|
+
readonly raised: Schema.optional<Schema.Struct<{
|
|
1851
|
+
readonly base: Schema.optional<Schema.Union<readonly [Schema.String, Schema.Literal<"transparent">, Schema.TemplateLiteral<readonly ["$", Schema.NonEmptyString]>]>>;
|
|
1852
|
+
readonly high: Schema.optional<Schema.Union<readonly [Schema.String, Schema.Literal<"transparent">, Schema.TemplateLiteral<readonly ["$", Schema.NonEmptyString]>]>>;
|
|
1853
|
+
readonly max: Schema.optional<Schema.Union<readonly [Schema.String, Schema.Literal<"transparent">, Schema.TemplateLiteral<readonly ["$", Schema.NonEmptyString]>]>>;
|
|
1842
1854
|
}>>;
|
|
1843
1855
|
readonly action: Schema.optional<Schema.Struct<{
|
|
1844
1856
|
readonly primary: Schema.optional<Schema.Struct<{
|
|
@@ -1987,9 +1999,10 @@ export declare const ModeDefinition: Schema.Union<readonly [Schema.Struct<{
|
|
|
1987
1999
|
}>>;
|
|
1988
2000
|
readonly background: Schema.optional<Schema.Struct<{
|
|
1989
2001
|
readonly default: Schema.optional<Schema.Union<readonly [Schema.String, Schema.Literal<"transparent">, Schema.TemplateLiteral<readonly ["$", Schema.NonEmptyString]>]>>;
|
|
1990
|
-
readonly
|
|
1991
|
-
readonly
|
|
1992
|
-
readonly
|
|
2002
|
+
readonly raised: Schema.optional<Schema.Struct<{
|
|
2003
|
+
readonly base: Schema.optional<Schema.Union<readonly [Schema.String, Schema.Literal<"transparent">, Schema.TemplateLiteral<readonly ["$", Schema.NonEmptyString]>]>>;
|
|
2004
|
+
readonly high: Schema.optional<Schema.Union<readonly [Schema.String, Schema.Literal<"transparent">, Schema.TemplateLiteral<readonly ["$", Schema.NonEmptyString]>]>>;
|
|
2005
|
+
readonly max: Schema.optional<Schema.Union<readonly [Schema.String, Schema.Literal<"transparent">, Schema.TemplateLiteral<readonly ["$", Schema.NonEmptyString]>]>>;
|
|
1993
2006
|
}>>;
|
|
1994
2007
|
readonly action: Schema.optional<Schema.Struct<{
|
|
1995
2008
|
readonly primary: Schema.optional<Schema.Struct<{
|
|
@@ -2137,9 +2150,10 @@ export declare const ModeDefinition: Schema.Union<readonly [Schema.Struct<{
|
|
|
2137
2150
|
}>>;
|
|
2138
2151
|
readonly background: Schema.optional<Schema.Struct<{
|
|
2139
2152
|
readonly default: Schema.optional<Schema.Union<readonly [Schema.String, Schema.Literal<"transparent">, Schema.TemplateLiteral<readonly ["$", Schema.NonEmptyString]>]>>;
|
|
2140
|
-
readonly
|
|
2141
|
-
readonly
|
|
2142
|
-
readonly
|
|
2153
|
+
readonly raised: Schema.optional<Schema.Struct<{
|
|
2154
|
+
readonly base: Schema.optional<Schema.Union<readonly [Schema.String, Schema.Literal<"transparent">, Schema.TemplateLiteral<readonly ["$", Schema.NonEmptyString]>]>>;
|
|
2155
|
+
readonly high: Schema.optional<Schema.Union<readonly [Schema.String, Schema.Literal<"transparent">, Schema.TemplateLiteral<readonly ["$", Schema.NonEmptyString]>]>>;
|
|
2156
|
+
readonly max: Schema.optional<Schema.Union<readonly [Schema.String, Schema.Literal<"transparent">, Schema.TemplateLiteral<readonly ["$", Schema.NonEmptyString]>]>>;
|
|
2143
2157
|
}>>;
|
|
2144
2158
|
readonly action: Schema.optional<Schema.Struct<{
|
|
2145
2159
|
readonly primary: Schema.optional<Schema.Struct<{
|
|
@@ -2303,9 +2317,10 @@ export declare const ModeDefinition: Schema.Union<readonly [Schema.Struct<{
|
|
|
2303
2317
|
}>>;
|
|
2304
2318
|
readonly background: Schema.optional<Schema.Struct<{
|
|
2305
2319
|
readonly default: Schema.optional<Schema.Union<readonly [Schema.String, Schema.Literal<"transparent">, Schema.TemplateLiteral<readonly ["$", Schema.NonEmptyString]>]>>;
|
|
2306
|
-
readonly
|
|
2307
|
-
readonly
|
|
2308
|
-
readonly
|
|
2320
|
+
readonly raised: Schema.optional<Schema.Struct<{
|
|
2321
|
+
readonly base: Schema.optional<Schema.Union<readonly [Schema.String, Schema.Literal<"transparent">, Schema.TemplateLiteral<readonly ["$", Schema.NonEmptyString]>]>>;
|
|
2322
|
+
readonly high: Schema.optional<Schema.Union<readonly [Schema.String, Schema.Literal<"transparent">, Schema.TemplateLiteral<readonly ["$", Schema.NonEmptyString]>]>>;
|
|
2323
|
+
readonly max: Schema.optional<Schema.Union<readonly [Schema.String, Schema.Literal<"transparent">, Schema.TemplateLiteral<readonly ["$", Schema.NonEmptyString]>]>>;
|
|
2309
2324
|
}>>;
|
|
2310
2325
|
readonly action: Schema.optional<Schema.Struct<{
|
|
2311
2326
|
readonly primary: Schema.optional<Schema.Struct<{
|
|
@@ -2454,9 +2469,10 @@ export declare const ModeDefinition: Schema.Union<readonly [Schema.Struct<{
|
|
|
2454
2469
|
}>>;
|
|
2455
2470
|
readonly background: Schema.optional<Schema.Struct<{
|
|
2456
2471
|
readonly default: Schema.optional<Schema.Union<readonly [Schema.String, Schema.Literal<"transparent">, Schema.TemplateLiteral<readonly ["$", Schema.NonEmptyString]>]>>;
|
|
2457
|
-
readonly
|
|
2458
|
-
readonly
|
|
2459
|
-
readonly
|
|
2472
|
+
readonly raised: Schema.optional<Schema.Struct<{
|
|
2473
|
+
readonly base: Schema.optional<Schema.Union<readonly [Schema.String, Schema.Literal<"transparent">, Schema.TemplateLiteral<readonly ["$", Schema.NonEmptyString]>]>>;
|
|
2474
|
+
readonly high: Schema.optional<Schema.Union<readonly [Schema.String, Schema.Literal<"transparent">, Schema.TemplateLiteral<readonly ["$", Schema.NonEmptyString]>]>>;
|
|
2475
|
+
readonly max: Schema.optional<Schema.Union<readonly [Schema.String, Schema.Literal<"transparent">, Schema.TemplateLiteral<readonly ["$", Schema.NonEmptyString]>]>>;
|
|
2460
2476
|
}>>;
|
|
2461
2477
|
readonly action: Schema.optional<Schema.Struct<{
|
|
2462
2478
|
readonly primary: Schema.optional<Schema.Struct<{
|
|
@@ -2604,9 +2620,10 @@ export declare const ModeDefinition: Schema.Union<readonly [Schema.Struct<{
|
|
|
2604
2620
|
}>>;
|
|
2605
2621
|
readonly background: Schema.optional<Schema.Struct<{
|
|
2606
2622
|
readonly default: Schema.optional<Schema.Union<readonly [Schema.String, Schema.Literal<"transparent">, Schema.TemplateLiteral<readonly ["$", Schema.NonEmptyString]>]>>;
|
|
2607
|
-
readonly
|
|
2608
|
-
readonly
|
|
2609
|
-
readonly
|
|
2623
|
+
readonly raised: Schema.optional<Schema.Struct<{
|
|
2624
|
+
readonly base: Schema.optional<Schema.Union<readonly [Schema.String, Schema.Literal<"transparent">, Schema.TemplateLiteral<readonly ["$", Schema.NonEmptyString]>]>>;
|
|
2625
|
+
readonly high: Schema.optional<Schema.Union<readonly [Schema.String, Schema.Literal<"transparent">, Schema.TemplateLiteral<readonly ["$", Schema.NonEmptyString]>]>>;
|
|
2626
|
+
readonly max: Schema.optional<Schema.Union<readonly [Schema.String, Schema.Literal<"transparent">, Schema.TemplateLiteral<readonly ["$", Schema.NonEmptyString]>]>>;
|
|
2610
2627
|
}>>;
|
|
2611
2628
|
readonly action: Schema.optional<Schema.Struct<{
|
|
2612
2629
|
readonly primary: Schema.optional<Schema.Struct<{
|
|
@@ -2772,9 +2789,10 @@ export declare const ThemeDocument: Schema.Union<readonly [Schema.Struct<{
|
|
|
2772
2789
|
}>>;
|
|
2773
2790
|
readonly background: Schema.optional<Schema.Struct<{
|
|
2774
2791
|
readonly default: Schema.optional<Schema.Union<readonly [Schema.String, Schema.Literal<"transparent">, Schema.TemplateLiteral<readonly ["$", Schema.NonEmptyString]>]>>;
|
|
2775
|
-
readonly
|
|
2776
|
-
readonly
|
|
2777
|
-
readonly
|
|
2792
|
+
readonly raised: Schema.optional<Schema.Struct<{
|
|
2793
|
+
readonly base: Schema.optional<Schema.Union<readonly [Schema.String, Schema.Literal<"transparent">, Schema.TemplateLiteral<readonly ["$", Schema.NonEmptyString]>]>>;
|
|
2794
|
+
readonly high: Schema.optional<Schema.Union<readonly [Schema.String, Schema.Literal<"transparent">, Schema.TemplateLiteral<readonly ["$", Schema.NonEmptyString]>]>>;
|
|
2795
|
+
readonly max: Schema.optional<Schema.Union<readonly [Schema.String, Schema.Literal<"transparent">, Schema.TemplateLiteral<readonly ["$", Schema.NonEmptyString]>]>>;
|
|
2778
2796
|
}>>;
|
|
2779
2797
|
readonly action: Schema.optional<Schema.Struct<{
|
|
2780
2798
|
readonly primary: Schema.optional<Schema.Struct<{
|
|
@@ -2923,9 +2941,10 @@ export declare const ThemeDocument: Schema.Union<readonly [Schema.Struct<{
|
|
|
2923
2941
|
}>>;
|
|
2924
2942
|
readonly background: Schema.optional<Schema.Struct<{
|
|
2925
2943
|
readonly default: Schema.optional<Schema.Union<readonly [Schema.String, Schema.Literal<"transparent">, Schema.TemplateLiteral<readonly ["$", Schema.NonEmptyString]>]>>;
|
|
2926
|
-
readonly
|
|
2927
|
-
readonly
|
|
2928
|
-
readonly
|
|
2944
|
+
readonly raised: Schema.optional<Schema.Struct<{
|
|
2945
|
+
readonly base: Schema.optional<Schema.Union<readonly [Schema.String, Schema.Literal<"transparent">, Schema.TemplateLiteral<readonly ["$", Schema.NonEmptyString]>]>>;
|
|
2946
|
+
readonly high: Schema.optional<Schema.Union<readonly [Schema.String, Schema.Literal<"transparent">, Schema.TemplateLiteral<readonly ["$", Schema.NonEmptyString]>]>>;
|
|
2947
|
+
readonly max: Schema.optional<Schema.Union<readonly [Schema.String, Schema.Literal<"transparent">, Schema.TemplateLiteral<readonly ["$", Schema.NonEmptyString]>]>>;
|
|
2929
2948
|
}>>;
|
|
2930
2949
|
readonly action: Schema.optional<Schema.Struct<{
|
|
2931
2950
|
readonly primary: Schema.optional<Schema.Struct<{
|
|
@@ -3073,9 +3092,10 @@ export declare const ThemeDocument: Schema.Union<readonly [Schema.Struct<{
|
|
|
3073
3092
|
}>>;
|
|
3074
3093
|
readonly background: Schema.optional<Schema.Struct<{
|
|
3075
3094
|
readonly default: Schema.optional<Schema.Union<readonly [Schema.String, Schema.Literal<"transparent">, Schema.TemplateLiteral<readonly ["$", Schema.NonEmptyString]>]>>;
|
|
3076
|
-
readonly
|
|
3077
|
-
readonly
|
|
3078
|
-
readonly
|
|
3095
|
+
readonly raised: Schema.optional<Schema.Struct<{
|
|
3096
|
+
readonly base: Schema.optional<Schema.Union<readonly [Schema.String, Schema.Literal<"transparent">, Schema.TemplateLiteral<readonly ["$", Schema.NonEmptyString]>]>>;
|
|
3097
|
+
readonly high: Schema.optional<Schema.Union<readonly [Schema.String, Schema.Literal<"transparent">, Schema.TemplateLiteral<readonly ["$", Schema.NonEmptyString]>]>>;
|
|
3098
|
+
readonly max: Schema.optional<Schema.Union<readonly [Schema.String, Schema.Literal<"transparent">, Schema.TemplateLiteral<readonly ["$", Schema.NonEmptyString]>]>>;
|
|
3079
3099
|
}>>;
|
|
3080
3100
|
readonly action: Schema.optional<Schema.Struct<{
|
|
3081
3101
|
readonly primary: Schema.optional<Schema.Struct<{
|
|
@@ -3239,9 +3259,10 @@ export declare const ThemeDocument: Schema.Union<readonly [Schema.Struct<{
|
|
|
3239
3259
|
}>>;
|
|
3240
3260
|
readonly background: Schema.optional<Schema.Struct<{
|
|
3241
3261
|
readonly default: Schema.optional<Schema.Union<readonly [Schema.String, Schema.Literal<"transparent">, Schema.TemplateLiteral<readonly ["$", Schema.NonEmptyString]>]>>;
|
|
3242
|
-
readonly
|
|
3243
|
-
readonly
|
|
3244
|
-
readonly
|
|
3262
|
+
readonly raised: Schema.optional<Schema.Struct<{
|
|
3263
|
+
readonly base: Schema.optional<Schema.Union<readonly [Schema.String, Schema.Literal<"transparent">, Schema.TemplateLiteral<readonly ["$", Schema.NonEmptyString]>]>>;
|
|
3264
|
+
readonly high: Schema.optional<Schema.Union<readonly [Schema.String, Schema.Literal<"transparent">, Schema.TemplateLiteral<readonly ["$", Schema.NonEmptyString]>]>>;
|
|
3265
|
+
readonly max: Schema.optional<Schema.Union<readonly [Schema.String, Schema.Literal<"transparent">, Schema.TemplateLiteral<readonly ["$", Schema.NonEmptyString]>]>>;
|
|
3245
3266
|
}>>;
|
|
3246
3267
|
readonly action: Schema.optional<Schema.Struct<{
|
|
3247
3268
|
readonly primary: Schema.optional<Schema.Struct<{
|
|
@@ -3390,9 +3411,10 @@ export declare const ThemeDocument: Schema.Union<readonly [Schema.Struct<{
|
|
|
3390
3411
|
}>>;
|
|
3391
3412
|
readonly background: Schema.optional<Schema.Struct<{
|
|
3392
3413
|
readonly default: Schema.optional<Schema.Union<readonly [Schema.String, Schema.Literal<"transparent">, Schema.TemplateLiteral<readonly ["$", Schema.NonEmptyString]>]>>;
|
|
3393
|
-
readonly
|
|
3394
|
-
readonly
|
|
3395
|
-
readonly
|
|
3414
|
+
readonly raised: Schema.optional<Schema.Struct<{
|
|
3415
|
+
readonly base: Schema.optional<Schema.Union<readonly [Schema.String, Schema.Literal<"transparent">, Schema.TemplateLiteral<readonly ["$", Schema.NonEmptyString]>]>>;
|
|
3416
|
+
readonly high: Schema.optional<Schema.Union<readonly [Schema.String, Schema.Literal<"transparent">, Schema.TemplateLiteral<readonly ["$", Schema.NonEmptyString]>]>>;
|
|
3417
|
+
readonly max: Schema.optional<Schema.Union<readonly [Schema.String, Schema.Literal<"transparent">, Schema.TemplateLiteral<readonly ["$", Schema.NonEmptyString]>]>>;
|
|
3396
3418
|
}>>;
|
|
3397
3419
|
readonly action: Schema.optional<Schema.Struct<{
|
|
3398
3420
|
readonly primary: Schema.optional<Schema.Struct<{
|
|
@@ -3540,9 +3562,10 @@ export declare const ThemeDocument: Schema.Union<readonly [Schema.Struct<{
|
|
|
3540
3562
|
}>>;
|
|
3541
3563
|
readonly background: Schema.optional<Schema.Struct<{
|
|
3542
3564
|
readonly default: Schema.optional<Schema.Union<readonly [Schema.String, Schema.Literal<"transparent">, Schema.TemplateLiteral<readonly ["$", Schema.NonEmptyString]>]>>;
|
|
3543
|
-
readonly
|
|
3544
|
-
readonly
|
|
3545
|
-
readonly
|
|
3565
|
+
readonly raised: Schema.optional<Schema.Struct<{
|
|
3566
|
+
readonly base: Schema.optional<Schema.Union<readonly [Schema.String, Schema.Literal<"transparent">, Schema.TemplateLiteral<readonly ["$", Schema.NonEmptyString]>]>>;
|
|
3567
|
+
readonly high: Schema.optional<Schema.Union<readonly [Schema.String, Schema.Literal<"transparent">, Schema.TemplateLiteral<readonly ["$", Schema.NonEmptyString]>]>>;
|
|
3568
|
+
readonly max: Schema.optional<Schema.Union<readonly [Schema.String, Schema.Literal<"transparent">, Schema.TemplateLiteral<readonly ["$", Schema.NonEmptyString]>]>>;
|
|
3546
3569
|
}>>;
|
|
3547
3570
|
readonly action: Schema.optional<Schema.Struct<{
|
|
3548
3571
|
readonly primary: Schema.optional<Schema.Struct<{
|
|
@@ -3706,9 +3729,10 @@ export declare const ThemeDocument: Schema.Union<readonly [Schema.Struct<{
|
|
|
3706
3729
|
}>>;
|
|
3707
3730
|
readonly background: Schema.optional<Schema.Struct<{
|
|
3708
3731
|
readonly default: Schema.optional<Schema.Union<readonly [Schema.String, Schema.Literal<"transparent">, Schema.TemplateLiteral<readonly ["$", Schema.NonEmptyString]>]>>;
|
|
3709
|
-
readonly
|
|
3710
|
-
readonly
|
|
3711
|
-
readonly
|
|
3732
|
+
readonly raised: Schema.optional<Schema.Struct<{
|
|
3733
|
+
readonly base: Schema.optional<Schema.Union<readonly [Schema.String, Schema.Literal<"transparent">, Schema.TemplateLiteral<readonly ["$", Schema.NonEmptyString]>]>>;
|
|
3734
|
+
readonly high: Schema.optional<Schema.Union<readonly [Schema.String, Schema.Literal<"transparent">, Schema.TemplateLiteral<readonly ["$", Schema.NonEmptyString]>]>>;
|
|
3735
|
+
readonly max: Schema.optional<Schema.Union<readonly [Schema.String, Schema.Literal<"transparent">, Schema.TemplateLiteral<readonly ["$", Schema.NonEmptyString]>]>>;
|
|
3712
3736
|
}>>;
|
|
3713
3737
|
readonly action: Schema.optional<Schema.Struct<{
|
|
3714
3738
|
readonly primary: Schema.optional<Schema.Struct<{
|
|
@@ -3857,9 +3881,10 @@ export declare const ThemeDocument: Schema.Union<readonly [Schema.Struct<{
|
|
|
3857
3881
|
}>>;
|
|
3858
3882
|
readonly background: Schema.optional<Schema.Struct<{
|
|
3859
3883
|
readonly default: Schema.optional<Schema.Union<readonly [Schema.String, Schema.Literal<"transparent">, Schema.TemplateLiteral<readonly ["$", Schema.NonEmptyString]>]>>;
|
|
3860
|
-
readonly
|
|
3861
|
-
readonly
|
|
3862
|
-
readonly
|
|
3884
|
+
readonly raised: Schema.optional<Schema.Struct<{
|
|
3885
|
+
readonly base: Schema.optional<Schema.Union<readonly [Schema.String, Schema.Literal<"transparent">, Schema.TemplateLiteral<readonly ["$", Schema.NonEmptyString]>]>>;
|
|
3886
|
+
readonly high: Schema.optional<Schema.Union<readonly [Schema.String, Schema.Literal<"transparent">, Schema.TemplateLiteral<readonly ["$", Schema.NonEmptyString]>]>>;
|
|
3887
|
+
readonly max: Schema.optional<Schema.Union<readonly [Schema.String, Schema.Literal<"transparent">, Schema.TemplateLiteral<readonly ["$", Schema.NonEmptyString]>]>>;
|
|
3863
3888
|
}>>;
|
|
3864
3889
|
readonly action: Schema.optional<Schema.Struct<{
|
|
3865
3890
|
readonly primary: Schema.optional<Schema.Struct<{
|
|
@@ -4007,9 +4032,10 @@ export declare const ThemeDocument: Schema.Union<readonly [Schema.Struct<{
|
|
|
4007
4032
|
}>>;
|
|
4008
4033
|
readonly background: Schema.optional<Schema.Struct<{
|
|
4009
4034
|
readonly default: Schema.optional<Schema.Union<readonly [Schema.String, Schema.Literal<"transparent">, Schema.TemplateLiteral<readonly ["$", Schema.NonEmptyString]>]>>;
|
|
4010
|
-
readonly
|
|
4011
|
-
readonly
|
|
4012
|
-
readonly
|
|
4035
|
+
readonly raised: Schema.optional<Schema.Struct<{
|
|
4036
|
+
readonly base: Schema.optional<Schema.Union<readonly [Schema.String, Schema.Literal<"transparent">, Schema.TemplateLiteral<readonly ["$", Schema.NonEmptyString]>]>>;
|
|
4037
|
+
readonly high: Schema.optional<Schema.Union<readonly [Schema.String, Schema.Literal<"transparent">, Schema.TemplateLiteral<readonly ["$", Schema.NonEmptyString]>]>>;
|
|
4038
|
+
readonly max: Schema.optional<Schema.Union<readonly [Schema.String, Schema.Literal<"transparent">, Schema.TemplateLiteral<readonly ["$", Schema.NonEmptyString]>]>>;
|
|
4013
4039
|
}>>;
|
|
4014
4040
|
readonly action: Schema.optional<Schema.Struct<{
|
|
4015
4041
|
readonly primary: Schema.optional<Schema.Struct<{
|
|
@@ -4173,9 +4199,10 @@ export declare const ThemeDocument: Schema.Union<readonly [Schema.Struct<{
|
|
|
4173
4199
|
}>>;
|
|
4174
4200
|
readonly background: Schema.optional<Schema.Struct<{
|
|
4175
4201
|
readonly default: Schema.optional<Schema.Union<readonly [Schema.String, Schema.Literal<"transparent">, Schema.TemplateLiteral<readonly ["$", Schema.NonEmptyString]>]>>;
|
|
4176
|
-
readonly
|
|
4177
|
-
readonly
|
|
4178
|
-
readonly
|
|
4202
|
+
readonly raised: Schema.optional<Schema.Struct<{
|
|
4203
|
+
readonly base: Schema.optional<Schema.Union<readonly [Schema.String, Schema.Literal<"transparent">, Schema.TemplateLiteral<readonly ["$", Schema.NonEmptyString]>]>>;
|
|
4204
|
+
readonly high: Schema.optional<Schema.Union<readonly [Schema.String, Schema.Literal<"transparent">, Schema.TemplateLiteral<readonly ["$", Schema.NonEmptyString]>]>>;
|
|
4205
|
+
readonly max: Schema.optional<Schema.Union<readonly [Schema.String, Schema.Literal<"transparent">, Schema.TemplateLiteral<readonly ["$", Schema.NonEmptyString]>]>>;
|
|
4179
4206
|
}>>;
|
|
4180
4207
|
readonly action: Schema.optional<Schema.Struct<{
|
|
4181
4208
|
readonly primary: Schema.optional<Schema.Struct<{
|
|
@@ -4324,9 +4351,10 @@ export declare const ThemeDocument: Schema.Union<readonly [Schema.Struct<{
|
|
|
4324
4351
|
}>>;
|
|
4325
4352
|
readonly background: Schema.optional<Schema.Struct<{
|
|
4326
4353
|
readonly default: Schema.optional<Schema.Union<readonly [Schema.String, Schema.Literal<"transparent">, Schema.TemplateLiteral<readonly ["$", Schema.NonEmptyString]>]>>;
|
|
4327
|
-
readonly
|
|
4328
|
-
readonly
|
|
4329
|
-
readonly
|
|
4354
|
+
readonly raised: Schema.optional<Schema.Struct<{
|
|
4355
|
+
readonly base: Schema.optional<Schema.Union<readonly [Schema.String, Schema.Literal<"transparent">, Schema.TemplateLiteral<readonly ["$", Schema.NonEmptyString]>]>>;
|
|
4356
|
+
readonly high: Schema.optional<Schema.Union<readonly [Schema.String, Schema.Literal<"transparent">, Schema.TemplateLiteral<readonly ["$", Schema.NonEmptyString]>]>>;
|
|
4357
|
+
readonly max: Schema.optional<Schema.Union<readonly [Schema.String, Schema.Literal<"transparent">, Schema.TemplateLiteral<readonly ["$", Schema.NonEmptyString]>]>>;
|
|
4330
4358
|
}>>;
|
|
4331
4359
|
readonly action: Schema.optional<Schema.Struct<{
|
|
4332
4360
|
readonly primary: Schema.optional<Schema.Struct<{
|
|
@@ -4474,9 +4502,10 @@ export declare const ThemeDocument: Schema.Union<readonly [Schema.Struct<{
|
|
|
4474
4502
|
}>>;
|
|
4475
4503
|
readonly background: Schema.optional<Schema.Struct<{
|
|
4476
4504
|
readonly default: Schema.optional<Schema.Union<readonly [Schema.String, Schema.Literal<"transparent">, Schema.TemplateLiteral<readonly ["$", Schema.NonEmptyString]>]>>;
|
|
4477
|
-
readonly
|
|
4478
|
-
readonly
|
|
4479
|
-
readonly
|
|
4505
|
+
readonly raised: Schema.optional<Schema.Struct<{
|
|
4506
|
+
readonly base: Schema.optional<Schema.Union<readonly [Schema.String, Schema.Literal<"transparent">, Schema.TemplateLiteral<readonly ["$", Schema.NonEmptyString]>]>>;
|
|
4507
|
+
readonly high: Schema.optional<Schema.Union<readonly [Schema.String, Schema.Literal<"transparent">, Schema.TemplateLiteral<readonly ["$", Schema.NonEmptyString]>]>>;
|
|
4508
|
+
readonly max: Schema.optional<Schema.Union<readonly [Schema.String, Schema.Literal<"transparent">, Schema.TemplateLiteral<readonly ["$", Schema.NonEmptyString]>]>>;
|
|
4480
4509
|
}>>;
|
|
4481
4510
|
readonly action: Schema.optional<Schema.Struct<{
|
|
4482
4511
|
readonly primary: Schema.optional<Schema.Struct<{
|
|
@@ -4644,9 +4673,10 @@ export declare const ThemeDocument: Schema.Union<readonly [Schema.Struct<{
|
|
|
4644
4673
|
}>>;
|
|
4645
4674
|
readonly background: Schema.optional<Schema.Struct<{
|
|
4646
4675
|
readonly default: Schema.optional<Schema.Union<readonly [Schema.String, Schema.Literal<"transparent">, Schema.TemplateLiteral<readonly ["$", Schema.NonEmptyString]>]>>;
|
|
4647
|
-
readonly
|
|
4648
|
-
readonly
|
|
4649
|
-
readonly
|
|
4676
|
+
readonly raised: Schema.optional<Schema.Struct<{
|
|
4677
|
+
readonly base: Schema.optional<Schema.Union<readonly [Schema.String, Schema.Literal<"transparent">, Schema.TemplateLiteral<readonly ["$", Schema.NonEmptyString]>]>>;
|
|
4678
|
+
readonly high: Schema.optional<Schema.Union<readonly [Schema.String, Schema.Literal<"transparent">, Schema.TemplateLiteral<readonly ["$", Schema.NonEmptyString]>]>>;
|
|
4679
|
+
readonly max: Schema.optional<Schema.Union<readonly [Schema.String, Schema.Literal<"transparent">, Schema.TemplateLiteral<readonly ["$", Schema.NonEmptyString]>]>>;
|
|
4650
4680
|
}>>;
|
|
4651
4681
|
readonly action: Schema.optional<Schema.Struct<{
|
|
4652
4682
|
readonly primary: Schema.optional<Schema.Struct<{
|
|
@@ -4795,9 +4825,10 @@ export declare const ThemeDocument: Schema.Union<readonly [Schema.Struct<{
|
|
|
4795
4825
|
}>>;
|
|
4796
4826
|
readonly background: Schema.optional<Schema.Struct<{
|
|
4797
4827
|
readonly default: Schema.optional<Schema.Union<readonly [Schema.String, Schema.Literal<"transparent">, Schema.TemplateLiteral<readonly ["$", Schema.NonEmptyString]>]>>;
|
|
4798
|
-
readonly
|
|
4799
|
-
readonly
|
|
4800
|
-
readonly
|
|
4828
|
+
readonly raised: Schema.optional<Schema.Struct<{
|
|
4829
|
+
readonly base: Schema.optional<Schema.Union<readonly [Schema.String, Schema.Literal<"transparent">, Schema.TemplateLiteral<readonly ["$", Schema.NonEmptyString]>]>>;
|
|
4830
|
+
readonly high: Schema.optional<Schema.Union<readonly [Schema.String, Schema.Literal<"transparent">, Schema.TemplateLiteral<readonly ["$", Schema.NonEmptyString]>]>>;
|
|
4831
|
+
readonly max: Schema.optional<Schema.Union<readonly [Schema.String, Schema.Literal<"transparent">, Schema.TemplateLiteral<readonly ["$", Schema.NonEmptyString]>]>>;
|
|
4801
4832
|
}>>;
|
|
4802
4833
|
readonly action: Schema.optional<Schema.Struct<{
|
|
4803
4834
|
readonly primary: Schema.optional<Schema.Struct<{
|
|
@@ -4945,9 +4976,10 @@ export declare const ThemeDocument: Schema.Union<readonly [Schema.Struct<{
|
|
|
4945
4976
|
}>>;
|
|
4946
4977
|
readonly background: Schema.optional<Schema.Struct<{
|
|
4947
4978
|
readonly default: Schema.optional<Schema.Union<readonly [Schema.String, Schema.Literal<"transparent">, Schema.TemplateLiteral<readonly ["$", Schema.NonEmptyString]>]>>;
|
|
4948
|
-
readonly
|
|
4949
|
-
readonly
|
|
4950
|
-
readonly
|
|
4979
|
+
readonly raised: Schema.optional<Schema.Struct<{
|
|
4980
|
+
readonly base: Schema.optional<Schema.Union<readonly [Schema.String, Schema.Literal<"transparent">, Schema.TemplateLiteral<readonly ["$", Schema.NonEmptyString]>]>>;
|
|
4981
|
+
readonly high: Schema.optional<Schema.Union<readonly [Schema.String, Schema.Literal<"transparent">, Schema.TemplateLiteral<readonly ["$", Schema.NonEmptyString]>]>>;
|
|
4982
|
+
readonly max: Schema.optional<Schema.Union<readonly [Schema.String, Schema.Literal<"transparent">, Schema.TemplateLiteral<readonly ["$", Schema.NonEmptyString]>]>>;
|
|
4951
4983
|
}>>;
|
|
4952
4984
|
readonly action: Schema.optional<Schema.Struct<{
|
|
4953
4985
|
readonly primary: Schema.optional<Schema.Struct<{
|
|
@@ -5111,9 +5143,10 @@ export declare const ThemeDocument: Schema.Union<readonly [Schema.Struct<{
|
|
|
5111
5143
|
}>>;
|
|
5112
5144
|
readonly background: Schema.optional<Schema.Struct<{
|
|
5113
5145
|
readonly default: Schema.optional<Schema.Union<readonly [Schema.String, Schema.Literal<"transparent">, Schema.TemplateLiteral<readonly ["$", Schema.NonEmptyString]>]>>;
|
|
5114
|
-
readonly
|
|
5115
|
-
readonly
|
|
5116
|
-
readonly
|
|
5146
|
+
readonly raised: Schema.optional<Schema.Struct<{
|
|
5147
|
+
readonly base: Schema.optional<Schema.Union<readonly [Schema.String, Schema.Literal<"transparent">, Schema.TemplateLiteral<readonly ["$", Schema.NonEmptyString]>]>>;
|
|
5148
|
+
readonly high: Schema.optional<Schema.Union<readonly [Schema.String, Schema.Literal<"transparent">, Schema.TemplateLiteral<readonly ["$", Schema.NonEmptyString]>]>>;
|
|
5149
|
+
readonly max: Schema.optional<Schema.Union<readonly [Schema.String, Schema.Literal<"transparent">, Schema.TemplateLiteral<readonly ["$", Schema.NonEmptyString]>]>>;
|
|
5117
5150
|
}>>;
|
|
5118
5151
|
readonly action: Schema.optional<Schema.Struct<{
|
|
5119
5152
|
readonly primary: Schema.optional<Schema.Struct<{
|
|
@@ -5262,9 +5295,10 @@ export declare const ThemeDocument: Schema.Union<readonly [Schema.Struct<{
|
|
|
5262
5295
|
}>>;
|
|
5263
5296
|
readonly background: Schema.optional<Schema.Struct<{
|
|
5264
5297
|
readonly default: Schema.optional<Schema.Union<readonly [Schema.String, Schema.Literal<"transparent">, Schema.TemplateLiteral<readonly ["$", Schema.NonEmptyString]>]>>;
|
|
5265
|
-
readonly
|
|
5266
|
-
readonly
|
|
5267
|
-
readonly
|
|
5298
|
+
readonly raised: Schema.optional<Schema.Struct<{
|
|
5299
|
+
readonly base: Schema.optional<Schema.Union<readonly [Schema.String, Schema.Literal<"transparent">, Schema.TemplateLiteral<readonly ["$", Schema.NonEmptyString]>]>>;
|
|
5300
|
+
readonly high: Schema.optional<Schema.Union<readonly [Schema.String, Schema.Literal<"transparent">, Schema.TemplateLiteral<readonly ["$", Schema.NonEmptyString]>]>>;
|
|
5301
|
+
readonly max: Schema.optional<Schema.Union<readonly [Schema.String, Schema.Literal<"transparent">, Schema.TemplateLiteral<readonly ["$", Schema.NonEmptyString]>]>>;
|
|
5268
5302
|
}>>;
|
|
5269
5303
|
readonly action: Schema.optional<Schema.Struct<{
|
|
5270
5304
|
readonly primary: Schema.optional<Schema.Struct<{
|
|
@@ -5412,9 +5446,10 @@ export declare const ThemeDocument: Schema.Union<readonly [Schema.Struct<{
|
|
|
5412
5446
|
}>>;
|
|
5413
5447
|
readonly background: Schema.optional<Schema.Struct<{
|
|
5414
5448
|
readonly default: Schema.optional<Schema.Union<readonly [Schema.String, Schema.Literal<"transparent">, Schema.TemplateLiteral<readonly ["$", Schema.NonEmptyString]>]>>;
|
|
5415
|
-
readonly
|
|
5416
|
-
readonly
|
|
5417
|
-
readonly
|
|
5449
|
+
readonly raised: Schema.optional<Schema.Struct<{
|
|
5450
|
+
readonly base: Schema.optional<Schema.Union<readonly [Schema.String, Schema.Literal<"transparent">, Schema.TemplateLiteral<readonly ["$", Schema.NonEmptyString]>]>>;
|
|
5451
|
+
readonly high: Schema.optional<Schema.Union<readonly [Schema.String, Schema.Literal<"transparent">, Schema.TemplateLiteral<readonly ["$", Schema.NonEmptyString]>]>>;
|
|
5452
|
+
readonly max: Schema.optional<Schema.Union<readonly [Schema.String, Schema.Literal<"transparent">, Schema.TemplateLiteral<readonly ["$", Schema.NonEmptyString]>]>>;
|
|
5418
5453
|
}>>;
|
|
5419
5454
|
readonly action: Schema.optional<Schema.Struct<{
|
|
5420
5455
|
readonly primary: Schema.optional<Schema.Struct<{
|
|
@@ -5578,9 +5613,10 @@ export declare const ThemeDocument: Schema.Union<readonly [Schema.Struct<{
|
|
|
5578
5613
|
}>>;
|
|
5579
5614
|
readonly background: Schema.optional<Schema.Struct<{
|
|
5580
5615
|
readonly default: Schema.optional<Schema.Union<readonly [Schema.String, Schema.Literal<"transparent">, Schema.TemplateLiteral<readonly ["$", Schema.NonEmptyString]>]>>;
|
|
5581
|
-
readonly
|
|
5582
|
-
readonly
|
|
5583
|
-
readonly
|
|
5616
|
+
readonly raised: Schema.optional<Schema.Struct<{
|
|
5617
|
+
readonly base: Schema.optional<Schema.Union<readonly [Schema.String, Schema.Literal<"transparent">, Schema.TemplateLiteral<readonly ["$", Schema.NonEmptyString]>]>>;
|
|
5618
|
+
readonly high: Schema.optional<Schema.Union<readonly [Schema.String, Schema.Literal<"transparent">, Schema.TemplateLiteral<readonly ["$", Schema.NonEmptyString]>]>>;
|
|
5619
|
+
readonly max: Schema.optional<Schema.Union<readonly [Schema.String, Schema.Literal<"transparent">, Schema.TemplateLiteral<readonly ["$", Schema.NonEmptyString]>]>>;
|
|
5584
5620
|
}>>;
|
|
5585
5621
|
readonly action: Schema.optional<Schema.Struct<{
|
|
5586
5622
|
readonly primary: Schema.optional<Schema.Struct<{
|
|
@@ -5729,9 +5765,10 @@ export declare const ThemeDocument: Schema.Union<readonly [Schema.Struct<{
|
|
|
5729
5765
|
}>>;
|
|
5730
5766
|
readonly background: Schema.optional<Schema.Struct<{
|
|
5731
5767
|
readonly default: Schema.optional<Schema.Union<readonly [Schema.String, Schema.Literal<"transparent">, Schema.TemplateLiteral<readonly ["$", Schema.NonEmptyString]>]>>;
|
|
5732
|
-
readonly
|
|
5733
|
-
readonly
|
|
5734
|
-
readonly
|
|
5768
|
+
readonly raised: Schema.optional<Schema.Struct<{
|
|
5769
|
+
readonly base: Schema.optional<Schema.Union<readonly [Schema.String, Schema.Literal<"transparent">, Schema.TemplateLiteral<readonly ["$", Schema.NonEmptyString]>]>>;
|
|
5770
|
+
readonly high: Schema.optional<Schema.Union<readonly [Schema.String, Schema.Literal<"transparent">, Schema.TemplateLiteral<readonly ["$", Schema.NonEmptyString]>]>>;
|
|
5771
|
+
readonly max: Schema.optional<Schema.Union<readonly [Schema.String, Schema.Literal<"transparent">, Schema.TemplateLiteral<readonly ["$", Schema.NonEmptyString]>]>>;
|
|
5735
5772
|
}>>;
|
|
5736
5773
|
readonly action: Schema.optional<Schema.Struct<{
|
|
5737
5774
|
readonly primary: Schema.optional<Schema.Struct<{
|
|
@@ -5879,9 +5916,10 @@ export declare const ThemeDocument: Schema.Union<readonly [Schema.Struct<{
|
|
|
5879
5916
|
}>>;
|
|
5880
5917
|
readonly background: Schema.optional<Schema.Struct<{
|
|
5881
5918
|
readonly default: Schema.optional<Schema.Union<readonly [Schema.String, Schema.Literal<"transparent">, Schema.TemplateLiteral<readonly ["$", Schema.NonEmptyString]>]>>;
|
|
5882
|
-
readonly
|
|
5883
|
-
readonly
|
|
5884
|
-
readonly
|
|
5919
|
+
readonly raised: Schema.optional<Schema.Struct<{
|
|
5920
|
+
readonly base: Schema.optional<Schema.Union<readonly [Schema.String, Schema.Literal<"transparent">, Schema.TemplateLiteral<readonly ["$", Schema.NonEmptyString]>]>>;
|
|
5921
|
+
readonly high: Schema.optional<Schema.Union<readonly [Schema.String, Schema.Literal<"transparent">, Schema.TemplateLiteral<readonly ["$", Schema.NonEmptyString]>]>>;
|
|
5922
|
+
readonly max: Schema.optional<Schema.Union<readonly [Schema.String, Schema.Literal<"transparent">, Schema.TemplateLiteral<readonly ["$", Schema.NonEmptyString]>]>>;
|
|
5885
5923
|
}>>;
|
|
5886
5924
|
readonly action: Schema.optional<Schema.Struct<{
|
|
5887
5925
|
readonly primary: Schema.optional<Schema.Struct<{
|
|
@@ -6045,9 +6083,10 @@ export declare const ThemeDocument: Schema.Union<readonly [Schema.Struct<{
|
|
|
6045
6083
|
}>>;
|
|
6046
6084
|
readonly background: Schema.optional<Schema.Struct<{
|
|
6047
6085
|
readonly default: Schema.optional<Schema.Union<readonly [Schema.String, Schema.Literal<"transparent">, Schema.TemplateLiteral<readonly ["$", Schema.NonEmptyString]>]>>;
|
|
6048
|
-
readonly
|
|
6049
|
-
readonly
|
|
6050
|
-
readonly
|
|
6086
|
+
readonly raised: Schema.optional<Schema.Struct<{
|
|
6087
|
+
readonly base: Schema.optional<Schema.Union<readonly [Schema.String, Schema.Literal<"transparent">, Schema.TemplateLiteral<readonly ["$", Schema.NonEmptyString]>]>>;
|
|
6088
|
+
readonly high: Schema.optional<Schema.Union<readonly [Schema.String, Schema.Literal<"transparent">, Schema.TemplateLiteral<readonly ["$", Schema.NonEmptyString]>]>>;
|
|
6089
|
+
readonly max: Schema.optional<Schema.Union<readonly [Schema.String, Schema.Literal<"transparent">, Schema.TemplateLiteral<readonly ["$", Schema.NonEmptyString]>]>>;
|
|
6051
6090
|
}>>;
|
|
6052
6091
|
readonly action: Schema.optional<Schema.Struct<{
|
|
6053
6092
|
readonly primary: Schema.optional<Schema.Struct<{
|
|
@@ -6196,9 +6235,10 @@ export declare const ThemeDocument: Schema.Union<readonly [Schema.Struct<{
|
|
|
6196
6235
|
}>>;
|
|
6197
6236
|
readonly background: Schema.optional<Schema.Struct<{
|
|
6198
6237
|
readonly default: Schema.optional<Schema.Union<readonly [Schema.String, Schema.Literal<"transparent">, Schema.TemplateLiteral<readonly ["$", Schema.NonEmptyString]>]>>;
|
|
6199
|
-
readonly
|
|
6200
|
-
readonly
|
|
6201
|
-
readonly
|
|
6238
|
+
readonly raised: Schema.optional<Schema.Struct<{
|
|
6239
|
+
readonly base: Schema.optional<Schema.Union<readonly [Schema.String, Schema.Literal<"transparent">, Schema.TemplateLiteral<readonly ["$", Schema.NonEmptyString]>]>>;
|
|
6240
|
+
readonly high: Schema.optional<Schema.Union<readonly [Schema.String, Schema.Literal<"transparent">, Schema.TemplateLiteral<readonly ["$", Schema.NonEmptyString]>]>>;
|
|
6241
|
+
readonly max: Schema.optional<Schema.Union<readonly [Schema.String, Schema.Literal<"transparent">, Schema.TemplateLiteral<readonly ["$", Schema.NonEmptyString]>]>>;
|
|
6202
6242
|
}>>;
|
|
6203
6243
|
readonly action: Schema.optional<Schema.Struct<{
|
|
6204
6244
|
readonly primary: Schema.optional<Schema.Struct<{
|
|
@@ -6346,9 +6386,10 @@ export declare const ThemeDocument: Schema.Union<readonly [Schema.Struct<{
|
|
|
6346
6386
|
}>>;
|
|
6347
6387
|
readonly background: Schema.optional<Schema.Struct<{
|
|
6348
6388
|
readonly default: Schema.optional<Schema.Union<readonly [Schema.String, Schema.Literal<"transparent">, Schema.TemplateLiteral<readonly ["$", Schema.NonEmptyString]>]>>;
|
|
6349
|
-
readonly
|
|
6350
|
-
readonly
|
|
6351
|
-
readonly
|
|
6389
|
+
readonly raised: Schema.optional<Schema.Struct<{
|
|
6390
|
+
readonly base: Schema.optional<Schema.Union<readonly [Schema.String, Schema.Literal<"transparent">, Schema.TemplateLiteral<readonly ["$", Schema.NonEmptyString]>]>>;
|
|
6391
|
+
readonly high: Schema.optional<Schema.Union<readonly [Schema.String, Schema.Literal<"transparent">, Schema.TemplateLiteral<readonly ["$", Schema.NonEmptyString]>]>>;
|
|
6392
|
+
readonly max: Schema.optional<Schema.Union<readonly [Schema.String, Schema.Literal<"transparent">, Schema.TemplateLiteral<readonly ["$", Schema.NonEmptyString]>]>>;
|
|
6352
6393
|
}>>;
|
|
6353
6394
|
readonly action: Schema.optional<Schema.Struct<{
|
|
6354
6395
|
readonly primary: Schema.optional<Schema.Struct<{
|
package/dist/tui/schema.js
CHANGED
|
@@ -85,9 +85,10 @@ const TextDefinition = Schema.Struct({
|
|
|
85
85
|
});
|
|
86
86
|
const BackgroundDefinition = Schema.Struct({
|
|
87
87
|
default: Schema.optional(ColorValue),
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
88
|
+
raised: Schema.optional(Schema.Struct({
|
|
89
|
+
base: Schema.optional(ColorValue),
|
|
90
|
+
high: Schema.optional(ColorValue),
|
|
91
|
+
max: Schema.optional(ColorValue),
|
|
91
92
|
})),
|
|
92
93
|
action: Schema.optional(ActionColorDefinition),
|
|
93
94
|
formfield: Schema.optional(StatefulColorDefinition),
|
package/dist/tui/types.d.ts
CHANGED
|
@@ -35,9 +35,10 @@ export type ResolvedThemeTokens = {
|
|
|
35
35
|
};
|
|
36
36
|
readonly background: {
|
|
37
37
|
readonly default: RGBA;
|
|
38
|
-
readonly
|
|
39
|
-
readonly
|
|
40
|
-
readonly
|
|
38
|
+
readonly raised: {
|
|
39
|
+
readonly base: RGBA;
|
|
40
|
+
readonly high: RGBA;
|
|
41
|
+
readonly max: RGBA;
|
|
41
42
|
};
|
|
42
43
|
readonly action: Readonly<Record<ActionVariant, StatefulColor>>;
|
|
43
44
|
readonly formfield: FormfieldColor;
|
package/dist/tui/v1-migrate.js
CHANGED
|
@@ -47,6 +47,7 @@ function migrateMode(theme, mode) {
|
|
|
47
47
|
const background = mode === "light" ? "$hue.neutral.200" : "$hue.neutral.800";
|
|
48
48
|
const backgroundPanel = mode === "light" ? "$hue.neutral.300" : "$hue.neutral.700";
|
|
49
49
|
const backgroundMenu = mode === "light" ? "$hue.neutral.400" : "$hue.neutral.600";
|
|
50
|
+
const backgroundRaisedMax = "$hue.neutral.500";
|
|
50
51
|
return referenceHues({
|
|
51
52
|
hue: {
|
|
52
53
|
gray: neutralScale(theme, mode),
|
|
@@ -89,9 +90,10 @@ function migrateMode(theme, mode) {
|
|
|
89
90
|
},
|
|
90
91
|
background: {
|
|
91
92
|
default: background,
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
93
|
+
raised: {
|
|
94
|
+
base: backgroundPanel,
|
|
95
|
+
high: backgroundMenu,
|
|
96
|
+
max: backgroundRaisedMax,
|
|
95
97
|
},
|
|
96
98
|
action: {
|
|
97
99
|
primary: { default: "transparent", $hovered: backgroundPanel, $focused: primary, $selected: "transparent" },
|
|
@@ -160,11 +162,11 @@ function migrateMode(theme, mode) {
|
|
|
160
162
|
},
|
|
161
163
|
"@context:elevated": {
|
|
162
164
|
background: {
|
|
163
|
-
default: "$background.
|
|
164
|
-
action: { primary: { $hovered: "$background.
|
|
165
|
+
default: "$background.raised.base",
|
|
166
|
+
action: { primary: { $hovered: "$background.raised.high" } },
|
|
165
167
|
},
|
|
166
168
|
},
|
|
167
|
-
"@context:overlay": { background: { default: "$background.
|
|
169
|
+
"@context:overlay": { background: { default: "$background.raised.high" } },
|
|
168
170
|
});
|
|
169
171
|
}
|
|
170
172
|
function referenceHues(theme) {
|