@opencode-ai/theme 0.0.0-dev-17660 → 0.0.0-dev-17669
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 +14 -0
- package/dist/tui/defaults.js +4 -0
- package/dist/tui/schema.d.ts +657 -1
- package/dist/tui/schema.js +2 -1
- package/dist/tui/v1-migrate.js +2 -0
- package/package.json +1 -1
package/dist/tui/defaults.d.ts
CHANGED
|
@@ -104,6 +104,10 @@ export declare const DEFAULT_THEME: {
|
|
|
104
104
|
default: string;
|
|
105
105
|
$disabled: string;
|
|
106
106
|
};
|
|
107
|
+
secondary: {
|
|
108
|
+
default: string;
|
|
109
|
+
$hovered: string;
|
|
110
|
+
};
|
|
107
111
|
destructive: {
|
|
108
112
|
default: string;
|
|
109
113
|
$disabled: string;
|
|
@@ -150,6 +154,9 @@ export declare const DEFAULT_THEME: {
|
|
|
150
154
|
$selected: string;
|
|
151
155
|
$disabled: string;
|
|
152
156
|
};
|
|
157
|
+
secondary: {
|
|
158
|
+
default: string;
|
|
159
|
+
};
|
|
153
160
|
destructive: {
|
|
154
161
|
default: string;
|
|
155
162
|
$hovered: string;
|
|
@@ -378,6 +385,10 @@ export declare const DEFAULT_THEME: {
|
|
|
378
385
|
default: string;
|
|
379
386
|
$disabled: string;
|
|
380
387
|
};
|
|
388
|
+
secondary: {
|
|
389
|
+
default: string;
|
|
390
|
+
$hovered: string;
|
|
391
|
+
};
|
|
381
392
|
destructive: {
|
|
382
393
|
default: string;
|
|
383
394
|
$disabled: string;
|
|
@@ -424,6 +435,9 @@ export declare const DEFAULT_THEME: {
|
|
|
424
435
|
$selected: string;
|
|
425
436
|
$disabled: string;
|
|
426
437
|
};
|
|
438
|
+
secondary: {
|
|
439
|
+
default: string;
|
|
440
|
+
};
|
|
427
441
|
destructive: {
|
|
428
442
|
default: string;
|
|
429
443
|
$hovered: string;
|
package/dist/tui/defaults.js
CHANGED
|
@@ -108,6 +108,7 @@ export const DEFAULT_THEME = {
|
|
|
108
108
|
subdued: "$hue.neutral.600",
|
|
109
109
|
action: {
|
|
110
110
|
primary: { default: "$hue.neutral.200", $disabled: "$hue.neutral.500" },
|
|
111
|
+
secondary: { default: "$text.subdued", $hovered: "$text.default" },
|
|
111
112
|
destructive: { default: "$hue.red.200", $disabled: "$hue.neutral.500" },
|
|
112
113
|
},
|
|
113
114
|
formfield: {
|
|
@@ -139,6 +140,7 @@ export const DEFAULT_THEME = {
|
|
|
139
140
|
$selected: "$hue.interactive.700",
|
|
140
141
|
$disabled: "$hue.neutral.300",
|
|
141
142
|
},
|
|
143
|
+
secondary: { default: "transparent" },
|
|
142
144
|
destructive: {
|
|
143
145
|
default: "$hue.red.600",
|
|
144
146
|
$hovered: "$hue.red.700",
|
|
@@ -321,6 +323,7 @@ export const DEFAULT_THEME = {
|
|
|
321
323
|
subdued: "$hue.neutral.400",
|
|
322
324
|
action: {
|
|
323
325
|
primary: { default: "$hue.neutral.200", $disabled: "$hue.neutral.500" },
|
|
326
|
+
secondary: { default: "$text.subdued", $hovered: "$text.default" },
|
|
324
327
|
destructive: { default: "$hue.red.200", $disabled: "$hue.neutral.500" },
|
|
325
328
|
},
|
|
326
329
|
formfield: {
|
|
@@ -352,6 +355,7 @@ export const DEFAULT_THEME = {
|
|
|
352
355
|
$selected: "$hue.interactive.600",
|
|
353
356
|
$disabled: "$hue.neutral.800",
|
|
354
357
|
},
|
|
358
|
+
secondary: { default: "transparent" },
|
|
355
359
|
destructive: {
|
|
356
360
|
default: "$hue.red.600",
|
|
357
361
|
$hovered: "$hue.red.700",
|