@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,117 @@
|
|
|
1
|
+
import { colors } from "../colors.js";
|
|
2
|
+
const light = {
|
|
3
|
+
colors: {
|
|
4
|
+
intent: {
|
|
5
|
+
primary: {
|
|
6
|
+
DEFAULT: colors.sky[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.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.sky[600]} 20%, transparent)`,
|
|
55
|
+
},
|
|
56
|
+
},
|
|
57
|
+
},
|
|
58
|
+
};
|
|
59
|
+
const dark = {
|
|
60
|
+
colors: {
|
|
61
|
+
intent: {
|
|
62
|
+
primary: {
|
|
63
|
+
DEFAULT: colors.sky[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.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.sky[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.slate[600],
|
|
7
|
+
foreground: colors.white,
|
|
8
|
+
},
|
|
9
|
+
accent: {
|
|
10
|
+
DEFAULT: colors.cyan[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.cyan[600]} 20%, transparent)`,
|
|
55
|
+
},
|
|
56
|
+
},
|
|
57
|
+
},
|
|
58
|
+
};
|
|
59
|
+
const dark = {
|
|
60
|
+
colors: {
|
|
61
|
+
intent: {
|
|
62
|
+
primary: {
|
|
63
|
+
DEFAULT: colors.slate[500],
|
|
64
|
+
foreground: colors.white,
|
|
65
|
+
},
|
|
66
|
+
accent: {
|
|
67
|
+
DEFAULT: colors.cyan[400],
|
|
68
|
+
foreground: colors.white,
|
|
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.cyan[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.slate[700],
|
|
7
|
+
foreground: colors.white,
|
|
8
|
+
},
|
|
9
|
+
accent: {
|
|
10
|
+
DEFAULT: colors.teal[500],
|
|
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.teal[600],
|
|
23
|
+
foreground: colors.white,
|
|
24
|
+
},
|
|
25
|
+
},
|
|
26
|
+
role: {
|
|
27
|
+
paired: {
|
|
28
|
+
background: {
|
|
29
|
+
DEFAULT: colors.slate[50],
|
|
30
|
+
foreground: colors.slate[900],
|
|
31
|
+
},
|
|
32
|
+
muted: {
|
|
33
|
+
DEFAULT: colors.slate[100],
|
|
34
|
+
foreground: colors.slate[500],
|
|
35
|
+
},
|
|
36
|
+
surface: {
|
|
37
|
+
DEFAULT: colors.slate[200],
|
|
38
|
+
foreground: colors.slate[900],
|
|
39
|
+
},
|
|
40
|
+
"surface-1": {
|
|
41
|
+
DEFAULT: colors.slate[300],
|
|
42
|
+
foreground: colors.slate[900],
|
|
43
|
+
},
|
|
44
|
+
},
|
|
45
|
+
single: {
|
|
46
|
+
foreground: colors.slate[900],
|
|
47
|
+
border: {
|
|
48
|
+
DEFAULT: colors.slate[300],
|
|
49
|
+
},
|
|
50
|
+
input: {
|
|
51
|
+
DEFAULT: colors.white,
|
|
52
|
+
hover: colors.slate[50],
|
|
53
|
+
},
|
|
54
|
+
ring: `color-mix(in srgb, ${colors.teal[500]} 20%, transparent)`,
|
|
55
|
+
},
|
|
56
|
+
},
|
|
57
|
+
},
|
|
58
|
+
};
|
|
59
|
+
const dark = {
|
|
60
|
+
colors: {
|
|
61
|
+
intent: {
|
|
62
|
+
primary: {
|
|
63
|
+
DEFAULT: colors.slate[400],
|
|
64
|
+
foreground: colors.slate[950],
|
|
65
|
+
},
|
|
66
|
+
accent: {
|
|
67
|
+
DEFAULT: colors.teal[400],
|
|
68
|
+
foreground: colors.white,
|
|
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.teal[500],
|
|
80
|
+
foreground: colors.white,
|
|
81
|
+
},
|
|
82
|
+
},
|
|
83
|
+
role: {
|
|
84
|
+
paired: {
|
|
85
|
+
background: {
|
|
86
|
+
DEFAULT: colors.slate[950],
|
|
87
|
+
foreground: colors.slate[50],
|
|
88
|
+
},
|
|
89
|
+
muted: {
|
|
90
|
+
DEFAULT: colors.slate[900],
|
|
91
|
+
foreground: colors.slate[500],
|
|
92
|
+
},
|
|
93
|
+
surface: {
|
|
94
|
+
DEFAULT: colors.slate[800],
|
|
95
|
+
foreground: colors.slate[400],
|
|
96
|
+
},
|
|
97
|
+
"surface-1": {
|
|
98
|
+
DEFAULT: colors.slate[700],
|
|
99
|
+
foreground: colors.slate[300],
|
|
100
|
+
},
|
|
101
|
+
},
|
|
102
|
+
single: {
|
|
103
|
+
foreground: colors.slate[50],
|
|
104
|
+
border: {
|
|
105
|
+
DEFAULT: colors.slate[700],
|
|
106
|
+
},
|
|
107
|
+
input: {
|
|
108
|
+
DEFAULT: colors.slate[950],
|
|
109
|
+
hover: colors.slate[900],
|
|
110
|
+
},
|
|
111
|
+
ring: `color-mix(in srgb, ${colors.teal[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.stone[700],
|
|
7
|
+
foreground: colors.white,
|
|
8
|
+
},
|
|
9
|
+
accent: {
|
|
10
|
+
DEFAULT: colors.orange[600],
|
|
11
|
+
foreground: colors.white,
|
|
12
|
+
},
|
|
13
|
+
destructive: {
|
|
14
|
+
DEFAULT: colors.red[600],
|
|
15
|
+
foreground: colors.white,
|
|
16
|
+
},
|
|
17
|
+
warning: {
|
|
18
|
+
DEFAULT: colors.orange[500],
|
|
19
|
+
foreground: colors.white,
|
|
20
|
+
},
|
|
21
|
+
success: {
|
|
22
|
+
DEFAULT: colors.green[600],
|
|
23
|
+
foreground: colors.white,
|
|
24
|
+
},
|
|
25
|
+
},
|
|
26
|
+
role: {
|
|
27
|
+
paired: {
|
|
28
|
+
background: {
|
|
29
|
+
DEFAULT: colors.stone[100],
|
|
30
|
+
foreground: colors.stone[900],
|
|
31
|
+
},
|
|
32
|
+
muted: {
|
|
33
|
+
DEFAULT: colors.stone[200],
|
|
34
|
+
foreground: colors.stone[500],
|
|
35
|
+
},
|
|
36
|
+
surface: {
|
|
37
|
+
DEFAULT: colors.stone[300],
|
|
38
|
+
foreground: colors.stone[900],
|
|
39
|
+
},
|
|
40
|
+
"surface-1": {
|
|
41
|
+
DEFAULT: colors.stone[400],
|
|
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.stone[50],
|
|
52
|
+
hover: colors.stone[100],
|
|
53
|
+
},
|
|
54
|
+
ring: `color-mix(in srgb, ${colors.stone[700]} 20%, transparent)`,
|
|
55
|
+
},
|
|
56
|
+
},
|
|
57
|
+
},
|
|
58
|
+
};
|
|
59
|
+
const dark = {
|
|
60
|
+
colors: {
|
|
61
|
+
intent: {
|
|
62
|
+
primary: {
|
|
63
|
+
DEFAULT: colors.stone[400],
|
|
64
|
+
foreground: colors.stone[950],
|
|
65
|
+
},
|
|
66
|
+
accent: {
|
|
67
|
+
DEFAULT: colors.orange[500],
|
|
68
|
+
foreground: colors.black,
|
|
69
|
+
},
|
|
70
|
+
destructive: {
|
|
71
|
+
DEFAULT: colors.red[500],
|
|
72
|
+
foreground: colors.white,
|
|
73
|
+
},
|
|
74
|
+
warning: {
|
|
75
|
+
DEFAULT: colors.orange[400],
|
|
76
|
+
foreground: colors.black,
|
|
77
|
+
},
|
|
78
|
+
success: {
|
|
79
|
+
DEFAULT: colors.green[500],
|
|
80
|
+
foreground: colors.white,
|
|
81
|
+
},
|
|
82
|
+
},
|
|
83
|
+
role: {
|
|
84
|
+
paired: {
|
|
85
|
+
background: {
|
|
86
|
+
DEFAULT: colors.stone[950],
|
|
87
|
+
foreground: colors.stone[100],
|
|
88
|
+
},
|
|
89
|
+
muted: {
|
|
90
|
+
DEFAULT: colors.stone[900],
|
|
91
|
+
foreground: colors.stone[500],
|
|
92
|
+
},
|
|
93
|
+
surface: {
|
|
94
|
+
DEFAULT: colors.stone[800],
|
|
95
|
+
foreground: colors.stone[400],
|
|
96
|
+
},
|
|
97
|
+
"surface-1": {
|
|
98
|
+
DEFAULT: colors.stone[700],
|
|
99
|
+
foreground: colors.stone[300],
|
|
100
|
+
},
|
|
101
|
+
},
|
|
102
|
+
single: {
|
|
103
|
+
foreground: colors.stone[100],
|
|
104
|
+
border: {
|
|
105
|
+
DEFAULT: colors.stone[700],
|
|
106
|
+
},
|
|
107
|
+
input: {
|
|
108
|
+
DEFAULT: colors.stone[950],
|
|
109
|
+
hover: colors.stone[900],
|
|
110
|
+
},
|
|
111
|
+
ring: `color-mix(in srgb, ${colors.stone[400]} 25%, transparent)`,
|
|
112
|
+
},
|
|
113
|
+
},
|
|
114
|
+
},
|
|
115
|
+
};
|
|
116
|
+
const theme = { light, dark };
|
|
117
|
+
export default theme;
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
import { colors } from "../colors.js";
|
|
2
|
+
const theme = {
|
|
3
|
+
light: {
|
|
4
|
+
colors: {
|
|
5
|
+
intent: {
|
|
6
|
+
primary: { DEFAULT: colors.stone[800], foreground: colors.white }, // stone-800, white
|
|
7
|
+
accent: { DEFAULT: colors.stone[500], foreground: colors.white }, // stone-500, white
|
|
8
|
+
destructive: { DEFAULT: colors.stone[500], foreground: colors.white }, // stone-500, white
|
|
9
|
+
warning: { DEFAULT: colors.stone[400], foreground: colors.black }, // stone-400, black
|
|
10
|
+
success: { DEFAULT: colors.stone[500], foreground: colors.white }, // stone-500, white
|
|
11
|
+
},
|
|
12
|
+
role: {
|
|
13
|
+
paired: {
|
|
14
|
+
background: {
|
|
15
|
+
DEFAULT: colors.stone[50],
|
|
16
|
+
foreground: colors.stone[900],
|
|
17
|
+
}, // stone-50, stone-900
|
|
18
|
+
muted: { DEFAULT: colors.stone[100], foreground: colors.stone[500] }, // stone-100, stone-500
|
|
19
|
+
surface: {
|
|
20
|
+
DEFAULT: colors.stone[200],
|
|
21
|
+
foreground: colors.stone[900],
|
|
22
|
+
}, // stone-200, stone-900
|
|
23
|
+
"surface-1": {
|
|
24
|
+
DEFAULT: colors.stone[300],
|
|
25
|
+
foreground: colors.stone[900],
|
|
26
|
+
}, // stone-300, stone-900
|
|
27
|
+
},
|
|
28
|
+
single: {
|
|
29
|
+
foreground: colors.stone[900], // stone-900
|
|
30
|
+
border: { DEFAULT: colors.stone[300] }, // stone-300
|
|
31
|
+
input: { DEFAULT: colors.stone[50], hover: colors.stone[100] }, // stone-50, stone-100
|
|
32
|
+
ring: `color-mix(in srgb, ${colors.stone[800]} 20%, transparent)`, // stone-800
|
|
33
|
+
},
|
|
34
|
+
},
|
|
35
|
+
},
|
|
36
|
+
},
|
|
37
|
+
dark: {
|
|
38
|
+
colors: {
|
|
39
|
+
intent: {
|
|
40
|
+
primary: { DEFAULT: colors.stone[200], foreground: colors.black }, // stone-200, black
|
|
41
|
+
accent: { DEFAULT: colors.stone[500], foreground: colors.white }, // stone-500, white
|
|
42
|
+
destructive: { DEFAULT: colors.stone[500], foreground: colors.white }, // stone-500, white
|
|
43
|
+
warning: { DEFAULT: colors.stone[400], foreground: colors.black }, // stone-400, black
|
|
44
|
+
success: { DEFAULT: colors.stone[500], foreground: colors.white }, // stone-500, white
|
|
45
|
+
},
|
|
46
|
+
role: {
|
|
47
|
+
paired: {
|
|
48
|
+
background: {
|
|
49
|
+
DEFAULT: colors.stone[900],
|
|
50
|
+
foreground: colors.stone[50],
|
|
51
|
+
}, // stone-900, stone-50
|
|
52
|
+
muted: { DEFAULT: colors.stone[800], foreground: colors.stone[400] }, // stone-800, stone-400
|
|
53
|
+
surface: {
|
|
54
|
+
DEFAULT: colors.stone[700],
|
|
55
|
+
foreground: colors.stone[300],
|
|
56
|
+
}, // stone-700, stone-300
|
|
57
|
+
"surface-1": {
|
|
58
|
+
DEFAULT: colors.stone[600],
|
|
59
|
+
foreground: colors.stone[200],
|
|
60
|
+
}, // stone-600, stone-200
|
|
61
|
+
},
|
|
62
|
+
single: {
|
|
63
|
+
foreground: colors.stone[50], // stone-50
|
|
64
|
+
border: { DEFAULT: colors.stone[700] }, // stone-700
|
|
65
|
+
input: { DEFAULT: colors.stone[900], hover: colors.stone[800] }, // stone-900, stone-800
|
|
66
|
+
ring: `color-mix(in srgb, ${colors.stone[200]} 25%, transparent)`, // stone-200
|
|
67
|
+
},
|
|
68
|
+
},
|
|
69
|
+
},
|
|
70
|
+
},
|
|
71
|
+
};
|
|
72
|
+
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.teal[600],
|
|
7
|
+
foreground: colors.white,
|
|
8
|
+
},
|
|
9
|
+
accent: {
|
|
10
|
+
DEFAULT: colors.rose[500],
|
|
11
|
+
foreground: colors.white,
|
|
12
|
+
},
|
|
13
|
+
destructive: {
|
|
14
|
+
DEFAULT: colors.rose[600],
|
|
15
|
+
foreground: colors.white,
|
|
16
|
+
},
|
|
17
|
+
warning: {
|
|
18
|
+
DEFAULT: colors.orange[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.teal[600]} 20%, transparent)`,
|
|
55
|
+
},
|
|
56
|
+
},
|
|
57
|
+
},
|
|
58
|
+
};
|
|
59
|
+
const dark = {
|
|
60
|
+
colors: {
|
|
61
|
+
intent: {
|
|
62
|
+
primary: {
|
|
63
|
+
DEFAULT: colors.teal[500],
|
|
64
|
+
foreground: colors.white,
|
|
65
|
+
},
|
|
66
|
+
accent: {
|
|
67
|
+
DEFAULT: colors.rose[400],
|
|
68
|
+
foreground: colors.white,
|
|
69
|
+
},
|
|
70
|
+
destructive: {
|
|
71
|
+
DEFAULT: colors.rose[500],
|
|
72
|
+
foreground: colors.white,
|
|
73
|
+
},
|
|
74
|
+
warning: {
|
|
75
|
+
DEFAULT: colors.orange[400],
|
|
76
|
+
foreground: colors.white,
|
|
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.teal[400]} 25%, transparent)`,
|
|
112
|
+
},
|
|
113
|
+
},
|
|
114
|
+
},
|
|
115
|
+
};
|
|
116
|
+
const theme = { light, dark };
|
|
117
|
+
export default theme;
|