@rokkit/themes 1.0.0-next.127 → 1.0.0-next.128

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.
@@ -84,20 +84,20 @@
84
84
  Groups
85
85
  ============================================================================= */
86
86
 
87
- [data-style='material'] [data-list] [data-list-group-label] {
87
+ [data-style='material'] [data-list] [data-list-group] {
88
88
  @apply text-surface-z6 font-medium;
89
89
  }
90
90
 
91
- [data-style='material'] [data-list] [data-list-group-label]:hover:not(:disabled),
92
- [data-style='material'] [data-list] [data-list-group-label]:focus:not(:disabled) {
93
- @apply text-surface-z7;
91
+ [data-style='material'] [data-list] [data-list-group]:hover:not(:disabled),
92
+ [data-style='material'] [data-list] [data-list-group]:focus:not(:disabled) {
93
+ @apply bg-surface-z3 text-surface-z8;
94
94
  }
95
95
 
96
96
  /* =============================================================================
97
- Divider
97
+ Separator
98
98
  ============================================================================= */
99
99
 
100
- [data-style='material'] [data-list] [data-list-divider] {
100
+ [data-style='material'] [data-list] [data-list-separator] {
101
101
  @apply bg-surface-z3;
102
102
  }
103
103
 
@@ -79,7 +79,7 @@
79
79
  Groups
80
80
  ============================================================================= */
81
81
 
82
- [data-style='material'] [data-menu-group-label] {
82
+ [data-style='material'] [data-menu-group] {
83
83
  @apply text-surface-z5 font-medium;
84
84
  }
85
85
 
@@ -87,6 +87,6 @@
87
87
  Divider
88
88
  ============================================================================= */
89
89
 
90
- [data-style='material'] [data-menu-divider] {
90
+ [data-style='material'] [data-menu-separator] {
91
91
  @apply bg-surface-z3;
92
92
  }
@@ -84,20 +84,20 @@
84
84
  Groups
85
85
  ============================================================================= */
86
86
 
87
- [data-style='minimal'] [data-list] [data-list-group-label] {
87
+ [data-style='minimal'] [data-list] [data-list-group] {
88
88
  @apply text-surface-z5;
89
89
  }
90
90
 
91
- [data-style='minimal'] [data-list] [data-list-group-label]:hover:not(:disabled),
92
- [data-style='minimal'] [data-list] [data-list-group-label]:focus:not(:disabled) {
93
- @apply text-surface-z6;
91
+ [data-style='minimal'] [data-list] [data-list-group]:hover:not(:disabled),
92
+ [data-style='minimal'] [data-list] [data-list-group]:focus:not(:disabled) {
93
+ @apply text-surface-z7 border-l-surface-z3 border-l-2;
94
94
  }
95
95
 
96
96
  /* =============================================================================
97
- Divider
97
+ Separator
98
98
  ============================================================================= */
99
99
 
100
- [data-style='minimal'] [data-list] [data-list-divider] {
100
+ [data-style='minimal'] [data-list] [data-list-separator] {
101
101
  @apply bg-surface-z3;
102
102
  }
103
103
 
@@ -75,7 +75,7 @@
75
75
  Groups
76
76
  ============================================================================= */
77
77
 
78
- [data-style='minimal'] [data-menu-group-label] {
78
+ [data-style='minimal'] [data-menu-group] {
79
79
  @apply text-surface-z5;
80
80
  }
81
81
 
@@ -83,6 +83,6 @@
83
83
  Divider
84
84
  ============================================================================= */
85
85
 
86
- [data-style='minimal'] [data-menu-divider] {
86
+ [data-style='minimal'] [data-menu-separator] {
87
87
  @apply bg-surface-z3;
88
88
  }
@@ -9,28 +9,28 @@
9
9
  ============================================================================= */
10
10
 
11
11
  /* Default variant */
12
- [data-button][data-style='default'][data-variant='default'],
13
- [data-button]:not([data-style])[data-variant='default'],
14
- [data-button][data-style='default']:not([data-variant]),
15
- [data-button]:not([data-style]):not([data-variant]) {
12
+ [data-style='rokkit'] [data-button][data-style='default'][data-variant='default'],
13
+ [data-style='rokkit'] [data-button]:not([data-style])[data-variant='default'],
14
+ [data-style='rokkit'] [data-button][data-style='default']:not([data-variant]),
15
+ [data-style='rokkit'] [data-button]:not([data-style]):not([data-variant]) {
16
16
  @apply from-surface-z3 to-surface-z2 border-surface-z4 text-surface-z8 border bg-gradient-to-b;
17
17
  }
18
18
 
19
19
  /* Primary variant */
20
- [data-button][data-style='default'][data-variant='primary'],
21
- [data-button]:not([data-style])[data-variant='primary'] {
20
+ [data-style='rokkit'] [data-button][data-style='default'][data-variant='primary'],
21
+ [data-style='rokkit'] [data-button]:not([data-style])[data-variant='primary'] {
22
22
  @apply from-primary-z5 to-secondary-z5 border-primary-z5 text-on-primary border bg-gradient-to-b;
23
23
  }
24
24
 
25
25
  /* Secondary variant */
26
- [data-button][data-style='default'][data-variant='secondary'],
27
- [data-button]:not([data-style])[data-variant='secondary'] {
26
+ [data-style='rokkit'] [data-button][data-style='default'][data-variant='secondary'],
27
+ [data-style='rokkit'] [data-button]:not([data-style])[data-variant='secondary'] {
28
28
  @apply from-secondary-z4 to-secondary-z3 border-secondary-z5 text-on-secondary border bg-gradient-to-b;
29
29
  }
30
30
 
31
31
  /* Danger variant */
32
- [data-button][data-style='default'][data-variant='danger'],
33
- [data-button]:not([data-style])[data-variant='danger'] {
32
+ [data-style='rokkit'] [data-button][data-style='default'][data-variant='danger'],
33
+ [data-style='rokkit'] [data-button]:not([data-style])[data-variant='danger'] {
34
34
  @apply from-danger-z4 to-danger-z3 border-danger-z5 text-on-danger border bg-gradient-to-b;
35
35
  }
36
36
 
@@ -38,20 +38,20 @@
38
38
  Outline Style
39
39
  ============================================================================= */
40
40
 
41
- [data-button][data-style='outline'][data-variant='default'],
42
- [data-button][data-style='outline']:not([data-variant]) {
41
+ [data-style='rokkit'] [data-button][data-style='outline'][data-variant='default'],
42
+ [data-style='rokkit'] [data-button][data-style='outline']:not([data-variant]) {
43
43
  @apply border-surface-z4 text-surface-z7 border bg-transparent;
44
44
  }
45
45
 
46
- [data-button][data-style='outline'][data-variant='primary'] {
46
+ [data-style='rokkit'] [data-button][data-style='outline'][data-variant='primary'] {
47
47
  @apply border-primary-z4 text-primary-z6 border bg-transparent;
48
48
  }
49
49
 
50
- [data-button][data-style='outline'][data-variant='secondary'] {
50
+ [data-style='rokkit'] [data-button][data-style='outline'][data-variant='secondary'] {
51
51
  @apply border-secondary-z4 text-secondary-z6 border bg-transparent;
52
52
  }
53
53
 
54
- [data-button][data-style='outline'][data-variant='danger'] {
54
+ [data-style='rokkit'] [data-button][data-style='outline'][data-variant='danger'] {
55
55
  @apply border-danger-z4 text-danger-z4 border bg-transparent;
56
56
  }
57
57
 
@@ -59,24 +59,24 @@
59
59
  Ghost Style
60
60
  ============================================================================= */
61
61
 
62
- [data-button][data-style='ghost'] {
62
+ [data-style='rokkit'] [data-button][data-style='ghost'] {
63
63
  @apply border-transparent bg-transparent;
64
64
  }
65
65
 
66
- [data-button][data-style='ghost'][data-variant='default'],
67
- [data-button][data-style='ghost']:not([data-variant]) {
66
+ [data-style='rokkit'] [data-button][data-style='ghost'][data-variant='default'],
67
+ [data-style='rokkit'] [data-button][data-style='ghost']:not([data-variant]) {
68
68
  @apply text-surface-z7;
69
69
  }
70
70
 
71
- [data-button][data-style='ghost'][data-variant='primary'] {
71
+ [data-style='rokkit'] [data-button][data-style='ghost'][data-variant='primary'] {
72
72
  @apply text-primary-z6;
73
73
  }
74
74
 
75
- [data-button][data-style='ghost'][data-variant='secondary'] {
75
+ [data-style='rokkit'] [data-button][data-style='ghost'][data-variant='secondary'] {
76
76
  @apply text-secondary-z6;
77
77
  }
78
78
 
79
- [data-button][data-style='ghost'][data-variant='danger'] {
79
+ [data-style='rokkit'] [data-button][data-style='ghost'][data-variant='danger'] {
80
80
  @apply text-danger-z4;
81
81
  }
82
82
 
@@ -84,24 +84,24 @@
84
84
  Gradient Style
85
85
  ============================================================================= */
86
86
 
87
- [data-button][data-style='gradient'][data-variant='default'],
88
- [data-button][data-style='gradient']:not([data-variant]) {
87
+ [data-style='rokkit'] [data-button][data-style='gradient'][data-variant='default'],
88
+ [data-style='rokkit'] [data-button][data-style='gradient']:not([data-variant]) {
89
89
  @apply from-surface-z4 to-surface-z2 text-surface-z10 bg-gradient-to-br;
90
90
  }
91
91
 
92
- [data-button][data-style='gradient'][data-variant='primary'] {
92
+ [data-style='rokkit'] [data-button][data-style='gradient'][data-variant='primary'] {
93
93
  @apply from-primary-z5 to-primary-z3 text-on-primary bg-gradient-to-br;
94
94
  }
95
95
 
96
- [data-button][data-style='gradient'][data-variant='secondary'] {
96
+ [data-style='rokkit'] [data-button][data-style='gradient'][data-variant='secondary'] {
97
97
  @apply from-secondary-z5 to-secondary-z3 text-on-secondary bg-gradient-to-br;
98
98
  }
99
99
 
100
- [data-button][data-style='gradient'][data-variant='danger'] {
100
+ [data-style='rokkit'] [data-button][data-style='gradient'][data-variant='danger'] {
101
101
  @apply from-danger-z5 to-danger-z3 text-on-danger bg-gradient-to-br;
102
102
  }
103
103
 
104
- [data-button][data-style='gradient']:hover:not(:disabled):not([data-disabled]) {
104
+ [data-style='rokkit'] [data-button][data-style='gradient']:hover:not(:disabled):not([data-disabled]) {
105
105
  filter: brightness(1.1);
106
106
  }
107
107
 
@@ -109,24 +109,24 @@
109
109
  Link Style
110
110
  ============================================================================= */
111
111
 
112
- [data-button][data-style='link'][data-variant='default'],
113
- [data-button][data-style='link']:not([data-variant]) {
112
+ [data-style='rokkit'] [data-button][data-style='link'][data-variant='default'],
113
+ [data-style='rokkit'] [data-button][data-style='link']:not([data-variant]) {
114
114
  @apply text-surface-z7;
115
115
  }
116
116
 
117
- [data-button][data-style='link'][data-variant='primary'] {
117
+ [data-style='rokkit'] [data-button][data-style='link'][data-variant='primary'] {
118
118
  @apply text-primary-z6;
119
119
  }
120
120
 
121
- [data-button][data-style='link'][data-variant='secondary'] {
121
+ [data-style='rokkit'] [data-button][data-style='link'][data-variant='secondary'] {
122
122
  @apply text-secondary-z6;
123
123
  }
124
124
 
125
- [data-button][data-style='link'][data-variant='danger'] {
125
+ [data-style='rokkit'] [data-button][data-style='link'][data-variant='danger'] {
126
126
  @apply text-danger-z4;
127
127
  }
128
128
 
129
- [data-button][data-style='link']:hover:not(:disabled):not([data-disabled]) {
129
+ [data-style='rokkit'] [data-button][data-style='link']:hover:not(:disabled):not([data-disabled]) {
130
130
  @apply text-primary-z7;
131
131
  }
132
132
 
@@ -135,44 +135,44 @@
135
135
  ============================================================================= */
136
136
 
137
137
  /* Default style hover */
138
- [data-button][data-style='default']:hover:not(:disabled):not([data-disabled]),
139
- [data-button]:not([data-style]):hover:not(:disabled):not([data-disabled]) {
138
+ [data-style='rokkit'] [data-button][data-style='default']:hover:not(:disabled):not([data-disabled]),
139
+ [data-style='rokkit'] [data-button]:not([data-style]):hover:not(:disabled):not([data-disabled]) {
140
140
  @apply opacity-90;
141
141
  }
142
142
 
143
143
  /* Outline style hover */
144
- [data-button][data-style='outline']:hover:not(:disabled):not([data-disabled])[data-variant='default'],
145
- [data-button][data-style='outline']:hover:not(:disabled):not([data-disabled]):not([data-variant]) {
144
+ [data-style='rokkit'] [data-button][data-style='outline']:hover:not(:disabled):not([data-disabled])[data-variant='default'],
145
+ [data-style='rokkit'] [data-button][data-style='outline']:hover:not(:disabled):not([data-disabled]):not([data-variant]) {
146
146
  @apply from-surface-z2 to-surface-z1 bg-gradient-to-b;
147
147
  }
148
148
 
149
- [data-button][data-style='outline']:hover:not(:disabled):not([data-disabled])[data-variant='primary'] {
149
+ [data-style='rokkit'] [data-button][data-style='outline']:hover:not(:disabled):not([data-disabled])[data-variant='primary'] {
150
150
  @apply from-primary-z2 to-primary-z1 bg-gradient-to-b;
151
151
  }
152
152
 
153
- [data-button][data-style='outline']:hover:not(:disabled):not([data-disabled])[data-variant='secondary'] {
153
+ [data-style='rokkit'] [data-button][data-style='outline']:hover:not(:disabled):not([data-disabled])[data-variant='secondary'] {
154
154
  @apply from-secondary-z2 to-secondary-z1 bg-gradient-to-b;
155
155
  }
156
156
 
157
- [data-button][data-style='outline']:hover:not(:disabled):not([data-disabled])[data-variant='danger'] {
157
+ [data-style='rokkit'] [data-button][data-style='outline']:hover:not(:disabled):not([data-disabled])[data-variant='danger'] {
158
158
  @apply from-danger-z2 to-danger-z1 bg-gradient-to-b;
159
159
  }
160
160
 
161
161
  /* Ghost style hover */
162
- [data-button][data-style='ghost']:hover:not(:disabled):not([data-disabled])[data-variant='default'],
163
- [data-button][data-style='ghost']:hover:not(:disabled):not([data-disabled]):not([data-variant]) {
162
+ [data-style='rokkit'] [data-button][data-style='ghost']:hover:not(:disabled):not([data-disabled])[data-variant='default'],
163
+ [data-style='rokkit'] [data-button][data-style='ghost']:hover:not(:disabled):not([data-disabled]):not([data-variant]) {
164
164
  @apply bg-surface-z2;
165
165
  }
166
166
 
167
- [data-button][data-style='ghost']:hover:not(:disabled):not([data-disabled])[data-variant='primary'] {
167
+ [data-style='rokkit'] [data-button][data-style='ghost']:hover:not(:disabled):not([data-disabled])[data-variant='primary'] {
168
168
  @apply bg-primary-z1;
169
169
  }
170
170
 
171
- [data-button][data-style='ghost']:hover:not(:disabled):not([data-disabled])[data-variant='secondary'] {
171
+ [data-style='rokkit'] [data-button][data-style='ghost']:hover:not(:disabled):not([data-disabled])[data-variant='secondary'] {
172
172
  @apply bg-secondary-z1;
173
173
  }
174
174
 
175
- [data-button][data-style='ghost']:hover:not(:disabled):not([data-disabled])[data-variant='danger'] {
175
+ [data-style='rokkit'] [data-button][data-style='ghost']:hover:not(:disabled):not([data-disabled])[data-variant='danger'] {
176
176
  @apply bg-danger-z1;
177
177
  }
178
178
 
@@ -180,7 +180,7 @@
180
180
  Active/Pressed State
181
181
  ============================================================================= */
182
182
 
183
- [data-button]:active:not(:disabled):not([data-disabled]) {
183
+ [data-style='rokkit'] [data-button]:active:not(:disabled):not([data-disabled]) {
184
184
  @apply scale-95;
185
185
  animation: button-pop 0.25s ease-out;
186
186
  }
@@ -189,7 +189,7 @@
189
189
  Focus
190
190
  ============================================================================= */
191
191
 
192
- [data-button]:focus-visible {
192
+ [data-style='rokkit'] [data-button]:focus-visible {
193
193
  @apply ring-primary-z4 ring-2 outline-none;
194
194
  }
195
195
 
@@ -197,14 +197,14 @@
197
197
  Icon Colors
198
198
  ============================================================================= */
199
199
 
200
- [data-button] [data-item-icon],
201
- [data-button] [data-button-icon-right] {
200
+ [data-style='rokkit'] [data-button] [data-item-icon],
201
+ [data-style='rokkit'] [data-button] [data-button-icon-right] {
202
202
  color: inherit;
203
203
  opacity: 0.8;
204
204
  }
205
205
 
206
- [data-button]:hover [data-item-icon],
207
- [data-button]:hover [data-button-icon-right] {
206
+ [data-style='rokkit'] [data-button]:hover [data-item-icon],
207
+ [data-style='rokkit'] [data-button]:hover [data-button-icon-right] {
208
208
  opacity: 1;
209
209
  }
210
210
 
@@ -212,14 +212,14 @@
212
212
  Button Group
213
213
  ============================================================================= */
214
214
 
215
- [data-button-group] {
215
+ [data-style='rokkit'] [data-button-group] {
216
216
  @apply gap-px;
217
217
  }
218
218
 
219
- [data-button-group] [data-button]:first-child {
219
+ [data-style='rokkit'] [data-button-group] [data-button]:first-child {
220
220
  @apply rounded-l-lg rounded-r-none;
221
221
  }
222
222
 
223
- [data-button-group] [data-button]:last-child {
223
+ [data-style='rokkit'] [data-button-group] [data-button]:last-child {
224
224
  @apply rounded-l-none rounded-r-lg;
225
225
  }
@@ -0,0 +1,46 @@
1
+ /**
2
+ * Grid - Rokkit Theme Styles
3
+ *
4
+ * Tile borders, hover/focus effects, selection highlight.
5
+ */
6
+
7
+ /* =============================================================================
8
+ Grid Tiles
9
+ ============================================================================= */
10
+
11
+ [data-style='rokkit'] [data-grid] [data-grid-item] {
12
+ @apply border-surface-z3 text-surface-z7;
13
+ }
14
+
15
+ [data-style='rokkit'] [data-grid] [data-grid-item]:hover:not(:disabled):not([data-disabled]) {
16
+ @apply border-surface-z5 bg-surface-z2 text-surface-z9;
17
+ }
18
+
19
+ [data-style='rokkit'] [data-grid] [data-grid-item]:focus:not(:disabled):not([data-disabled]) {
20
+ @apply border-primary-z5 bg-surface-z2 text-surface-z9 outline-none;
21
+ }
22
+
23
+ /* Active / selected tile */
24
+ [data-style='rokkit'] [data-grid] [data-grid-item][data-active] {
25
+ @apply border-primary-z5 bg-primary-z2 text-primary-z9;
26
+ }
27
+
28
+ [data-style='rokkit'] [data-grid] [data-grid-item][data-active]:hover:not(:disabled) {
29
+ @apply bg-primary-z3;
30
+ }
31
+
32
+ /* =============================================================================
33
+ Item Elements
34
+ ============================================================================= */
35
+
36
+ [data-style='rokkit'] [data-grid] [data-grid-item] [data-item-icon] {
37
+ @apply text-surface-z5;
38
+ }
39
+
40
+ [data-style='rokkit'] [data-grid] [data-grid-item]:hover:not(:disabled) [data-item-icon] {
41
+ @apply text-surface-z7;
42
+ }
43
+
44
+ [data-style='rokkit'] [data-grid] [data-grid-item][data-active] [data-item-icon] {
45
+ @apply text-primary-z6;
46
+ }
@@ -22,3 +22,6 @@
22
22
  @import './range.css';
23
23
  @import './timeline.css';
24
24
  @import './floating-navigation.css';
25
+ @import './grid.css';
26
+ @import './upload-target.css';
27
+ @import './upload-progress.css';
@@ -89,34 +89,20 @@
89
89
  Groups
90
90
  ============================================================================= */
91
91
 
92
- [data-style='rokkit'] [data-list] [data-list-group-label] {
92
+ [data-style='rokkit'] [data-list] [data-list-group] {
93
93
  @apply text-surface-z6;
94
94
  }
95
95
 
96
- [data-style='rokkit'] [data-list] [data-list-group-label]:hover:not(:disabled),
97
- [data-style='rokkit'] [data-list] [data-list-group-label]:focus:not(:disabled) {
98
- @apply text-surface-z7;
99
- }
100
-
101
- /* Group label as button directly */
102
- [data-style='rokkit'] [data-list] button[data-list-group-label] {
103
- @apply text-surface-z6 hover:text-surface-z7;
104
- }
105
-
106
- [data-style='rokkit'] [data-list] button[data-list-group-label] [data-icon],
107
- [data-style='rokkit'] [data-list] button[data-list-group-label] [data-chevron] {
108
- @apply text-surface-z6;
109
- }
110
-
111
- [data-style='rokkit'] [data-list] button[data-list-group-label] [data-stats] {
112
- @apply text-surface-z4;
96
+ [data-style='rokkit'] [data-list] [data-list-group]:hover:not(:disabled),
97
+ [data-style='rokkit'] [data-list] [data-list-group]:focus:not(:disabled) {
98
+ @apply from-surface-z4 to-surface-z3 text-surface-z8 bg-gradient-to-r;
113
99
  }
114
100
 
115
101
  /* =============================================================================
116
- Divider
102
+ Separator
117
103
  ============================================================================= */
118
104
 
119
- [data-style='rokkit'] [data-list] [data-list-divider] {
105
+ [data-style='rokkit'] [data-list] [data-list-separator] {
120
106
  @apply via-surface-z4 bg-gradient-to-r from-transparent to-transparent;
121
107
  }
122
108
 
@@ -63,54 +63,24 @@
63
63
  }
64
64
 
65
65
  /* Item elements */
66
- [data-style='rokkit'] [data-menu-item] [data-item-icon],
67
- [data-style='rokkit'] [data-menu-item] > [data-menu-item-icon] {
66
+ [data-style='rokkit'] [data-menu-item] [data-item-icon] {
68
67
  @apply text-surface-z5;
69
68
  }
70
69
 
71
70
  [data-style='rokkit'] [data-menu-item]:hover:not(:disabled) [data-item-icon],
72
- [data-style='rokkit'] [data-menu-item]:hover:not(:disabled) > [data-menu-item-icon],
73
- [data-style='rokkit'] [data-menu-item]:focus:not(:disabled) [data-item-icon],
74
- [data-style='rokkit'] [data-menu-item]:focus:not(:disabled) > [data-menu-item-icon] {
71
+ [data-style='rokkit'] [data-menu-item]:focus:not(:disabled) [data-item-icon] {
75
72
  @apply text-primary-z6;
76
73
  }
77
74
 
78
- [data-style='rokkit'] [data-menu-item] [data-item-description],
79
- [data-style='rokkit'] [data-menu-item] > [data-menu-item-content] > [data-menu-item-description] {
75
+ [data-style='rokkit'] [data-menu-item] [data-item-description] {
80
76
  @apply text-surface-z5;
81
77
  }
82
78
 
83
- /* Item shortcut */
84
- [data-style='rokkit'] [data-menu-item] > [data-menu-item-shortcut] {
85
- @apply text-surface-z5 bg-surface-z2 border-surface-z4 border;
86
- }
87
-
88
- [data-style='rokkit'] [data-menu-item]:hover:not(:disabled) > [data-menu-item-shortcut],
89
- [data-style='rokkit'] [data-menu-item]:focus:not(:disabled) > [data-menu-item-shortcut] {
90
- @apply text-surface-z7 bg-surface-z3 border-surface-z5;
91
- }
92
-
93
- /* =============================================================================
94
- Custom Snippet Wrapper
95
- ============================================================================= */
96
-
97
- [data-style='rokkit'] [data-menu-item-custom] > button,
98
- [data-style='rokkit'] [data-menu-item-custom] > a {
99
- @apply text-surface-z9;
100
- }
101
-
102
- [data-style='rokkit'] [data-menu-item-custom] > button:hover:not(:disabled),
103
- [data-style='rokkit'] [data-menu-item-custom] > a:hover,
104
- [data-style='rokkit'] [data-menu-item-custom] > button:focus:not(:disabled),
105
- [data-style='rokkit'] [data-menu-item-custom] > a:focus {
106
- @apply from-surface-z3 to-surface-z2 text-surface-z10 bg-gradient-to-r;
107
- }
108
-
109
79
  /* =============================================================================
110
80
  Groups
111
81
  ============================================================================= */
112
82
 
113
- [data-style='rokkit'] [data-menu-group-label] {
83
+ [data-style='rokkit'] [data-menu-group] {
114
84
  @apply text-surface-z5;
115
85
  }
116
86
 
@@ -118,6 +88,6 @@
118
88
  Divider
119
89
  ============================================================================= */
120
90
 
121
- [data-style='rokkit'] [data-menu-divider] {
91
+ [data-style='rokkit'] [data-menu-separator] {
122
92
  @apply via-surface-z4 bg-gradient-to-r from-transparent to-transparent;
123
93
  }
@@ -0,0 +1,102 @@
1
+ /**
2
+ * UploadProgress - Rokkit Theme Styles
3
+ *
4
+ * Status colors, progress fill, action buttons.
5
+ */
6
+
7
+ /* =============================================================================
8
+ Header
9
+ ============================================================================= */
10
+
11
+ [data-style='rokkit'] [data-upload-header] {
12
+ @apply text-surface-z7;
13
+ }
14
+
15
+ [data-style='rokkit'] [data-upload-clear] {
16
+ @apply border-surface-z4 text-surface-z6;
17
+ }
18
+
19
+ [data-style='rokkit'] [data-upload-clear]:hover {
20
+ @apply bg-surface-z3 text-surface-z9;
21
+ }
22
+
23
+ /* =============================================================================
24
+ File Rows
25
+ ============================================================================= */
26
+
27
+ [data-style='rokkit'] [data-upload-file-status] {
28
+ @apply text-surface-z7;
29
+ }
30
+
31
+ [data-style='rokkit'] [data-upload-file-status]:hover {
32
+ @apply bg-surface-z2;
33
+ }
34
+
35
+ /* =============================================================================
36
+ File Elements
37
+ ============================================================================= */
38
+
39
+ [data-style='rokkit'] [data-upload-file-icon] {
40
+ @apply text-surface-z5;
41
+ }
42
+
43
+ [data-style='rokkit'] [data-upload-file-size] {
44
+ @apply text-surface-z5;
45
+ }
46
+
47
+ /* =============================================================================
48
+ Progress Bar
49
+ ============================================================================= */
50
+
51
+ [data-style='rokkit'] [data-upload-bar] {
52
+ @apply bg-surface-z3;
53
+ }
54
+
55
+ [data-style='rokkit'] [data-upload-fill] {
56
+ @apply from-primary-z5 to-secondary-z5 bg-gradient-to-r;
57
+ }
58
+
59
+ /* =============================================================================
60
+ Status Colors
61
+ ============================================================================= */
62
+
63
+ [data-style='rokkit'] [data-upload-file-status][data-status='uploading'] [data-upload-status] {
64
+ @apply text-primary-z6;
65
+ }
66
+
67
+ [data-style='rokkit'] [data-upload-file-status][data-status='done'] [data-upload-status] {
68
+ @apply text-green-500;
69
+ }
70
+
71
+ [data-style='rokkit'] [data-upload-file-status][data-status='error'] [data-upload-status] {
72
+ @apply text-red-500;
73
+ }
74
+
75
+ [data-style='rokkit'] [data-upload-file-status][data-status='pending'] [data-upload-status] {
76
+ @apply text-surface-z5;
77
+ }
78
+
79
+ /* Status-based file icon tinting */
80
+ [data-style='rokkit'] [data-upload-file-status][data-status='done'] [data-upload-file-icon] {
81
+ @apply text-green-500;
82
+ }
83
+
84
+ [data-style='rokkit'] [data-upload-file-status][data-status='error'] [data-upload-file-icon] {
85
+ @apply text-red-500;
86
+ }
87
+
88
+ /* =============================================================================
89
+ Action Buttons
90
+ ============================================================================= */
91
+
92
+ [data-style='rokkit'] [data-upload-actions] button {
93
+ @apply text-surface-z5;
94
+ }
95
+
96
+ [data-style='rokkit'] [data-upload-actions] button:hover {
97
+ @apply bg-surface-z3 text-surface-z9;
98
+ }
99
+
100
+ [data-style='rokkit'] [data-upload-file-status][data-status='error'] [data-upload-retry]:hover {
101
+ @apply text-primary-z7;
102
+ }