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

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.
Files changed (130) hide show
  1. package/README.md +118 -9
  2. package/package.json +31 -27
  3. package/src/base/breadcrumbs.css +46 -0
  4. package/src/base/button.css +243 -0
  5. package/src/base/card.css +36 -0
  6. package/src/base/carousel.css +122 -12
  7. package/src/base/connector.css +106 -0
  8. package/src/base/display.css +91 -0
  9. package/src/base/floating-action.css +388 -0
  10. package/src/base/floating-navigation.css +381 -0
  11. package/src/base/index.css +36 -0
  12. package/src/base/input.css +194 -39
  13. package/src/base/item.css +52 -0
  14. package/src/base/list.css +258 -0
  15. package/src/base/menu.css +322 -0
  16. package/src/base/pill.css +57 -0
  17. package/src/base/progress.css +28 -15
  18. package/src/base/range.css +121 -0
  19. package/src/base/rating.css +40 -0
  20. package/src/base/reveal.css +37 -0
  21. package/src/base/search-filter.css +132 -0
  22. package/src/base/select.css +411 -0
  23. package/src/base/shine.css +14 -0
  24. package/src/base/stepper.css +140 -0
  25. package/src/base/switch.css +152 -0
  26. package/src/base/table.css +143 -33
  27. package/src/base/tabs.css +171 -0
  28. package/src/base/tilt.css +14 -0
  29. package/src/base/timeline.css +84 -0
  30. package/src/base/toggle.css +134 -0
  31. package/src/base/toolbar.css +337 -0
  32. package/src/base/tree.css +156 -11
  33. package/src/glass/button.css +152 -0
  34. package/src/glass/floating-action.css +61 -0
  35. package/src/glass/floating-navigation.css +74 -0
  36. package/src/glass/index.css +23 -0
  37. package/src/glass/input.css +124 -0
  38. package/src/glass/list.css +122 -0
  39. package/src/glass/menu.css +92 -0
  40. package/src/glass/range.css +61 -0
  41. package/src/glass/search-filter.css +49 -0
  42. package/src/glass/select.css +178 -0
  43. package/src/glass/switch.css +28 -0
  44. package/src/glass/table.css +87 -0
  45. package/src/glass/tabs.css +58 -0
  46. package/src/glass/timeline.css +46 -0
  47. package/src/glass/toggle.css +48 -0
  48. package/src/glass/toolbar.css +84 -0
  49. package/src/glass/tree.css +104 -0
  50. package/src/index.css +18 -0
  51. package/src/index.js +25 -2
  52. package/src/material/button.css +153 -0
  53. package/src/material/floating-action.css +60 -0
  54. package/src/material/floating-navigation.css +74 -0
  55. package/src/material/index.css +23 -0
  56. package/src/material/input.css +118 -40
  57. package/src/material/list.css +90 -64
  58. package/src/material/menu.css +92 -0
  59. package/src/material/range.css +62 -0
  60. package/src/material/search-filter.css +49 -0
  61. package/src/material/select.css +170 -0
  62. package/src/material/switch.css +28 -0
  63. package/src/material/table.css +87 -0
  64. package/src/material/tabs.css +62 -0
  65. package/src/material/timeline.css +46 -0
  66. package/src/material/toggle.css +48 -0
  67. package/src/material/toolbar.css +84 -0
  68. package/src/material/tree.css +100 -0
  69. package/src/minimal/button.css +152 -0
  70. package/src/minimal/floating-action.css +59 -0
  71. package/src/minimal/floating-navigation.css +70 -0
  72. package/src/minimal/index.css +23 -0
  73. package/src/minimal/input.css +81 -120
  74. package/src/minimal/list.css +90 -104
  75. package/src/minimal/menu.css +88 -0
  76. package/src/minimal/range.css +61 -0
  77. package/src/minimal/search-filter.css +49 -0
  78. package/src/minimal/select.css +168 -0
  79. package/src/minimal/switch.css +28 -0
  80. package/src/minimal/table.css +87 -0
  81. package/src/minimal/tabs.css +53 -31
  82. package/src/minimal/timeline.css +45 -0
  83. package/src/minimal/toggle.css +48 -0
  84. package/src/minimal/toolbar.css +84 -0
  85. package/src/minimal/tree.css +100 -0
  86. package/src/rokkit/button.css +225 -0
  87. package/src/rokkit/connector.css +11 -0
  88. package/src/rokkit/floating-action.css +65 -0
  89. package/src/rokkit/floating-navigation.css +83 -0
  90. package/src/rokkit/index.css +24 -0
  91. package/src/rokkit/input.css +130 -0
  92. package/src/rokkit/list.css +141 -0
  93. package/src/rokkit/menu.css +123 -0
  94. package/src/rokkit/range.css +62 -0
  95. package/src/rokkit/search-filter.css +49 -0
  96. package/src/rokkit/select.css +185 -0
  97. package/src/rokkit/switch.css +28 -0
  98. package/src/rokkit/table.css +68 -38
  99. package/src/rokkit/tabs.css +82 -0
  100. package/src/rokkit/timeline.css +46 -0
  101. package/src/rokkit/toggle.css +36 -52
  102. package/src/rokkit/toolbar.css +84 -0
  103. package/src/rokkit/tree.css +123 -0
  104. package/src/base/alert.css +0 -30
  105. package/src/base/animation.css +0 -37
  106. package/src/base/atoms.css +0 -58
  107. package/src/base/core.css +0 -107
  108. package/src/base/layout.css +0 -65
  109. package/src/base/molecules.css +0 -109
  110. package/src/base/organisms.css +0 -66
  111. package/src/base/scrollbar.css +0 -16
  112. package/src/base/toggles.css +0 -17
  113. package/src/base.css +0 -13
  114. package/src/markdown.css +0 -955
  115. package/src/material/base.css +0 -12
  116. package/src/material/form.css +0 -30
  117. package/src/material.css +0 -9
  118. package/src/minimal/base.css +0 -8
  119. package/src/minimal/form.css +0 -87
  120. package/src/minimal.css +0 -11
  121. package/src/mixins/mixins.scss +0 -66
  122. package/src/mixins/palette.scss +0 -48
  123. package/src/prism.css +0 -102
  124. package/src/rokkit/alert.css +0 -4
  125. package/src/rokkit/atoms.css +0 -52
  126. package/src/rokkit/carousel.css +0 -19
  127. package/src/rokkit/layout.css +0 -17
  128. package/src/rokkit/molecules.css +0 -124
  129. package/src/rokkit/organisms.css +0 -307
  130. package/src/rokkit.css +0 -11
