@upstart.gg/style-system 0.0.23

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.
@@ -0,0 +1,246 @@
1
+ @layer upstart-theme, upstart-generated, upstart-utilities;
2
+
3
+ @layer upstart-theme {
4
+
5
+ [data-upstart-theme] {
6
+ font-family: initial;
7
+ background: initial;
8
+ color: initial;
9
+ }
10
+
11
+ :root {
12
+ /* Luminance threshold for deciding between light and dark text */
13
+ --luminance-threshold: 0.6;
14
+ --l-threshold: 0.7;
15
+ --l: clamp(0, (var(--l-threshold) / l - 1) * infinity, 1);
16
+ }
17
+ :root {
18
+
19
+ [data-upstart-theme="clarity"] {
20
+ /* Base Colors */
21
+ --color-primary: #FF5733; /* Coral Pink */
22
+ --color-secondary: #4ECDC4; /* Turquoise */
23
+ --color-accent: #FFC300; /* Golden Yellow */
24
+ --color-neutral: #95A5A6; /* Cool Gray */
25
+
26
+ /* Link Colors */
27
+ --color-link: var(--color-primary);
28
+ }
29
+ }
30
+ }
31
+
32
+ @layer upstart-generated {
33
+ :root {
34
+
35
+
36
+ /* Background Colors (3 shades, 0, 1 and 2) */
37
+ --color-bg-neutral-0: var(--color-neutral-0);
38
+ --color-bg-neutral-1: var(--color-neutral-1);
39
+ --color-bg-neutral-2: var(--color-neutral-2);
40
+
41
+ --color-bg-primary-0: var(--color-primary-0);
42
+ --color-bg-primary-1: var(--color-primary-1);
43
+ --color-bg-primary-2: var(--color-primary-2);
44
+
45
+ --color-bg-secondary-0: var(--color-secondary-0);
46
+ --color-bg-secondary-1: var(--color-secondary-1);
47
+ --color-bg-secondary-2: var(--color-secondary-2);
48
+
49
+ --color-bg-tertiary-0: var(--color-tertiary-0);
50
+ --color-bg-tertiary-1: var(--color-tertiary-1);
51
+ --color-bg-tertiary-2: var(--color-tertiary-2);
52
+
53
+ --color-bg-accent-0: var(--color-accent-0);
54
+ --color-bg-accent-1: var(--color-accent-1);
55
+ --color-bg-accent-2: var(--color-accent-2);
56
+
57
+ /* Interactive Element Colors (from shade #3 to #5) */
58
+ --color-interactive-primary-1: var(--color-primary-3);
59
+ --color-interactive-primary-2: var(--color-primary-4);
60
+ --color-interactive-primary-3: var(--color-primary-5);
61
+
62
+ --color-interactive-secondary-1: var(--color-secondary-3);
63
+ --color-interactive-secondary-2: var(--color-secondary-4);
64
+ --color-interactive-secondary-3: var(--color-secondary-5);
65
+
66
+ --color-interactive-tertiary-1: var(--color-tertiary-3);
67
+ --color-interactive-tertiary-2: var(--color-tertiary-4);
68
+ --color-interactive-tertiary-3: var(--color-tertiary-5);
69
+
70
+
71
+ /** Borders and separators shades (3 shades) */
72
+ --color-border-neutral-1: var(--color-neutral-6);
73
+ --color-border-neutral-2: var(--color-neutral-7);
74
+ --color-border-neutral-3: var(--color-neutral-8);
75
+
76
+ --color-border-primary-1: var(--color-primary-6);
77
+ --color-border-primary-2: var(--color-primary-7);
78
+ --color-border-primary-3: var(--color-primary-8);
79
+
80
+ --color-border-secondary-1: var(--color-secondary-6);
81
+ --color-border-secondary-2: var(--color-secondary-7);
82
+ --color-border-secondary-3: var(--color-secondary-8);
83
+
84
+ --color-border-tertiary-1: var(--color-tertiary-6);
85
+ --color-border-tertiary-2: var(--color-tertiary-7);
86
+ --color-border-tertiary-3: var(--color-tertiary-8);
87
+
88
+ /* Solid Element Colors (from shade #9 to #10) */
89
+ --color-solid-neutral-1: var(--color-neutral-9);
90
+ --color-solid-neutral-2: var(--color-neutral-10);
91
+
92
+ --color-solid-primary-1: var(--color-primary-9);
93
+ --color-solid-primary-2: var(--color-primary-10);
94
+
95
+ --color-solid-secondary-1: var(--color-secondary-9);
96
+ --color-solid-secondary-2: var(--color-secondary-10);
97
+
98
+ --color-solid-tertiary-1: var(--color-tertiary-9);
99
+ --color-solid-tertiary-2: var(--color-tertiary-10);
100
+
101
+ /* Fonts stacks */
102
+ --font-system-ui: system-ui, sans-serif;
103
+ --font-transitional: Charter, Bitstream Charter, Sitka Text, Cambria, serif;
104
+ --font-old-style: Iowan Old Style, Palatino Linotype, URW Palladio L, P052, serif;
105
+ --font-humanist: Seravek, Gill Sans Nova, Ubuntu, Calibri, DejaVu Sans, source-sans-pro, sans-serif;
106
+ --font-geometric-humanist: Avenir, Montserrat, Corbel, URW Gothic, source-sans-pro, sans-serif;
107
+ --font-classical-humanist: Optima, Candara, Noto Sans, source-sans-pro, sans-serif;
108
+ --font-neo-grotesque: Inter, Roboto, Helvetica Neue, Arial Nova, Nimbus Sans, Arial, sans-serif;
109
+ --font-monospace-slab-serif: Nimbus Mono PS, Courier New, monospace;
110
+ --font-monospace-code: Dank Mono,Operator Mono,Inconsolata,Fira Mono,ui-monospace,SF Mono,Monaco,Droid Sans Mono,Source Code Pro,Cascadia Code,Menlo,Consolas,DejaVu Sans Mono,monospace;
111
+ --font-industrial: Bahnschrift, DIN Alternate, Franklin Gothic Medium, Nimbus Sans Narrow, sans-serif-condensed, sans-serif;
112
+ --font-rounded-sans: ui-rounded, Hiragino Maru Gothic ProN, Quicksand, Comfortaa, Manjari, Arial Rounded MT, Arial Rounded MT Bold, Calibri, source-sans-pro, sans-serif;
113
+ --font-slab-serif: Rockwell, Rockwell Nova, Roboto Slab, DejaVu Serif, Sitka Small, serif;
114
+ --font-antique: Superclarendon, Bookman Old Style, URW Bookman, URW Bookman L, Georgia Pro, Georgia, serif;
115
+ --font-didone: Didot, Bodoni MT, Noto Serif Display, URW Palladio L, P052, Sylfaen, serif;
116
+ --font-handwritten: Segoe Print, Bradley Hand, Chilanka, TSCu_Comic, casual, cursive;
117
+ }
118
+ }
119
+
120
+
121
+ @layer upstart-utilities {
122
+
123
+ /* Font classes */
124
+ .font-system-ui { font-family: var(--font-system-ui); }
125
+ .font-transitional { font-family: var(--font-transitional); }
126
+ .font-old-style { font-family: var(--font-old-style); }
127
+ .font-humanist { font-family: var(--font-humanist); }
128
+ .font-geometric-humanist { font-family: var(--font-geometric-humanist); }
129
+ .font-classical-humanist { font-family: var(--font-classical-humanist); }
130
+ .font-neo-grotesque { font-family: var(--font-neo-grotesque); }
131
+ .font-monospace-slab-serif { font-family: var(--font-monospace-slab-serif); }
132
+ .font-monospace-code { font-family: var(--font-monospace-code); }
133
+ .font-industrial { font-family: var(--font-industrial); }
134
+ .font-rounded-sans { font-family: var(--font-rounded-sans); }
135
+ .font-slab-serif { font-family: var(--font-slab-serif); }
136
+ .font-antique { font-family: var(--font-antique); }
137
+ .font-didone { font-family: var(--font-didone); }
138
+ .font-handwritten { font-family: var(--font-handwritten); }
139
+
140
+ /* Utility Classes */
141
+
142
+ /* Background Color Utilities */
143
+
144
+ /* Interactive Element Color Utilities */
145
+ .interactive-primary-1 { background-color: var(--color-interactive-primary-1); color: var(--text-primary-3); }
146
+ .interactive-primary-2 { background-color: var(--color-interactive-primary-2); color: var(--text-primary-4); }
147
+ .interactive-primary-3 { background-color: var(--color-interactive-primary-3); color: var(--text-primary-5); }
148
+
149
+ .interactive-secondary-1 { background-color: var(--color-interactive-secondary-1); color: var(--text-secondary-3); }
150
+ .interactive-secondary-2 { background-color: var(--color-interactive-secondary-2); color: var(--text-secondary-4); }
151
+ .interactive-secondary-3 { background-color: var(--color-interactive-secondary-3); color: var(--text-secondary-5); }
152
+
153
+ .interactive-tertiary-1 { background-color: var(--color-interactive-tertiary-1); color: var(--text-tertiary-3); }
154
+ .interactive-tertiary-2 { background-color: var(--color-interactive-tertiary-2); color: var(--text-tertiary-4); }
155
+ .interactive-tertiary-3 { background-color: var(--color-interactive-tertiary-3); color: var(--text-tertiary-5); }
156
+
157
+
158
+ /* Solid Element Color Utilities */
159
+ .solid-neutral-1 { background-color: var(--color-solid-neutral-1); color: var(--text-neutral-9); }
160
+ .solid-neutral-2 { background-color: var(--color-solid-neutral-2); color: var(--text-neutral-10); }
161
+
162
+ .solid-primary-1 { background-color: var(--color-solid-primary-1); color: var(--text-primary-9); }
163
+ .solid-primary-2 { background-color: var(--color-solid-primary-2); color: var(--text-primary-10); }
164
+
165
+ .solid-secondary-1 { background-color: var(--color-solid-secondary-1); color: var(--text-secondary-9); }
166
+ .solid-secondary-2 { background-color: var(--color-solid-secondary-2); color: var(--text-secondary-10); }
167
+
168
+ .solid-tertiary-1 { background-color: var(--color-solid-tertiary-1); color: var(--text-tertiary-9); }
169
+ .solid-tertiary-2 { background-color: var(--color-solid-tertiary-2); color: var(--text-tertiary-10); }
170
+
171
+ .border-neutral-1 { border-color: var(--color-border-neutral-1); }
172
+ .border-neutral-2 { border-color: var(--color-border-neutral-2); }
173
+ .border-neutral-3 { border-color: var(--color-border-neutral-3); }
174
+
175
+ .border-primary-1 { border-color: var(--color-border-primary-1); }
176
+ .border-primary-2 { border-color: var(--color-border-primary-2); }
177
+ .border-primary-3 { border-color: var(--color-border-primary-3); }
178
+
179
+ .border-secondary-1 { border-color: var(--color-border-secondary-1); }
180
+ .border-secondary-2 { border-color: var(--color-border-secondary-2); }
181
+ .border-secondary-3 { border-color: var(--color-border-secondary-3); }
182
+
183
+ .border-tertiary-1 { border-color: var(--color-border-tertiary-1); }
184
+ .border-tertiary-2 { border-color: var(--color-border-tertiary-2); }
185
+ .border-tertiary-3 { border-color: var(--color-border-tertiary-3); }
186
+
187
+
188
+ .btn {
189
+ cursor: pointer;
190
+ transition: background-color 0.2s;
191
+ }
192
+
193
+
194
+ .btn.interactive-primary-1 {
195
+ &.solid {
196
+ color: var(--text-primary-3);
197
+ background-color: var(--color-interactive-primary-1);
198
+ }
199
+ &:hover {
200
+ background-color: var(--color-interactive-primary-2);
201
+ color: var(--text-primary-4);
202
+ }
203
+ &:disabled {
204
+ background-color: var(--color-interactive-primary-1);
205
+ color: var(--text-primary-3);
206
+ }
207
+ }
208
+
209
+ .btn.interactive-primary-2 {
210
+ &:hover {
211
+ background-color: var(--color-interactive-primary-3);
212
+ color: var(--text-primary-5);
213
+ }
214
+ &:disabled {
215
+ background-color: var(--color-interactive-primary-2);
216
+ color: var(--text-primary-4);
217
+ }
218
+ }
219
+
220
+ .btn.interactive-secondary-1 {
221
+ &:hover {
222
+ background-color: var(--color-interactive-secondary-2);
223
+ color: var(--text-secondary-4);
224
+ }
225
+ &:disabled {
226
+ background-color: var(--color-interactive-secondary-1);
227
+ color: var(--text-secondary-3);
228
+ }
229
+ }
230
+
231
+ .btn.interactive-secondary-2 {
232
+ &:hover {
233
+ background-color: var(--color-interactive-secondary-3);
234
+ color: var(--text-secondary-5);
235
+ }
236
+ &:disabled {
237
+ background-color: var(--color-interactive-secondary-2);
238
+ color: var(--text-secondary-4);
239
+ }
240
+ }
241
+
242
+
243
+ }
244
+
245
+
246
+
package/src/radix.css ADDED
@@ -0,0 +1,311 @@
1
+ /* @import "@radix-ui/themes/styles.css"; */
2
+
3
+ .radix-themes {
4
+ --cursor-button: pointer;
5
+ --cursor-checkbox: pointer;
6
+ --cursor-disabled: default;
7
+ --cursor-link: pointer;
8
+ --cursor-menu-item: pointer;
9
+ --cursor-radio: pointer;
10
+ --cursor-slider-thumb: grab;
11
+ --cursor-slider-thumb-active: grabbing;
12
+ --cursor-switch: pointer;
13
+ }
14
+
15
+ :root, .light, .light-theme {
16
+ --violet-1: #fcfcfe;
17
+ --violet-2: #f8f9fe;
18
+ --violet-3: #f1f2fc;
19
+ --violet-4: #e6e7fc;
20
+ --violet-5: #dbddfa;
21
+ --violet-6: #cdcff4;
22
+ --violet-7: #b9bbe9;
23
+ --violet-8: #9fa1dc;
24
+ --violet-9: #7270c6;
25
+ --violet-10: #6663b7;
26
+ --violet-11: #5d5ba5;
27
+ --violet-12: #2c2b53;
28
+
29
+ --violet-a1: #0000aa03;
30
+ --violet-a2: #0025db07;
31
+ --violet-a3: #0013c90e;
32
+ --violet-a4: #000be119;
33
+ --violet-a5: #000fdc24;
34
+ --violet-a6: #000bc732;
35
+ --violet-a7: #0008af46;
36
+ --violet-a8: #0006a360;
37
+ --violet-a9: #04009a8f;
38
+ --violet-a10: #05008a9c;
39
+ --violet-a11: #030073a4;
40
+ --violet-a12: #010030d4;
41
+
42
+ --violet-contrast: #fff;
43
+ --violet-surface: #f6f8fecc;
44
+ --violet-indicator: #7270c6;
45
+ --violet-track: #7270c6;
46
+ }
47
+
48
+ @supports (color: color(display-p3 1 1 1)) {
49
+ @media (color-gamut: p3) {
50
+ :root, .light, .light-theme {
51
+ --violet-1: oklch(99.2% 0.002 282.7);
52
+ --violet-2: oklch(98.3% 0.0065 282.7);
53
+ --violet-3: oklch(96.3% 0.0135 282.7);
54
+ --violet-4: oklch(93.4% 0.0279 282.7);
55
+ --violet-5: oklch(90.4% 0.0406 282.7);
56
+ --violet-6: oklch(86.4% 0.052 282.7);
57
+ --violet-7: oklch(80.7% 0.0649 282.7);
58
+ --violet-8: oklch(72.9% 0.0857 282.7);
59
+ --violet-9: oklch(58.6% 0.1295 282.7);
60
+ --violet-10: oklch(54.2% 0.1284 282.7);
61
+ --violet-11: oklch(50.8% 0.1161 282.7);
62
+ --violet-12: oklch(31.3% 0.0704 282.7);
63
+
64
+ --violet-a1: color(display-p3 0.0235 0.0235 0.6745 / 0.012);
65
+ --violet-a2: color(display-p3 0.0235 0.1608 0.8627 / 0.028);
66
+ --violet-a3: color(display-p3 0.0039 0.0745 0.7176 / 0.055);
67
+ --violet-a4: color(display-p3 0.0118 0.051 0.8039 / 0.099);
68
+ --violet-a5: color(display-p3 0.0078 0.0627 0.8078 / 0.142);
69
+ --violet-a6: color(display-p3 0.0078 0.0471 0.7216 / 0.197);
70
+ --violet-a7: color(display-p3 0.0039 0.0314 0.6314 / 0.275);
71
+ --violet-a8: color(display-p3 0.0039 0.0235 0.5961 / 0.377);
72
+ --violet-a9: color(display-p3 0.0157 0 0.5608 / 0.561);
73
+ --violet-a10: color(display-p3 0.0157 0 0.5059 / 0.612);
74
+ --violet-a11: color(display-p3 0.0118 0 0.4196 / 0.644);
75
+ --violet-a12: color(display-p3 0.0039 0 0.1765 / 0.832);
76
+
77
+ --violet-contrast: #fff;
78
+ --violet-surface: color(display-p3 0.9725 0.9725 0.9922 / 0.8);
79
+ --violet-indicator: oklch(58.6% 0.1295 282.7);
80
+ --violet-track: oklch(58.6% 0.1295 282.7);
81
+ }
82
+ }
83
+ }
84
+
85
+ :root, .light, .light-theme {
86
+ --gray-1: #fcfcfd;
87
+ --gray-2: #f9f9fb;
88
+ --gray-3: #eff0f3;
89
+ --gray-4: #e7e8ec;
90
+ --gray-5: #e0e1e6;
91
+ --gray-6: #d8d9e0;
92
+ --gray-7: #cdced7;
93
+ --gray-8: #b9bbc6;
94
+ --gray-9: #8b8d98;
95
+ --gray-10: #80828d;
96
+ --gray-11: #62636c;
97
+ --gray-12: #1e1f24;
98
+
99
+ --gray-a1: #00005503;
100
+ --gray-a2: #00005506;
101
+ --gray-a3: #00104010;
102
+ --gray-a4: #000b3618;
103
+ --gray-a5: #0009321f;
104
+ --gray-a6: #00073527;
105
+ --gray-a7: #00063332;
106
+ --gray-a8: #00083046;
107
+ --gray-a9: #00051d74;
108
+ --gray-a10: #00051b7f;
109
+ --gray-a11: #0002119d;
110
+ --gray-a12: #000107e1;
111
+
112
+ --gray-contrast: #FFFFFF;
113
+ --gray-surface: #ffffffcc;
114
+ --gray-indicator: #8b8d98;
115
+ --gray-track: #8b8d98;
116
+ }
117
+
118
+ @supports (color: color(display-p3 1 1 1)) {
119
+ @media (color-gamut: p3) {
120
+ :root, .light, .light-theme {
121
+ --gray-1: oklch(99.1% 0.0015 277.7);
122
+ --gray-2: oklch(98.2% 0.003 277.7);
123
+ --gray-3: oklch(95.6% 0.0045 277.7);
124
+ --gray-4: oklch(93.1% 0.0061 277.7);
125
+ --gray-5: oklch(91% 0.0077 277.7);
126
+ --gray-6: oklch(88.8% 0.0093 277.7);
127
+ --gray-7: oklch(85.3% 0.0117 277.7);
128
+ --gray-8: oklch(79.4% 0.016 277.7);
129
+ --gray-9: oklch(64.6% 0.0165 277.7);
130
+ --gray-10: oklch(61% 0.0161 277.7);
131
+ --gray-11: oklch(50.3% 0.0139 277.7);
132
+ --gray-12: oklch(24.1% 0.0099 277.7);
133
+
134
+ --gray-a1: color(display-p3 0.0235 0.0235 0.349 / 0.012);
135
+ --gray-a2: color(display-p3 0.0235 0.0235 0.349 / 0.024);
136
+ --gray-a3: color(display-p3 0.0078 0.0667 0.2549 / 0.063);
137
+ --gray-a4: color(display-p3 0.0118 0.051 0.2157 / 0.095);
138
+ --gray-a5: color(display-p3 0.0039 0.0392 0.2 / 0.122);
139
+ --gray-a6: color(display-p3 0.0039 0.0275 0.1804 / 0.153);
140
+ --gray-a7: color(display-p3 0.0078 0.0275 0.1843 / 0.197);
141
+ --gray-a8: color(display-p3 0.0039 0.0314 0.1765 / 0.275);
142
+ --gray-a9: color(display-p3 0.0039 0.0196 0.1059 / 0.455);
143
+ --gray-a10: color(display-p3 0.0039 0.0196 0.098 / 0.499);
144
+ --gray-a11: color(display-p3 0 0.0078 0.0588 / 0.616);
145
+ --gray-a12: color(display-p3 0 0.0039 0.0275 / 0.883);
146
+
147
+ --gray-contrast: #FFFFFF;
148
+ --gray-surface: color(display-p3 1 1 1 / 80%);
149
+ --gray-indicator: oklch(64.6% 0.0165 277.7);
150
+ --gray-track: oklch(64.6% 0.0165 277.7);
151
+ }
152
+ }
153
+ }
154
+
155
+ :root, .light, .light-theme, .radix-themes {
156
+ --color-background: #fff;
157
+ }
158
+
159
+ .dark, .dark-theme {
160
+ --violet-1: #10101a;
161
+ --violet-2: #161624;
162
+ --violet-3: #232245;
163
+ --violet-4: #2d2960;
164
+ --violet-5: #36326f;
165
+ --violet-6: #403d7d;
166
+ --violet-7: #4d4a90;
167
+ --violet-8: #5d59ad;
168
+ --violet-9: #5b57ab;
169
+ --violet-10: #4e4b92;
170
+ --violet-11: #ababff;
171
+ --violet-12: #dee0fd;
172
+
173
+ --violet-a1: #0000f70a;
174
+ --violet-a2: #4e4ef815;
175
+ --violet-a3: #635ffe38;
176
+ --violet-a4: #6559ff55;
177
+ --violet-a5: #6f65ff65;
178
+ --violet-a6: #7972ff74;
179
+ --violet-a7: #817bfe89;
180
+ --violet-a8: #847efea8;
181
+ --violet-a9: #847dffa5;
182
+ --violet-a10: #817bfe8b;
183
+ --violet-a11: #ababff;
184
+ --violet-a12: #e0e2fffd;
185
+
186
+ --violet-contrast: #fff;
187
+ --violet-surface: #1b1b3780;
188
+ --violet-indicator: var(--accent-11);
189
+ /* --violet-indicator: #5b57ab; */
190
+ --violet-track: #5b57ab;
191
+ }
192
+
193
+ @supports (color: color(display-p3 1 1 1)) {
194
+ @media (color-gamut: p3) {
195
+ .dark, .dark-theme {
196
+ --violet-1: oklch(17.8% 0.021 282.8);
197
+ --violet-2: oklch(20.6% 0.0279 282.8);
198
+ --violet-3: oklch(27.1% 0.0647 282.8);
199
+ --violet-4: oklch(31.7% 0.0955 282.8);
200
+ --violet-5: oklch(35.7% 0.1024 282.8);
201
+ --violet-6: oklch(39.8% 0.1049 282.8);
202
+ --violet-7: oklch(44.8% 0.1129 282.8);
203
+ --violet-8: oklch(50.8% 0.1302 282.8);
204
+ --violet-9: oklch(50.3% 0.1302 282.8);
205
+ --violet-10: oklch(45.3% 0.1129 282.8);
206
+ --violet-11: oklch(77.6% 0.125 282.8);
207
+ --violet-12: oklch(91.4% 0.0401 282.8);
208
+
209
+ --violet-a1: color(display-p3 0 0 0.9922 / 0.034);
210
+ --violet-a2: color(display-p3 0.3255 0.3255 0.9961 / 0.076);
211
+ --violet-a3: color(display-p3 0.4039 0.3843 0.9961 / 0.211);
212
+ --violet-a4: color(display-p3 0.3961 0.3608 0.9961 / 0.32);
213
+ --violet-a5: color(display-p3 0.4392 0.4078 0.9961 / 0.379);
214
+ --violet-a6: color(display-p3 0.4784 0.4588 1 / 0.437);
215
+ --violet-a7: color(display-p3 0.5216 0.5059 1 / 0.513);
216
+ --violet-a8: color(display-p3 0.5333 0.5137 1 / 0.635);
217
+ --violet-a9: color(display-p3 0.5255 0.5059 1 / 0.627);
218
+ --violet-a10: color(display-p3 0.5176 0.5059 1 / 0.522);
219
+ --violet-a11: color(display-p3 0.6863 0.6863 1 / 0.975);
220
+ --violet-a12: color(display-p3 0.8863 0.8941 1 / 0.984);
221
+
222
+ --violet-contrast: #fff;
223
+ --violet-surface: color(display-p3 0.102 0.102 0.2039 / 0.5);
224
+ --violet-indicator: oklch(50.3% 0.1302 282.8);
225
+ --violet-track: oklch(50.3% 0.1302 282.8);
226
+ }
227
+ }
228
+ }
229
+
230
+ .dark, .dark-theme {
231
+ --gray-1: #111113;
232
+ --gray-2: #19191b;
233
+ --gray-3: #222325;
234
+ --gray-4: #292a2e;
235
+ --gray-5: #303136;
236
+ --gray-6: #393a40;
237
+ --gray-7: #46484f;
238
+ --gray-8: #5f606a;
239
+ --gray-9: #6c6e79;
240
+ --gray-10: #797b86;
241
+ --gray-11: #b2b3bd;
242
+ --gray-12: #eeeef0;
243
+
244
+ --gray-a1: #1111bb03;
245
+ --gray-a2: #cbcbf90b;
246
+ --gray-a3: #d6e2f916;
247
+ --gray-a4: #d1d9f920;
248
+ --gray-a5: #d7ddfd28;
249
+ --gray-a6: #d9defc33;
250
+ --gray-a7: #dae2fd43;
251
+ --gray-a8: #e0e3fd60;
252
+ --gray-a9: #e0e4fd70;
253
+ --gray-a10: #e3e7fd7e;
254
+ --gray-a11: #eff0feb9;
255
+ --gray-a12: #fdfdffef;
256
+
257
+ --gray-contrast: #FFFFFF;
258
+ --gray-surface: rgba(0, 0, 0, 0.05);
259
+ --gray-indicator: #6c6e79;
260
+ --gray-track: #6c6e79;
261
+
262
+ .rt-SliderRoot:where(.rt-variant-soft) :where(.rt-SliderRange) {
263
+ background-color: var(--violet-a1);
264
+ }
265
+ }
266
+
267
+ @supports (color: color(display-p3 1 1 1)) {
268
+ @media (color-gamut: p3) {
269
+ .dark, .dark-theme {
270
+ --gray-1: oklch(17.8% 0.0042 277.7);
271
+ --gray-2: oklch(21.5% 0.004 277.7);
272
+ --gray-3: oklch(25.5% 0.0055 277.7);
273
+ --gray-4: oklch(28.4% 0.0075 277.7);
274
+ --gray-5: oklch(31.4% 0.0089 277.7);
275
+ --gray-6: oklch(35% 0.01 277.7);
276
+ --gray-7: oklch(40.2% 0.0121 277.7);
277
+ --gray-8: oklch(49.2% 0.0157 277.7);
278
+ --gray-9: oklch(54% 0.0167 277.7);
279
+ --gray-10: oklch(58.6% 0.0165 277.7);
280
+ --gray-11: oklch(77% 0.0138 277.7);
281
+ --gray-12: oklch(94.9% 0.0026 277.7);
282
+
283
+ --gray-a1: color(display-p3 0.0667 0.0667 0.9412 / 0.009);
284
+ --gray-a2: color(display-p3 0.8 0.8 0.9804 / 0.043);
285
+ --gray-a3: color(display-p3 0.851 0.898 0.9882 / 0.085);
286
+ --gray-a4: color(display-p3 0.8392 0.8706 1 / 0.122);
287
+ --gray-a5: color(display-p3 0.8471 0.8745 1 / 0.156);
288
+ --gray-a6: color(display-p3 0.8784 0.898 1 / 0.194);
289
+ --gray-a7: color(display-p3 0.8745 0.9059 0.9961 / 0.257);
290
+ --gray-a8: color(display-p3 0.8941 0.9059 1 / 0.37);
291
+ --gray-a9: color(display-p3 0.8902 0.9098 1 / 0.433);
292
+ --gray-a10: color(display-p3 0.902 0.9176 1 / 0.488);
293
+ --gray-a11: color(display-p3 0.9451 0.949 1 / 0.719);
294
+ --gray-a12: color(display-p3 0.9922 0.9922 1 / 0.937);
295
+
296
+ --gray-contrast: #FFFFFF;
297
+ --gray-surface: color(display-p3 0 0 0 / 5%);
298
+ --gray-indicator: oklch(54% 0.0167 277.7);
299
+ --gray-track: oklch(54% 0.0167 277.7);
300
+ }
301
+ }
302
+ }
303
+
304
+ .dark, .dark-theme, :is(.dark, .dark-theme) :where(.radix-themes:not(.light, .light-theme)) {
305
+ --color-background: #111;
306
+ }
307
+
308
+ .selecto-selection {
309
+ background-color: var(--violet-a3) !important;
310
+ border-color: var(--violet-8) !important;
311
+ }
@@ -0,0 +1,24 @@
1
+ .react-resizable {
2
+ position: relative;
3
+ }
4
+
5
+ .react-resizable-handle-sw {
6
+ cursor: sw-resize;
7
+ }
8
+ .react-resizable-handle-se {
9
+ cursor: se-resize;
10
+ }
11
+ .react-resizable-handle-nw {
12
+ cursor: nw-resize;
13
+ }
14
+ .react-resizable-handle-ne {
15
+ cursor: ne-resize;
16
+ }
17
+ .react-resizable-handle-w,
18
+ .react-resizable-handle-e {
19
+ cursor: ew-resize;
20
+ }
21
+ .react-resizable-handle-n,
22
+ .react-resizable-handle-s {
23
+ cursor: ns-resize;
24
+ }
package/src/system.ts ADDED
@@ -0,0 +1,4 @@
1
+ export * from "@radix-ui/themes";
2
+ export { useAutoAnimate } from "@formkit/auto-animate/react";
3
+ export * as ContextMenu from "@radix-ui/react-context-menu";
4
+ export * as ToggleGroup from "@radix-ui/react-toggle-group";
@@ -0,0 +1,64 @@
1
+ import forms from "@tailwindcss/forms";
2
+ import scrollbars from "tailwind-scrollbar";
3
+ import typography from "@tailwindcss/typography";
4
+ import plugin from "tailwindcss/plugin";
5
+ import easing from "@whiterussianstudio/tailwind-easing";
6
+
7
+ /** @type {import('tailwindcss').Config} */
8
+ export default {
9
+ theme: {
10
+ extend: {
11
+ colors: {
12
+ upstart: {
13
+ 50: "#f2f4fb",
14
+ 100: "#e7ecf8",
15
+ 200: "#d3daf2",
16
+ 300: "#b8c2e9",
17
+ 400: "#9ba3de",
18
+ 500: "#8186d3",
19
+ 600: "#7270c6",
20
+ 700: "#5b57ab",
21
+ 800: "#4b498a",
22
+ 900: "#40406f",
23
+ 950: "#262541",
24
+ },
25
+ dark: {
26
+ 50: "#f6f6f6",
27
+ 100: "#e7e7e7",
28
+ 200: "#d1d1d1",
29
+ 300: "#b0b0b0",
30
+ 400: "#888888",
31
+ 500: "#6d6d6d",
32
+ 600: "#5d5d5d",
33
+ 700: "#4f4f4f",
34
+ 800: "#454545",
35
+ 900: "#333333",
36
+ 950: "#262626",
37
+ },
38
+ },
39
+ textShadow: {
40
+ sm: "0 1px 1px var(--tw-shadow-color)",
41
+ md: "0 1px 2px var(--tw-shadow-color)",
42
+ DEFAULT: "0 2px 4px var(--tw-shadow-color)",
43
+ lg: "0 4px 8px var(--tw-shadow-color)",
44
+ xl: "0 8px 16px var(--tw-shadow-color)",
45
+ },
46
+ },
47
+ },
48
+ plugins: [
49
+ forms,
50
+ typography,
51
+ scrollbars,
52
+ easing,
53
+ plugin(function ({ matchUtilities, theme }) {
54
+ matchUtilities(
55
+ {
56
+ "text-shadow": (value) => ({
57
+ textShadow: value,
58
+ }),
59
+ },
60
+ { values: theme("textShadow") },
61
+ );
62
+ }),
63
+ ],
64
+ };
@@ -0,0 +1,3 @@
1
+ @tailwind base;
2
+ @tailwind components;
3
+ @tailwind utilities;
@@ -0,0 +1,15 @@
1
+ .tiptap {
2
+ outline: none;
3
+
4
+ &:focus {
5
+ outline: none;
6
+ }
7
+ &:focus-visible {
8
+ outline: none;
9
+ }
10
+
11
+ &:first-child {
12
+ margin-top: 0;
13
+ }
14
+
15
+ }
@@ -0,0 +1 @@
1
+ export { default as TwindStream } from "@twind/with-react/pipeableStream";