@marianmeres/design-tokens 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/AGENTS.md +85 -0
- package/API.md +271 -0
- package/CLAUDE.md +3 -0
- package/LICENSE +21 -0
- package/README.md +139 -0
- package/dist/colors.d.ts +301 -0
- package/dist/colors.js +301 -0
- package/dist/generate.d.ts +14 -0
- package/dist/generate.js +137 -0
- package/dist/mod.d.ts +13 -0
- package/dist/mod.js +12 -0
- package/dist/reboot-bridge.d.ts +27 -0
- package/dist/reboot-bridge.js +89 -0
- package/dist/themes/blue-orange.d.ts +3 -0
- package/dist/themes/blue-orange.js +117 -0
- package/dist/themes/cyan-red.d.ts +3 -0
- package/dist/themes/cyan-red.js +117 -0
- package/dist/themes/cyan-slate.d.ts +3 -0
- package/dist/themes/cyan-slate.js +117 -0
- package/dist/themes/dds.d.ts +3 -0
- package/dist/themes/dds.js +133 -0
- package/dist/themes/emerald-amber-forest.d.ts +3 -0
- package/dist/themes/emerald-amber-forest.js +117 -0
- package/dist/themes/emerald-pink.d.ts +3 -0
- package/dist/themes/emerald-pink.js +117 -0
- package/dist/themes/fuchsia-emerald.d.ts +3 -0
- package/dist/themes/fuchsia-emerald.js +117 -0
- package/dist/themes/gray.d.ts +3 -0
- package/dist/themes/gray.js +66 -0
- package/dist/themes/indigo-amber.d.ts +3 -0
- package/dist/themes/indigo-amber.js +117 -0
- package/dist/themes/lime-fuchsia-neon.d.ts +3 -0
- package/dist/themes/lime-fuchsia-neon.js +117 -0
- package/dist/themes/mod.d.ts +72 -0
- package/dist/themes/mod.js +71 -0
- package/dist/themes/monokai-cyan.d.ts +3 -0
- package/dist/themes/monokai-cyan.js +119 -0
- package/dist/themes/monokai-green.d.ts +3 -0
- package/dist/themes/monokai-green.js +119 -0
- package/dist/themes/monokai-pink.d.ts +3 -0
- package/dist/themes/monokai-pink.js +119 -0
- package/dist/themes/orange-pink-sunset.d.ts +3 -0
- package/dist/themes/orange-pink-sunset.js +117 -0
- package/dist/themes/pink-emerald.d.ts +3 -0
- package/dist/themes/pink-emerald.js +117 -0
- package/dist/themes/pink-teal.d.ts +3 -0
- package/dist/themes/pink-teal.js +117 -0
- package/dist/themes/purple-yellow.d.ts +3 -0
- package/dist/themes/purple-yellow.js +117 -0
- package/dist/themes/rainbow.d.ts +3 -0
- package/dist/themes/rainbow.js +122 -0
- package/dist/themes/red-blue.d.ts +3 -0
- package/dist/themes/red-blue.js +117 -0
- package/dist/themes/red-cyan.d.ts +3 -0
- package/dist/themes/red-cyan.js +117 -0
- package/dist/themes/red-sky-slate.d.ts +3 -0
- package/dist/themes/red-sky-slate.js +117 -0
- package/dist/themes/red-sky.d.ts +3 -0
- package/dist/themes/red-sky.js +117 -0
- package/dist/themes/rose-teal.d.ts +3 -0
- package/dist/themes/rose-teal.js +117 -0
- package/dist/themes/sky-amber.d.ts +3 -0
- package/dist/themes/sky-amber.js +117 -0
- package/dist/themes/slate-cyan.d.ts +3 -0
- package/dist/themes/slate-cyan.js +117 -0
- package/dist/themes/slate-teal-ocean.d.ts +3 -0
- package/dist/themes/slate-teal-ocean.js +117 -0
- package/dist/themes/stone-orange-earth.d.ts +3 -0
- package/dist/themes/stone-orange-earth.js +117 -0
- package/dist/themes/stone.d.ts +3 -0
- package/dist/themes/stone.js +72 -0
- package/dist/themes/teal-rose.d.ts +3 -0
- package/dist/themes/teal-rose.js +117 -0
- package/dist/themes/violet-lime.d.ts +3 -0
- package/dist/themes/violet-lime.js +117 -0
- package/dist/themes/violet-rose-dusk.d.ts +3 -0
- package/dist/themes/violet-rose-dusk.js +117 -0
- package/dist/themes/zinc.d.ts +3 -0
- package/dist/themes/zinc.js +66 -0
- package/dist/types.d.ts +48 -0
- package/dist/types.js +1 -0
- package/dist/utils.d.ts +11 -0
- package/dist/utils.js +28 -0
- package/package.json +23 -0
|
@@ -0,0 +1,133 @@
|
|
|
1
|
+
import { colors } from "../colors.js";
|
|
2
|
+
// Custom color palette — hover/active states must be explicit (no auto-derivation)
|
|
3
|
+
const theme = {
|
|
4
|
+
light: {
|
|
5
|
+
colors: {
|
|
6
|
+
intent: {
|
|
7
|
+
primary: {
|
|
8
|
+
DEFAULT: "#13BF89",
|
|
9
|
+
foreground: "#2B2A28",
|
|
10
|
+
hover: "#42CCA1",
|
|
11
|
+
active: "#0F996E",
|
|
12
|
+
},
|
|
13
|
+
accent: {
|
|
14
|
+
DEFAULT: "#F89B20",
|
|
15
|
+
foreground: "#2B2A28",
|
|
16
|
+
hover: "#C87F16",
|
|
17
|
+
active: "#A56A12",
|
|
18
|
+
},
|
|
19
|
+
destructive: {
|
|
20
|
+
DEFAULT: "#E60523",
|
|
21
|
+
foreground: "#fff",
|
|
22
|
+
hover: "#B8041C",
|
|
23
|
+
active: "#930316",
|
|
24
|
+
},
|
|
25
|
+
warning: {
|
|
26
|
+
DEFAULT: "#F37903",
|
|
27
|
+
foreground: "#2B2A28",
|
|
28
|
+
hover: "#FBB249",
|
|
29
|
+
active: "#9E581B",
|
|
30
|
+
},
|
|
31
|
+
success: {
|
|
32
|
+
DEFAULT: "#0DB064",
|
|
33
|
+
foreground: "#fff",
|
|
34
|
+
hover: "#00853E",
|
|
35
|
+
active: "#006A32",
|
|
36
|
+
},
|
|
37
|
+
},
|
|
38
|
+
role: {
|
|
39
|
+
paired: {
|
|
40
|
+
background: {
|
|
41
|
+
DEFAULT: "#fff",
|
|
42
|
+
foreground: "#2B2A28",
|
|
43
|
+
},
|
|
44
|
+
muted: {
|
|
45
|
+
DEFAULT: "#E9E8E7",
|
|
46
|
+
foreground: "#726F6B",
|
|
47
|
+
},
|
|
48
|
+
surface: {
|
|
49
|
+
DEFAULT: "#DDDCDB",
|
|
50
|
+
foreground: "#2B2A28",
|
|
51
|
+
hover: "#B1AEAA",
|
|
52
|
+
active: "#726F6B",
|
|
53
|
+
},
|
|
54
|
+
"surface-1": {
|
|
55
|
+
DEFAULT: "#B1AEAA",
|
|
56
|
+
foreground: "#2B2A28",
|
|
57
|
+
hover: "#726F6B",
|
|
58
|
+
active: "#5A5855",
|
|
59
|
+
},
|
|
60
|
+
},
|
|
61
|
+
single: {
|
|
62
|
+
foreground: "#2B2A28",
|
|
63
|
+
border: {
|
|
64
|
+
DEFAULT: "#B1AEAA",
|
|
65
|
+
},
|
|
66
|
+
input: {
|
|
67
|
+
DEFAULT: "#fff",
|
|
68
|
+
hover: "#F4F3F3",
|
|
69
|
+
},
|
|
70
|
+
ring: "color-mix(in srgb, #13BF89 20%, transparent)",
|
|
71
|
+
},
|
|
72
|
+
},
|
|
73
|
+
},
|
|
74
|
+
},
|
|
75
|
+
dark: {
|
|
76
|
+
colors: {
|
|
77
|
+
intent: {
|
|
78
|
+
primary: {
|
|
79
|
+
DEFAULT: colors.zinc[200], // zinc-200 (neutral)
|
|
80
|
+
foreground: colors.black,
|
|
81
|
+
},
|
|
82
|
+
accent: {
|
|
83
|
+
DEFAULT: colors.amber[400], // amber-400
|
|
84
|
+
foreground: colors.black,
|
|
85
|
+
},
|
|
86
|
+
destructive: {
|
|
87
|
+
DEFAULT: colors.rose[500], // rose-500
|
|
88
|
+
foreground: colors.white,
|
|
89
|
+
},
|
|
90
|
+
warning: {
|
|
91
|
+
DEFAULT: colors.amber[400], // amber-400
|
|
92
|
+
foreground: colors.black,
|
|
93
|
+
},
|
|
94
|
+
success: {
|
|
95
|
+
DEFAULT: colors.teal[500], // teal-500
|
|
96
|
+
foreground: colors.white,
|
|
97
|
+
},
|
|
98
|
+
},
|
|
99
|
+
role: {
|
|
100
|
+
paired: {
|
|
101
|
+
background: {
|
|
102
|
+
DEFAULT: colors.zinc[900], // zinc-900 (neutral)
|
|
103
|
+
foreground: colors.neutral[50], // zinc-50
|
|
104
|
+
},
|
|
105
|
+
muted: {
|
|
106
|
+
DEFAULT: colors.zinc[800], // zinc-800
|
|
107
|
+
foreground: colors.zinc[400], // zinc-400
|
|
108
|
+
},
|
|
109
|
+
surface: {
|
|
110
|
+
DEFAULT: colors.zinc[700], // zinc-700
|
|
111
|
+
foreground: colors.zinc[300], // zinc-300
|
|
112
|
+
},
|
|
113
|
+
"surface-1": {
|
|
114
|
+
DEFAULT: colors.zinc[600], // zinc-600
|
|
115
|
+
foreground: colors.zinc[200], // zinc-200
|
|
116
|
+
},
|
|
117
|
+
},
|
|
118
|
+
single: {
|
|
119
|
+
foreground: colors.neutral[50], // zinc-50
|
|
120
|
+
border: {
|
|
121
|
+
DEFAULT: colors.zinc[700], // zinc-700
|
|
122
|
+
},
|
|
123
|
+
input: {
|
|
124
|
+
DEFAULT: colors.zinc[900], // zinc-900
|
|
125
|
+
hover: colors.zinc[800], // zinc-800
|
|
126
|
+
},
|
|
127
|
+
ring: `color-mix(in srgb, ${colors.zinc[400]} 25%, transparent)`, // zinc-400
|
|
128
|
+
},
|
|
129
|
+
},
|
|
130
|
+
},
|
|
131
|
+
},
|
|
132
|
+
};
|
|
133
|
+
export default theme;
|
|
@@ -0,0 +1,117 @@
|
|
|
1
|
+
import { colors } from "../colors.js";
|
|
2
|
+
const light = {
|
|
3
|
+
colors: {
|
|
4
|
+
intent: {
|
|
5
|
+
primary: {
|
|
6
|
+
DEFAULT: colors.emerald[700],
|
|
7
|
+
foreground: colors.white,
|
|
8
|
+
},
|
|
9
|
+
accent: {
|
|
10
|
+
DEFAULT: colors.amber[600],
|
|
11
|
+
foreground: colors.white,
|
|
12
|
+
},
|
|
13
|
+
destructive: {
|
|
14
|
+
DEFAULT: colors.red[600],
|
|
15
|
+
foreground: colors.white,
|
|
16
|
+
},
|
|
17
|
+
warning: {
|
|
18
|
+
DEFAULT: colors.amber[500],
|
|
19
|
+
foreground: colors.white,
|
|
20
|
+
},
|
|
21
|
+
success: {
|
|
22
|
+
DEFAULT: colors.emerald[600],
|
|
23
|
+
foreground: colors.white,
|
|
24
|
+
},
|
|
25
|
+
},
|
|
26
|
+
role: {
|
|
27
|
+
paired: {
|
|
28
|
+
background: {
|
|
29
|
+
DEFAULT: colors.amber[50],
|
|
30
|
+
foreground: colors.stone[900],
|
|
31
|
+
},
|
|
32
|
+
muted: {
|
|
33
|
+
DEFAULT: colors.amber[100],
|
|
34
|
+
foreground: colors.amber[500],
|
|
35
|
+
},
|
|
36
|
+
surface: {
|
|
37
|
+
DEFAULT: colors.amber[200],
|
|
38
|
+
foreground: colors.amber[900],
|
|
39
|
+
},
|
|
40
|
+
"surface-1": {
|
|
41
|
+
DEFAULT: colors.amber[300],
|
|
42
|
+
foreground: colors.amber[900],
|
|
43
|
+
},
|
|
44
|
+
},
|
|
45
|
+
single: {
|
|
46
|
+
foreground: colors.stone[900],
|
|
47
|
+
border: {
|
|
48
|
+
DEFAULT: colors.stone[300],
|
|
49
|
+
},
|
|
50
|
+
input: {
|
|
51
|
+
DEFAULT: colors.amber[50],
|
|
52
|
+
hover: colors.stone[100],
|
|
53
|
+
},
|
|
54
|
+
ring: `color-mix(in srgb, ${colors.emerald[700]} 20%, transparent)`,
|
|
55
|
+
},
|
|
56
|
+
},
|
|
57
|
+
},
|
|
58
|
+
};
|
|
59
|
+
const dark = {
|
|
60
|
+
colors: {
|
|
61
|
+
intent: {
|
|
62
|
+
primary: {
|
|
63
|
+
DEFAULT: colors.emerald[500],
|
|
64
|
+
foreground: colors.white,
|
|
65
|
+
},
|
|
66
|
+
accent: {
|
|
67
|
+
DEFAULT: colors.amber[500],
|
|
68
|
+
foreground: colors.black,
|
|
69
|
+
},
|
|
70
|
+
destructive: {
|
|
71
|
+
DEFAULT: colors.red[500],
|
|
72
|
+
foreground: colors.white,
|
|
73
|
+
},
|
|
74
|
+
warning: {
|
|
75
|
+
DEFAULT: colors.amber[400],
|
|
76
|
+
foreground: colors.black,
|
|
77
|
+
},
|
|
78
|
+
success: {
|
|
79
|
+
DEFAULT: colors.emerald[500],
|
|
80
|
+
foreground: colors.white,
|
|
81
|
+
},
|
|
82
|
+
},
|
|
83
|
+
role: {
|
|
84
|
+
paired: {
|
|
85
|
+
background: {
|
|
86
|
+
DEFAULT: colors.stone[900],
|
|
87
|
+
foreground: colors.stone[50],
|
|
88
|
+
},
|
|
89
|
+
muted: {
|
|
90
|
+
DEFAULT: colors.stone[800],
|
|
91
|
+
foreground: colors.stone[400],
|
|
92
|
+
},
|
|
93
|
+
surface: {
|
|
94
|
+
DEFAULT: colors.stone[700],
|
|
95
|
+
foreground: colors.stone[300],
|
|
96
|
+
},
|
|
97
|
+
"surface-1": {
|
|
98
|
+
DEFAULT: colors.stone[600],
|
|
99
|
+
foreground: colors.stone[200],
|
|
100
|
+
},
|
|
101
|
+
},
|
|
102
|
+
single: {
|
|
103
|
+
foreground: colors.stone[50],
|
|
104
|
+
border: {
|
|
105
|
+
DEFAULT: colors.stone[600],
|
|
106
|
+
},
|
|
107
|
+
input: {
|
|
108
|
+
DEFAULT: colors.stone[900],
|
|
109
|
+
hover: colors.stone[800],
|
|
110
|
+
},
|
|
111
|
+
ring: `color-mix(in srgb, ${colors.emerald[500]} 25%, transparent)`,
|
|
112
|
+
},
|
|
113
|
+
},
|
|
114
|
+
},
|
|
115
|
+
};
|
|
116
|
+
const theme = { light, dark };
|
|
117
|
+
export default theme;
|
|
@@ -0,0 +1,117 @@
|
|
|
1
|
+
import { colors } from "../colors.js";
|
|
2
|
+
const light = {
|
|
3
|
+
colors: {
|
|
4
|
+
intent: {
|
|
5
|
+
primary: {
|
|
6
|
+
DEFAULT: colors.emerald[600],
|
|
7
|
+
foreground: colors.white,
|
|
8
|
+
},
|
|
9
|
+
accent: {
|
|
10
|
+
DEFAULT: colors.pink[500],
|
|
11
|
+
foreground: colors.white,
|
|
12
|
+
},
|
|
13
|
+
destructive: {
|
|
14
|
+
DEFAULT: colors.pink[600],
|
|
15
|
+
foreground: colors.white,
|
|
16
|
+
},
|
|
17
|
+
warning: {
|
|
18
|
+
DEFAULT: colors.amber[500],
|
|
19
|
+
foreground: colors.white,
|
|
20
|
+
},
|
|
21
|
+
success: {
|
|
22
|
+
DEFAULT: colors.emerald[600],
|
|
23
|
+
foreground: colors.white,
|
|
24
|
+
},
|
|
25
|
+
},
|
|
26
|
+
role: {
|
|
27
|
+
paired: {
|
|
28
|
+
background: {
|
|
29
|
+
DEFAULT: colors.white,
|
|
30
|
+
foreground: colors.stone[900],
|
|
31
|
+
},
|
|
32
|
+
muted: {
|
|
33
|
+
DEFAULT: colors.stone[100],
|
|
34
|
+
foreground: colors.stone[500],
|
|
35
|
+
},
|
|
36
|
+
surface: {
|
|
37
|
+
DEFAULT: colors.stone[200],
|
|
38
|
+
foreground: colors.stone[900],
|
|
39
|
+
},
|
|
40
|
+
"surface-1": {
|
|
41
|
+
DEFAULT: colors.stone[300],
|
|
42
|
+
foreground: colors.stone[900],
|
|
43
|
+
},
|
|
44
|
+
},
|
|
45
|
+
single: {
|
|
46
|
+
foreground: colors.stone[900],
|
|
47
|
+
border: {
|
|
48
|
+
DEFAULT: colors.stone[300],
|
|
49
|
+
},
|
|
50
|
+
input: {
|
|
51
|
+
DEFAULT: colors.white,
|
|
52
|
+
hover: colors.stone[50],
|
|
53
|
+
},
|
|
54
|
+
ring: `color-mix(in srgb, ${colors.emerald[600]} 20%, transparent)`,
|
|
55
|
+
},
|
|
56
|
+
},
|
|
57
|
+
},
|
|
58
|
+
};
|
|
59
|
+
const dark = {
|
|
60
|
+
colors: {
|
|
61
|
+
intent: {
|
|
62
|
+
primary: {
|
|
63
|
+
DEFAULT: colors.emerald[500],
|
|
64
|
+
foreground: colors.white,
|
|
65
|
+
},
|
|
66
|
+
accent: {
|
|
67
|
+
DEFAULT: colors.pink[400],
|
|
68
|
+
foreground: colors.white,
|
|
69
|
+
},
|
|
70
|
+
destructive: {
|
|
71
|
+
DEFAULT: colors.pink[500],
|
|
72
|
+
foreground: colors.white,
|
|
73
|
+
},
|
|
74
|
+
warning: {
|
|
75
|
+
DEFAULT: colors.amber[400],
|
|
76
|
+
foreground: colors.black,
|
|
77
|
+
},
|
|
78
|
+
success: {
|
|
79
|
+
DEFAULT: colors.emerald[500],
|
|
80
|
+
foreground: colors.white,
|
|
81
|
+
},
|
|
82
|
+
},
|
|
83
|
+
role: {
|
|
84
|
+
paired: {
|
|
85
|
+
background: {
|
|
86
|
+
DEFAULT: colors.stone[900],
|
|
87
|
+
foreground: colors.stone[50],
|
|
88
|
+
},
|
|
89
|
+
muted: {
|
|
90
|
+
DEFAULT: colors.stone[800],
|
|
91
|
+
foreground: colors.stone[400],
|
|
92
|
+
},
|
|
93
|
+
surface: {
|
|
94
|
+
DEFAULT: colors.stone[700],
|
|
95
|
+
foreground: colors.stone[300],
|
|
96
|
+
},
|
|
97
|
+
"surface-1": {
|
|
98
|
+
DEFAULT: colors.stone[600],
|
|
99
|
+
foreground: colors.stone[200],
|
|
100
|
+
},
|
|
101
|
+
},
|
|
102
|
+
single: {
|
|
103
|
+
foreground: colors.stone[50],
|
|
104
|
+
border: {
|
|
105
|
+
DEFAULT: colors.stone[700],
|
|
106
|
+
},
|
|
107
|
+
input: {
|
|
108
|
+
DEFAULT: colors.stone[900],
|
|
109
|
+
hover: colors.stone[800],
|
|
110
|
+
},
|
|
111
|
+
ring: `color-mix(in srgb, ${colors.emerald[400]} 25%, transparent)`,
|
|
112
|
+
},
|
|
113
|
+
},
|
|
114
|
+
},
|
|
115
|
+
};
|
|
116
|
+
const theme = { light, dark };
|
|
117
|
+
export default theme;
|
|
@@ -0,0 +1,117 @@
|
|
|
1
|
+
import { colors } from "../colors.js";
|
|
2
|
+
const light = {
|
|
3
|
+
colors: {
|
|
4
|
+
intent: {
|
|
5
|
+
primary: {
|
|
6
|
+
DEFAULT: colors.fuchsia[600],
|
|
7
|
+
foreground: colors.white,
|
|
8
|
+
},
|
|
9
|
+
accent: {
|
|
10
|
+
DEFAULT: colors.emerald[500],
|
|
11
|
+
foreground: colors.white,
|
|
12
|
+
},
|
|
13
|
+
destructive: {
|
|
14
|
+
DEFAULT: colors.fuchsia[600],
|
|
15
|
+
foreground: colors.white,
|
|
16
|
+
},
|
|
17
|
+
warning: {
|
|
18
|
+
DEFAULT: colors.amber[500],
|
|
19
|
+
foreground: colors.white,
|
|
20
|
+
},
|
|
21
|
+
success: {
|
|
22
|
+
DEFAULT: colors.emerald[600],
|
|
23
|
+
foreground: colors.white,
|
|
24
|
+
},
|
|
25
|
+
},
|
|
26
|
+
role: {
|
|
27
|
+
paired: {
|
|
28
|
+
background: {
|
|
29
|
+
DEFAULT: colors.white,
|
|
30
|
+
foreground: colors.neutral[900],
|
|
31
|
+
},
|
|
32
|
+
muted: {
|
|
33
|
+
DEFAULT: colors.neutral[100],
|
|
34
|
+
foreground: colors.neutral[500],
|
|
35
|
+
},
|
|
36
|
+
surface: {
|
|
37
|
+
DEFAULT: colors.neutral[200],
|
|
38
|
+
foreground: colors.neutral[900],
|
|
39
|
+
},
|
|
40
|
+
"surface-1": {
|
|
41
|
+
DEFAULT: colors.neutral[300],
|
|
42
|
+
foreground: colors.neutral[900],
|
|
43
|
+
},
|
|
44
|
+
},
|
|
45
|
+
single: {
|
|
46
|
+
foreground: colors.neutral[900],
|
|
47
|
+
border: {
|
|
48
|
+
DEFAULT: colors.neutral[300],
|
|
49
|
+
},
|
|
50
|
+
input: {
|
|
51
|
+
DEFAULT: colors.white,
|
|
52
|
+
hover: colors.neutral[50],
|
|
53
|
+
},
|
|
54
|
+
ring: `color-mix(in srgb, ${colors.fuchsia[600]} 20%, transparent)`,
|
|
55
|
+
},
|
|
56
|
+
},
|
|
57
|
+
},
|
|
58
|
+
};
|
|
59
|
+
const dark = {
|
|
60
|
+
colors: {
|
|
61
|
+
intent: {
|
|
62
|
+
primary: {
|
|
63
|
+
DEFAULT: colors.fuchsia[500],
|
|
64
|
+
foreground: colors.white,
|
|
65
|
+
},
|
|
66
|
+
accent: {
|
|
67
|
+
DEFAULT: colors.emerald[400],
|
|
68
|
+
foreground: colors.white,
|
|
69
|
+
},
|
|
70
|
+
destructive: {
|
|
71
|
+
DEFAULT: colors.fuchsia[500],
|
|
72
|
+
foreground: colors.white,
|
|
73
|
+
},
|
|
74
|
+
warning: {
|
|
75
|
+
DEFAULT: colors.amber[400],
|
|
76
|
+
foreground: colors.black,
|
|
77
|
+
},
|
|
78
|
+
success: {
|
|
79
|
+
DEFAULT: colors.emerald[500],
|
|
80
|
+
foreground: colors.white,
|
|
81
|
+
},
|
|
82
|
+
},
|
|
83
|
+
role: {
|
|
84
|
+
paired: {
|
|
85
|
+
background: {
|
|
86
|
+
DEFAULT: colors.neutral[900],
|
|
87
|
+
foreground: colors.neutral[50],
|
|
88
|
+
},
|
|
89
|
+
muted: {
|
|
90
|
+
DEFAULT: colors.neutral[800],
|
|
91
|
+
foreground: colors.neutral[400],
|
|
92
|
+
},
|
|
93
|
+
surface: {
|
|
94
|
+
DEFAULT: colors.neutral[700],
|
|
95
|
+
foreground: colors.neutral[300],
|
|
96
|
+
},
|
|
97
|
+
"surface-1": {
|
|
98
|
+
DEFAULT: colors.neutral[600],
|
|
99
|
+
foreground: colors.neutral[200],
|
|
100
|
+
},
|
|
101
|
+
},
|
|
102
|
+
single: {
|
|
103
|
+
foreground: colors.neutral[50],
|
|
104
|
+
border: {
|
|
105
|
+
DEFAULT: colors.neutral[700],
|
|
106
|
+
},
|
|
107
|
+
input: {
|
|
108
|
+
DEFAULT: colors.neutral[900],
|
|
109
|
+
hover: colors.neutral[800],
|
|
110
|
+
},
|
|
111
|
+
ring: `color-mix(in srgb, ${colors.fuchsia[400]} 25%, transparent)`,
|
|
112
|
+
},
|
|
113
|
+
},
|
|
114
|
+
},
|
|
115
|
+
};
|
|
116
|
+
const theme = { light, dark };
|
|
117
|
+
export default theme;
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
import { colors } from "../colors.js";
|
|
2
|
+
const theme = {
|
|
3
|
+
light: {
|
|
4
|
+
colors: {
|
|
5
|
+
intent: {
|
|
6
|
+
primary: { DEFAULT: colors.gray[800], foreground: colors.white }, // gray-800, white
|
|
7
|
+
accent: { DEFAULT: colors.gray[500], foreground: colors.white }, // gray-500, white
|
|
8
|
+
destructive: { DEFAULT: colors.gray[500], foreground: colors.white }, // gray-500, white
|
|
9
|
+
warning: { DEFAULT: colors.gray[400], foreground: colors.black }, // gray-400, black
|
|
10
|
+
success: { DEFAULT: colors.gray[500], foreground: colors.white }, // gray-500, white
|
|
11
|
+
},
|
|
12
|
+
role: {
|
|
13
|
+
paired: {
|
|
14
|
+
background: {
|
|
15
|
+
DEFAULT: colors.gray[50],
|
|
16
|
+
foreground: colors.gray[900],
|
|
17
|
+
}, // gray-50, gray-900
|
|
18
|
+
muted: { DEFAULT: colors.gray[100], foreground: colors.gray[500] }, // gray-100, gray-500
|
|
19
|
+
surface: { DEFAULT: colors.gray[200], foreground: colors.gray[900] }, // gray-200, gray-900
|
|
20
|
+
"surface-1": {
|
|
21
|
+
DEFAULT: colors.gray[300],
|
|
22
|
+
foreground: colors.gray[900],
|
|
23
|
+
}, // gray-300, gray-900
|
|
24
|
+
},
|
|
25
|
+
single: {
|
|
26
|
+
foreground: colors.gray[900], // gray-900
|
|
27
|
+
border: { DEFAULT: colors.gray[300] }, // gray-300
|
|
28
|
+
input: { DEFAULT: colors.gray[50], hover: colors.gray[100] }, // gray-50, gray-100
|
|
29
|
+
ring: `color-mix(in srgb, ${colors.gray[800]} 20%, transparent)`, // gray-800
|
|
30
|
+
},
|
|
31
|
+
},
|
|
32
|
+
},
|
|
33
|
+
},
|
|
34
|
+
dark: {
|
|
35
|
+
colors: {
|
|
36
|
+
intent: {
|
|
37
|
+
primary: { DEFAULT: colors.gray[200], foreground: colors.black }, // gray-200, black
|
|
38
|
+
accent: { DEFAULT: colors.gray[500], foreground: colors.white }, // gray-500, white
|
|
39
|
+
destructive: { DEFAULT: colors.gray[500], foreground: colors.white }, // gray-500, white
|
|
40
|
+
warning: { DEFAULT: colors.gray[400], foreground: colors.black }, // gray-400, black
|
|
41
|
+
success: { DEFAULT: colors.gray[500], foreground: colors.white }, // gray-500, white
|
|
42
|
+
},
|
|
43
|
+
role: {
|
|
44
|
+
paired: {
|
|
45
|
+
background: {
|
|
46
|
+
DEFAULT: colors.gray[900],
|
|
47
|
+
foreground: colors.gray[50],
|
|
48
|
+
}, // gray-900, gray-50
|
|
49
|
+
muted: { DEFAULT: colors.gray[800], foreground: colors.gray[400] }, // gray-800, gray-400
|
|
50
|
+
surface: { DEFAULT: colors.gray[700], foreground: colors.gray[300] }, // gray-700, gray-300
|
|
51
|
+
"surface-1": {
|
|
52
|
+
DEFAULT: colors.gray[600],
|
|
53
|
+
foreground: colors.gray[200],
|
|
54
|
+
}, // gray-600, gray-200
|
|
55
|
+
},
|
|
56
|
+
single: {
|
|
57
|
+
foreground: colors.gray[50], // gray-50
|
|
58
|
+
border: { DEFAULT: colors.gray[700] }, // gray-700
|
|
59
|
+
input: { DEFAULT: colors.gray[900], hover: colors.gray[800] }, // gray-900, gray-800
|
|
60
|
+
ring: `color-mix(in srgb, ${colors.gray[200]} 25%, transparent)`, // gray-200
|
|
61
|
+
},
|
|
62
|
+
},
|
|
63
|
+
},
|
|
64
|
+
},
|
|
65
|
+
};
|
|
66
|
+
export default theme;
|
|
@@ -0,0 +1,117 @@
|
|
|
1
|
+
import { colors } from "../colors.js";
|
|
2
|
+
const light = {
|
|
3
|
+
colors: {
|
|
4
|
+
intent: {
|
|
5
|
+
primary: {
|
|
6
|
+
DEFAULT: colors.indigo[600],
|
|
7
|
+
foreground: colors.white,
|
|
8
|
+
},
|
|
9
|
+
accent: {
|
|
10
|
+
DEFAULT: colors.amber[500],
|
|
11
|
+
foreground: colors.white,
|
|
12
|
+
},
|
|
13
|
+
destructive: {
|
|
14
|
+
DEFAULT: colors.rose[600],
|
|
15
|
+
foreground: colors.white,
|
|
16
|
+
},
|
|
17
|
+
warning: {
|
|
18
|
+
DEFAULT: colors.amber[500],
|
|
19
|
+
foreground: colors.white,
|
|
20
|
+
},
|
|
21
|
+
success: {
|
|
22
|
+
DEFAULT: colors.teal[600],
|
|
23
|
+
foreground: colors.white,
|
|
24
|
+
},
|
|
25
|
+
},
|
|
26
|
+
role: {
|
|
27
|
+
paired: {
|
|
28
|
+
background: {
|
|
29
|
+
DEFAULT: colors.white,
|
|
30
|
+
foreground: colors.neutral[900],
|
|
31
|
+
},
|
|
32
|
+
muted: {
|
|
33
|
+
DEFAULT: colors.neutral[100],
|
|
34
|
+
foreground: colors.neutral[500],
|
|
35
|
+
},
|
|
36
|
+
surface: {
|
|
37
|
+
DEFAULT: colors.neutral[200],
|
|
38
|
+
foreground: colors.neutral[900],
|
|
39
|
+
},
|
|
40
|
+
"surface-1": {
|
|
41
|
+
DEFAULT: colors.neutral[300],
|
|
42
|
+
foreground: colors.neutral[900],
|
|
43
|
+
},
|
|
44
|
+
},
|
|
45
|
+
single: {
|
|
46
|
+
foreground: colors.neutral[900],
|
|
47
|
+
border: {
|
|
48
|
+
DEFAULT: colors.neutral[300],
|
|
49
|
+
},
|
|
50
|
+
input: {
|
|
51
|
+
DEFAULT: colors.white,
|
|
52
|
+
hover: colors.neutral[50],
|
|
53
|
+
},
|
|
54
|
+
ring: `color-mix(in srgb, ${colors.indigo[600]} 20%, transparent)`,
|
|
55
|
+
},
|
|
56
|
+
},
|
|
57
|
+
},
|
|
58
|
+
};
|
|
59
|
+
const dark = {
|
|
60
|
+
colors: {
|
|
61
|
+
intent: {
|
|
62
|
+
primary: {
|
|
63
|
+
DEFAULT: colors.indigo[500],
|
|
64
|
+
foreground: colors.white,
|
|
65
|
+
},
|
|
66
|
+
accent: {
|
|
67
|
+
DEFAULT: colors.amber[400],
|
|
68
|
+
foreground: colors.black,
|
|
69
|
+
},
|
|
70
|
+
destructive: {
|
|
71
|
+
DEFAULT: colors.rose[500],
|
|
72
|
+
foreground: colors.white,
|
|
73
|
+
},
|
|
74
|
+
warning: {
|
|
75
|
+
DEFAULT: colors.amber[400],
|
|
76
|
+
foreground: colors.black,
|
|
77
|
+
},
|
|
78
|
+
success: {
|
|
79
|
+
DEFAULT: colors.teal[500],
|
|
80
|
+
foreground: colors.white,
|
|
81
|
+
},
|
|
82
|
+
},
|
|
83
|
+
role: {
|
|
84
|
+
paired: {
|
|
85
|
+
background: {
|
|
86
|
+
DEFAULT: colors.neutral[900],
|
|
87
|
+
foreground: colors.neutral[50],
|
|
88
|
+
},
|
|
89
|
+
muted: {
|
|
90
|
+
DEFAULT: colors.neutral[800],
|
|
91
|
+
foreground: colors.neutral[400],
|
|
92
|
+
},
|
|
93
|
+
surface: {
|
|
94
|
+
DEFAULT: colors.neutral[700],
|
|
95
|
+
foreground: colors.neutral[300],
|
|
96
|
+
},
|
|
97
|
+
"surface-1": {
|
|
98
|
+
DEFAULT: colors.neutral[600],
|
|
99
|
+
foreground: colors.neutral[200],
|
|
100
|
+
},
|
|
101
|
+
},
|
|
102
|
+
single: {
|
|
103
|
+
foreground: colors.neutral[50],
|
|
104
|
+
border: {
|
|
105
|
+
DEFAULT: colors.neutral[700],
|
|
106
|
+
},
|
|
107
|
+
input: {
|
|
108
|
+
DEFAULT: colors.neutral[900],
|
|
109
|
+
hover: colors.neutral[800],
|
|
110
|
+
},
|
|
111
|
+
ring: `color-mix(in srgb, ${colors.indigo[400]} 25%, transparent)`,
|
|
112
|
+
},
|
|
113
|
+
},
|
|
114
|
+
},
|
|
115
|
+
};
|
|
116
|
+
const theme = { light, dark };
|
|
117
|
+
export default theme;
|