@rokkit/themes 1.0.0-next.57 → 1.0.0-next.59
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/package.json +3 -4
- package/src/base/core.css +5 -1
- package/src/base/molecules.css +2 -2
- package/src/constants.js +6 -1
- package/src/markdown.css +2 -2
- package/src/material/input.css +1 -1
- package/src/material/list.css +4 -4
- package/src/minimal/input.css +4 -4
- package/src/minimal/list.css +1 -1
- package/src/palette.css +0 -2
- package/src/rokkit/atoms.css +3 -3
- package/src/rokkit/molecules.css +4 -4
- package/src/rokkit/organisms.css +13 -15
- package/src/palette/sea-green.css +0 -304
- package/src/palette/states.css +0 -27
- package/src/rokkit/base.css +0 -18
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rokkit/themes",
|
|
3
|
-
"version": "1.0.0-next.
|
|
3
|
+
"version": "1.0.0-next.59",
|
|
4
4
|
"description": "Themes for use with rokkit components.",
|
|
5
5
|
"author": "Jerry Thomas <me@jerrythomas.name>",
|
|
6
6
|
"license": "MIT",
|
|
@@ -20,8 +20,7 @@
|
|
|
20
20
|
"typescript": "^5.2.2",
|
|
21
21
|
"vite": "^4.5.0",
|
|
22
22
|
"vitest": "~0.34.6",
|
|
23
|
-
"
|
|
24
|
-
"shared-config": "1.0.0-next.57"
|
|
23
|
+
"shared-config": "1.0.0-next.59"
|
|
25
24
|
},
|
|
26
25
|
"files": [
|
|
27
26
|
"src"
|
|
@@ -40,7 +39,7 @@
|
|
|
40
39
|
}
|
|
41
40
|
},
|
|
42
41
|
"dependencies": {
|
|
43
|
-
"rokkit": "
|
|
42
|
+
"@rokkit/core": "1.0.0-next.59"
|
|
44
43
|
},
|
|
45
44
|
"scripts": {
|
|
46
45
|
"format": "prettier --write .",
|
package/src/base/core.css
CHANGED
|
@@ -9,7 +9,11 @@
|
|
|
9
9
|
/* Body styles */
|
|
10
10
|
body {
|
|
11
11
|
@apply flex flex-col w-screen overflow-hidden;
|
|
12
|
-
height: var(--viewport-height,
|
|
12
|
+
/* height: var(--viewport-height, 100dvh); */
|
|
13
|
+
height: 100vh;
|
|
14
|
+
height: --webkit-fill-available;
|
|
15
|
+
height: 100dvh;
|
|
16
|
+
max-height: 100dvh;
|
|
13
17
|
}
|
|
14
18
|
|
|
15
19
|
/* Link styles */
|
package/src/base/molecules.css
CHANGED
|
@@ -38,7 +38,7 @@ input-range tick {
|
|
|
38
38
|
@apply h-6;
|
|
39
39
|
}
|
|
40
40
|
input-range tick span {
|
|
41
|
-
@apply border-neutral
|
|
41
|
+
@apply border-neutral h-full;
|
|
42
42
|
}
|
|
43
43
|
input-range tick p {
|
|
44
44
|
@apply items-top;
|
|
@@ -68,7 +68,7 @@ day-of-month {
|
|
|
68
68
|
@apply hover:bg-secondary-200 hover:rounded-full;
|
|
69
69
|
}
|
|
70
70
|
day-of-month[aria-selected='true'] {
|
|
71
|
-
@apply bg-secondary
|
|
71
|
+
@apply bg-secondary text-white rounded-full;
|
|
72
72
|
}
|
|
73
73
|
|
|
74
74
|
/* Form styles */
|
package/src/constants.js
CHANGED
|
@@ -1,3 +1,8 @@
|
|
|
1
|
-
import { themeColors } from '@rokkit/core'
|
|
1
|
+
import { themeColors, themeRules } from '@rokkit/core'
|
|
2
2
|
export { defaultStateIcons, defaultIcons } from '@rokkit/core'
|
|
3
3
|
export const defaultThemeColors = themeColors()
|
|
4
|
+
|
|
5
|
+
export const palettes = {
|
|
6
|
+
rokkit: themeRules(),
|
|
7
|
+
'sea-green': themeRules('sea-green', { primary: 'teal', secondary: 'sky', accent: 'lime' })
|
|
8
|
+
}
|
package/src/markdown.css
CHANGED
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
.markdown-body h5 .octicon-link,
|
|
25
25
|
.markdown-body h6 .octicon-link {
|
|
26
26
|
/* color: #1b1f23; */
|
|
27
|
-
@apply text-neutral
|
|
27
|
+
@apply text-neutral;
|
|
28
28
|
vertical-align: middle;
|
|
29
29
|
visibility: hidden;
|
|
30
30
|
}
|
|
@@ -714,7 +714,7 @@
|
|
|
714
714
|
|
|
715
715
|
.markdown-body h6 {
|
|
716
716
|
font-size: 0.85em;
|
|
717
|
-
@apply text-neutral
|
|
717
|
+
@apply text-neutral;
|
|
718
718
|
/* color: #6a737d; */
|
|
719
719
|
}
|
|
720
720
|
|
package/src/material/input.css
CHANGED
package/src/material/list.css
CHANGED
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
@apply w-4 h-4 rounded;
|
|
14
14
|
}
|
|
15
15
|
.material .tab.is-hovering {
|
|
16
|
-
@apply bg-primary
|
|
16
|
+
@apply bg-primary;
|
|
17
17
|
}
|
|
18
18
|
|
|
19
19
|
.material tabs .tab {
|
|
@@ -53,7 +53,7 @@
|
|
|
53
53
|
}
|
|
54
54
|
|
|
55
55
|
.material accordion .is-selected summary {
|
|
56
|
-
@apply border-b-primary
|
|
56
|
+
@apply border-b-primary border-b text-primary-600;
|
|
57
57
|
@apply hover:text-primary-600;
|
|
58
58
|
}
|
|
59
59
|
/* .material list item[aria-selected='true'] {
|
|
@@ -61,14 +61,14 @@
|
|
|
61
61
|
} */
|
|
62
62
|
.material node[aria-selected='true'],
|
|
63
63
|
.material list item[aria-selected='true'] {
|
|
64
|
-
@apply bg-primary
|
|
64
|
+
@apply bg-primary text-neutral-base;
|
|
65
65
|
}
|
|
66
66
|
.material crumbs {
|
|
67
67
|
@apply flex-grow gap-1 text-sm;
|
|
68
68
|
}
|
|
69
69
|
|
|
70
70
|
.material toggle-switch item[aria-selected='true'] {
|
|
71
|
-
@apply bg-primary text-neutral-
|
|
71
|
+
@apply bg-primary text-neutral-200 dark:text-neutral-800
|
|
72
72
|
}
|
|
73
73
|
.material crumbs crumb.is-selected {
|
|
74
74
|
@apply text-secondary;
|
package/src/minimal/input.css
CHANGED
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
}
|
|
39
39
|
|
|
40
40
|
.minimal input-field label {
|
|
41
|
-
@apply leading-6 w-full uppercase text-sm text-neutral
|
|
41
|
+
@apply leading-6 w-full uppercase text-sm text-neutral;
|
|
42
42
|
}
|
|
43
43
|
.minimal input-field message {
|
|
44
44
|
@apply px-2 py-1 bg-neutral-base rounded;
|
|
@@ -55,7 +55,7 @@
|
|
|
55
55
|
@apply bg-neutral-subtle box-border border-neutral-muted rounded-full;
|
|
56
56
|
}
|
|
57
57
|
.minimal input-range range-track selected {
|
|
58
|
-
@apply border -top-0px -bottom-0px border-secondary
|
|
58
|
+
@apply border -top-0px -bottom-0px border-secondary bg-secondary-600 rounded-full;
|
|
59
59
|
}
|
|
60
60
|
.minimal input-range range-track thumb {
|
|
61
61
|
@apply rounded-full;
|
|
@@ -82,7 +82,7 @@
|
|
|
82
82
|
@apply h-6;
|
|
83
83
|
}
|
|
84
84
|
.minimal tick span {
|
|
85
|
-
@apply border-neutral
|
|
85
|
+
@apply border-neutral h-full;
|
|
86
86
|
}
|
|
87
87
|
.minimal tick p {
|
|
88
88
|
@apply items-top;
|
|
@@ -90,7 +90,7 @@
|
|
|
90
90
|
}
|
|
91
91
|
|
|
92
92
|
.minimal thumb {
|
|
93
|
-
@apply -top-1.5 bg-secondary
|
|
93
|
+
@apply -top-1.5 bg-secondary shadow-xl border border-secondary;
|
|
94
94
|
}
|
|
95
95
|
.minimal thumb.sliding::before {
|
|
96
96
|
content: '';
|
package/src/minimal/list.css
CHANGED
package/src/palette.css
CHANGED
package/src/rokkit/atoms.css
CHANGED
|
@@ -13,10 +13,10 @@
|
|
|
13
13
|
@apply focus:outline-none;
|
|
14
14
|
}
|
|
15
15
|
.rokkit icon[role='button'] {
|
|
16
|
-
@apply text-neutral
|
|
16
|
+
@apply text-neutral focus:rounded hover:text-secondary;
|
|
17
17
|
}
|
|
18
18
|
.rokkit icon[role='button']:focus {
|
|
19
|
-
@apply outline-none bg-gradient-to-r from-primary
|
|
19
|
+
@apply outline-none bg-gradient-to-r from-primary to-secondary text-neutral-200 dark:text-neutral-800;
|
|
20
20
|
}
|
|
21
21
|
.rokkit icon.disabled[role='button'] {
|
|
22
22
|
@apply text-neutral-subtle hover:text-neutral-subtle cursor-not-allowed;
|
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
}
|
|
33
33
|
|
|
34
34
|
.rokkit progress-bar value-bar {
|
|
35
|
-
@apply bg-gradient-to-r from-primary to-secondary text-neutral-subtle;
|
|
35
|
+
@apply bg-gradient-to-r from-primary to-secondary text-neutral-subtle dark:text-neutral-800;
|
|
36
36
|
}
|
|
37
37
|
|
|
38
38
|
/* Styles for 'searchable' class */
|
package/src/rokkit/molecules.css
CHANGED
|
@@ -57,10 +57,10 @@
|
|
|
57
57
|
@apply h-6;
|
|
58
58
|
}
|
|
59
59
|
.rokkit tick span {
|
|
60
|
-
@apply border-neutral
|
|
60
|
+
@apply border-neutral h-full;
|
|
61
61
|
}
|
|
62
62
|
.rokkit tick p {
|
|
63
|
-
@apply items-top text-neutral
|
|
63
|
+
@apply items-top text-neutral;
|
|
64
64
|
font-size: 8px;
|
|
65
65
|
}
|
|
66
66
|
|
|
@@ -70,7 +70,7 @@
|
|
|
70
70
|
}
|
|
71
71
|
.rokkit thumb.sliding::before {
|
|
72
72
|
content: '';
|
|
73
|
-
@apply absolute left-0 top-0 right-0 bottom-0 bg-secondary
|
|
73
|
+
@apply absolute left-0 top-0 right-0 bottom-0 bg-secondary opacity-30 rounded-sm;
|
|
74
74
|
transform: scale(2, 2);
|
|
75
75
|
}
|
|
76
76
|
|
|
@@ -146,5 +146,5 @@
|
|
|
146
146
|
}
|
|
147
147
|
|
|
148
148
|
.rokkit day-of-month[aria-selected='true'] {
|
|
149
|
-
@apply bg-gradient-to-r from-primary to-secondary;
|
|
149
|
+
@apply bg-gradient-to-r from-primary to-secondary text-neutral-200 dark:text-neutral-800;
|
|
150
150
|
}
|
package/src/rokkit/organisms.css
CHANGED
|
@@ -66,7 +66,7 @@
|
|
|
66
66
|
@apply bg-neutral-muted;
|
|
67
67
|
}
|
|
68
68
|
.rokkit tabs:focus-within .tab[aria-selected='true'] {
|
|
69
|
-
@apply bg-gradient-to-b from-primary
|
|
69
|
+
@apply bg-gradient-to-b from-primary to-secondary text-neutral-200 dark:text-neutral-800;
|
|
70
70
|
}
|
|
71
71
|
.rokkit tabs.is-below:focus-within .tab[aria-selected='true'] {
|
|
72
72
|
@apply bg-gradient-to-t;
|
|
@@ -81,7 +81,7 @@
|
|
|
81
81
|
|
|
82
82
|
.rokkit button.is-primary,
|
|
83
83
|
.rokkit .button.is-primary {
|
|
84
|
-
@apply bg-gradient-to-r from-primary to-secondary text-neutral-
|
|
84
|
+
@apply bg-gradient-to-r from-primary to-secondary text-neutral-200 dark:text-neutral-800;
|
|
85
85
|
}
|
|
86
86
|
|
|
87
87
|
.rokkit button-group {
|
|
@@ -99,7 +99,7 @@
|
|
|
99
99
|
}
|
|
100
100
|
|
|
101
101
|
.rokkit button-group button.active {
|
|
102
|
-
@apply bg-gradient-to-r from-primary to-secondary text-neutral-
|
|
102
|
+
@apply bg-gradient-to-r from-primary to-secondary text-neutral-200 dark:text-neutral-800;
|
|
103
103
|
}
|
|
104
104
|
|
|
105
105
|
/* Input and Drop-down styles */
|
|
@@ -129,7 +129,7 @@
|
|
|
129
129
|
.rokkit drop-down:focus-within > button {
|
|
130
130
|
/* @apply p-2px; */
|
|
131
131
|
@apply outline-none border-none;
|
|
132
|
-
@apply bg-gradient-to-r from-primary
|
|
132
|
+
@apply bg-gradient-to-r from-primary to-secondary text-neutral-200 dark:text-neutral-800;
|
|
133
133
|
}
|
|
134
134
|
/* .rokkit :not(field) > input-select:focus-within > selected-item,
|
|
135
135
|
.rokkit drop-down:focus-within > button > span {
|
|
@@ -139,7 +139,7 @@
|
|
|
139
139
|
/* Hover and Icon styles */
|
|
140
140
|
/* .rokkit input-select:hover > icon,
|
|
141
141
|
.rokkit drop-down:hover > icon {
|
|
142
|
-
@apply border-neutral
|
|
142
|
+
@apply border-neutral;
|
|
143
143
|
} */
|
|
144
144
|
|
|
145
145
|
/* Scroll styles */
|
|
@@ -208,7 +208,7 @@
|
|
|
208
208
|
|
|
209
209
|
/* Selected and Hover styles for List and Node */
|
|
210
210
|
.rokkit list item[aria-selected='true'] > a {
|
|
211
|
-
@apply text-neutral-
|
|
211
|
+
@apply text-neutral-200 dark:text-neutral-800
|
|
212
212
|
}
|
|
213
213
|
.rokkit virtual-list-item[aria-current='true'] {
|
|
214
214
|
@apply bg-neutral-inset text-secondary;
|
|
@@ -229,7 +229,7 @@
|
|
|
229
229
|
@apply bg-neutral-subtle;
|
|
230
230
|
}
|
|
231
231
|
.rokkit accordion:focus-within [aria-selected='true'] summary {
|
|
232
|
-
@apply outline-none bg-gradient-to-r from-primary
|
|
232
|
+
@apply outline-none bg-gradient-to-r from-primary to-secondary text-neutral-200 dark:text-neutral-800;
|
|
233
233
|
}
|
|
234
234
|
|
|
235
235
|
/* Border styles for Accordion */
|
|
@@ -264,7 +264,7 @@
|
|
|
264
264
|
@apply leading-loose p-2px;
|
|
265
265
|
}
|
|
266
266
|
.rokkit toggle-switch:focus-within {
|
|
267
|
-
@apply outline outline-secondary
|
|
267
|
+
@apply outline outline-secondary;
|
|
268
268
|
}
|
|
269
269
|
.rokkit toggle-switch item {
|
|
270
270
|
@apply items-center justify-center px-3 gap-1 py-0 leading-loose;
|
|
@@ -291,21 +291,19 @@
|
|
|
291
291
|
@apply p-2px from-transparent to-transparent rounded border border-neutral-muted;
|
|
292
292
|
}
|
|
293
293
|
.rokkit virtual-list:focus-within {
|
|
294
|
-
@apply bg-gradient-to-r from-primary
|
|
294
|
+
@apply bg-gradient-to-r from-primary to-secondary;
|
|
295
295
|
}
|
|
296
296
|
|
|
297
297
|
/* Focus and Hover styles for Toggle Switch, List, Tree, and Nested List */
|
|
298
298
|
.rokkit toggle-switch:focus-within item[aria-selected='true'],
|
|
299
299
|
.rokkit list:focus-within item.is-selected,
|
|
300
|
-
.rokkit
|
|
301
|
-
virtual-list-viewport:focus-within
|
|
302
|
-
virtual-list-item[aria-selected='true'],
|
|
300
|
+
.rokkit virtual-list-viewport:focus-within virtual-list-item[aria-selected='true'],
|
|
303
301
|
.rokkit tree:focus-within node[aria-selected='true'],
|
|
304
302
|
.rokkit nested-list:focus-within node[aria-selected='true'] {
|
|
305
|
-
@apply bg-gradient-to-r from-primary
|
|
306
|
-
@apply hover:from-secondary
|
|
303
|
+
@apply bg-gradient-to-r from-primary to-secondary text-neutral-200 dark:text-neutral-800;
|
|
304
|
+
@apply hover:from-secondary hover:to-primary hover:text-neutral-200 dark:text-neutral-800;
|
|
307
305
|
}
|
|
308
306
|
|
|
309
307
|
.rokkit input-select > selected-item > items {
|
|
310
308
|
@apply flex-grow flex-wrap gap-2;
|
|
311
|
-
}
|
|
309
|
+
}
|
|
@@ -1,304 +0,0 @@
|
|
|
1
|
-
@layer base {
|
|
2
|
-
:root {
|
|
3
|
-
--primary-hue: 138;
|
|
4
|
-
--primary-saturation: 76%;
|
|
5
|
-
--secondary-hue: 329;
|
|
6
|
-
--secondary-saturation: 80%;
|
|
7
|
-
--accent-hue: 329;
|
|
8
|
-
--accent-saturation: 80%;
|
|
9
|
-
--neutral-hue: 210;
|
|
10
|
-
--neutral-saturation: 40%;
|
|
11
|
-
--scroll-width: 0.5rem;
|
|
12
|
-
}
|
|
13
|
-
/* light theme colors */
|
|
14
|
-
.sea-green.light {
|
|
15
|
-
--primary-50: 138, 76%, 98%;
|
|
16
|
-
--primary-100: 141, 84%, 93%;
|
|
17
|
-
--primary-200: 141, 79%, 85%;
|
|
18
|
-
--primary-300: 142, 77%, 73%;
|
|
19
|
-
--primary-400: 142, 69%, 58%;
|
|
20
|
-
--primary-500: 142, 71%, 45%;
|
|
21
|
-
--primary-600: 142, 76%, 36%;
|
|
22
|
-
--primary-700: 142, 72%, 29%;
|
|
23
|
-
--primary-800: 143, 64%, 24%;
|
|
24
|
-
--primary-900: 144, 61%, 20%;
|
|
25
|
-
--primary-950: 145, 80%, 10%;
|
|
26
|
-
|
|
27
|
-
--secondary-50: 214, 100%, 97%;
|
|
28
|
-
--secondary-100: 214, 95%, 93%;
|
|
29
|
-
--secondary-200: 213, 97%, 87%;
|
|
30
|
-
--secondary-300: 212, 96%, 78%;
|
|
31
|
-
--secondary-400: 213, 94%, 68%;
|
|
32
|
-
--secondary-500: 217, 91%, 60%;
|
|
33
|
-
--secondary-600: 221, 83%, 53%;
|
|
34
|
-
--secondary-700: 224, 76%, 48%;
|
|
35
|
-
--secondary-800: 226, 71%, 40%;
|
|
36
|
-
--secondary-900: 224, 64%, 33%;
|
|
37
|
-
--secondary-950: 226, 57%, 21%;
|
|
38
|
-
|
|
39
|
-
--accent-50: 327, 73%, 97%;
|
|
40
|
-
--accent-100: 326, 78%, 95%;
|
|
41
|
-
--accent-200: 326, 85%, 90%;
|
|
42
|
-
--accent-300: 327, 87%, 82%;
|
|
43
|
-
--accent-400: 329, 86%, 70%;
|
|
44
|
-
--accent-500: 330, 81%, 60%;
|
|
45
|
-
--accent-600: 333, 71%, 51%;
|
|
46
|
-
--accent-700: 335, 78%, 42%;
|
|
47
|
-
--accent-800: 336, 74%, 35%;
|
|
48
|
-
--accent-900: 336, 69%, 30%;
|
|
49
|
-
--accent-950: 336, 84%, 17%;
|
|
50
|
-
|
|
51
|
-
--neutral-50: 210, 40%, 98%;
|
|
52
|
-
--neutral-100: 210, 40%, 96%;
|
|
53
|
-
--neutral-200: 214, 32%, 91%;
|
|
54
|
-
--neutral-300: 213, 27%, 84%;
|
|
55
|
-
--neutral-400: 215, 20%, 65%;
|
|
56
|
-
--neutral-500: 215, 16%, 47%;
|
|
57
|
-
--neutral-600: 215, 19%, 35%;
|
|
58
|
-
--neutral-700: 215, 25%, 27%;
|
|
59
|
-
--neutral-800: 217, 33%, 17%;
|
|
60
|
-
--neutral-900: 222, 47%, 11%;
|
|
61
|
-
--neutral-950: 229, 84%, 5%;
|
|
62
|
-
--neutral-zebra: 210, 40%, 97%;
|
|
63
|
-
|
|
64
|
-
--text-white: 210, 40%, 100%;
|
|
65
|
-
--text-black: 217, 33%, 20%;
|
|
66
|
-
|
|
67
|
-
/* light theme syntax colors */
|
|
68
|
-
--tab-size: 2;
|
|
69
|
-
--code-bg: #f3f4f6;
|
|
70
|
-
--code-fill: #f3f4f6;
|
|
71
|
-
--code-normal: #333333; /*hsl(45, 7%, 45%)*/
|
|
72
|
-
--code-string: hsl(41, 37%, 45%); /*#183691 */
|
|
73
|
-
--code-number: hsl(102, 27%, 50%); /* #0086b3;*/
|
|
74
|
-
--code-atrule: var(--code-string);
|
|
75
|
-
--code-keyword: hsl(204, 58%, 45%); /* */
|
|
76
|
-
--code-comment: #969896;
|
|
77
|
-
--code-property: #63a35c;
|
|
78
|
-
--code-selector: var(--code-keyword);
|
|
79
|
-
--code-operator: hsl(19, 67%, 45%);
|
|
80
|
-
--code-function: hsl(19, 67%, 45%); /* #a71d5d; */
|
|
81
|
-
|
|
82
|
-
--code-gutter-marker: black;
|
|
83
|
-
--code-gutter-subtle: #999;
|
|
84
|
-
--code-cursor: #24292e;
|
|
85
|
-
--code-cursor-block: rgba(20, 255, 20, 0.5);
|
|
86
|
-
--code-linenumbers: rgba(27, 31, 35, 0.3);
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
/* dark theme colors */
|
|
90
|
-
.sea-green.dark {
|
|
91
|
-
--primary-950: 138, 76%, 98%;
|
|
92
|
-
--primary-900: 141, 84%, 93%;
|
|
93
|
-
--primary-800: 141, 79%, 85%;
|
|
94
|
-
--primary-700: 142, 77%, 73%;
|
|
95
|
-
--primary-600: 142, 69%, 58%;
|
|
96
|
-
--primary-500: 142, 71%, 45%;
|
|
97
|
-
--primary-400: 142, 76%, 36%;
|
|
98
|
-
--primary-300: 142, 72%, 29%;
|
|
99
|
-
--primary-200: 143, 64%, 24%;
|
|
100
|
-
--primary-100: 144, 61%, 20%;
|
|
101
|
-
--primary-50: 145, 80%, 10%;
|
|
102
|
-
|
|
103
|
-
--secondary-950: 214, 100%, 97%;
|
|
104
|
-
--secondary-900: 214, 95%, 93%;
|
|
105
|
-
--secondary-800: 213, 97%, 87%;
|
|
106
|
-
--secondary-700: 212, 96%, 78%;
|
|
107
|
-
--secondary-600: 213, 94%, 68%;
|
|
108
|
-
--secondary-500: 217, 91%, 60%;
|
|
109
|
-
--secondary-400: 221, 83%, 53%;
|
|
110
|
-
--secondary-300: 224, 76%, 48%;
|
|
111
|
-
--secondary-300: 226, 71%, 40%;
|
|
112
|
-
--secondary-100: 224, 64%, 33%;
|
|
113
|
-
--secondary-50: 226, 57%, 21%;
|
|
114
|
-
|
|
115
|
-
--accent-950: 327, 73%, 97%;
|
|
116
|
-
--accent-900: 326, 78%, 95%;
|
|
117
|
-
--accent-800: 326, 85%, 90%;
|
|
118
|
-
--accent-700: 327, 87%, 82%;
|
|
119
|
-
--accent-600: 329, 86%, 70%;
|
|
120
|
-
--accent-500: 330, 81%, 60%;
|
|
121
|
-
--accent-400: 333, 71%, 51%;
|
|
122
|
-
--accent-300: 335, 78%, 42%;
|
|
123
|
-
--accent-200: 336, 74%, 35%;
|
|
124
|
-
--accent-100: 336, 69%, 30%;
|
|
125
|
-
--accent-50: 336, 84%, 17%;
|
|
126
|
-
|
|
127
|
-
--neutral-950: 210, 40%, 98%;
|
|
128
|
-
--neutral-900: 210, 40%, 96%;
|
|
129
|
-
--neutral-800: 214, 32%, 91%;
|
|
130
|
-
--neutral-700: 213, 27%, 84%;
|
|
131
|
-
--neutral-600: 215, 20%, 65%;
|
|
132
|
-
--neutral-500: 215, 16%, 47%;
|
|
133
|
-
--neutral-400: 215, 19%, 35%;
|
|
134
|
-
--neutral-300: 215, 25%, 27%;
|
|
135
|
-
--neutral-200: 217, 33%, 17%;
|
|
136
|
-
--neutral-100: 222, 47%, 11%;
|
|
137
|
-
--neutral-50: 229, 84%, 5%;
|
|
138
|
-
--neutral-zebra: 225, 60%, 8%;
|
|
139
|
-
|
|
140
|
-
--text-black: 210, 40%, 100%;
|
|
141
|
-
--text-white: 217, 33%, 20%;
|
|
142
|
-
|
|
143
|
-
/* dark theme syntax colors */
|
|
144
|
-
--code-bg: #282c34;
|
|
145
|
-
--code-fill: #282c34;
|
|
146
|
-
--code-normal: #e06c75; /*#ABB2BF;*/
|
|
147
|
-
--code-string: #98c379;
|
|
148
|
-
--code-number: #d19a66;
|
|
149
|
-
--code-atrule: #61afef;
|
|
150
|
-
--code-keyword: #c678dd;
|
|
151
|
-
--code-comment: #5c6370;
|
|
152
|
-
--code-property: #d19a66;
|
|
153
|
-
--code-selector: #e06c75;
|
|
154
|
-
--code-operator: #56b6c2;
|
|
155
|
-
--code-function: #61afef;
|
|
156
|
-
}
|
|
157
|
-
|
|
158
|
-
@media (prefers-color-scheme: light) {
|
|
159
|
-
body.sea-green:not(.dark) {
|
|
160
|
-
--primary-50: 138, 76%, 98%;
|
|
161
|
-
--primary-100: 141, 84%, 93%;
|
|
162
|
-
--primary-200: 141, 79%, 85%;
|
|
163
|
-
--primary-300: 142, 77%, 73%;
|
|
164
|
-
--primary-400: 142, 69%, 58%;
|
|
165
|
-
--primary-500: 142, 71%, 45%;
|
|
166
|
-
--primary-600: 142, 76%, 36%;
|
|
167
|
-
--primary-700: 142, 72%, 29%;
|
|
168
|
-
--primary-800: 143, 64%, 24%;
|
|
169
|
-
--primary-900: 144, 61%, 20%;
|
|
170
|
-
--primary-950: 145, 80%, 10%;
|
|
171
|
-
|
|
172
|
-
--secondary-50: 214, 100%, 97%;
|
|
173
|
-
--secondary-100: 214, 95%, 93%;
|
|
174
|
-
--secondary-200: 213, 97%, 87%;
|
|
175
|
-
--secondary-300: 212, 96%, 78%;
|
|
176
|
-
--secondary-400: 213, 94%, 68%;
|
|
177
|
-
--secondary-500: 217, 91%, 60%;
|
|
178
|
-
--secondary-600: 221, 83%, 53%;
|
|
179
|
-
--secondary-700: 224, 76%, 48%;
|
|
180
|
-
--secondary-800: 226, 71%, 40%;
|
|
181
|
-
--secondary-900: 224, 64%, 33%;
|
|
182
|
-
--secondary-950: 226, 57%, 21%;
|
|
183
|
-
|
|
184
|
-
--accent-50: 327, 73%, 97%;
|
|
185
|
-
--accent-100: 326, 78%, 95%;
|
|
186
|
-
--accent-200: 326, 85%, 90%;
|
|
187
|
-
--accent-300: 327, 87%, 82%;
|
|
188
|
-
--accent-400: 329, 86%, 70%;
|
|
189
|
-
--accent-500: 330, 81%, 60%;
|
|
190
|
-
--accent-600: 333, 71%, 51%;
|
|
191
|
-
--accent-700: 335, 78%, 42%;
|
|
192
|
-
--accent-800: 336, 74%, 35%;
|
|
193
|
-
--accent-900: 336, 69%, 30%;
|
|
194
|
-
--accent-950: 336, 84%, 17%;
|
|
195
|
-
|
|
196
|
-
--neutral-50: 210, 40%, 98%;
|
|
197
|
-
--neutral-100: 210, 40%, 96%;
|
|
198
|
-
--neutral-200: 214, 32%, 91%;
|
|
199
|
-
--neutral-300: 213, 27%, 84%;
|
|
200
|
-
--neutral-400: 215, 20%, 65%;
|
|
201
|
-
--neutral-500: 215, 16%, 47%;
|
|
202
|
-
--neutral-600: 215, 19%, 35%;
|
|
203
|
-
--neutral-700: 215, 25%, 27%;
|
|
204
|
-
--neutral-800: 217, 33%, 17%;
|
|
205
|
-
--neutral-900: 222, 47%, 11%;
|
|
206
|
-
--neutral-950: 229, 84%, 5%;
|
|
207
|
-
--neutral-zebra: 210, 40%, 97%;
|
|
208
|
-
|
|
209
|
-
--text-white: 210, 40%, 100%;
|
|
210
|
-
--text-black: 217, 33%, 20%;
|
|
211
|
-
|
|
212
|
-
/* light theme syntax colors */
|
|
213
|
-
--tab-size: 2;
|
|
214
|
-
--code-bg: #f3f4f6;
|
|
215
|
-
--code-fill: #f3f4f6;
|
|
216
|
-
--code-normal: #333333; /*hsl(45, 7%, 45%)*/
|
|
217
|
-
--code-string: hsl(41, 37%, 45%); /*#183691 */
|
|
218
|
-
--code-number: hsl(102, 27%, 50%); /* #0086b3;*/
|
|
219
|
-
--code-atrule: var(--code-string);
|
|
220
|
-
--code-keyword: hsl(204, 58%, 45%); /* #795da3;*/
|
|
221
|
-
--code-comment: #969896; /*hsl(210, 25%, 60%)*/
|
|
222
|
-
--code-property: #63a35c;
|
|
223
|
-
--code-selector: var(--code-keyword);
|
|
224
|
-
--code-operator: hsl(19, 67%, 45%);
|
|
225
|
-
--code-function: hsl(19, 67%, 45%); /* #a71d5d; */
|
|
226
|
-
|
|
227
|
-
--code-gutter-marker: black;
|
|
228
|
-
--code-gutter-subtle: #999;
|
|
229
|
-
--code-cursor: #24292e;
|
|
230
|
-
--code-cursor-block: rgba(20, 255, 20, 0.5);
|
|
231
|
-
--code-linenumbers: rgba(27, 31, 35, 0.3);
|
|
232
|
-
}
|
|
233
|
-
}
|
|
234
|
-
|
|
235
|
-
@media (prefers-color-scheme: dark) {
|
|
236
|
-
body.sea-green:not(.light) {
|
|
237
|
-
--primary-950: 138, 76%, 98%;
|
|
238
|
-
--primary-900: 141, 84%, 93%;
|
|
239
|
-
--primary-800: 141, 79%, 85%;
|
|
240
|
-
--primary-700: 142, 77%, 73%;
|
|
241
|
-
--primary-600: 142, 69%, 58%;
|
|
242
|
-
--primary-500: 142, 71%, 45%;
|
|
243
|
-
--primary-400: 142, 76%, 36%;
|
|
244
|
-
--primary-300: 142, 72%, 29%;
|
|
245
|
-
--primary-200: 143, 64%, 24%;
|
|
246
|
-
--primary-100: 144, 61%, 20%;
|
|
247
|
-
--primary-50: 145, 80%, 10%;
|
|
248
|
-
|
|
249
|
-
--secondary-950: 214, 100%, 97%;
|
|
250
|
-
--secondary-900: 214, 95%, 93%;
|
|
251
|
-
--secondary-800: 213, 97%, 87%;
|
|
252
|
-
--secondary-700: 212, 96%, 78%;
|
|
253
|
-
--secondary-600: 213, 94%, 68%;
|
|
254
|
-
--secondary-500: 217, 91%, 60%;
|
|
255
|
-
--secondary-400: 221, 83%, 53%;
|
|
256
|
-
--secondary-300: 224, 76%, 48%;
|
|
257
|
-
--secondary-300: 226, 71%, 40%;
|
|
258
|
-
--secondary-100: 224, 64%, 33%;
|
|
259
|
-
--secondary-50: 226, 57%, 21%;
|
|
260
|
-
|
|
261
|
-
--accent-950: 327, 73%, 97%;
|
|
262
|
-
--accent-900: 326, 78%, 95%;
|
|
263
|
-
--accent-800: 326, 85%, 90%;
|
|
264
|
-
--accent-700: 327, 87%, 82%;
|
|
265
|
-
--accent-600: 329, 86%, 70%;
|
|
266
|
-
--accent-500: 330, 81%, 60%;
|
|
267
|
-
--accent-400: 333, 71%, 51%;
|
|
268
|
-
--accent-300: 335, 78%, 42%;
|
|
269
|
-
--accent-200: 336, 74%, 35%;
|
|
270
|
-
--accent-100: 336, 69%, 30%;
|
|
271
|
-
--accent-50: 336, 84%, 17%;
|
|
272
|
-
|
|
273
|
-
--neutral-950: 210, 40%, 98%;
|
|
274
|
-
--neutral-900: 210, 40%, 96%;
|
|
275
|
-
--neutral-800: 214, 32%, 91%;
|
|
276
|
-
--neutral-700: 213, 27%, 84%;
|
|
277
|
-
--neutral-600: 215, 20%, 65%;
|
|
278
|
-
--neutral-500: 215, 16%, 47%;
|
|
279
|
-
--neutral-400: 215, 19%, 35%;
|
|
280
|
-
--neutral-300: 215, 25%, 27%;
|
|
281
|
-
--neutral-200: 217, 33%, 17%;
|
|
282
|
-
--neutral-100: 222, 47%, 11%;
|
|
283
|
-
--neutral-50: 229, 84%, 5%;
|
|
284
|
-
--neutral-zebra: 225, 60%, 8%;
|
|
285
|
-
|
|
286
|
-
--text-black: 210, 40%, 100%;
|
|
287
|
-
--text-white: 217, 33%, 20%;
|
|
288
|
-
|
|
289
|
-
/* one dark theme syntax colors */
|
|
290
|
-
--code-bg: #282c34;
|
|
291
|
-
--code-fill: #282c34;
|
|
292
|
-
--code-normal: #e06c75; /*#ABB2BF;*/
|
|
293
|
-
--code-string: #98c379;
|
|
294
|
-
--code-number: #d19a66;
|
|
295
|
-
--code-atrule: #61afef;
|
|
296
|
-
--code-keyword: #c678dd;
|
|
297
|
-
--code-comment: #5c6370;
|
|
298
|
-
--code-property: #d19a66;
|
|
299
|
-
--code-selector: #e06c75;
|
|
300
|
-
--code-operator: #56b6c2;
|
|
301
|
-
--code-function: #61afef;
|
|
302
|
-
}
|
|
303
|
-
}
|
|
304
|
-
}
|
package/src/palette/states.css
DELETED
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
@layer base {
|
|
2
|
-
.light {
|
|
3
|
-
--success-50: 138, 76%, 98%;
|
|
4
|
-
--success-100: 141, 84%, 93%;
|
|
5
|
-
--success-200: 141, 79%, 85%;
|
|
6
|
-
--success-300: 142, 77%, 73%;
|
|
7
|
-
--success-400: 142, 69%, 58%;
|
|
8
|
-
--success-500: 142, 71%, 45%;
|
|
9
|
-
--success-600: 142, 76%, 36%;
|
|
10
|
-
--success-700: 142, 72%, 29%;
|
|
11
|
-
--success-800: 143, 64%, 24%;
|
|
12
|
-
--success-900: 144, 61%, 20%;
|
|
13
|
-
--success-950: 145, 80%, 10%;
|
|
14
|
-
|
|
15
|
-
--error-50: 138, 76%, 98%;
|
|
16
|
-
--error-100: 141, 84%, 93%;
|
|
17
|
-
--error-200: 141, 79%, 85%;
|
|
18
|
-
--error-300: 142, 77%, 73%;
|
|
19
|
-
--error-400: 142, 69%, 58%;
|
|
20
|
-
--error-500: 142, 71%, 45%;
|
|
21
|
-
--error-600: 142, 76%, 36%;
|
|
22
|
-
--error-700: 142, 72%, 29%;
|
|
23
|
-
--error-800: 143, 64%, 24%;
|
|
24
|
-
--error-900: 144, 61%, 20%;
|
|
25
|
-
--error-950: 145, 80%, 10%;
|
|
26
|
-
}
|
|
27
|
-
}
|
package/src/rokkit/base.css
DELETED
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
/* @import '../base/base.css'; */
|
|
2
|
-
|
|
3
|
-
/* .rokkit * {
|
|
4
|
-
@apply focus:outline-offset-0;
|
|
5
|
-
} */
|
|
6
|
-
|
|
7
|
-
/* .rokkit icon:not([role='button']) {
|
|
8
|
-
@apply focus:outline-none;
|
|
9
|
-
}
|
|
10
|
-
.rokkit icon[role='button'] {
|
|
11
|
-
@apply text-neutral-500 focus:rounded hover:text-secondary;
|
|
12
|
-
}
|
|
13
|
-
.rokkit icon[role='button']:focus {
|
|
14
|
-
@apply outline-none bg-gradient-to-r from-primary-500 to-secondary text-neutral-50;
|
|
15
|
-
}
|
|
16
|
-
.rokkit icon.disabled[role='button'] {
|
|
17
|
-
@apply text-neutral-subtle hover:text-neutral-subtle cursor-not-allowed;
|
|
18
|
-
} */
|