@rokkit/themes 1.0.0-next.54 → 1.0.0-next.55
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 +5 -5
- package/src/base/atoms.css +1 -1
- package/src/base/molecules.css +4 -4
- package/src/base/organisms.css +3 -3
- package/src/markdown.css +7 -7
- package/src/material/base.css +2 -2
- package/src/material/form.css +4 -4
- package/src/material/input.css +8 -8
- package/src/material/list.css +5 -5
- package/src/minimal/base.css +2 -2
- package/src/minimal/form.css +7 -7
- package/src/minimal/input.css +8 -8
- package/src/minimal/list.css +10 -10
- package/src/minimal/tabs.css +1 -1
- package/src/mixins/palette.scss +3 -3
- package/src/palette/sea-green.css +304 -0
- package/src/palette/states.css +27 -0
- package/src/palette.css +54 -54
- package/src/prism.css +1 -1
- package/src/rokkit/atoms.css +6 -6
- package/src/rokkit/base.css +3 -3
- package/src/rokkit/molecules.css +11 -11
- package/src/rokkit/organisms.css +42 -38
package/src/rokkit/organisms.css
CHANGED
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
/* List styles */
|
|
2
2
|
.rokkit virtual-list-contents {
|
|
3
3
|
@apply flex flex-col;
|
|
4
|
-
@apply gap-1px bg-
|
|
4
|
+
@apply gap-1px bg-neutral-inset;
|
|
5
5
|
}
|
|
6
6
|
|
|
7
7
|
.rokkit list {
|
|
8
|
-
@apply gap-1px bg-
|
|
8
|
+
@apply gap-1px bg-neutral-subtle;
|
|
9
9
|
}
|
|
10
10
|
|
|
11
11
|
.rokkit list > item,
|
|
12
12
|
.rokkit virtual-list-contents > virtual-list-item,
|
|
13
13
|
.rokkit accordion div summary {
|
|
14
|
-
@apply leading-10 px-4 bg-
|
|
14
|
+
@apply leading-10 px-4 bg-neutral-base text-neutral-800 min-h-10;
|
|
15
15
|
}
|
|
16
16
|
.rokkit accordion > div > summary {
|
|
17
|
-
@apply rounded pr-2 bg-gradient from-
|
|
17
|
+
@apply rounded pr-2 bg-gradient from-neutral-subtle to-neutral-muted;
|
|
18
18
|
}
|
|
19
19
|
|
|
20
20
|
/* Remove default details marker from summary */
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
|
|
25
25
|
/* Nested List and Tree styles */
|
|
26
26
|
.rokkit :not(accordion > div) > list {
|
|
27
|
-
@apply rounded shadow border border-
|
|
27
|
+
@apply rounded shadow border border-neutral-400 overflow-y-scroll;
|
|
28
28
|
}
|
|
29
29
|
.rokkit :not(accordion > div) > list item {
|
|
30
30
|
@apply last:rounded-b first:rounded-t;
|
|
@@ -45,7 +45,7 @@
|
|
|
45
45
|
}
|
|
46
46
|
/* Styles for 'tabs' class */
|
|
47
47
|
.rokkit tabs {
|
|
48
|
-
@apply border-b-2 border-
|
|
48
|
+
@apply border-b-2 border-neutral-muted px-1 gap-1;
|
|
49
49
|
}
|
|
50
50
|
.rokkit tabs.is-below {
|
|
51
51
|
@apply border-b-0 border-t-2;
|
|
@@ -54,7 +54,7 @@
|
|
|
54
54
|
@apply outline-none border-secondary;
|
|
55
55
|
}
|
|
56
56
|
.rokkit tabs .tab {
|
|
57
|
-
@apply leading-9 px-3 flex-shrink-0 items-center cursor-pointer rounded-t bg-
|
|
57
|
+
@apply leading-9 px-3 flex-shrink-0 items-center cursor-pointer rounded-t bg-neutral-base gap-3;
|
|
58
58
|
}
|
|
59
59
|
.rokkit tabs.is-below .tab {
|
|
60
60
|
@apply rounded-b rounded-t-none;
|
|
@@ -63,10 +63,10 @@
|
|
|
63
63
|
@apply justify-center;
|
|
64
64
|
}
|
|
65
65
|
.rokkit tabs .tab[aria-selected='true'] {
|
|
66
|
-
@apply bg-
|
|
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-500 to-secondary text-
|
|
69
|
+
@apply bg-gradient-to-b from-primary-500 to-secondary text-neutral-50;
|
|
70
70
|
}
|
|
71
71
|
.rokkit tabs.is-below:focus-within .tab[aria-selected='true'] {
|
|
72
72
|
@apply bg-gradient-to-t;
|
|
@@ -75,13 +75,13 @@
|
|
|
75
75
|
/* Styles for 'button' and 'button-group' classes */
|
|
76
76
|
.rokkit button,
|
|
77
77
|
.rokkit .button {
|
|
78
|
-
@apply flex min-h-9 items-center rounded-full px-6 uppercase bg-
|
|
78
|
+
@apply flex min-h-9 items-center rounded-full px-6 uppercase bg-neutral-muted text-neutral-700 cursor-pointer;
|
|
79
79
|
animation: button-pop var(--animation-btn, 0.25s) ease-out;
|
|
80
80
|
}
|
|
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-
|
|
84
|
+
@apply bg-gradient-to-r from-primary to-secondary text-neutral-subtle;
|
|
85
85
|
}
|
|
86
86
|
|
|
87
87
|
.rokkit button-group {
|
|
@@ -99,18 +99,18 @@
|
|
|
99
99
|
}
|
|
100
100
|
|
|
101
101
|
.rokkit button-group button.active {
|
|
102
|
-
@apply bg-gradient-to-r from-primary to-secondary text-
|
|
102
|
+
@apply bg-gradient-to-r from-primary to-secondary text-neutral-subtle;
|
|
103
103
|
}
|
|
104
104
|
|
|
105
105
|
/* Input and Drop-down styles */
|
|
106
106
|
.rokkit input-select,
|
|
107
107
|
.rokkit drop-down > button {
|
|
108
108
|
@apply rounded;
|
|
109
|
-
/* @apply border border-
|
|
109
|
+
/* @apply border border-neutral-muted; */
|
|
110
110
|
}
|
|
111
111
|
|
|
112
112
|
.rokkit drop-down > button {
|
|
113
|
-
@apply bg-
|
|
113
|
+
@apply bg-neutral-base p-0;
|
|
114
114
|
}
|
|
115
115
|
.rokkit drop-down > button > span {
|
|
116
116
|
@apply rounded py-0;
|
|
@@ -120,26 +120,26 @@
|
|
|
120
120
|
}
|
|
121
121
|
|
|
122
122
|
.rokkit :not(field) > input-select {
|
|
123
|
-
@apply bg-
|
|
123
|
+
@apply bg-neutral-base border border-neutral-muted p-2px;
|
|
124
124
|
}
|
|
125
125
|
.rokkit :not(field) > input-select > selected-item {
|
|
126
|
-
@apply bg-
|
|
126
|
+
@apply bg-neutral-subtle;
|
|
127
127
|
}
|
|
128
128
|
.rokkit :not(field) > input-select:focus-within,
|
|
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-500 to-secondary text-
|
|
132
|
+
@apply bg-gradient-to-r from-primary-500 to-secondary text-neutral-50;
|
|
133
133
|
}
|
|
134
134
|
/* .rokkit :not(field) > input-select:focus-within > selected-item,
|
|
135
135
|
.rokkit drop-down:focus-within > button > span {
|
|
136
|
-
@apply bg-
|
|
136
|
+
@apply bg-neutral-muted outline-none min-h-10;
|
|
137
137
|
} */
|
|
138
138
|
|
|
139
139
|
/* Hover and Icon styles */
|
|
140
140
|
/* .rokkit input-select:hover > icon,
|
|
141
141
|
.rokkit drop-down:hover > icon {
|
|
142
|
-
@apply border-
|
|
142
|
+
@apply border-neutral-500;
|
|
143
143
|
} */
|
|
144
144
|
|
|
145
145
|
/* Scroll styles */
|
|
@@ -162,7 +162,7 @@
|
|
|
162
162
|
|
|
163
163
|
/* Nested List and Node styles */
|
|
164
164
|
.rokkit nested-list {
|
|
165
|
-
@apply text-
|
|
165
|
+
@apply text-neutral-800;
|
|
166
166
|
}
|
|
167
167
|
.rokkit nested-list node {
|
|
168
168
|
@apply px-2 h-8;
|
|
@@ -203,46 +203,46 @@
|
|
|
203
203
|
.rokkit list item:hover,
|
|
204
204
|
.rokkit virtual-list-contents virtual-list-item:hover,
|
|
205
205
|
.rokkit node:hover {
|
|
206
|
-
@apply bg-
|
|
206
|
+
@apply bg-neutral-inset;
|
|
207
207
|
}
|
|
208
208
|
|
|
209
209
|
/* Selected and Hover styles for List and Node */
|
|
210
210
|
.rokkit list item[aria-selected='true'] > a {
|
|
211
|
-
@apply text-
|
|
211
|
+
@apply text-neutral-50;
|
|
212
212
|
}
|
|
213
213
|
.rokkit virtual-list-item[aria-current='true'] {
|
|
214
|
-
@apply bg-
|
|
214
|
+
@apply bg-neutral-inset text-secondary;
|
|
215
215
|
}
|
|
216
216
|
|
|
217
217
|
.rokkit list item[aria-selected='true'],
|
|
218
218
|
.rokkit virtual-list-contents virtual-list-item[aria-selected='true'],
|
|
219
219
|
.rokkit node[aria-selected='true'] {
|
|
220
|
-
@apply bg-gradient-to-r from-
|
|
220
|
+
@apply bg-gradient-to-r from-neutral-subtle to-neutral-subtle text-neutral-800;
|
|
221
221
|
}
|
|
222
222
|
|
|
223
223
|
/* Expanded and Selected styles for Accordion */
|
|
224
224
|
.rokkit accordion .is-expanded summary {
|
|
225
|
-
@apply border-b border-
|
|
225
|
+
@apply border-b border-neutral-muted rounded-b-none sticky top-0 z-1;
|
|
226
226
|
}
|
|
227
227
|
|
|
228
228
|
.rokkit accordion [aria-selected='true'] summary {
|
|
229
|
-
@apply bg-
|
|
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-500 to-secondary text-
|
|
232
|
+
@apply outline-none bg-gradient-to-r from-primary-500 to-secondary text-neutral-50;
|
|
233
233
|
}
|
|
234
234
|
|
|
235
235
|
/* Border styles for Accordion */
|
|
236
236
|
.rokkit accordion > div {
|
|
237
|
-
@apply border border-
|
|
237
|
+
@apply border border-neutral-muted;
|
|
238
238
|
}
|
|
239
239
|
|
|
240
240
|
/* Folder Tree styles */
|
|
241
241
|
.rokkit .folder-tree {
|
|
242
|
-
@apply bg-
|
|
242
|
+
@apply bg-neutral-inset h-full;
|
|
243
243
|
}
|
|
244
244
|
.rokkit .folder-tree nested-list {
|
|
245
|
-
@apply bg-
|
|
245
|
+
@apply bg-neutral-inset h-full;
|
|
246
246
|
}
|
|
247
247
|
.rokkit node > item {
|
|
248
248
|
@apply px-1;
|
|
@@ -251,16 +251,16 @@
|
|
|
251
251
|
@apply flex-shrink-0;
|
|
252
252
|
}
|
|
253
253
|
.rokkit node > span > i {
|
|
254
|
-
@apply border-
|
|
254
|
+
@apply border-neutral-muted;
|
|
255
255
|
}
|
|
256
256
|
.rokkit node > icon {
|
|
257
|
-
@apply text-
|
|
257
|
+
@apply text-neutral-muted;
|
|
258
258
|
}
|
|
259
259
|
|
|
260
260
|
/* Toggle Switch styles */
|
|
261
261
|
.rokkit toggle-switch {
|
|
262
262
|
@apply min-w-12 min-h-6 rounded-full mx-auto;
|
|
263
|
-
@apply bg-
|
|
263
|
+
@apply bg-neutral-subtle border border-neutral-muted;
|
|
264
264
|
@apply leading-loose p-2px;
|
|
265
265
|
}
|
|
266
266
|
.rokkit toggle-switch:focus-within {
|
|
@@ -275,20 +275,20 @@
|
|
|
275
275
|
}
|
|
276
276
|
|
|
277
277
|
.rokkit toggle-switch item[aria-selected='true'] {
|
|
278
|
-
@apply bg-gradient-to-r from-
|
|
278
|
+
@apply bg-gradient-to-r from-neutral-muted to-neutral-muted;
|
|
279
279
|
}
|
|
280
280
|
|
|
281
281
|
.rokkit toggle-switch.compact > item {
|
|
282
282
|
@apply px-0 gap-0;
|
|
283
283
|
}
|
|
284
284
|
.rokkit virtual-list-viewport {
|
|
285
|
-
@apply border box-content border-
|
|
285
|
+
@apply border box-content border-neutral-inset;
|
|
286
286
|
}
|
|
287
287
|
.rokkit virtual-list-viewport:focus-within {
|
|
288
288
|
@apply outline-none;
|
|
289
289
|
}
|
|
290
290
|
.rokkit virtual-list {
|
|
291
|
-
@apply p-2px from-transparent to-transparent rounded border border-
|
|
291
|
+
@apply p-2px from-transparent to-transparent rounded border border-neutral-muted;
|
|
292
292
|
}
|
|
293
293
|
.rokkit virtual-list:focus-within {
|
|
294
294
|
@apply bg-gradient-to-r from-primary-500 to-secondary;
|
|
@@ -302,6 +302,10 @@
|
|
|
302
302
|
virtual-list-item[aria-selected='true'],
|
|
303
303
|
.rokkit tree:focus-within node[aria-selected='true'],
|
|
304
304
|
.rokkit nested-list:focus-within node[aria-selected='true'] {
|
|
305
|
-
@apply bg-gradient-to-r from-primary-500 to-secondary text-
|
|
306
|
-
@apply hover:from-secondary-500 hover:to-primary-500 hover:text-
|
|
305
|
+
@apply bg-gradient-to-r from-primary-500 to-secondary text-neutral-50;
|
|
306
|
+
@apply hover:from-secondary-500 hover:to-primary-500 hover:text-neutral-50;
|
|
307
307
|
}
|
|
308
|
+
|
|
309
|
+
.rokkit input-select > selected-item > items {
|
|
310
|
+
@apply flex-grow flex-wrap gap-2;
|
|
311
|
+
}
|