@rokkit/themes 1.0.5 → 1.1.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/build.mjs +4 -2
- package/package.json +3 -2
- package/src/base/carousel.css +2 -1
- package/src/base/code-block.css +76 -0
- package/src/base/display.css +16 -8
- package/src/base/frame.css +36 -0
- package/src/base/index.css +2 -0
- package/src/base/input.css +49 -10
- package/src/base/nav-content.css +3 -3
- package/src/base/stepper.css +14 -7
- package/src/base/tabs.css +15 -2
- package/src/base/typography.css +32 -13
- package/src/frosted/button.css +27 -27
- package/src/frosted/card.css +8 -8
- package/src/frosted/chart.css +6 -6
- package/src/frosted/code-block.css +33 -0
- package/src/frosted/dropdown.css +9 -9
- package/src/frosted/floating-action.css +10 -10
- package/src/frosted/floating-navigation.css +13 -13
- package/src/frosted/frame.css +17 -0
- package/src/frosted/index.css +2 -0
- package/src/frosted/input.css +16 -16
- package/src/frosted/list.css +25 -25
- package/src/frosted/menu.css +13 -13
- package/src/frosted/message.css +8 -8
- package/src/frosted/range.css +8 -8
- package/src/frosted/search-filter.css +8 -8
- package/src/frosted/select.css +31 -31
- package/src/frosted/status-list.css +17 -17
- package/src/frosted/step-indicator.css +8 -8
- package/src/frosted/swatch.css +3 -3
- package/src/frosted/switch.css +3 -3
- package/src/frosted/table.css +16 -16
- package/src/frosted/tabs.css +8 -8
- package/src/frosted/timeline.css +5 -5
- package/src/frosted/toc.css +4 -4
- package/src/frosted/toggle.css +7 -7
- package/src/frosted/toolbar.css +15 -15
- package/src/frosted/tree.css +19 -19
- package/src/material/button.css +29 -29
- package/src/material/card.css +12 -12
- package/src/material/chart.css +6 -6
- package/src/material/code-block.css +33 -0
- package/src/material/dropdown.css +11 -11
- package/src/material/floating-action.css +10 -10
- package/src/material/floating-navigation.css +13 -13
- package/src/material/frame.css +17 -0
- package/src/material/index.css +2 -0
- package/src/material/input.css +21 -21
- package/src/material/list.css +23 -23
- package/src/material/menu.css +16 -16
- package/src/material/message.css +8 -8
- package/src/material/range.css +8 -8
- package/src/material/search-filter.css +8 -8
- package/src/material/select.css +31 -31
- package/src/material/status-list.css +17 -17
- package/src/material/step-indicator.css +8 -8
- package/src/material/swatch.css +3 -3
- package/src/material/switch.css +6 -6
- package/src/material/table.css +16 -16
- package/src/material/tabs.css +7 -7
- package/src/material/timeline.css +5 -5
- package/src/material/toc.css +4 -4
- package/src/material/toggle.css +6 -6
- package/src/material/toolbar.css +11 -11
- package/src/material/tree.css +17 -17
- package/src/minimal/button.css +30 -30
- package/src/minimal/card.css +13 -13
- package/src/minimal/chart.css +6 -6
- package/src/minimal/code-block.css +33 -0
- package/src/minimal/dropdown.css +11 -11
- package/src/minimal/floating-action.css +10 -10
- package/src/minimal/floating-navigation.css +12 -12
- package/src/minimal/frame.css +17 -0
- package/src/minimal/index.css +2 -0
- package/src/minimal/input.css +24 -24
- package/src/minimal/list.css +52 -26
- package/src/minimal/menu.css +15 -15
- package/src/minimal/message.css +8 -8
- package/src/minimal/range.css +7 -7
- package/src/minimal/search-filter.css +8 -8
- package/src/minimal/select.css +27 -27
- package/src/minimal/status-list.css +17 -17
- package/src/minimal/step-indicator.css +8 -8
- package/src/minimal/swatch.css +3 -3
- package/src/minimal/switch.css +6 -6
- package/src/minimal/table.css +16 -16
- package/src/minimal/tabs.css +14 -14
- package/src/minimal/timeline.css +4 -4
- package/src/minimal/toc.css +4 -4
- package/src/minimal/toggle.css +7 -7
- package/src/minimal/toolbar.css +14 -14
- package/src/minimal/tree.css +24 -18
- package/src/rokkit/avatar.css +6 -6
- package/src/rokkit/badge.css +5 -5
- package/src/rokkit/button.css +55 -37
- package/src/rokkit/card.css +11 -11
- package/src/rokkit/chart.css +6 -6
- package/src/rokkit/code-block.css +33 -0
- package/src/rokkit/connector.css +1 -1
- package/src/rokkit/divider.css +5 -5
- package/src/rokkit/dropdown.css +11 -11
- package/src/rokkit/floating-action.css +11 -11
- package/src/rokkit/floating-navigation.css +15 -15
- package/src/rokkit/frame.css +17 -0
- package/src/rokkit/grid.css +8 -8
- package/src/rokkit/index.css +2 -0
- package/src/rokkit/input.css +17 -17
- package/src/rokkit/list.css +24 -24
- package/src/rokkit/menu.css +14 -14
- package/src/rokkit/message.css +12 -12
- package/src/rokkit/range.css +10 -10
- package/src/rokkit/search-filter.css +8 -8
- package/src/rokkit/select.css +34 -34
- package/src/rokkit/status-list.css +17 -17
- package/src/rokkit/step-indicator.css +8 -8
- package/src/rokkit/swatch.css +3 -3
- package/src/rokkit/switch.css +6 -6
- package/src/rokkit/table.css +16 -16
- package/src/rokkit/tabs.css +31 -28
- package/src/rokkit/timeline.css +5 -5
- package/src/rokkit/toc.css +4 -4
- package/src/rokkit/toggle.css +21 -10
- package/src/rokkit/toolbar.css +15 -15
- package/src/rokkit/tooltip.css +1 -1
- package/src/rokkit/tree.css +23 -23
- package/src/rokkit/upload-progress.css +18 -18
- package/src/rokkit/upload-target.css +8 -8
- package/src/zen-sumi/button.css +29 -29
- package/src/zen-sumi/card.css +12 -12
- package/src/zen-sumi/chart.css +6 -6
- package/src/zen-sumi/code-block.css +35 -0
- package/src/zen-sumi/dropdown.css +10 -10
- package/src/zen-sumi/floating-action.css +7 -7
- package/src/zen-sumi/floating-navigation.css +11 -11
- package/src/zen-sumi/frame.css +20 -0
- package/src/zen-sumi/index.css +2 -0
- package/src/zen-sumi/input.css +49 -23
- package/src/zen-sumi/list.css +20 -20
- package/src/zen-sumi/menu.css +14 -14
- package/src/zen-sumi/message.css +8 -8
- package/src/zen-sumi/range.css +7 -7
- package/src/zen-sumi/search-filter.css +8 -8
- package/src/zen-sumi/select.css +26 -26
- package/src/zen-sumi/status-list.css +17 -17
- package/src/zen-sumi/step-indicator.css +8 -8
- package/src/zen-sumi/swatch.css +3 -3
- package/src/zen-sumi/switch.css +5 -5
- package/src/zen-sumi/table.css +16 -16
- package/src/zen-sumi/tabs.css +8 -8
- package/src/zen-sumi/timeline.css +4 -4
- package/src/zen-sumi/toc.css +4 -4
- package/src/zen-sumi/toggle.css +18 -10
- package/src/zen-sumi/toolbar.css +14 -14
- package/src/zen-sumi/tree.css +16 -16
package/src/rokkit/list.css
CHANGED
|
@@ -17,12 +17,12 @@
|
|
|
17
17
|
============================================================================= */
|
|
18
18
|
|
|
19
19
|
[data-style='rokkit'] [data-list] [data-list-item] {
|
|
20
|
-
@apply text-
|
|
20
|
+
@apply text-ink-mute rounded-none border-0 border-solid border-transparent;
|
|
21
21
|
}
|
|
22
22
|
|
|
23
23
|
[data-style='rokkit'] [data-list] a[data-list-item],
|
|
24
24
|
[data-style='rokkit'] [data-list] button[data-list-item] {
|
|
25
|
-
@apply text-
|
|
25
|
+
@apply text-ink-mute rounded-none;
|
|
26
26
|
}
|
|
27
27
|
|
|
28
28
|
/* Hover and focus (keyboard navigation) */
|
|
@@ -30,22 +30,22 @@
|
|
|
30
30
|
[data-style='rokkit']
|
|
31
31
|
[data-list]
|
|
32
32
|
[data-list-item]:focus:not(:disabled):not([data-disabled='true']) {
|
|
33
|
-
@apply from-
|
|
33
|
+
@apply from-paper-mute to-paper-mute text-ink bg-gradient-to-r outline-none;
|
|
34
34
|
}
|
|
35
35
|
|
|
36
36
|
/* Active state — muted gradient when list not focused */
|
|
37
37
|
[data-style='rokkit'] [data-list] [data-list-item][data-active='true'] {
|
|
38
|
-
@apply from-
|
|
38
|
+
@apply from-paper-mute to-paper-mute text-primary bg-gradient-to-r;
|
|
39
39
|
}
|
|
40
40
|
|
|
41
41
|
/* Active state — full gradient when list has focus */
|
|
42
42
|
[data-style='rokkit'] [data-list]:focus-within [data-list-item][data-active='true'] {
|
|
43
|
-
@apply from-primary
|
|
43
|
+
@apply from-primary to-accent text-on-primary bg-gradient-to-r;
|
|
44
44
|
}
|
|
45
45
|
|
|
46
46
|
/* Active + hover — same as focus-within gradient */
|
|
47
47
|
[data-style='rokkit'] [data-list] [data-list-item][data-active='true']:hover:not(:disabled) {
|
|
48
|
-
@apply from-primary
|
|
48
|
+
@apply from-primary to-accent text-on-primary bg-gradient-to-r;
|
|
49
49
|
}
|
|
50
50
|
|
|
51
51
|
/* =============================================================================
|
|
@@ -54,16 +54,16 @@
|
|
|
54
54
|
|
|
55
55
|
[data-style='rokkit'] [data-list] [data-list-item] [data-item-icon] {
|
|
56
56
|
font-size: 1rem;
|
|
57
|
-
@apply text-
|
|
57
|
+
@apply text-ink-soft;
|
|
58
58
|
}
|
|
59
59
|
|
|
60
60
|
[data-style='rokkit'] [data-list] [data-list-item]:hover:not(:disabled) [data-item-icon],
|
|
61
61
|
[data-style='rokkit'] [data-list] [data-list-item]:focus:not(:disabled) [data-item-icon] {
|
|
62
|
-
@apply text-
|
|
62
|
+
@apply text-ink-mute;
|
|
63
63
|
}
|
|
64
64
|
|
|
65
65
|
[data-style='rokkit'] [data-list] [data-list-item][data-active='true'] [data-item-icon] {
|
|
66
|
-
@apply text-primary
|
|
66
|
+
@apply text-primary;
|
|
67
67
|
}
|
|
68
68
|
|
|
69
69
|
[data-style='rokkit']
|
|
@@ -79,16 +79,16 @@
|
|
|
79
79
|
|
|
80
80
|
/* Literal / kanji icons */
|
|
81
81
|
[data-style='rokkit'] [data-list] [data-list-item] [data-item-icon-literal] {
|
|
82
|
-
@apply text-
|
|
82
|
+
@apply text-ink-soft;
|
|
83
83
|
}
|
|
84
84
|
|
|
85
85
|
[data-style='rokkit'] [data-list] [data-list-item]:hover:not(:disabled) [data-item-icon-literal],
|
|
86
86
|
[data-style='rokkit'] [data-list] [data-list-item]:focus:not(:disabled) [data-item-icon-literal] {
|
|
87
|
-
@apply text-
|
|
87
|
+
@apply text-ink-mute;
|
|
88
88
|
}
|
|
89
89
|
|
|
90
90
|
[data-style='rokkit'] [data-list] [data-list-item][data-active='true'] [data-item-icon-literal] {
|
|
91
|
-
@apply text-primary
|
|
91
|
+
@apply text-primary;
|
|
92
92
|
}
|
|
93
93
|
|
|
94
94
|
[data-style='rokkit']
|
|
@@ -104,11 +104,11 @@
|
|
|
104
104
|
|
|
105
105
|
/* Item description */
|
|
106
106
|
[data-style='rokkit'] [data-list] [data-list-item] [data-item-description] {
|
|
107
|
-
@apply text-
|
|
107
|
+
@apply text-ink-soft;
|
|
108
108
|
}
|
|
109
109
|
|
|
110
110
|
[data-style='rokkit'] [data-list] [data-list-item][data-active='true'] [data-item-description] {
|
|
111
|
-
@apply text-primary
|
|
111
|
+
@apply text-primary;
|
|
112
112
|
}
|
|
113
113
|
|
|
114
114
|
[data-style='rokkit']
|
|
@@ -124,18 +124,18 @@
|
|
|
124
124
|
|
|
125
125
|
/* Item badge */
|
|
126
126
|
[data-style='rokkit'] [data-list] [data-list-item] [data-item-badge] {
|
|
127
|
-
@apply text-
|
|
127
|
+
@apply text-ink-soft from-paper-mute to-paper-mute border-paper-edge border bg-gradient-to-b;
|
|
128
128
|
}
|
|
129
129
|
|
|
130
130
|
[data-style='rokkit'] [data-list] [data-list-item][data-active='true'] [data-item-badge] {
|
|
131
|
-
@apply text-primary
|
|
131
|
+
@apply text-primary from-primary to-primary border-primary border bg-gradient-to-b;
|
|
132
132
|
}
|
|
133
133
|
|
|
134
134
|
[data-style='rokkit']
|
|
135
135
|
[data-list]:focus-within
|
|
136
136
|
[data-list-item][data-active='true']
|
|
137
137
|
[data-item-badge] {
|
|
138
|
-
@apply text-on-primary from-primary
|
|
138
|
+
@apply text-on-primary from-primary to-primary border-primary;
|
|
139
139
|
}
|
|
140
140
|
|
|
141
141
|
/* =============================================================================
|
|
@@ -157,7 +157,7 @@
|
|
|
157
157
|
============================================================================= */
|
|
158
158
|
|
|
159
159
|
[data-style='rokkit'] [data-list] [data-list-group] {
|
|
160
|
-
@apply text-
|
|
160
|
+
@apply text-ink-soft mt-2;
|
|
161
161
|
}
|
|
162
162
|
|
|
163
163
|
[data-style='rokkit'] [data-list] [data-list-group]:first-child {
|
|
@@ -170,7 +170,7 @@
|
|
|
170
170
|
|
|
171
171
|
[data-style='rokkit'] [data-list] [data-list-group]:hover:not(:disabled),
|
|
172
172
|
[data-style='rokkit'] [data-list] [data-list-group]:focus:not(:disabled) {
|
|
173
|
-
@apply from-
|
|
173
|
+
@apply from-paper-edge to-paper-mute text-ink-mute bg-gradient-to-r;
|
|
174
174
|
}
|
|
175
175
|
|
|
176
176
|
/* =============================================================================
|
|
@@ -178,7 +178,7 @@
|
|
|
178
178
|
============================================================================= */
|
|
179
179
|
|
|
180
180
|
[data-style='rokkit'] [data-list] [data-list-separator] {
|
|
181
|
-
@apply via-
|
|
181
|
+
@apply via-paper-edge bg-gradient-to-r from-transparent to-transparent;
|
|
182
182
|
}
|
|
183
183
|
|
|
184
184
|
/* =============================================================================
|
|
@@ -186,17 +186,17 @@
|
|
|
186
186
|
============================================================================= */
|
|
187
187
|
|
|
188
188
|
[data-style='rokkit'] [data-list] [data-list-item][data-selected='true'] {
|
|
189
|
-
@apply bg-primary
|
|
189
|
+
@apply bg-primary text-primary;
|
|
190
190
|
}
|
|
191
191
|
|
|
192
192
|
[data-style='rokkit'] [data-list]:focus-within [data-list-item][data-selected='true'] {
|
|
193
|
-
@apply bg-primary
|
|
193
|
+
@apply bg-primary text-primary;
|
|
194
194
|
}
|
|
195
195
|
|
|
196
196
|
[data-style='rokkit'] [data-list] [data-list-item][data-selected='true']:hover:not(:disabled) {
|
|
197
|
-
@apply bg-primary
|
|
197
|
+
@apply bg-primary;
|
|
198
198
|
}
|
|
199
199
|
|
|
200
200
|
[data-style='rokkit'] [data-list] [data-list-item][data-selected='true'] [data-item-icon] {
|
|
201
|
-
@apply text-primary
|
|
201
|
+
@apply text-primary;
|
|
202
202
|
}
|
package/src/rokkit/menu.css
CHANGED
|
@@ -9,11 +9,11 @@
|
|
|
9
9
|
============================================================================= */
|
|
10
10
|
|
|
11
11
|
[data-style='rokkit'] [data-menu-trigger] {
|
|
12
|
-
@apply from-
|
|
12
|
+
@apply from-paper-mute to-paper-mute border-paper-edge text-ink-mute border bg-gradient-to-b;
|
|
13
13
|
}
|
|
14
14
|
|
|
15
15
|
[data-style='rokkit'] [data-menu-trigger]:hover:not(:disabled) {
|
|
16
|
-
@apply from-
|
|
16
|
+
@apply from-paper-edge to-paper-mute text-ink border-ink-soft bg-gradient-to-b;
|
|
17
17
|
}
|
|
18
18
|
|
|
19
19
|
[data-style='rokkit'] [data-menu-trigger]:focus-visible {
|
|
@@ -21,20 +21,20 @@
|
|
|
21
21
|
}
|
|
22
22
|
|
|
23
23
|
[data-style='rokkit'] [data-menu][data-open='true'] [data-menu-trigger] {
|
|
24
|
-
@apply from-primary
|
|
24
|
+
@apply from-primary to-accent border-primary bg-gradient-to-r;
|
|
25
25
|
}
|
|
26
26
|
|
|
27
27
|
/* Trigger elements */
|
|
28
28
|
[data-style='rokkit'] [data-menu-trigger] [data-menu-icon] {
|
|
29
|
-
@apply text-
|
|
29
|
+
@apply text-ink-soft;
|
|
30
30
|
}
|
|
31
31
|
|
|
32
32
|
[data-style='rokkit'] [data-menu-trigger]:hover:not(:disabled) [data-menu-icon] {
|
|
33
|
-
@apply text-
|
|
33
|
+
@apply text-ink-mute;
|
|
34
34
|
}
|
|
35
35
|
|
|
36
36
|
[data-style='rokkit'] [data-menu-trigger] [data-menu-arrow] {
|
|
37
|
-
@apply text-
|
|
37
|
+
@apply text-ink-soft;
|
|
38
38
|
}
|
|
39
39
|
|
|
40
40
|
/* =============================================================================
|
|
@@ -42,7 +42,7 @@
|
|
|
42
42
|
============================================================================= */
|
|
43
43
|
|
|
44
44
|
[data-style='rokkit'] [data-menu-dropdown] {
|
|
45
|
-
@apply from-
|
|
45
|
+
@apply from-paper-mute to-paper-soft border-paper-edge border bg-gradient-to-b shadow-md;
|
|
46
46
|
}
|
|
47
47
|
|
|
48
48
|
[data-style='rokkit'] [data-menu-dropdown]:focus-within {
|
|
@@ -54,26 +54,26 @@
|
|
|
54
54
|
============================================================================= */
|
|
55
55
|
|
|
56
56
|
[data-style='rokkit'] [data-menu-item] {
|
|
57
|
-
@apply text-
|
|
57
|
+
@apply text-ink-mute rounded-none border-0 border-solid border-transparent;
|
|
58
58
|
}
|
|
59
59
|
|
|
60
60
|
[data-style='rokkit'] [data-menu-item]:hover:not(:disabled):not([data-disabled='true']),
|
|
61
61
|
[data-style='rokkit'] [data-menu-item]:focus:not(:disabled):not([data-disabled='true']) {
|
|
62
|
-
@apply from-
|
|
62
|
+
@apply from-paper-mute to-paper-mute text-ink bg-gradient-to-r outline-none;
|
|
63
63
|
}
|
|
64
64
|
|
|
65
65
|
/* Item elements */
|
|
66
66
|
[data-style='rokkit'] [data-menu-item] [data-item-icon] {
|
|
67
|
-
@apply text-
|
|
67
|
+
@apply text-ink-soft;
|
|
68
68
|
}
|
|
69
69
|
|
|
70
70
|
[data-style='rokkit'] [data-menu-item]:hover:not(:disabled) [data-item-icon],
|
|
71
71
|
[data-style='rokkit'] [data-menu-item]:focus:not(:disabled) [data-item-icon] {
|
|
72
|
-
@apply text-primary
|
|
72
|
+
@apply text-primary;
|
|
73
73
|
}
|
|
74
74
|
|
|
75
75
|
[data-style='rokkit'] [data-menu-item] [data-item-description] {
|
|
76
|
-
@apply text-
|
|
76
|
+
@apply text-ink-soft;
|
|
77
77
|
}
|
|
78
78
|
|
|
79
79
|
/* =============================================================================
|
|
@@ -81,7 +81,7 @@
|
|
|
81
81
|
============================================================================= */
|
|
82
82
|
|
|
83
83
|
[data-style='rokkit'] [data-menu-group] {
|
|
84
|
-
@apply text-
|
|
84
|
+
@apply text-ink-soft;
|
|
85
85
|
}
|
|
86
86
|
|
|
87
87
|
/* =============================================================================
|
|
@@ -89,5 +89,5 @@
|
|
|
89
89
|
============================================================================= */
|
|
90
90
|
|
|
91
91
|
[data-style='rokkit'] [data-menu-separator] {
|
|
92
|
-
@apply via-
|
|
92
|
+
@apply via-paper-edge bg-gradient-to-r from-transparent to-transparent;
|
|
93
93
|
}
|
package/src/rokkit/message.css
CHANGED
|
@@ -4,41 +4,41 @@
|
|
|
4
4
|
|
|
5
5
|
/* Type colors */
|
|
6
6
|
[data-style='rokkit'] [data-message-root][data-type='error'] {
|
|
7
|
-
@apply bg-error-
|
|
7
|
+
@apply bg-error-soft border-error text-error;
|
|
8
8
|
}
|
|
9
9
|
[data-style='rokkit'] [data-message-root][data-type='error'] [data-message-icon] {
|
|
10
|
-
@apply text-error
|
|
10
|
+
@apply text-error;
|
|
11
11
|
}
|
|
12
12
|
[data-style='rokkit'] [data-message-root][data-type='error'] [data-message-dismiss] {
|
|
13
|
-
@apply text-error
|
|
13
|
+
@apply text-error;
|
|
14
14
|
}
|
|
15
15
|
|
|
16
16
|
[data-style='rokkit'] [data-message-root][data-type='warning'] {
|
|
17
|
-
@apply bg-warning-
|
|
17
|
+
@apply bg-warning-soft border-warning text-warning;
|
|
18
18
|
}
|
|
19
19
|
[data-style='rokkit'] [data-message-root][data-type='warning'] [data-message-icon] {
|
|
20
|
-
@apply text-warning
|
|
20
|
+
@apply text-warning;
|
|
21
21
|
}
|
|
22
22
|
[data-style='rokkit'] [data-message-root][data-type='warning'] [data-message-dismiss] {
|
|
23
|
-
@apply text-warning
|
|
23
|
+
@apply text-warning;
|
|
24
24
|
}
|
|
25
25
|
|
|
26
26
|
[data-style='rokkit'] [data-message-root][data-type='info'] {
|
|
27
|
-
@apply bg-info-
|
|
27
|
+
@apply bg-info-soft border-info text-info;
|
|
28
28
|
}
|
|
29
29
|
[data-style='rokkit'] [data-message-root][data-type='info'] [data-message-icon] {
|
|
30
|
-
@apply text-info
|
|
30
|
+
@apply text-info;
|
|
31
31
|
}
|
|
32
32
|
[data-style='rokkit'] [data-message-root][data-type='info'] [data-message-dismiss] {
|
|
33
|
-
@apply text-info
|
|
33
|
+
@apply text-info;
|
|
34
34
|
}
|
|
35
35
|
|
|
36
36
|
[data-style='rokkit'] [data-message-root][data-type='success'] {
|
|
37
|
-
@apply bg-success-
|
|
37
|
+
@apply bg-success-soft border-success text-success;
|
|
38
38
|
}
|
|
39
39
|
[data-style='rokkit'] [data-message-root][data-type='success'] [data-message-icon] {
|
|
40
|
-
@apply text-success
|
|
40
|
+
@apply text-success;
|
|
41
41
|
}
|
|
42
42
|
[data-style='rokkit'] [data-message-root][data-type='success'] [data-message-dismiss] {
|
|
43
|
-
@apply text-success
|
|
43
|
+
@apply text-success;
|
|
44
44
|
}
|
package/src/rokkit/range.css
CHANGED
|
@@ -9,11 +9,11 @@
|
|
|
9
9
|
============================================================================= */
|
|
10
10
|
|
|
11
11
|
[data-style='rokkit'] [data-range-bar] {
|
|
12
|
-
@apply bg-
|
|
12
|
+
@apply bg-paper-mute border-paper-mute border;
|
|
13
13
|
}
|
|
14
14
|
|
|
15
15
|
[data-style='rokkit'] [data-range-selected] {
|
|
16
|
-
@apply from-primary to-
|
|
16
|
+
@apply from-primary to-accent bg-gradient-to-r;
|
|
17
17
|
}
|
|
18
18
|
|
|
19
19
|
/* =============================================================================
|
|
@@ -21,16 +21,16 @@
|
|
|
21
21
|
============================================================================= */
|
|
22
22
|
|
|
23
23
|
[data-style='rokkit'] [data-range-thumb] {
|
|
24
|
-
@apply bg-
|
|
24
|
+
@apply bg-accent border-accent shadow-lg;
|
|
25
25
|
}
|
|
26
26
|
|
|
27
27
|
[data-style='rokkit'] [data-range-thumb][data-sliding] {
|
|
28
28
|
@apply shadow-xl;
|
|
29
|
-
@apply ring-4 ring-
|
|
29
|
+
@apply ring-4 ring-accent/30;
|
|
30
30
|
}
|
|
31
31
|
|
|
32
32
|
[data-style='rokkit'] [data-range-thumb]:focus-visible {
|
|
33
|
-
@apply ring-4 ring-
|
|
33
|
+
@apply ring-4 ring-accent/30;
|
|
34
34
|
}
|
|
35
35
|
|
|
36
36
|
/* =============================================================================
|
|
@@ -38,15 +38,15 @@
|
|
|
38
38
|
============================================================================= */
|
|
39
39
|
|
|
40
40
|
[data-style='rokkit'] [data-range-tick] {
|
|
41
|
-
@apply text-
|
|
41
|
+
@apply text-ink-soft;
|
|
42
42
|
}
|
|
43
43
|
|
|
44
44
|
[data-style='rokkit'] [data-tick-bar] {
|
|
45
|
-
@apply border-
|
|
45
|
+
@apply border-ink-soft;
|
|
46
46
|
}
|
|
47
47
|
|
|
48
48
|
[data-style='rokkit'] [data-tick-label] {
|
|
49
|
-
@apply text-
|
|
49
|
+
@apply text-ink-soft;
|
|
50
50
|
}
|
|
51
51
|
|
|
52
52
|
/* =============================================================================
|
|
@@ -54,9 +54,9 @@
|
|
|
54
54
|
============================================================================= */
|
|
55
55
|
|
|
56
56
|
[data-style='rokkit'] [data-range][data-disabled] [data-range-thumb] {
|
|
57
|
-
@apply bg-
|
|
57
|
+
@apply bg-paper-edge border-paper-edge;
|
|
58
58
|
}
|
|
59
59
|
|
|
60
60
|
[data-style='rokkit'] [data-range][data-disabled] [data-range-selected] {
|
|
61
|
-
@apply bg-
|
|
61
|
+
@apply bg-paper-edge;
|
|
62
62
|
}
|
|
@@ -9,15 +9,15 @@
|
|
|
9
9
|
============================================================================= */
|
|
10
10
|
|
|
11
11
|
[data-style='rokkit'] [data-search-input] {
|
|
12
|
-
@apply text-
|
|
12
|
+
@apply text-ink-mute border-paper-edge border bg-transparent;
|
|
13
13
|
}
|
|
14
14
|
|
|
15
15
|
[data-style='rokkit'] [data-search-input]:focus {
|
|
16
|
-
@apply border-primary
|
|
16
|
+
@apply border-primary ring-primary ring-1;
|
|
17
17
|
}
|
|
18
18
|
|
|
19
19
|
[data-style='rokkit'] [data-search-input]::placeholder {
|
|
20
|
-
@apply text-
|
|
20
|
+
@apply text-ink-soft;
|
|
21
21
|
}
|
|
22
22
|
|
|
23
23
|
/* =============================================================================
|
|
@@ -25,11 +25,11 @@
|
|
|
25
25
|
============================================================================= */
|
|
26
26
|
|
|
27
27
|
[data-style='rokkit'] [data-search-clear] {
|
|
28
|
-
@apply text-
|
|
28
|
+
@apply text-ink-soft;
|
|
29
29
|
}
|
|
30
30
|
|
|
31
31
|
[data-style='rokkit'] [data-search-clear]:hover {
|
|
32
|
-
@apply text-
|
|
32
|
+
@apply text-ink-mute;
|
|
33
33
|
}
|
|
34
34
|
|
|
35
35
|
/* =============================================================================
|
|
@@ -37,13 +37,13 @@
|
|
|
37
37
|
============================================================================= */
|
|
38
38
|
|
|
39
39
|
[data-style='rokkit'] [data-search-tag] {
|
|
40
|
-
@apply text-
|
|
40
|
+
@apply text-ink-mute from-paper-mute to-paper-mute border-paper-edge border bg-gradient-to-b;
|
|
41
41
|
}
|
|
42
42
|
|
|
43
43
|
[data-style='rokkit'] [data-search-tag-remove] {
|
|
44
|
-
@apply text-
|
|
44
|
+
@apply text-ink-soft;
|
|
45
45
|
}
|
|
46
46
|
|
|
47
47
|
[data-style='rokkit'] [data-search-tag-remove]:hover {
|
|
48
|
-
@apply text-
|
|
48
|
+
@apply text-ink;
|
|
49
49
|
}
|
package/src/rokkit/select.css
CHANGED
|
@@ -9,19 +9,19 @@
|
|
|
9
9
|
============================================================================= */
|
|
10
10
|
|
|
11
11
|
[data-style='rokkit'] [data-select-trigger] {
|
|
12
|
-
@apply from-
|
|
12
|
+
@apply from-paper-mute to-paper-soft text-ink-mute border-paper-edge border bg-gradient-to-b;
|
|
13
13
|
}
|
|
14
14
|
|
|
15
15
|
[data-style='rokkit'] [data-select-trigger]:hover:not(:disabled) {
|
|
16
|
-
@apply from-
|
|
16
|
+
@apply from-paper-mute to-paper-mute border-ink-soft text-ink bg-gradient-to-b;
|
|
17
17
|
}
|
|
18
18
|
|
|
19
19
|
[data-style='rokkit'] [data-select-trigger]:focus-visible {
|
|
20
|
-
@apply ring-primary
|
|
20
|
+
@apply ring-primary ring-2 outline-none;
|
|
21
21
|
}
|
|
22
22
|
|
|
23
23
|
[data-style='rokkit'] [data-select][data-open='true'] [data-select-trigger] {
|
|
24
|
-
@apply border-primary
|
|
24
|
+
@apply border-primary ring-primary ring-1;
|
|
25
25
|
}
|
|
26
26
|
|
|
27
27
|
/* =============================================================================
|
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
============================================================================= */
|
|
30
30
|
|
|
31
31
|
[data-style='rokkit'] [data-select-placeholder] {
|
|
32
|
-
@apply text-
|
|
32
|
+
@apply text-ink-soft;
|
|
33
33
|
}
|
|
34
34
|
|
|
35
35
|
/* =============================================================================
|
|
@@ -37,11 +37,11 @@
|
|
|
37
37
|
============================================================================= */
|
|
38
38
|
|
|
39
39
|
[data-style='rokkit'] [data-select-arrow] {
|
|
40
|
-
@apply text-
|
|
40
|
+
@apply text-ink-soft;
|
|
41
41
|
}
|
|
42
42
|
|
|
43
43
|
[data-style='rokkit'] [data-select-trigger]:hover:not(:disabled) [data-select-arrow] {
|
|
44
|
-
@apply text-
|
|
44
|
+
@apply text-ink-mute;
|
|
45
45
|
}
|
|
46
46
|
|
|
47
47
|
/* =============================================================================
|
|
@@ -49,15 +49,15 @@
|
|
|
49
49
|
============================================================================= */
|
|
50
50
|
|
|
51
51
|
[data-style='rokkit'] [data-select-tag] {
|
|
52
|
-
@apply from-
|
|
52
|
+
@apply from-paper-edge to-paper-mute text-ink-mute border-ink-soft border bg-gradient-to-b;
|
|
53
53
|
}
|
|
54
54
|
|
|
55
55
|
[data-style='rokkit'] [data-select-tag-remove] {
|
|
56
|
-
@apply text-
|
|
56
|
+
@apply text-ink-soft;
|
|
57
57
|
}
|
|
58
58
|
|
|
59
59
|
[data-style='rokkit'] [data-select-tag-remove]:hover {
|
|
60
|
-
@apply text-
|
|
60
|
+
@apply text-ink;
|
|
61
61
|
}
|
|
62
62
|
|
|
63
63
|
/* =============================================================================
|
|
@@ -65,7 +65,7 @@
|
|
|
65
65
|
============================================================================= */
|
|
66
66
|
|
|
67
67
|
[data-style='rokkit'] [data-select-dropdown] {
|
|
68
|
-
@apply from-
|
|
68
|
+
@apply from-paper-mute to-paper-soft border-paper-edge border bg-gradient-to-b shadow-md;
|
|
69
69
|
}
|
|
70
70
|
|
|
71
71
|
/* =============================================================================
|
|
@@ -73,80 +73,80 @@
|
|
|
73
73
|
============================================================================= */
|
|
74
74
|
|
|
75
75
|
[data-style='rokkit'] [data-select-option] {
|
|
76
|
-
@apply text-
|
|
76
|
+
@apply text-ink-mute rounded-none border-0 border-solid border-transparent;
|
|
77
77
|
}
|
|
78
78
|
|
|
79
79
|
/* Hover and focus */
|
|
80
80
|
[data-style='rokkit'] [data-select-option]:hover:not(:disabled),
|
|
81
81
|
[data-style='rokkit'] [data-select-option]:focus:not(:disabled) {
|
|
82
|
-
@apply from-
|
|
82
|
+
@apply from-paper-mute to-paper-mute text-ink bg-gradient-to-r outline-none;
|
|
83
83
|
}
|
|
84
84
|
|
|
85
85
|
/* Selected state — muted when dropdown not focused */
|
|
86
86
|
[data-style='rokkit'] [data-select-option][data-selected='true'] {
|
|
87
|
-
@apply bg-
|
|
87
|
+
@apply bg-paper-mute text-primary border-l-primary border-l-2;
|
|
88
88
|
}
|
|
89
89
|
|
|
90
90
|
/* Selected state — full gradient when dropdown has focus */
|
|
91
91
|
[data-style='rokkit']
|
|
92
92
|
[data-select-dropdown]:focus-within
|
|
93
93
|
[data-select-option][data-selected='true'] {
|
|
94
|
-
@apply from-primary
|
|
94
|
+
@apply from-primary to-accent text-primary border-l-primary border-l-2 bg-gradient-to-r;
|
|
95
95
|
}
|
|
96
96
|
|
|
97
97
|
/* Selected + hover */
|
|
98
98
|
[data-style='rokkit'] [data-select-option][data-selected='true']:hover:not(:disabled) {
|
|
99
|
-
@apply from-primary
|
|
99
|
+
@apply from-primary to-primary bg-gradient-to-r;
|
|
100
100
|
}
|
|
101
101
|
|
|
102
102
|
/* Check mark */
|
|
103
103
|
[data-style='rokkit'] [data-select-check] {
|
|
104
|
-
@apply text-primary
|
|
104
|
+
@apply text-primary;
|
|
105
105
|
}
|
|
106
106
|
|
|
107
107
|
/* Checkbox */
|
|
108
108
|
[data-style='rokkit'] [data-select-checkbox] {
|
|
109
|
-
@apply from-
|
|
109
|
+
@apply from-paper-mute to-paper-soft border-ink-soft border bg-gradient-to-b;
|
|
110
110
|
}
|
|
111
111
|
|
|
112
112
|
[data-style='rokkit'] [data-select-checkbox][data-checked='true'] {
|
|
113
|
-
@apply from-primary
|
|
113
|
+
@apply from-primary to-primary border-primary bg-gradient-to-b text-on-primary;
|
|
114
114
|
}
|
|
115
115
|
|
|
116
116
|
/* Item elements */
|
|
117
117
|
[data-style='rokkit'] [data-select-option] [data-item-icon] {
|
|
118
|
-
@apply text-
|
|
118
|
+
@apply text-ink-soft;
|
|
119
119
|
}
|
|
120
120
|
|
|
121
121
|
[data-style='rokkit'] [data-select-option]:hover:not(:disabled) [data-item-icon] {
|
|
122
|
-
@apply text-
|
|
122
|
+
@apply text-ink-mute;
|
|
123
123
|
}
|
|
124
124
|
|
|
125
125
|
[data-style='rokkit'] [data-select-option][data-selected='true'] [data-item-icon] {
|
|
126
|
-
@apply text-primary
|
|
126
|
+
@apply text-primary;
|
|
127
127
|
}
|
|
128
128
|
|
|
129
129
|
[data-style='rokkit']
|
|
130
130
|
[data-select-dropdown]:focus-within
|
|
131
131
|
[data-select-option][data-selected='true']
|
|
132
132
|
[data-item-icon] {
|
|
133
|
-
@apply text-primary
|
|
133
|
+
@apply text-primary;
|
|
134
134
|
}
|
|
135
135
|
|
|
136
136
|
[data-style='rokkit'] [data-select-option] [data-item-description] {
|
|
137
|
-
@apply text-
|
|
137
|
+
@apply text-ink-soft;
|
|
138
138
|
}
|
|
139
139
|
|
|
140
140
|
[data-style='rokkit'] [data-select-option][data-selected='true'] [data-item-description] {
|
|
141
|
-
@apply text-primary
|
|
141
|
+
@apply text-primary;
|
|
142
142
|
}
|
|
143
143
|
|
|
144
144
|
[data-style='rokkit'] [data-select-option] [data-item-badge] {
|
|
145
|
-
@apply text-
|
|
145
|
+
@apply text-ink-soft bg-paper-mute;
|
|
146
146
|
}
|
|
147
147
|
|
|
148
148
|
[data-style='rokkit'] [data-select-option][data-selected='true'] [data-item-badge] {
|
|
149
|
-
@apply text-primary
|
|
149
|
+
@apply text-primary bg-primary;
|
|
150
150
|
}
|
|
151
151
|
|
|
152
152
|
/* =============================================================================
|
|
@@ -154,7 +154,7 @@
|
|
|
154
154
|
============================================================================= */
|
|
155
155
|
|
|
156
156
|
[data-style='rokkit'] [data-select-group-label] {
|
|
157
|
-
@apply text-
|
|
157
|
+
@apply text-ink-soft;
|
|
158
158
|
}
|
|
159
159
|
|
|
160
160
|
/* =============================================================================
|
|
@@ -162,7 +162,7 @@
|
|
|
162
162
|
============================================================================= */
|
|
163
163
|
|
|
164
164
|
[data-style='rokkit'] [data-select-divider] {
|
|
165
|
-
@apply via-
|
|
165
|
+
@apply via-paper-edge bg-gradient-to-r from-transparent to-transparent;
|
|
166
166
|
}
|
|
167
167
|
|
|
168
168
|
/* =============================================================================
|
|
@@ -170,21 +170,21 @@
|
|
|
170
170
|
============================================================================= */
|
|
171
171
|
|
|
172
172
|
[data-style='rokkit'] [data-select-filter] {
|
|
173
|
-
@apply bg-
|
|
173
|
+
@apply bg-paper-mute;
|
|
174
174
|
}
|
|
175
175
|
|
|
176
176
|
[data-style='rokkit'] [data-select-filter-input] {
|
|
177
|
-
@apply text-
|
|
177
|
+
@apply text-ink-mute border-paper-edge bg-paper-soft border;
|
|
178
178
|
}
|
|
179
179
|
|
|
180
180
|
[data-style='rokkit'] [data-select-filter-input]:focus {
|
|
181
|
-
@apply border-primary
|
|
181
|
+
@apply border-primary ring-primary ring-1;
|
|
182
182
|
}
|
|
183
183
|
|
|
184
184
|
[data-style='rokkit'] [data-select-filter-input]::placeholder {
|
|
185
|
-
@apply text-
|
|
185
|
+
@apply text-ink-soft;
|
|
186
186
|
}
|
|
187
187
|
|
|
188
188
|
[data-style='rokkit'] [data-select-empty] {
|
|
189
|
-
@apply text-
|
|
189
|
+
@apply text-ink-soft;
|
|
190
190
|
}
|