@@ -0,0 +1,225 @@
1
+ /**
2
+ * Button - Rokkit Theme Styles
3
+ *
4
+ * Rich gradients and glowing borders.
5
+ */
6
+
7
+ /* =============================================================================
8
+ Default Style (filled)
9
+ ============================================================================= */
10
+
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]) {
16
+ @apply from-surface-z3 to-surface-z2 border-surface-z4 text-surface-z8 border bg-gradient-to-b;
17
+ }
18
+
19
+ /* Primary variant */
20
+ [data-button][data-style='default'][data-variant='primary'],
21
+ [data-button]:not([data-style])[data-variant='primary'] {
22
+ @apply from-primary-z5 to-secondary-z5 border-primary-z5 text-on-primary border bg-gradient-to-b;
23
+ }
24
+
25
+ /* Secondary variant */
26
+ [data-button][data-style='default'][data-variant='secondary'],
27
+ [data-button]:not([data-style])[data-variant='secondary'] {
28
+ @apply from-secondary-z4 to-secondary-z3 border-secondary-z5 text-on-secondary border bg-gradient-to-b;
29
+ }
30
+
31
+ /* Danger variant */
32
+ [data-button][data-style='default'][data-variant='danger'],
33
+ [data-button]:not([data-style])[data-variant='danger'] {
34
+ @apply from-danger-z4 to-danger-z3 border-danger-z5 text-on-danger border bg-gradient-to-b;
35
+ }
36
+
37
+ /* =============================================================================
38
+ Outline Style
39
+ ============================================================================= */
40
+
41
+ [data-button][data-style='outline'][data-variant='default'],
42
+ [data-button][data-style='outline']:not([data-variant]) {
43
+ @apply border-surface-z4 text-surface-z7 border bg-transparent;
44
+ }
45
+
46
+ [data-button][data-style='outline'][data-variant='primary'] {
47
+ @apply border-primary-z4 text-primary-z6 border bg-transparent;
48
+ }
49
+
50
+ [data-button][data-style='outline'][data-variant='secondary'] {
51
+ @apply border-secondary-z4 text-secondary-z6 border bg-transparent;
52
+ }
53
+
54
+ [data-button][data-style='outline'][data-variant='danger'] {
55
+ @apply border-danger-z4 text-danger-z4 border bg-transparent;
56
+ }
57
+
58
+ /* =============================================================================
59
+ Ghost Style
60
+ ============================================================================= */
61
+
62
+ [data-button][data-style='ghost'] {
63
+ @apply border-transparent bg-transparent;
64
+ }
65
+
66
+ [data-button][data-style='ghost'][data-variant='default'],
67
+ [data-button][data-style='ghost']:not([data-variant]) {
68
+ @apply text-surface-z7;
69
+ }
70
+
71
+ [data-button][data-style='ghost'][data-variant='primary'] {
72
+ @apply text-primary-z6;
73
+ }
74
+
75
+ [data-button][data-style='ghost'][data-variant='secondary'] {
76
+ @apply text-secondary-z6;
77
+ }
78
+
79
+ [data-button][data-style='ghost'][data-variant='danger'] {
80
+ @apply text-danger-z4;
81
+ }
82
+
83
+ /* =============================================================================
84
+ Gradient Style
85
+ ============================================================================= */
86
+
87
+ [data-button][data-style='gradient'][data-variant='default'],
88
+ [data-button][data-style='gradient']:not([data-variant]) {
89
+ @apply from-surface-z4 to-surface-z2 text-surface-z10 bg-gradient-to-br;
90
+ }
91
+
92
+ [data-button][data-style='gradient'][data-variant='primary'] {
93
+ @apply from-primary-z5 to-primary-z3 text-on-primary bg-gradient-to-br;
94
+ }
95
+
96
+ [data-button][data-style='gradient'][data-variant='secondary'] {
97
+ @apply from-secondary-z5 to-secondary-z3 text-on-secondary bg-gradient-to-br;
98
+ }
99
+
100
+ [data-button][data-style='gradient'][data-variant='danger'] {
101
+ @apply from-danger-z5 to-danger-z3 text-on-danger bg-gradient-to-br;
102
+ }
103
+
104
+ [data-button][data-style='gradient']:hover:not(:disabled):not([data-disabled]) {
105
+ filter: brightness(1.1);
106
+ }
107
+
108
+ /* =============================================================================
109
+ Link Style
110
+ ============================================================================= */
111
+
112
+ [data-button][data-style='link'][data-variant='default'],
113
+ [data-button][data-style='link']:not([data-variant]) {
114
+ @apply text-surface-z7;
115
+ }
116
+
117
+ [data-button][data-style='link'][data-variant='primary'] {
118
+ @apply text-primary-z6;
119
+ }
120
+
121
+ [data-button][data-style='link'][data-variant='secondary'] {
122
+ @apply text-secondary-z6;
123
+ }
124
+
125
+ [data-button][data-style='link'][data-variant='danger'] {
126
+ @apply text-danger-z4;
127
+ }
128
+
129
+ [data-button][data-style='link']:hover:not(:disabled):not([data-disabled]) {
130
+ @apply text-primary-z7;
131
+ }
132
+
133
+ /* =============================================================================
134
+ Hover States
135
+ ============================================================================= */
136
+
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]) {
140
+ @apply opacity-90;
141
+ }
142
+
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]) {
146
+ @apply from-surface-z2 to-surface-z1 bg-gradient-to-b;
147
+ }
148
+
149
+ [data-button][data-style='outline']:hover:not(:disabled):not([data-disabled])[data-variant='primary'] {
150
+ @apply from-primary-z2 to-primary-z1 bg-gradient-to-b;
151
+ }
152
+
153
+ [data-button][data-style='outline']:hover:not(:disabled):not([data-disabled])[data-variant='secondary'] {
154
+ @apply from-secondary-z2 to-secondary-z1 bg-gradient-to-b;
155
+ }
156
+
157
+ [data-button][data-style='outline']:hover:not(:disabled):not([data-disabled])[data-variant='danger'] {
158
+ @apply from-danger-z2 to-danger-z1 bg-gradient-to-b;
159
+ }
160
+
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]) {
164
+ @apply bg-surface-z2;
165
+ }
166
+
167
+ [data-button][data-style='ghost']:hover:not(:disabled):not([data-disabled])[data-variant='primary'] {
168
+ @apply bg-primary-z1;
169
+ }
170
+
171
+ [data-button][data-style='ghost']:hover:not(:disabled):not([data-disabled])[data-variant='secondary'] {
172
+ @apply bg-secondary-z1;
173
+ }
174
+
175
+ [data-button][data-style='ghost']:hover:not(:disabled):not([data-disabled])[data-variant='danger'] {
176
+ @apply bg-danger-z1;
177
+ }
178
+
179
+ /* =============================================================================
180
+ Active/Pressed State
181
+ ============================================================================= */
182
+
183
+ [data-button]:active:not(:disabled):not([data-disabled]) {
184
+ @apply scale-95;
185
+ animation: button-pop 0.25s ease-out;
186
+ }
187
+
188
+ /* =============================================================================
189
+ Focus
190
+ ============================================================================= */
191
+
192
+ [data-button]:focus-visible {
193
+ @apply ring-primary-z4 ring-2 outline-none;
194
+ }
195
+
196
+ /* =============================================================================
197
+ Icon Colors
198
+ ============================================================================= */
199
+
200
+ [data-button] [data-item-icon],
201
+ [data-button] [data-button-icon-right] {
202
+ color: inherit;
203
+ opacity: 0.8;
204
+ }
205
+
206
+ [data-button]:hover [data-item-icon],
207
+ [data-button]:hover [data-button-icon-right] {
208
+ opacity: 1;
209
+ }
210
+
211
+ /* =============================================================================
212
+ Button Group
213
+ ============================================================================= */
214
+
215
+ [data-button-group] {
216
+ @apply gap-px;
217
+ }
218
+
219
+ [data-button-group] [data-button]:first-child {
220
+ @apply rounded-l-lg rounded-r-none;
221
+ }
222
+
223
+ [data-button-group] [data-button]:last-child {
224
+ @apply rounded-l-none rounded-r-lg;
225
+ }
@@ -0,0 +1,11 @@
1
+ /**
2
+ * Connector - Rokkit Theme Styles
3
+ *
4
+ * Visual theming for tree line connectors.
5
+ */
6
+
7
+ [data-style='rokkit'] [data-connector] [data-connector-v],
8
+ [data-style='rokkit'] [data-connector] [data-connector-h],
9
+ [data-style='rokkit'] [data-connector] [data-connector-corner] {
10
+ @apply border-surface-z3;
11
+ }
@@ -0,0 +1,65 @@
1
+ /**
2
+ * FloatingAction - Rokkit Theme Styles
3
+ *
4
+ * Rich gradients and glowing borders.
5
+ */
6
+
7
+ /* =============================================================================
8
+ FAB Trigger Button
9
+ ============================================================================= */
10
+
11
+ [data-style='rokkit'] [data-fab-trigger] {
12
+ @apply from-primary-z5 to-secondary-z5 ring-primary-600 bg-gradient-to-b text-white shadow-lg ring-1;
13
+ }
14
+
15
+ [data-style='rokkit'] [data-fab-trigger]:hover:not(:disabled) {
16
+ @apply from-primary-400 to-primary-500 ring-primary-500 bg-gradient-to-b shadow-xl ring-1;
17
+ transform: scale(1.05);
18
+ }
19
+
20
+ [data-style='rokkit'] [data-fab-trigger]:focus-visible {
21
+ @apply ring-primary-400 shadow-lg ring-3 outline-none;
22
+ }
23
+
24
+ [data-style='rokkit'] [data-fab][data-open='true'] [data-fab-trigger] {
25
+ @apply from-surface-z4 to-surface-z3 text-surface-z10 ring-surface-z5 bg-gradient-to-b shadow-lg ring-1;
26
+ transform: rotate(45deg);
27
+ }
28
+
29
+ [data-style='rokkit'] [data-fab][data-open='true'] [data-fab-trigger]:hover:not(:disabled) {
30
+ @apply from-surface-z5 to-surface-z4 bg-gradient-to-b;
31
+ transform: rotate(45deg) scale(1.05);
32
+ }
33
+
34
+ /* =============================================================================
35
+ FAB Items
36
+ ============================================================================= */
37
+
38
+ [data-style='rokkit'] [data-fab-item] {
39
+ @apply from-surface-z1 to-surface-z0 text-surface-z8 ring-surface-z2 bg-gradient-to-b shadow-md ring-1;
40
+ }
41
+
42
+ [data-style='rokkit'] [data-fab-item]:hover:not(:disabled) {
43
+ @apply from-surface-z2 to-surface-z1 text-surface-z10 ring-surface-z3 bg-gradient-to-b shadow-lg ring-1;
44
+ }
45
+
46
+ [data-style='rokkit'] [data-fab-item]:focus-visible {
47
+ @apply ring-primary-400 shadow-md ring-2 outline-none;
48
+ }
49
+
50
+ /* Item icon */
51
+ [data-style='rokkit'] [data-fab-item] [data-fab-item-icon] {
52
+ @apply text-primary-z6;
53
+ }
54
+
55
+ [data-style='rokkit'] [data-fab-item]:hover:not(:disabled) [data-fab-item-icon] {
56
+ @apply text-primary-z7;
57
+ }
58
+
59
+ /* =============================================================================
60
+ Backdrop
61
+ ============================================================================= */
62
+
63
+ [data-style='rokkit'] [data-fab-backdrop] {
64
+ background: rgba(0, 0, 0, 0.4);
65
+ }
@@ -0,0 +1,83 @@
1
+ /**
2
+ * FloatingNavigation - Rokkit Theme Styles
3
+ *
4
+ * Rich gradients and glowing borders.
5
+ */
6
+
7
+ /* =============================================================================
8
+ Container
9
+ ============================================================================= */
10
+
11
+ [data-style='rokkit'] [data-floating-nav] {
12
+ @apply from-surface-z1 to-surface-z0 ring-surface-z3 bg-gradient-to-b shadow-xl ring-1;
13
+ }
14
+
15
+ /* =============================================================================
16
+ Header
17
+ ============================================================================= */
18
+
19
+ [data-style='rokkit'] [data-floating-nav-title] {
20
+ @apply text-surface-z6;
21
+ }
22
+
23
+ [data-style='rokkit'] [data-floating-nav-pin] {
24
+ @apply text-surface-z6;
25
+ }
26
+
27
+ [data-style='rokkit'] [data-floating-nav-pin]:hover {
28
+ @apply text-primary-z6;
29
+ }
30
+
31
+ [data-style='rokkit'] [data-floating-nav-pin][aria-pressed='true'] {
32
+ @apply text-primary-z7;
33
+ }
34
+
35
+ /* =============================================================================
36
+ Items
37
+ ============================================================================= */
38
+
39
+ [data-style='rokkit'] [data-floating-nav-item] {
40
+ @apply text-surface-z7;
41
+ }
42
+
43
+ [data-style='rokkit'] [data-floating-nav-item]:hover {
44
+ @apply from-surface-z2 to-surface-z1 bg-gradient-to-b text-surface-z10;
45
+ }
46
+
47
+ [data-style='rokkit'] [data-floating-nav-item][data-active] {
48
+ @apply from-primary-z5/10 to-primary-z5/5 bg-gradient-to-b text-primary-z7;
49
+ }
50
+
51
+ [data-style='rokkit'] [data-floating-nav-item]:focus-visible {
52
+ @apply ring-primary-400 ring-2 outline-none;
53
+ }
54
+
55
+ /* Icon */
56
+ [data-style='rokkit'] [data-floating-nav-icon] {
57
+ @apply text-surface-z6;
58
+ }
59
+
60
+ [data-style='rokkit'] [data-floating-nav-item]:hover [data-floating-nav-icon] {
61
+ @apply text-primary-z6;
62
+ }
63
+
64
+ [data-style='rokkit'] [data-floating-nav-item][data-active] [data-floating-nav-icon] {
65
+ @apply text-primary-z7;
66
+ }
67
+
68
+ /* Label */
69
+ [data-style='rokkit'] [data-floating-nav-label] {
70
+ @apply text-surface-z7;
71
+ }
72
+
73
+ [data-style='rokkit'] [data-floating-nav-item][data-active] [data-floating-nav-label] {
74
+ @apply text-primary-z7 font-medium;
75
+ }
76
+
77
+ /* =============================================================================
78
+ Active Indicator
79
+ ============================================================================= */
80
+
81
+ [data-style='rokkit'] [data-floating-nav-indicator] {
82
+ @apply from-primary-z5 to-primary-z6 bg-gradient-to-b shadow-sm;
83
+ }
@@ -0,0 +1,24 @@
1
+ /**
2
+ * @rokkit/themes - Rokkit Theme
3
+ *
4
+ * Rich gradients, glowing borders, and vibrant accents.
5
+ * Default theme — no wrapper needed.
6
+ */
7
+
8
+ @import './button.css';
9
+ @import './toolbar.css';
10
+ @import './tabs.css';
11
+ @import './toggle.css';
12
+ @import './switch.css';
13
+ @import './list.css';
14
+ @import './tree.css';
15
+ @import './connector.css';
16
+ @import './select.css';
17
+ @import './menu.css';
18
+ @import './floating-action.css';
19
+ @import './input.css';
20
+ @import './table.css';
21
+ @import './search-filter.css';
22
+ @import './range.css';
23
+ @import './timeline.css';
24
+ @import './floating-navigation.css';
@@ -0,0 +1,130 @@
1
+ /* Rokkit Theme - Form field and input styles */
2
+
3
+ /* Field root: text color, spacing, rounded */
4
+ [data-style='rokkit'] [data-field-root] {
5
+ @apply text-surface-z9 gap-1 rounded-md transition-all;
6
+ }
7
+
8
+ /* Disabled state */
9
+ [data-style='rokkit'] [data-field-root][data-field-disabled] [data-input-root] {
10
+ @apply bg-surface-z3 text-surface-z6 cursor-not-allowed;
11
+ }
12
+
13
+ /* Labels */
14
+ [data-style='rokkit'] [data-field] > label {
15
+ @apply text-surface-z7;
16
+ }
17
+
18
+ [data-style='rokkit'] [data-form-root] label {
19
+ @apply text-surface-z7;
20
+ }
21
+
22
+ /* Info field value */
23
+ [data-style='rokkit'] [data-field-info] {
24
+ @apply text-primary-z6 font-medium;
25
+ }
26
+
27
+ /* Separator */
28
+ [data-style='rokkit'] [data-form-separator] {
29
+ @apply border-surface-z2;
30
+ }
31
+
32
+ /* Input root: gradient border wrapper */
33
+ [data-style='rokkit'] [data-input-root] {
34
+ @apply bg-surface-z4 flex items-center rounded-md p-px transition-all;
35
+ }
36
+
37
+ [data-style='rokkit'] [data-input-root]:focus-within {
38
+ @apply from-primary-500 to-secondary-500 border-transparent bg-gradient-to-r;
39
+ }
40
+
41
+ /* Standard inputs inside wrapper */
42
+ [data-style='rokkit'] [data-input-root] input:not([type='checkbox'], [type='radio'], [type='color']),
43
+ [data-style='rokkit'] [data-input-root] select {
44
+ @apply bg-surface-z2 text-surface-z8 rounded-md border-none px-3 focus:outline-none;
45
+ font-size: 0.875rem;
46
+ height: 2.25rem;
47
+ }
48
+
49
+ [data-style='rokkit'] [data-input-root] textarea {
50
+ @apply bg-surface-z2 text-surface-z8 rounded-md border-none px-3 py-2 focus:outline-none;
51
+ font-size: 0.875rem;
52
+ }
53
+
54
+ /* Select inside input-root: remove trigger styles since input-root provides the border */
55
+ [data-style='rokkit'] [data-input-root] [data-select-trigger] {
56
+ @apply border-none bg-surface-z2 text-surface-z8 rounded-md shadow-none ring-0 focus:outline-none;
57
+ background-image: none;
58
+ }
59
+
60
+ /* Suppress standalone select open-state ring/border when inside input-root */
61
+ [data-style='rokkit'] [data-input-root] [data-select][data-open='true'] [data-select-trigger] {
62
+ @apply border-none ring-0 shadow-none;
63
+ }
64
+
65
+ [data-style='rokkit'] [data-input-root] input::placeholder,
66
+ [data-style='rokkit'] [data-input-root] textarea::placeholder {
67
+ @apply text-surface-z5;
68
+ }
69
+
70
+ /* Checkbox field */
71
+ [data-style='rokkit'] [data-field-type='checkbox'] [data-field] {
72
+ @apply flex items-center leading-loose;
73
+ }
74
+
75
+ /* Checkbox icon: theme-colored */
76
+ [data-style='rokkit'] [data-checkbox-icon] {
77
+ @apply text-surface-z5 cursor-pointer transition-colors text-lg rounded;
78
+ }
79
+
80
+ [data-style='rokkit'] [data-checkbox-icon]:focus-visible {
81
+ @apply outline-2 outline-primary-z4 outline-offset-2;
82
+ }
83
+
84
+ [data-style='rokkit'] [data-checkbox-root][data-variant='custom']:has(input:checked) [data-checkbox-icon] {
85
+ @apply text-primary-z6;
86
+ }
87
+
88
+ [data-style='rokkit'] [data-field] textarea {
89
+ @apply resize-vertical min-h-20 py-2;
90
+ }
91
+
92
+ /* Color input */
93
+ [data-style='rokkit'] [data-field-type='color'] [data-input-root] {
94
+ @apply overflow-hidden;
95
+ }
96
+
97
+ [data-style='rokkit'] [data-field-type='color'] input[type='color'] {
98
+ @apply bg-surface-z2 flex min-h-11 flex-1 rounded-md focus:outline-none;
99
+ }
100
+
101
+ /* Description and message */
102
+ [data-style='rokkit'] [data-description],
103
+ [data-style='rokkit'] [data-message] {
104
+ @apply text-surface-z6;
105
+ }
106
+
107
+ [data-style='rokkit'] [data-message] {
108
+ @apply rounded-md px-2 py-1;
109
+ }
110
+
111
+ /* Validation state messages */
112
+ [data-style='rokkit'] [data-field-state='success'] [data-message] {
113
+ @apply bg-success text-success opacity-10;
114
+ }
115
+
116
+ [data-style='rokkit'] [data-field-state='warning'] [data-message] {
117
+ @apply bg-warning text-warning opacity-10;
118
+ }
119
+
120
+ [data-style='rokkit'] [data-field-state='info'] [data-message] {
121
+ @apply bg-info text-info opacity-10;
122
+ }
123
+
124
+ [data-style='rokkit'] [data-field-state='error'] [data-message] {
125
+ @apply bg-error text-error opacity-10;
126
+ }
127
+
128
+ [data-style='rokkit'] [data-field-root][data-field-state='fail'] [data-input-root] {
129
+ @apply bg-error text-error opacity-10;
130
+ }
@@ -0,0 +1,141 @@
1
+ /**
2
+ * List - Rokkit Theme Styles
3
+ *
4
+ * Rich gradients and glowing borders.
5
+ */
6
+
7
+ /* =============================================================================
8
+ List Container
9
+ ============================================================================= */
10
+
11
+ [data-style='rokkit'] [data-list]:focus-within {
12
+ @apply rounded ring-0;
13
+ }
14
+
15
+ /* =============================================================================
16
+ List Items
17
+ ============================================================================= */
18
+
19
+ [data-style='rokkit'] [data-list] [data-list-item] {
20
+ @apply text-surface-z8 rounded-none border-0 border-solid border-transparent;
21
+ }
22
+
23
+ [data-style='rokkit'] [data-list] a[data-list-item],
24
+ [data-style='rokkit'] [data-list] button[data-list-item] {
25
+ @apply text-surface-z7 rounded-none;
26
+ }
27
+
28
+ /* Hover and focus (keyboard navigation) */
29
+ [data-style='rokkit'] [data-list] [data-list-item]:hover:not(:disabled):not([data-disabled='true']),
30
+ [data-style='rokkit'] [data-list] [data-list-item]:focus:not(:disabled):not([data-disabled='true']) {
31
+ @apply from-surface-z3 to-surface-z2 text-surface-z10 bg-gradient-to-r outline-none;
32
+ }
33
+
34
+ /* Active state — muted when list not focused */
35
+ [data-style='rokkit'] [data-list] [data-list-item][data-active='true'] {
36
+ @apply bg-surface-z2 text-primary-z9 border-l-primary-z5 border-l-2;
37
+ }
38
+
39
+ /* Active state — full gradient when list has focus */
40
+ [data-style='rokkit'] [data-list]:focus-within [data-list-item][data-active='true'] {
41
+ @apply from-primary-z5 to-secondary-z5 text-primary-z9 border-l-primary-z5 border-l-2 bg-gradient-to-r;
42
+ }
43
+
44
+ /* Active + hover — intensified gradient on hover */
45
+ [data-style='rokkit'] [data-list] [data-list-item][data-active='true']:hover:not(:disabled) {
46
+ @apply from-primary-z4 to-primary-z3 bg-gradient-to-r;
47
+ }
48
+
49
+ /* =============================================================================
50
+ Item Elements
51
+ ============================================================================= */
52
+
53
+ [data-style='rokkit'] [data-list] [data-list-item] [data-item-icon] {
54
+ @apply text-surface-z5;
55
+ }
56
+
57
+ [data-style='rokkit'] [data-list] [data-list-item]:hover:not(:disabled) [data-item-icon],
58
+ [data-style='rokkit'] [data-list] [data-list-item]:focus:not(:disabled) [data-item-icon] {
59
+ @apply text-surface-z7;
60
+ }
61
+
62
+ [data-style='rokkit'] [data-list] [data-list-item][data-active='true'] [data-item-icon] {
63
+ @apply text-primary-z6;
64
+ }
65
+
66
+ [data-style='rokkit'] [data-list]:focus-within [data-list-item][data-active='true'] [data-item-icon] {
67
+ @apply text-primary-z9;
68
+ }
69
+
70
+ /* Item description */
71
+ [data-style='rokkit'] [data-list] [data-list-item] [data-item-description] {
72
+ @apply text-surface-z5;
73
+ }
74
+
75
+ [data-style='rokkit'] [data-list] [data-list-item][data-active='true'] [data-item-description] {
76
+ @apply text-primary-z7;
77
+ }
78
+
79
+ /* Item badge */
80
+ [data-style='rokkit'] [data-list] [data-list-item] [data-item-badge] {
81
+ @apply text-surface-z6 from-surface-z3 to-surface-z2 border-surface-z4 border bg-gradient-to-b;
82
+ }
83
+
84
+ [data-style='rokkit'] [data-list] [data-list-item][data-active='true'] [data-item-badge] {
85
+ @apply text-primary-z8 from-primary-z3 to-primary-z2 border-primary-z4 border bg-gradient-to-b;
86
+ }
87
+
88
+ /* =============================================================================
89
+ Groups
90
+ ============================================================================= */
91
+
92
+ [data-style='rokkit'] [data-list] [data-list-group-label] {
93
+ @apply text-surface-z6;
94
+ }
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;
113
+ }
114
+
115
+ /* =============================================================================
116
+ Divider
117
+ ============================================================================= */
118
+
119
+ [data-style='rokkit'] [data-list] [data-list-divider] {
120
+ @apply via-surface-z4 bg-gradient-to-r from-transparent to-transparent;
121
+ }
122
+
123
+ /* =============================================================================
124
+ Multi-Selection
125
+ ============================================================================= */
126
+
127
+ [data-style='rokkit'] [data-list] [data-list-item][data-selected='true'] {
128
+ @apply bg-primary-z3 text-primary-z9;
129
+ }
130
+
131
+ [data-style='rokkit'] [data-list]:focus-within [data-list-item][data-selected='true'] {
132
+ @apply bg-primary-z4 text-primary-z9;
133
+ }
134
+
135
+ [data-style='rokkit'] [data-list] [data-list-item][data-selected='true']:hover:not(:disabled) {
136
+ @apply bg-primary-z5;
137
+ }
138
+
139
+ [data-style='rokkit'] [data-list] [data-list-item][data-selected='true'] [data-item-icon] {
140
+ @apply text-primary-z6;
141
+ }