@softure-ai/theme-notion 0.2.0 → 0.4.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/CHANGELOG.md +164 -0
- package/README.md +196 -16
- package/dist/index.d.ts +5 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +5 -0
- package/dist/index.js.map +1 -1
- package/dist/messages/en.d.ts +17 -0
- package/dist/messages/en.d.ts.map +1 -1
- package/dist/messages/en.js +10 -0
- package/dist/messages/en.js.map +1 -1
- package/dist/messages/index.d.ts +17 -0
- package/dist/messages/index.d.ts.map +1 -1
- package/dist/notion/Code.d.ts +8 -0
- package/dist/notion/Code.d.ts.map +1 -0
- package/dist/notion/Code.js +12 -0
- package/dist/notion/Code.js.map +1 -0
- package/dist/notion/FilterChip.d.ts +24 -0
- package/dist/notion/FilterChip.d.ts.map +1 -0
- package/dist/notion/FilterChip.js +18 -0
- package/dist/notion/FilterChip.js.map +1 -0
- package/dist/notion/Sortable.d.ts +47 -0
- package/dist/notion/Sortable.d.ts.map +1 -0
- package/dist/notion/Sortable.js +158 -0
- package/dist/notion/Sortable.js.map +1 -0
- package/dist/notion/Stats.d.ts +4 -0
- package/dist/notion/Stats.d.ts.map +1 -1
- package/dist/notion/Stats.js +10 -3
- package/dist/notion/Stats.js.map +1 -1
- package/dist/notion/Steps.d.ts +18 -0
- package/dist/notion/Steps.d.ts.map +1 -0
- package/dist/notion/Steps.js +32 -0
- package/dist/notion/Steps.js.map +1 -0
- package/dist/page.css +22 -0
- package/dist/theme.css +55 -46
- package/dist/tokens.d.ts +82 -64
- package/dist/tokens.d.ts.map +1 -1
- package/dist/tokens.js +22 -19
- package/dist/tokens.js.map +1 -1
- package/dist/ui/alert.js +1 -1
- package/dist/ui/alert.js.map +1 -1
- package/dist/ui/badge.d.ts +1 -1
- package/dist/ui/badge.d.ts.map +1 -1
- package/dist/ui/badge.js +33 -13
- package/dist/ui/badge.js.map +1 -1
- package/dist/ui/button-group.js +1 -1
- package/dist/ui/button-group.js.map +1 -1
- package/dist/ui/button.d.ts +1 -1
- package/dist/ui/button.js +3 -3
- package/dist/ui/button.js.map +1 -1
- package/dist/ui/checkbox.js +1 -1
- package/dist/ui/checkbox.js.map +1 -1
- package/dist/ui/dropdown-menu.js +1 -1
- package/dist/ui/empty.js +1 -1
- package/dist/ui/empty.js.map +1 -1
- package/dist/ui/field.js +2 -2
- package/dist/ui/field.js.map +1 -1
- package/dist/ui/item.d.ts.map +1 -1
- package/dist/ui/item.js +9 -3
- package/dist/ui/item.js.map +1 -1
- package/dist/ui/progress.d.ts +4 -1
- package/dist/ui/progress.d.ts.map +1 -1
- package/dist/ui/progress.js +9 -2
- package/dist/ui/progress.js.map +1 -1
- package/dist/ui/radio-group.d.ts +6 -0
- package/dist/ui/radio-group.d.ts.map +1 -0
- package/dist/ui/radio-group.js +14 -0
- package/dist/ui/radio-group.js.map +1 -0
- package/dist/ui/scroll-area.d.ts +3 -1
- package/dist/ui/scroll-area.d.ts.map +1 -1
- package/dist/ui/scroll-area.js +2 -2
- package/dist/ui/scroll-area.js.map +1 -1
- package/dist/ui/select.js +2 -2
- package/dist/ui/select.js.map +1 -1
- package/dist/ui/sidebar.js +4 -4
- package/dist/ui/sidebar.js.map +1 -1
- package/dist/ui/tabs.js +1 -1
- package/dist/ui/tabs.js.map +1 -1
- package/package.json +16 -5
- package/src/index.ts +17 -0
- package/src/messages/en.ts +11 -0
- package/src/notion/Code.tsx +39 -0
- package/src/notion/FilterChip.tsx +71 -0
- package/src/notion/Sortable.tsx +352 -0
- package/src/notion/Stats.tsx +23 -3
- package/src/notion/Steps.tsx +102 -0
- package/src/page.css +22 -0
- package/src/tokens.ts +22 -19
- package/src/ui/alert.tsx +1 -1
- package/src/ui/badge.tsx +35 -13
- package/src/ui/button-group.tsx +1 -1
- package/src/ui/button.tsx +3 -3
- package/src/ui/checkbox.tsx +1 -1
- package/src/ui/dropdown-menu.tsx +1 -1
- package/src/ui/empty.tsx +1 -1
- package/src/ui/field.tsx +2 -2
- package/src/ui/item.tsx +18 -7
- package/src/ui/progress.tsx +19 -2
- package/src/ui/radio-group.tsx +44 -0
- package/src/ui/scroll-area.tsx +11 -2
- package/src/ui/select.tsx +2 -2
- package/src/ui/sidebar.tsx +4 -4
- package/src/ui/tabs.tsx +3 -3
package/dist/theme.css
CHANGED
|
@@ -22,67 +22,69 @@
|
|
|
22
22
|
--card-foreground: #37352f;
|
|
23
23
|
--popover: #ffffff;
|
|
24
24
|
--popover-foreground: #37352f;
|
|
25
|
-
--primary: #
|
|
25
|
+
--primary: #0171cf;
|
|
26
26
|
--primary-foreground: #ffffff;
|
|
27
|
-
--primary-hover: #
|
|
27
|
+
--primary-hover: #0066b8;
|
|
28
|
+
--link: #0171cf;
|
|
28
29
|
--secondary: #f1f1ef;
|
|
29
30
|
--secondary-foreground: #37352f;
|
|
31
|
+
--code-foreground: #c33c39;
|
|
30
32
|
--muted: #f7f7f5;
|
|
31
|
-
--muted-foreground: #
|
|
33
|
+
--muted-foreground: #656461;
|
|
32
34
|
--accent: rgba(55, 53, 47, 0.08);
|
|
33
35
|
--accent-foreground: #37352f;
|
|
34
36
|
--accent-strong: rgba(55, 53, 47, 0.16);
|
|
35
|
-
--destructive: #
|
|
37
|
+
--destructive: #c63339;
|
|
36
38
|
--destructive-foreground: #ffffff;
|
|
37
39
|
--border: #e9e9e7;
|
|
38
|
-
--input: rgba(15, 15, 15, 0.
|
|
40
|
+
--input: rgba(15, 15, 15, 0.46);
|
|
39
41
|
--field: rgba(242, 241, 238, 0.6);
|
|
40
|
-
--control-off: rgba(135, 131, 120, 0.
|
|
41
|
-
--ring: rgba(
|
|
42
|
+
--control-off: rgba(135, 131, 120, 0.95);
|
|
43
|
+
--ring: rgba(1, 113, 207, 0.8);
|
|
42
44
|
--sidebar: #f7f7f5;
|
|
43
45
|
--sidebar-foreground: #5f5e5b;
|
|
44
|
-
--sidebar-primary: #
|
|
46
|
+
--sidebar-primary: #0171cf;
|
|
45
47
|
--sidebar-primary-foreground: #ffffff;
|
|
46
48
|
--sidebar-accent: rgba(55, 53, 47, 0.08);
|
|
47
49
|
--sidebar-accent-foreground: #37352f;
|
|
48
50
|
--sidebar-border: #ededeb;
|
|
49
|
-
--sidebar-ring: rgba(
|
|
51
|
+
--sidebar-ring: rgba(1, 113, 207, 0.8);
|
|
50
52
|
--tooltip: #0f0f0f;
|
|
51
53
|
--tooltip-foreground: rgba(255, 255, 255, 0.9);
|
|
52
54
|
--overlay: rgba(15, 15, 15, 0.6);
|
|
53
|
-
--gray: #
|
|
55
|
+
--gray: #656461;
|
|
54
56
|
--gray-bg: #f1f1ef;
|
|
55
57
|
--gray-tag: #e3e2e0;
|
|
56
58
|
--gray-tag-foreground: #32302c;
|
|
57
|
-
--brown: #
|
|
59
|
+
--brown: #98644d;
|
|
58
60
|
--brown-bg: #f4eeee;
|
|
59
61
|
--brown-tag: #eee0da;
|
|
60
62
|
--brown-tag-foreground: #442a1e;
|
|
61
|
-
--orange: #
|
|
63
|
+
--orange: #af5a02;
|
|
62
64
|
--orange-bg: #fbecdd;
|
|
63
65
|
--orange-tag: #fadec9;
|
|
64
66
|
--orange-tag-foreground: #49290e;
|
|
65
|
-
--yellow: #
|
|
67
|
+
--yellow: #986702;
|
|
66
68
|
--yellow-bg: #fbf3db;
|
|
67
69
|
--yellow-tag: #fdecc8;
|
|
68
70
|
--yellow-tag-foreground: #402c1b;
|
|
69
|
-
--green: #
|
|
71
|
+
--green: #3e7d5c;
|
|
70
72
|
--green-bg: #edf3ec;
|
|
71
73
|
--green-tag: #dbeddb;
|
|
72
74
|
--green-tag-foreground: #1c3829;
|
|
73
|
-
--blue: #
|
|
75
|
+
--blue: #2b77a2;
|
|
74
76
|
--blue-bg: #e7f3f8;
|
|
75
77
|
--blue-tag: #d3e5ef;
|
|
76
78
|
--blue-tag-foreground: #183347;
|
|
77
|
-
--purple: #
|
|
79
|
+
--purple: #8a5faa;
|
|
78
80
|
--purple-bg: #f6f3f9;
|
|
79
81
|
--purple-tag: #e8deee;
|
|
80
82
|
--purple-tag-foreground: #412454;
|
|
81
|
-
--pink: #
|
|
83
|
+
--pink: #ba4684;
|
|
82
84
|
--pink-bg: #faf1f5;
|
|
83
85
|
--pink-tag: #f5e0e9;
|
|
84
86
|
--pink-tag-foreground: #4c2337;
|
|
85
|
-
--red: #
|
|
87
|
+
--red: #c8413d;
|
|
86
88
|
--red-bg: #fdebec;
|
|
87
89
|
--red-tag: #ffe2dd;
|
|
88
90
|
--red-tag-foreground: #5d1715;
|
|
@@ -106,35 +108,37 @@
|
|
|
106
108
|
--card-foreground: #d4d4d4;
|
|
107
109
|
--popover: #252525;
|
|
108
110
|
--popover-foreground: #d4d4d4;
|
|
109
|
-
--primary: #
|
|
111
|
+
--primary: #0171cf;
|
|
110
112
|
--primary-foreground: #ffffff;
|
|
111
|
-
--primary-hover: #
|
|
113
|
+
--primary-hover: #0066b8;
|
|
114
|
+
--link: #409cfd;
|
|
112
115
|
--secondary: #2f2f2f;
|
|
113
116
|
--secondary-foreground: #d4d4d4;
|
|
117
|
+
--code-foreground: #f86a66;
|
|
114
118
|
--muted: #202020;
|
|
115
|
-
--muted-foreground: #
|
|
119
|
+
--muted-foreground: #a5a5a5;
|
|
116
120
|
--accent: rgba(255, 255, 255, 0.055);
|
|
117
121
|
--accent-foreground: #d4d4d4;
|
|
118
122
|
--accent-strong: rgba(255, 255, 255, 0.1);
|
|
119
|
-
--destructive: #
|
|
123
|
+
--destructive: #fd6866;
|
|
120
124
|
--destructive-foreground: #ffffff;
|
|
121
125
|
--border: #2f2f2f;
|
|
122
|
-
--input: rgba(255, 255, 255, 0.
|
|
126
|
+
--input: rgba(255, 255, 255, 0.36);
|
|
123
127
|
--field: rgba(255, 255, 255, 0.055);
|
|
124
|
-
--control-off: rgba(202, 196, 183, 0.
|
|
125
|
-
--ring: rgba(
|
|
128
|
+
--control-off: rgba(202, 196, 183, 0.5);
|
|
129
|
+
--ring: rgba(64, 156, 253, 0.65);
|
|
126
130
|
--sidebar: #202020;
|
|
127
131
|
--sidebar-foreground: #9b9b9b;
|
|
128
|
-
--sidebar-primary: #
|
|
132
|
+
--sidebar-primary: #0171cf;
|
|
129
133
|
--sidebar-primary-foreground: #ffffff;
|
|
130
134
|
--sidebar-accent: rgba(255, 255, 255, 0.055);
|
|
131
135
|
--sidebar-accent-foreground: #d4d4d4;
|
|
132
136
|
--sidebar-border: #2a2a2a;
|
|
133
|
-
--sidebar-ring: rgba(
|
|
137
|
+
--sidebar-ring: rgba(64, 156, 253, 0.65);
|
|
134
138
|
--tooltip: #373737;
|
|
135
139
|
--tooltip-foreground: rgba(255, 255, 255, 0.9);
|
|
136
140
|
--overlay: rgba(0, 0, 0, 0.6);
|
|
137
|
-
--gray: #
|
|
141
|
+
--gray: #a5a5a5;
|
|
138
142
|
--gray-bg: #2f2f2f;
|
|
139
143
|
--gray-tag: #5a5a5a;
|
|
140
144
|
--gray-tag-foreground: rgba(255, 255, 255, 0.81);
|
|
@@ -148,7 +152,7 @@
|
|
|
148
152
|
--orange-tag-foreground: rgba(255, 255, 255, 0.81);
|
|
149
153
|
--yellow: #ca984d;
|
|
150
154
|
--yellow-bg: #564328;
|
|
151
|
-
--yellow-tag: #
|
|
155
|
+
--yellow-tag: #825c23;
|
|
152
156
|
--yellow-tag-foreground: rgba(255, 255, 255, 0.81);
|
|
153
157
|
--green: #529e72;
|
|
154
158
|
--green-bg: #243d30;
|
|
@@ -158,15 +162,15 @@
|
|
|
158
162
|
--blue-bg: #143a4e;
|
|
159
163
|
--blue-tag: #28456c;
|
|
160
164
|
--blue-tag-foreground: rgba(255, 255, 255, 0.81);
|
|
161
|
-
--purple: #
|
|
165
|
+
--purple: #a974e0;
|
|
162
166
|
--purple-bg: #3c2d49;
|
|
163
167
|
--purple-tag: #492f64;
|
|
164
168
|
--purple-tag-foreground: rgba(255, 255, 255, 0.81);
|
|
165
|
-
--pink: #
|
|
169
|
+
--pink: #dc61a0;
|
|
166
170
|
--pink-bg: #4e2c3c;
|
|
167
171
|
--pink-tag: #69314c;
|
|
168
172
|
--pink-tag-foreground: rgba(255, 255, 255, 0.81);
|
|
169
|
-
--red: #
|
|
173
|
+
--red: #ea5e5b;
|
|
170
174
|
--red-bg: #522e2a;
|
|
171
175
|
--red-tag: #6e3630;
|
|
172
176
|
--red-tag-foreground: rgba(255, 255, 255, 0.81);
|
|
@@ -185,35 +189,37 @@
|
|
|
185
189
|
--card-foreground: #d4d4d4;
|
|
186
190
|
--popover: #252525;
|
|
187
191
|
--popover-foreground: #d4d4d4;
|
|
188
|
-
--primary: #
|
|
192
|
+
--primary: #0171cf;
|
|
189
193
|
--primary-foreground: #ffffff;
|
|
190
|
-
--primary-hover: #
|
|
194
|
+
--primary-hover: #0066b8;
|
|
195
|
+
--link: #409cfd;
|
|
191
196
|
--secondary: #2f2f2f;
|
|
192
197
|
--secondary-foreground: #d4d4d4;
|
|
198
|
+
--code-foreground: #f86a66;
|
|
193
199
|
--muted: #202020;
|
|
194
|
-
--muted-foreground: #
|
|
200
|
+
--muted-foreground: #a5a5a5;
|
|
195
201
|
--accent: rgba(255, 255, 255, 0.055);
|
|
196
202
|
--accent-foreground: #d4d4d4;
|
|
197
203
|
--accent-strong: rgba(255, 255, 255, 0.1);
|
|
198
|
-
--destructive: #
|
|
204
|
+
--destructive: #fd6866;
|
|
199
205
|
--destructive-foreground: #ffffff;
|
|
200
206
|
--border: #2f2f2f;
|
|
201
|
-
--input: rgba(255, 255, 255, 0.
|
|
207
|
+
--input: rgba(255, 255, 255, 0.36);
|
|
202
208
|
--field: rgba(255, 255, 255, 0.055);
|
|
203
|
-
--control-off: rgba(202, 196, 183, 0.
|
|
204
|
-
--ring: rgba(
|
|
209
|
+
--control-off: rgba(202, 196, 183, 0.5);
|
|
210
|
+
--ring: rgba(64, 156, 253, 0.65);
|
|
205
211
|
--sidebar: #202020;
|
|
206
212
|
--sidebar-foreground: #9b9b9b;
|
|
207
|
-
--sidebar-primary: #
|
|
213
|
+
--sidebar-primary: #0171cf;
|
|
208
214
|
--sidebar-primary-foreground: #ffffff;
|
|
209
215
|
--sidebar-accent: rgba(255, 255, 255, 0.055);
|
|
210
216
|
--sidebar-accent-foreground: #d4d4d4;
|
|
211
217
|
--sidebar-border: #2a2a2a;
|
|
212
|
-
--sidebar-ring: rgba(
|
|
218
|
+
--sidebar-ring: rgba(64, 156, 253, 0.65);
|
|
213
219
|
--tooltip: #373737;
|
|
214
220
|
--tooltip-foreground: rgba(255, 255, 255, 0.9);
|
|
215
221
|
--overlay: rgba(0, 0, 0, 0.6);
|
|
216
|
-
--gray: #
|
|
222
|
+
--gray: #a5a5a5;
|
|
217
223
|
--gray-bg: #2f2f2f;
|
|
218
224
|
--gray-tag: #5a5a5a;
|
|
219
225
|
--gray-tag-foreground: rgba(255, 255, 255, 0.81);
|
|
@@ -227,7 +233,7 @@
|
|
|
227
233
|
--orange-tag-foreground: rgba(255, 255, 255, 0.81);
|
|
228
234
|
--yellow: #ca984d;
|
|
229
235
|
--yellow-bg: #564328;
|
|
230
|
-
--yellow-tag: #
|
|
236
|
+
--yellow-tag: #825c23;
|
|
231
237
|
--yellow-tag-foreground: rgba(255, 255, 255, 0.81);
|
|
232
238
|
--green: #529e72;
|
|
233
239
|
--green-bg: #243d30;
|
|
@@ -237,15 +243,15 @@
|
|
|
237
243
|
--blue-bg: #143a4e;
|
|
238
244
|
--blue-tag: #28456c;
|
|
239
245
|
--blue-tag-foreground: rgba(255, 255, 255, 0.81);
|
|
240
|
-
--purple: #
|
|
246
|
+
--purple: #a974e0;
|
|
241
247
|
--purple-bg: #3c2d49;
|
|
242
248
|
--purple-tag: #492f64;
|
|
243
249
|
--purple-tag-foreground: rgba(255, 255, 255, 0.81);
|
|
244
|
-
--pink: #
|
|
250
|
+
--pink: #dc61a0;
|
|
245
251
|
--pink-bg: #4e2c3c;
|
|
246
252
|
--pink-tag: #69314c;
|
|
247
253
|
--pink-tag-foreground: rgba(255, 255, 255, 0.81);
|
|
248
|
-
--red: #
|
|
254
|
+
--red: #ea5e5b;
|
|
249
255
|
--red-bg: #522e2a;
|
|
250
256
|
--red-tag: #6e3630;
|
|
251
257
|
--red-tag-foreground: rgba(255, 255, 255, 0.81);
|
|
@@ -267,8 +273,10 @@
|
|
|
267
273
|
--color-primary: var(--primary);
|
|
268
274
|
--color-primary-foreground: var(--primary-foreground);
|
|
269
275
|
--color-primary-hover: var(--primary-hover);
|
|
276
|
+
--color-link: var(--link);
|
|
270
277
|
--color-secondary: var(--secondary);
|
|
271
278
|
--color-secondary-foreground: var(--secondary-foreground);
|
|
279
|
+
--color-code-foreground: var(--code-foreground);
|
|
272
280
|
--color-muted: var(--muted);
|
|
273
281
|
--color-muted-foreground: var(--muted-foreground);
|
|
274
282
|
--color-accent: var(--accent);
|
|
@@ -384,5 +392,6 @@
|
|
|
384
392
|
--spacing-content-width-wide: 1152px;
|
|
385
393
|
--spacing-control-height: 28px;
|
|
386
394
|
--spacing-row-height: 34px;
|
|
395
|
+
--spacing-touch-target: 44px;
|
|
387
396
|
}
|
|
388
397
|
|
package/dist/tokens.d.ts
CHANGED
|
@@ -31,16 +31,20 @@ export declare const NOTION_THEME: {
|
|
|
31
31
|
readonly dark: "#d4d4d4";
|
|
32
32
|
};
|
|
33
33
|
readonly primary: {
|
|
34
|
-
readonly light: "#
|
|
35
|
-
readonly dark: "#
|
|
34
|
+
readonly light: "#0171cf";
|
|
35
|
+
readonly dark: "#0171cf";
|
|
36
36
|
};
|
|
37
37
|
readonly "primary-foreground": {
|
|
38
38
|
readonly light: "#ffffff";
|
|
39
39
|
readonly dark: "#ffffff";
|
|
40
40
|
};
|
|
41
41
|
readonly "primary-hover": {
|
|
42
|
-
readonly light: "#
|
|
43
|
-
readonly dark: "#
|
|
42
|
+
readonly light: "#0066b8";
|
|
43
|
+
readonly dark: "#0066b8";
|
|
44
|
+
};
|
|
45
|
+
readonly link: {
|
|
46
|
+
readonly light: "#0171cf";
|
|
47
|
+
readonly dark: "#409cfd";
|
|
44
48
|
};
|
|
45
49
|
readonly secondary: {
|
|
46
50
|
readonly light: "#f1f1ef";
|
|
@@ -50,13 +54,17 @@ export declare const NOTION_THEME: {
|
|
|
50
54
|
readonly light: "#37352f";
|
|
51
55
|
readonly dark: "#d4d4d4";
|
|
52
56
|
};
|
|
57
|
+
readonly "code-foreground": {
|
|
58
|
+
readonly light: "#c33c39";
|
|
59
|
+
readonly dark: "#f86a66";
|
|
60
|
+
};
|
|
53
61
|
readonly muted: {
|
|
54
62
|
readonly light: "#f7f7f5";
|
|
55
63
|
readonly dark: "#202020";
|
|
56
64
|
};
|
|
57
65
|
readonly "muted-foreground": {
|
|
58
|
-
readonly light: "#
|
|
59
|
-
readonly dark: "#
|
|
66
|
+
readonly light: "#656461";
|
|
67
|
+
readonly dark: "#a5a5a5";
|
|
60
68
|
};
|
|
61
69
|
readonly accent: {
|
|
62
70
|
readonly light: "rgba(55, 53, 47, 0.08)";
|
|
@@ -71,8 +79,8 @@ export declare const NOTION_THEME: {
|
|
|
71
79
|
readonly dark: "rgba(255, 255, 255, 0.1)";
|
|
72
80
|
};
|
|
73
81
|
readonly destructive: {
|
|
74
|
-
readonly light: "#
|
|
75
|
-
readonly dark: "#
|
|
82
|
+
readonly light: "#c63339";
|
|
83
|
+
readonly dark: "#fd6866";
|
|
76
84
|
};
|
|
77
85
|
readonly "destructive-foreground": {
|
|
78
86
|
readonly light: "#ffffff";
|
|
@@ -83,20 +91,20 @@ export declare const NOTION_THEME: {
|
|
|
83
91
|
readonly dark: "#2f2f2f";
|
|
84
92
|
};
|
|
85
93
|
readonly input: {
|
|
86
|
-
readonly light: "rgba(15, 15, 15, 0.
|
|
87
|
-
readonly dark: "rgba(255, 255, 255, 0.
|
|
94
|
+
readonly light: "rgba(15, 15, 15, 0.46)";
|
|
95
|
+
readonly dark: "rgba(255, 255, 255, 0.36)";
|
|
88
96
|
};
|
|
89
97
|
readonly field: {
|
|
90
98
|
readonly light: "rgba(242, 241, 238, 0.6)";
|
|
91
99
|
readonly dark: "rgba(255, 255, 255, 0.055)";
|
|
92
100
|
};
|
|
93
101
|
readonly "control-off": {
|
|
94
|
-
readonly light: "rgba(135, 131, 120, 0.
|
|
95
|
-
readonly dark: "rgba(202, 196, 183, 0.
|
|
102
|
+
readonly light: "rgba(135, 131, 120, 0.95)";
|
|
103
|
+
readonly dark: "rgba(202, 196, 183, 0.5)";
|
|
96
104
|
};
|
|
97
105
|
readonly ring: {
|
|
98
|
-
readonly light: "rgba(
|
|
99
|
-
readonly dark: "rgba(
|
|
106
|
+
readonly light: "rgba(1, 113, 207, 0.8)";
|
|
107
|
+
readonly dark: "rgba(64, 156, 253, 0.65)";
|
|
100
108
|
};
|
|
101
109
|
readonly sidebar: {
|
|
102
110
|
readonly light: "#f7f7f5";
|
|
@@ -107,8 +115,8 @@ export declare const NOTION_THEME: {
|
|
|
107
115
|
readonly dark: "#9b9b9b";
|
|
108
116
|
};
|
|
109
117
|
readonly "sidebar-primary": {
|
|
110
|
-
readonly light: "#
|
|
111
|
-
readonly dark: "#
|
|
118
|
+
readonly light: "#0171cf";
|
|
119
|
+
readonly dark: "#0171cf";
|
|
112
120
|
};
|
|
113
121
|
readonly "sidebar-primary-foreground": {
|
|
114
122
|
readonly light: "#ffffff";
|
|
@@ -127,8 +135,8 @@ export declare const NOTION_THEME: {
|
|
|
127
135
|
readonly dark: "#2a2a2a";
|
|
128
136
|
};
|
|
129
137
|
readonly "sidebar-ring": {
|
|
130
|
-
readonly light: "rgba(
|
|
131
|
-
readonly dark: "rgba(
|
|
138
|
+
readonly light: "rgba(1, 113, 207, 0.8)";
|
|
139
|
+
readonly dark: "rgba(64, 156, 253, 0.65)";
|
|
132
140
|
};
|
|
133
141
|
readonly tooltip: {
|
|
134
142
|
readonly light: "#0f0f0f";
|
|
@@ -143,8 +151,8 @@ export declare const NOTION_THEME: {
|
|
|
143
151
|
readonly dark: "rgba(0, 0, 0, 0.6)";
|
|
144
152
|
};
|
|
145
153
|
readonly gray: {
|
|
146
|
-
readonly light: "#
|
|
147
|
-
readonly dark: "#
|
|
154
|
+
readonly light: "#656461";
|
|
155
|
+
readonly dark: "#a5a5a5";
|
|
148
156
|
};
|
|
149
157
|
readonly "gray-bg": {
|
|
150
158
|
readonly light: "#f1f1ef";
|
|
@@ -159,7 +167,7 @@ export declare const NOTION_THEME: {
|
|
|
159
167
|
readonly dark: "rgba(255, 255, 255, 0.81)";
|
|
160
168
|
};
|
|
161
169
|
readonly brown: {
|
|
162
|
-
readonly light: "#
|
|
170
|
+
readonly light: "#98644d";
|
|
163
171
|
readonly dark: "#ba856f";
|
|
164
172
|
};
|
|
165
173
|
readonly "brown-bg": {
|
|
@@ -175,7 +183,7 @@ export declare const NOTION_THEME: {
|
|
|
175
183
|
readonly dark: "rgba(255, 255, 255, 0.81)";
|
|
176
184
|
};
|
|
177
185
|
readonly orange: {
|
|
178
|
-
readonly light: "#
|
|
186
|
+
readonly light: "#af5a02";
|
|
179
187
|
readonly dark: "#c77d48";
|
|
180
188
|
};
|
|
181
189
|
readonly "orange-bg": {
|
|
@@ -191,7 +199,7 @@ export declare const NOTION_THEME: {
|
|
|
191
199
|
readonly dark: "rgba(255, 255, 255, 0.81)";
|
|
192
200
|
};
|
|
193
201
|
readonly yellow: {
|
|
194
|
-
readonly light: "#
|
|
202
|
+
readonly light: "#986702";
|
|
195
203
|
readonly dark: "#ca984d";
|
|
196
204
|
};
|
|
197
205
|
readonly "yellow-bg": {
|
|
@@ -200,14 +208,14 @@ export declare const NOTION_THEME: {
|
|
|
200
208
|
};
|
|
201
209
|
readonly "yellow-tag": {
|
|
202
210
|
readonly light: "#fdecc8";
|
|
203
|
-
readonly dark: "#
|
|
211
|
+
readonly dark: "#825c23";
|
|
204
212
|
};
|
|
205
213
|
readonly "yellow-tag-foreground": {
|
|
206
214
|
readonly light: "#402c1b";
|
|
207
215
|
readonly dark: "rgba(255, 255, 255, 0.81)";
|
|
208
216
|
};
|
|
209
217
|
readonly green: {
|
|
210
|
-
readonly light: "#
|
|
218
|
+
readonly light: "#3e7d5c";
|
|
211
219
|
readonly dark: "#529e72";
|
|
212
220
|
};
|
|
213
221
|
readonly "green-bg": {
|
|
@@ -223,7 +231,7 @@ export declare const NOTION_THEME: {
|
|
|
223
231
|
readonly dark: "rgba(255, 255, 255, 0.81)";
|
|
224
232
|
};
|
|
225
233
|
readonly blue: {
|
|
226
|
-
readonly light: "#
|
|
234
|
+
readonly light: "#2b77a2";
|
|
227
235
|
readonly dark: "#379ad3";
|
|
228
236
|
};
|
|
229
237
|
readonly "blue-bg": {
|
|
@@ -239,8 +247,8 @@ export declare const NOTION_THEME: {
|
|
|
239
247
|
readonly dark: "rgba(255, 255, 255, 0.81)";
|
|
240
248
|
};
|
|
241
249
|
readonly purple: {
|
|
242
|
-
readonly light: "#
|
|
243
|
-
readonly dark: "#
|
|
250
|
+
readonly light: "#8a5faa";
|
|
251
|
+
readonly dark: "#a974e0";
|
|
244
252
|
};
|
|
245
253
|
readonly "purple-bg": {
|
|
246
254
|
readonly light: "#f6f3f9";
|
|
@@ -255,8 +263,8 @@ export declare const NOTION_THEME: {
|
|
|
255
263
|
readonly dark: "rgba(255, 255, 255, 0.81)";
|
|
256
264
|
};
|
|
257
265
|
readonly pink: {
|
|
258
|
-
readonly light: "#
|
|
259
|
-
readonly dark: "#
|
|
266
|
+
readonly light: "#ba4684";
|
|
267
|
+
readonly dark: "#dc61a0";
|
|
260
268
|
};
|
|
261
269
|
readonly "pink-bg": {
|
|
262
270
|
readonly light: "#faf1f5";
|
|
@@ -271,8 +279,8 @@ export declare const NOTION_THEME: {
|
|
|
271
279
|
readonly dark: "rgba(255, 255, 255, 0.81)";
|
|
272
280
|
};
|
|
273
281
|
readonly red: {
|
|
274
|
-
readonly light: "#
|
|
275
|
-
readonly dark: "#
|
|
282
|
+
readonly light: "#c8413d";
|
|
283
|
+
readonly dark: "#ea5e5b";
|
|
276
284
|
};
|
|
277
285
|
readonly "red-bg": {
|
|
278
286
|
readonly light: "#fdebec";
|
|
@@ -397,6 +405,7 @@ export declare const NOTION_THEME: {
|
|
|
397
405
|
readonly "content-width-wide": "1152px";
|
|
398
406
|
readonly "control-height": "28px";
|
|
399
407
|
readonly "row-height": "34px";
|
|
408
|
+
readonly "touch-target": "44px";
|
|
400
409
|
};
|
|
401
410
|
readonly clearDefaultPalette: true;
|
|
402
411
|
};
|
|
@@ -429,16 +438,20 @@ export declare const theme: {
|
|
|
429
438
|
readonly dark: "#d4d4d4";
|
|
430
439
|
};
|
|
431
440
|
readonly primary: {
|
|
432
|
-
readonly light: "#
|
|
433
|
-
readonly dark: "#
|
|
441
|
+
readonly light: "#0171cf";
|
|
442
|
+
readonly dark: "#0171cf";
|
|
434
443
|
};
|
|
435
444
|
readonly "primary-foreground": {
|
|
436
445
|
readonly light: "#ffffff";
|
|
437
446
|
readonly dark: "#ffffff";
|
|
438
447
|
};
|
|
439
448
|
readonly "primary-hover": {
|
|
440
|
-
readonly light: "#
|
|
441
|
-
readonly dark: "#
|
|
449
|
+
readonly light: "#0066b8";
|
|
450
|
+
readonly dark: "#0066b8";
|
|
451
|
+
};
|
|
452
|
+
readonly link: {
|
|
453
|
+
readonly light: "#0171cf";
|
|
454
|
+
readonly dark: "#409cfd";
|
|
442
455
|
};
|
|
443
456
|
readonly secondary: {
|
|
444
457
|
readonly light: "#f1f1ef";
|
|
@@ -448,13 +461,17 @@ export declare const theme: {
|
|
|
448
461
|
readonly light: "#37352f";
|
|
449
462
|
readonly dark: "#d4d4d4";
|
|
450
463
|
};
|
|
464
|
+
readonly "code-foreground": {
|
|
465
|
+
readonly light: "#c33c39";
|
|
466
|
+
readonly dark: "#f86a66";
|
|
467
|
+
};
|
|
451
468
|
readonly muted: {
|
|
452
469
|
readonly light: "#f7f7f5";
|
|
453
470
|
readonly dark: "#202020";
|
|
454
471
|
};
|
|
455
472
|
readonly "muted-foreground": {
|
|
456
|
-
readonly light: "#
|
|
457
|
-
readonly dark: "#
|
|
473
|
+
readonly light: "#656461";
|
|
474
|
+
readonly dark: "#a5a5a5";
|
|
458
475
|
};
|
|
459
476
|
readonly accent: {
|
|
460
477
|
readonly light: "rgba(55, 53, 47, 0.08)";
|
|
@@ -469,8 +486,8 @@ export declare const theme: {
|
|
|
469
486
|
readonly dark: "rgba(255, 255, 255, 0.1)";
|
|
470
487
|
};
|
|
471
488
|
readonly destructive: {
|
|
472
|
-
readonly light: "#
|
|
473
|
-
readonly dark: "#
|
|
489
|
+
readonly light: "#c63339";
|
|
490
|
+
readonly dark: "#fd6866";
|
|
474
491
|
};
|
|
475
492
|
readonly "destructive-foreground": {
|
|
476
493
|
readonly light: "#ffffff";
|
|
@@ -481,20 +498,20 @@ export declare const theme: {
|
|
|
481
498
|
readonly dark: "#2f2f2f";
|
|
482
499
|
};
|
|
483
500
|
readonly input: {
|
|
484
|
-
readonly light: "rgba(15, 15, 15, 0.
|
|
485
|
-
readonly dark: "rgba(255, 255, 255, 0.
|
|
501
|
+
readonly light: "rgba(15, 15, 15, 0.46)";
|
|
502
|
+
readonly dark: "rgba(255, 255, 255, 0.36)";
|
|
486
503
|
};
|
|
487
504
|
readonly field: {
|
|
488
505
|
readonly light: "rgba(242, 241, 238, 0.6)";
|
|
489
506
|
readonly dark: "rgba(255, 255, 255, 0.055)";
|
|
490
507
|
};
|
|
491
508
|
readonly "control-off": {
|
|
492
|
-
readonly light: "rgba(135, 131, 120, 0.
|
|
493
|
-
readonly dark: "rgba(202, 196, 183, 0.
|
|
509
|
+
readonly light: "rgba(135, 131, 120, 0.95)";
|
|
510
|
+
readonly dark: "rgba(202, 196, 183, 0.5)";
|
|
494
511
|
};
|
|
495
512
|
readonly ring: {
|
|
496
|
-
readonly light: "rgba(
|
|
497
|
-
readonly dark: "rgba(
|
|
513
|
+
readonly light: "rgba(1, 113, 207, 0.8)";
|
|
514
|
+
readonly dark: "rgba(64, 156, 253, 0.65)";
|
|
498
515
|
};
|
|
499
516
|
readonly sidebar: {
|
|
500
517
|
readonly light: "#f7f7f5";
|
|
@@ -505,8 +522,8 @@ export declare const theme: {
|
|
|
505
522
|
readonly dark: "#9b9b9b";
|
|
506
523
|
};
|
|
507
524
|
readonly "sidebar-primary": {
|
|
508
|
-
readonly light: "#
|
|
509
|
-
readonly dark: "#
|
|
525
|
+
readonly light: "#0171cf";
|
|
526
|
+
readonly dark: "#0171cf";
|
|
510
527
|
};
|
|
511
528
|
readonly "sidebar-primary-foreground": {
|
|
512
529
|
readonly light: "#ffffff";
|
|
@@ -525,8 +542,8 @@ export declare const theme: {
|
|
|
525
542
|
readonly dark: "#2a2a2a";
|
|
526
543
|
};
|
|
527
544
|
readonly "sidebar-ring": {
|
|
528
|
-
readonly light: "rgba(
|
|
529
|
-
readonly dark: "rgba(
|
|
545
|
+
readonly light: "rgba(1, 113, 207, 0.8)";
|
|
546
|
+
readonly dark: "rgba(64, 156, 253, 0.65)";
|
|
530
547
|
};
|
|
531
548
|
readonly tooltip: {
|
|
532
549
|
readonly light: "#0f0f0f";
|
|
@@ -541,8 +558,8 @@ export declare const theme: {
|
|
|
541
558
|
readonly dark: "rgba(0, 0, 0, 0.6)";
|
|
542
559
|
};
|
|
543
560
|
readonly gray: {
|
|
544
|
-
readonly light: "#
|
|
545
|
-
readonly dark: "#
|
|
561
|
+
readonly light: "#656461";
|
|
562
|
+
readonly dark: "#a5a5a5";
|
|
546
563
|
};
|
|
547
564
|
readonly "gray-bg": {
|
|
548
565
|
readonly light: "#f1f1ef";
|
|
@@ -557,7 +574,7 @@ export declare const theme: {
|
|
|
557
574
|
readonly dark: "rgba(255, 255, 255, 0.81)";
|
|
558
575
|
};
|
|
559
576
|
readonly brown: {
|
|
560
|
-
readonly light: "#
|
|
577
|
+
readonly light: "#98644d";
|
|
561
578
|
readonly dark: "#ba856f";
|
|
562
579
|
};
|
|
563
580
|
readonly "brown-bg": {
|
|
@@ -573,7 +590,7 @@ export declare const theme: {
|
|
|
573
590
|
readonly dark: "rgba(255, 255, 255, 0.81)";
|
|
574
591
|
};
|
|
575
592
|
readonly orange: {
|
|
576
|
-
readonly light: "#
|
|
593
|
+
readonly light: "#af5a02";
|
|
577
594
|
readonly dark: "#c77d48";
|
|
578
595
|
};
|
|
579
596
|
readonly "orange-bg": {
|
|
@@ -589,7 +606,7 @@ export declare const theme: {
|
|
|
589
606
|
readonly dark: "rgba(255, 255, 255, 0.81)";
|
|
590
607
|
};
|
|
591
608
|
readonly yellow: {
|
|
592
|
-
readonly light: "#
|
|
609
|
+
readonly light: "#986702";
|
|
593
610
|
readonly dark: "#ca984d";
|
|
594
611
|
};
|
|
595
612
|
readonly "yellow-bg": {
|
|
@@ -598,14 +615,14 @@ export declare const theme: {
|
|
|
598
615
|
};
|
|
599
616
|
readonly "yellow-tag": {
|
|
600
617
|
readonly light: "#fdecc8";
|
|
601
|
-
readonly dark: "#
|
|
618
|
+
readonly dark: "#825c23";
|
|
602
619
|
};
|
|
603
620
|
readonly "yellow-tag-foreground": {
|
|
604
621
|
readonly light: "#402c1b";
|
|
605
622
|
readonly dark: "rgba(255, 255, 255, 0.81)";
|
|
606
623
|
};
|
|
607
624
|
readonly green: {
|
|
608
|
-
readonly light: "#
|
|
625
|
+
readonly light: "#3e7d5c";
|
|
609
626
|
readonly dark: "#529e72";
|
|
610
627
|
};
|
|
611
628
|
readonly "green-bg": {
|
|
@@ -621,7 +638,7 @@ export declare const theme: {
|
|
|
621
638
|
readonly dark: "rgba(255, 255, 255, 0.81)";
|
|
622
639
|
};
|
|
623
640
|
readonly blue: {
|
|
624
|
-
readonly light: "#
|
|
641
|
+
readonly light: "#2b77a2";
|
|
625
642
|
readonly dark: "#379ad3";
|
|
626
643
|
};
|
|
627
644
|
readonly "blue-bg": {
|
|
@@ -637,8 +654,8 @@ export declare const theme: {
|
|
|
637
654
|
readonly dark: "rgba(255, 255, 255, 0.81)";
|
|
638
655
|
};
|
|
639
656
|
readonly purple: {
|
|
640
|
-
readonly light: "#
|
|
641
|
-
readonly dark: "#
|
|
657
|
+
readonly light: "#8a5faa";
|
|
658
|
+
readonly dark: "#a974e0";
|
|
642
659
|
};
|
|
643
660
|
readonly "purple-bg": {
|
|
644
661
|
readonly light: "#f6f3f9";
|
|
@@ -653,8 +670,8 @@ export declare const theme: {
|
|
|
653
670
|
readonly dark: "rgba(255, 255, 255, 0.81)";
|
|
654
671
|
};
|
|
655
672
|
readonly pink: {
|
|
656
|
-
readonly light: "#
|
|
657
|
-
readonly dark: "#
|
|
673
|
+
readonly light: "#ba4684";
|
|
674
|
+
readonly dark: "#dc61a0";
|
|
658
675
|
};
|
|
659
676
|
readonly "pink-bg": {
|
|
660
677
|
readonly light: "#faf1f5";
|
|
@@ -669,8 +686,8 @@ export declare const theme: {
|
|
|
669
686
|
readonly dark: "rgba(255, 255, 255, 0.81)";
|
|
670
687
|
};
|
|
671
688
|
readonly red: {
|
|
672
|
-
readonly light: "#
|
|
673
|
-
readonly dark: "#
|
|
689
|
+
readonly light: "#c8413d";
|
|
690
|
+
readonly dark: "#ea5e5b";
|
|
674
691
|
};
|
|
675
692
|
readonly "red-bg": {
|
|
676
693
|
readonly light: "#fdebec";
|
|
@@ -795,6 +812,7 @@ export declare const theme: {
|
|
|
795
812
|
readonly "content-width-wide": "1152px";
|
|
796
813
|
readonly "control-height": "28px";
|
|
797
814
|
readonly "row-height": "34px";
|
|
815
|
+
readonly "touch-target": "44px";
|
|
798
816
|
};
|
|
799
817
|
readonly clearDefaultPalette: true;
|
|
800
818
|
};
|
package/dist/tokens.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tokens.d.ts","sourceRoot":"","sources":["../src/tokens.ts"],"names":[],"mappings":"AAEA;;;;GAIG;AACH,eAAO,MAAM,YAAY
|
|
1
|
+
{"version":3,"file":"tokens.d.ts","sourceRoot":"","sources":["../src/tokens.ts"],"names":[],"mappings":"AAEA;;;;GAIG;AACH,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAoIvB,CAAC;AAEH,6GAA6G;AAC7G,eAAO,MAAM,KAAK;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAAe,CAAC"}
|