@rokkit/themes 1.0.0-next.147 → 1.0.0-next.149

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 (206) hide show
  1. package/build.mjs +10 -2
  2. package/dist/ant-design.css +2065 -0
  3. package/dist/base.css +229 -4
  4. package/dist/bits-ui.css +2060 -0
  5. package/dist/carbon.css +2072 -0
  6. package/dist/daisy-ui.css +2081 -0
  7. package/dist/glass.css +84 -2
  8. package/dist/grada-ui.css +283 -198
  9. package/dist/index.css +11267 -280
  10. package/dist/material.css +106 -29
  11. package/dist/minimal.css +106 -29
  12. package/dist/rokkit.css +119 -14
  13. package/dist/shadcn.css +2053 -0
  14. package/package.json +28 -2
  15. package/src/ant-design/button.css +183 -0
  16. package/src/ant-design/card.css +100 -0
  17. package/src/ant-design/chart.css +34 -0
  18. package/src/ant-design/connector.css +11 -0
  19. package/src/ant-design/dropdown.css +50 -0
  20. package/src/ant-design/floating-action.css +63 -0
  21. package/src/ant-design/floating-navigation.css +70 -0
  22. package/src/ant-design/grid.css +46 -0
  23. package/src/ant-design/index.css +34 -0
  24. package/src/ant-design/input.css +149 -0
  25. package/src/ant-design/list.css +126 -0
  26. package/src/ant-design/menu.css +88 -0
  27. package/src/ant-design/message.css +35 -0
  28. package/src/ant-design/range.css +61 -0
  29. package/src/ant-design/search-filter.css +49 -0
  30. package/src/ant-design/select.css +158 -0
  31. package/src/ant-design/status-list.css +66 -0
  32. package/src/ant-design/switch.css +29 -0
  33. package/src/ant-design/table.css +89 -0
  34. package/src/ant-design/tabs.css +149 -0
  35. package/src/ant-design/timeline.css +45 -0
  36. package/src/ant-design/toc.css +18 -0
  37. package/src/ant-design/toggle.css +48 -0
  38. package/src/ant-design/toolbar.css +85 -0
  39. package/src/ant-design/tree.css +127 -0
  40. package/src/ant-design/upload-progress.css +102 -0
  41. package/src/ant-design/upload-target.css +50 -0
  42. package/src/base/chart.css +94 -0
  43. package/src/base/index.css +2 -0
  44. package/src/base/input.css +53 -3
  45. package/src/base/swatch.css +79 -0
  46. package/src/base/tree.css +1 -1
  47. package/src/bits-ui/button.css +176 -0
  48. package/src/bits-ui/card.css +99 -0
  49. package/src/bits-ui/chart.css +34 -0
  50. package/src/bits-ui/connector.css +11 -0
  51. package/src/bits-ui/dropdown.css +50 -0
  52. package/src/bits-ui/floating-action.css +63 -0
  53. package/src/bits-ui/floating-navigation.css +70 -0
  54. package/src/bits-ui/grid.css +46 -0
  55. package/src/bits-ui/index.css +34 -0
  56. package/src/bits-ui/input.css +150 -0
  57. package/src/bits-ui/list.css +126 -0
  58. package/src/bits-ui/menu.css +88 -0
  59. package/src/bits-ui/message.css +35 -0
  60. package/src/bits-ui/range.css +61 -0
  61. package/src/bits-ui/search-filter.css +49 -0
  62. package/src/bits-ui/select.css +158 -0
  63. package/src/bits-ui/status-list.css +66 -0
  64. package/src/bits-ui/switch.css +29 -0
  65. package/src/bits-ui/table.css +89 -0
  66. package/src/bits-ui/tabs.css +151 -0
  67. package/src/bits-ui/timeline.css +45 -0
  68. package/src/bits-ui/toc.css +18 -0
  69. package/src/bits-ui/toggle.css +48 -0
  70. package/src/bits-ui/toolbar.css +85 -0
  71. package/src/bits-ui/tree.css +127 -0
  72. package/src/bits-ui/upload-progress.css +102 -0
  73. package/src/bits-ui/upload-target.css +50 -0
  74. package/src/carbon/button.css +183 -0
  75. package/src/carbon/card.css +97 -0
  76. package/src/carbon/chart.css +34 -0
  77. package/src/carbon/connector.css +11 -0
  78. package/src/carbon/dropdown.css +50 -0
  79. package/src/carbon/floating-action.css +63 -0
  80. package/src/carbon/floating-navigation.css +70 -0
  81. package/src/carbon/grid.css +46 -0
  82. package/src/carbon/index.css +33 -0
  83. package/src/carbon/input.css +148 -0
  84. package/src/carbon/list.css +126 -0
  85. package/src/carbon/menu.css +88 -0
  86. package/src/carbon/message.css +37 -0
  87. package/src/carbon/range.css +61 -0
  88. package/src/carbon/search-filter.css +49 -0
  89. package/src/carbon/select.css +158 -0
  90. package/src/carbon/status-list.css +66 -0
  91. package/src/carbon/switch.css +31 -0
  92. package/src/carbon/table.css +93 -0
  93. package/src/carbon/tabs.css +149 -0
  94. package/src/carbon/timeline.css +45 -0
  95. package/src/carbon/toc.css +22 -0
  96. package/src/carbon/toggle.css +48 -0
  97. package/src/carbon/toolbar.css +85 -0
  98. package/src/carbon/tree.css +127 -0
  99. package/src/carbon/upload-progress.css +102 -0
  100. package/src/carbon/upload-target.css +50 -0
  101. package/src/daisy-ui/button.css +195 -0
  102. package/src/daisy-ui/card.css +99 -0
  103. package/src/daisy-ui/chart.css +34 -0
  104. package/src/daisy-ui/connector.css +11 -0
  105. package/src/daisy-ui/dropdown.css +50 -0
  106. package/src/daisy-ui/floating-action.css +63 -0
  107. package/src/daisy-ui/floating-navigation.css +70 -0
  108. package/src/daisy-ui/grid.css +46 -0
  109. package/src/daisy-ui/index.css +33 -0
  110. package/src/daisy-ui/input.css +146 -0
  111. package/src/daisy-ui/list.css +127 -0
  112. package/src/daisy-ui/menu.css +88 -0
  113. package/src/daisy-ui/message.css +37 -0
  114. package/src/daisy-ui/range.css +61 -0
  115. package/src/daisy-ui/search-filter.css +49 -0
  116. package/src/daisy-ui/select.css +158 -0
  117. package/src/daisy-ui/status-list.css +66 -0
  118. package/src/daisy-ui/switch.css +31 -0
  119. package/src/daisy-ui/table.css +89 -0
  120. package/src/daisy-ui/tabs.css +149 -0
  121. package/src/daisy-ui/timeline.css +45 -0
  122. package/src/daisy-ui/toc.css +22 -0
  123. package/src/daisy-ui/toggle.css +48 -0
  124. package/src/daisy-ui/toolbar.css +85 -0
  125. package/src/daisy-ui/tree.css +127 -0
  126. package/src/daisy-ui/upload-progress.css +102 -0
  127. package/src/daisy-ui/upload-target.css +50 -0
  128. package/src/glass/button.css +21 -0
  129. package/src/glass/chart.css +38 -0
  130. package/src/glass/index.css +2 -0
  131. package/src/glass/input.css +2 -0
  132. package/src/glass/swatch.css +19 -0
  133. package/src/glass/tabs.css +2 -2
  134. package/src/grada-ui/button.css +63 -25
  135. package/src/grada-ui/card.css +14 -16
  136. package/src/grada-ui/chart.css +34 -0
  137. package/src/grada-ui/dropdown.css +5 -4
  138. package/src/grada-ui/floating-action.css +6 -5
  139. package/src/grada-ui/floating-navigation.css +10 -9
  140. package/src/grada-ui/index.css +1 -0
  141. package/src/grada-ui/input.css +9 -10
  142. package/src/grada-ui/list.css +10 -7
  143. package/src/grada-ui/menu.css +6 -6
  144. package/src/grada-ui/message.css +7 -7
  145. package/src/grada-ui/range.css +5 -4
  146. package/src/grada-ui/search-filter.css +4 -3
  147. package/src/grada-ui/select.css +17 -13
  148. package/src/grada-ui/status-list.css +9 -8
  149. package/src/grada-ui/switch.css +4 -4
  150. package/src/grada-ui/table.css +10 -12
  151. package/src/grada-ui/tabs.css +7 -9
  152. package/src/grada-ui/timeline.css +8 -6
  153. package/src/grada-ui/toc.css +2 -2
  154. package/src/grada-ui/toggle.css +2 -1
  155. package/src/grada-ui/toolbar.css +10 -8
  156. package/src/grada-ui/tree.css +11 -10
  157. package/src/material/button.css +21 -0
  158. package/src/material/card.css +2 -1
  159. package/src/material/chart.css +38 -0
  160. package/src/material/index.css +2 -0
  161. package/src/material/input.css +18 -13
  162. package/src/material/swatch.css +19 -0
  163. package/src/material/tabs.css +2 -2
  164. package/src/minimal/button.css +21 -0
  165. package/src/minimal/card.css +2 -1
  166. package/src/minimal/chart.css +38 -0
  167. package/src/minimal/index.css +2 -0
  168. package/src/minimal/input.css +2 -1
  169. package/src/minimal/swatch.css +19 -0
  170. package/src/minimal/switch.css +9 -5
  171. package/src/minimal/tabs.css +2 -2
  172. package/src/minimal/toggle.css +3 -3
  173. package/src/rokkit/button.css +36 -0
  174. package/src/rokkit/card.css +2 -1
  175. package/src/rokkit/chart.css +38 -0
  176. package/src/rokkit/index.css +2 -0
  177. package/src/rokkit/list.css +19 -1
  178. package/src/rokkit/swatch.css +18 -0
  179. package/src/rokkit/switch.css +2 -1
  180. package/src/shadcn/button.css +176 -0
  181. package/src/shadcn/card.css +99 -0
  182. package/src/shadcn/chart.css +34 -0
  183. package/src/shadcn/connector.css +11 -0
  184. package/src/shadcn/dropdown.css +50 -0
  185. package/src/shadcn/floating-action.css +63 -0
  186. package/src/shadcn/floating-navigation.css +70 -0
  187. package/src/shadcn/grid.css +46 -0
  188. package/src/shadcn/index.css +34 -0
  189. package/src/shadcn/input.css +141 -0
  190. package/src/shadcn/list.css +126 -0
  191. package/src/shadcn/menu.css +88 -0
  192. package/src/shadcn/message.css +35 -0
  193. package/src/shadcn/range.css +61 -0
  194. package/src/shadcn/search-filter.css +49 -0
  195. package/src/shadcn/select.css +158 -0
  196. package/src/shadcn/status-list.css +66 -0
  197. package/src/shadcn/switch.css +31 -0
  198. package/src/shadcn/table.css +89 -0
  199. package/src/shadcn/tabs.css +149 -0
  200. package/src/shadcn/timeline.css +45 -0
  201. package/src/shadcn/toc.css +20 -0
  202. package/src/shadcn/toggle.css +48 -0
  203. package/src/shadcn/toolbar.css +85 -0
  204. package/src/shadcn/tree.css +127 -0
  205. package/src/shadcn/upload-progress.css +102 -0
  206. package/src/shadcn/upload-target.css +50 -0
@@ -0,0 +1,18 @@
1
+ /* TableOfContents — bits-ui theme */
2
+
3
+ [data-style='bits-ui'] [data-toc] [data-toc-label] {
4
+ @apply text-surface-z5;
5
+ }
6
+
7
+ [data-style='bits-ui'] [data-toc] [data-toc-item] {
8
+ @apply text-surface-z6 rounded-lg;
9
+ }
10
+
11
+ [data-style='bits-ui'] [data-toc] [data-toc-item]:hover,
12
+ [data-style='bits-ui'] [data-toc] [data-toc-item][data-toc-focused] {
13
+ @apply bg-surface-z2 text-surface-z9 outline-none;
14
+ }
15
+
16
+ [data-style='bits-ui'] [data-toc] [data-toc-item][data-toc-active] {
17
+ @apply bg-primary-z2 text-primary-z7;
18
+ }
@@ -0,0 +1,48 @@
1
+ /**
2
+ * Toggle - bits-ui Theme Styles
3
+ *
4
+ * Rounded pill container with softer styling.
5
+ */
6
+
7
+ /* =============================================================================
8
+ Toggle Container
9
+ ============================================================================= */
10
+
11
+ [data-style='bits-ui'] [data-toggle] {
12
+ @apply bg-none border-surface-z3 rounded-lg border bg-surface-z1 shadow-sm;
13
+ }
14
+
15
+ /* =============================================================================
16
+ Toggle Options
17
+ ============================================================================= */
18
+
19
+ [data-style='bits-ui'] [data-toggle-option] {
20
+ @apply text-surface-z6 border-0 border-solid border-transparent rounded-lg;
21
+ }
22
+
23
+ [data-style='bits-ui'] [data-toggle-option]:hover:not(:disabled):not([data-disabled='true']),
24
+ [data-style='bits-ui'] [data-toggle-option]:focus:not(:disabled):not([data-disabled='true']) {
25
+ @apply bg-surface-z2 text-surface-z8;
26
+ }
27
+
28
+ /* Selected state */
29
+ [data-style='bits-ui'] [data-toggle-option][data-selected='true'] {
30
+ @apply bg-surface-z3 text-surface-z9 shadow-sm;
31
+ }
32
+
33
+ /* =============================================================================
34
+ Toggle Icon
35
+ ============================================================================= */
36
+
37
+ [data-style='bits-ui'] [data-toggle-option] [data-toggle-icon] {
38
+ @apply text-surface-z5;
39
+ }
40
+
41
+ [data-style='bits-ui'] [data-toggle-option]:hover:not(:disabled) [data-toggle-icon],
42
+ [data-style='bits-ui'] [data-toggle-option]:focus:not(:disabled) [data-toggle-icon] {
43
+ @apply text-surface-z7;
44
+ }
45
+
46
+ [data-style='bits-ui'] [data-toggle-option][data-selected='true'] [data-toggle-icon] {
47
+ @apply text-surface-z8;
48
+ }
@@ -0,0 +1,85 @@
1
+ /**
2
+ * Toolbar - bits-ui Theme Styles
3
+ *
4
+ * Softer styling with subtle borders.
5
+ */
6
+
7
+ /* =============================================================================
8
+ Toolbar Container
9
+ ============================================================================= */
10
+
11
+ [data-style='bits-ui'] [data-toolbar] {
12
+ @apply bg-none bg-transparent;
13
+ }
14
+
15
+ /* Position-based borders */
16
+ [data-style='bits-ui'] [data-toolbar][data-toolbar-position='top'],
17
+ [data-style='bits-ui'] [data-toolbar]:not([data-toolbar-position]) {
18
+ @apply border-surface-z3 border-b;
19
+ }
20
+
21
+ [data-style='bits-ui'] [data-toolbar][data-toolbar-position='bottom'] {
22
+ @apply border-surface-z3 border-t;
23
+ }
24
+
25
+ [data-style='bits-ui'] [data-toolbar][data-toolbar-position='left'] {
26
+ @apply border-surface-z3 border-r;
27
+ }
28
+
29
+ [data-style='bits-ui'] [data-toolbar][data-toolbar-position='right'] {
30
+ @apply border-surface-z3 border-l;
31
+ }
32
+
33
+ /* =============================================================================
34
+ Toolbar Items
35
+ ============================================================================= */
36
+
37
+ [data-style='bits-ui'] [data-toolbar-item] {
38
+ @apply text-surface-z6 rounded-lg;
39
+ }
40
+
41
+ [data-style='bits-ui'] [data-toolbar-item]:hover:not(:disabled):not([data-disabled='true']) {
42
+ @apply bg-none text-surface-z9;
43
+ }
44
+
45
+ [data-style='bits-ui']
46
+ [data-toolbar-item]:focus-visible:not(:disabled):not([data-disabled='true']) {
47
+ @apply bg-none text-surface-z9 ring-primary-z3 ring-2 outline-none;
48
+ }
49
+
50
+ /* Active/pressed state */
51
+ [data-style='bits-ui'] [data-toolbar-item][data-active='true'] {
52
+ @apply bg-none text-primary-z7;
53
+ }
54
+
55
+ [data-style='bits-ui'] [data-toolbar-item][data-active='true']:hover:not(:disabled) {
56
+ @apply bg-none text-primary-z8;
57
+ }
58
+
59
+ /* =============================================================================
60
+ Toolbar Icon
61
+ ============================================================================= */
62
+
63
+ [data-style='bits-ui'] [data-toolbar-item] [data-toolbar-icon] {
64
+ @apply text-surface-z5;
65
+ }
66
+
67
+ [data-style='bits-ui'] [data-toolbar-item]:hover:not(:disabled) [data-toolbar-icon] {
68
+ @apply text-surface-z8;
69
+ }
70
+
71
+ [data-style='bits-ui'] [data-toolbar-item][data-active='true'] [data-toolbar-icon] {
72
+ @apply text-primary-z6;
73
+ }
74
+
75
+ /* =============================================================================
76
+ Separator & Divider
77
+ ============================================================================= */
78
+
79
+ [data-style='bits-ui'] [data-toolbar-separator] {
80
+ @apply bg-none bg-surface-z3;
81
+ }
82
+
83
+ [data-style='bits-ui'] [data-toolbar-divider] {
84
+ @apply bg-none bg-surface-z3;
85
+ }
@@ -0,0 +1,127 @@
1
+ /**
2
+ * Tree - bits-ui Theme Styles
3
+ *
4
+ * Softer tree with rounded item backgrounds on hover/active.
5
+ */
6
+
7
+ /* =============================================================================
8
+ Tree Container
9
+ ============================================================================= */
10
+
11
+ [data-style='bits-ui'] [data-tree]:focus-within {
12
+ @apply outline-none;
13
+ }
14
+
15
+ /* =============================================================================
16
+ Tree Toggle Button
17
+ ============================================================================= */
18
+
19
+ [data-style='bits-ui'] [data-tree-toggle-btn] {
20
+ @apply text-surface-z4 rounded;
21
+ }
22
+
23
+ [data-style='bits-ui'] [data-tree-toggle-btn]:hover {
24
+ @apply bg-surface-z2 text-surface-z6;
25
+ }
26
+
27
+ /* =============================================================================
28
+ Tree Item Content
29
+ ============================================================================= */
30
+
31
+ [data-style='bits-ui'] [data-tree-item-content] {
32
+ @apply text-surface-z7 rounded-lg;
33
+ }
34
+
35
+ [data-style='bits-ui'] [data-tree-item-content]:hover:not(:disabled),
36
+ [data-style='bits-ui'] [data-tree-item-content]:focus:not(:disabled) {
37
+ @apply bg-surface-z2 text-surface-z9 outline-none;
38
+ }
39
+
40
+ /* Focus visible for keyboard navigation */
41
+ [data-style='bits-ui'] [data-tree-item-content]:focus-visible {
42
+ @apply ring-primary-z3 ring-2 outline-none;
43
+ }
44
+
45
+ /* Active/selected state */
46
+ [data-style='bits-ui'] [data-tree-item-content][data-active='true'] {
47
+ @apply bg-primary-z2 text-primary-z7;
48
+ }
49
+
50
+ [data-style='bits-ui'] [data-tree-item-content][data-active='true']:hover:not(:disabled) {
51
+ @apply bg-primary-z3 text-primary-z8;
52
+ }
53
+
54
+ /* Reset rokkit gradients bleeding in from body[data-style='rokkit'] ancestor */
55
+ [data-style='bits-ui'] [data-tree]:focus-within [data-tree-item-content][data-active='true'] {
56
+ @apply bg-primary-z2;
57
+ }
58
+
59
+ [data-style='bits-ui'] [data-tree]:focus-within [data-tree-item-content][data-active='true']:hover:not(:disabled) {
60
+ @apply bg-primary-z3;
61
+ }
62
+
63
+ [data-style='bits-ui'] [data-tree]:not(:focus-within) [data-tree-item-content][data-active='true'] {
64
+ @apply bg-surface-z2;
65
+ }
66
+
67
+ /* =============================================================================
68
+ Item Elements
69
+ ============================================================================= */
70
+
71
+ [data-style='bits-ui'] [data-tree-item-content] [data-item-icon] {
72
+ @apply text-surface-z5;
73
+ }
74
+
75
+ [data-style='bits-ui'] [data-tree-item-content]:hover:not(:disabled) [data-item-icon] {
76
+ @apply text-surface-z6;
77
+ }
78
+
79
+ [data-style='bits-ui'] [data-tree-item-content][data-active='true'] [data-item-icon] {
80
+ @apply text-primary-z5;
81
+ }
82
+
83
+ [data-style='bits-ui'] [data-tree-item-content] [data-item-description] {
84
+ @apply text-surface-z5;
85
+ }
86
+
87
+ [data-style='bits-ui'] [data-tree-item-content][data-active='true'] [data-item-description] {
88
+ @apply text-primary-z6;
89
+ }
90
+
91
+ [data-style='bits-ui'] [data-tree-item-content] [data-item-badge] {
92
+ @apply bg-none text-surface-z6 border-surface-z3 border bg-transparent rounded-lg;
93
+ }
94
+
95
+ [data-style='bits-ui'] [data-tree-item-content][data-active='true'] [data-item-badge] {
96
+ @apply text-primary-z7 border-primary-z3;
97
+ }
98
+
99
+ [data-style='bits-ui'] [data-tree]:focus-within [data-tree-item-content][data-active='true'] [data-item-badge] {
100
+ @apply bg-none;
101
+ }
102
+
103
+ [data-style='bits-ui'] [data-tree]:not(:focus-within) [data-tree-item-content][data-active='true'] [data-item-badge] {
104
+ @apply bg-none;
105
+ }
106
+
107
+ /* =============================================================================
108
+ Multi-Selection
109
+ ============================================================================= */
110
+
111
+ [data-style='bits-ui'] [data-tree-node][data-selected='true'] [data-tree-item-content] {
112
+ @apply bg-primary-z2 text-primary-z7;
113
+ }
114
+
115
+ [data-style='bits-ui']
116
+ [data-tree]:focus-within
117
+ [data-tree-node][data-selected='true']
118
+ [data-tree-item-content] {
119
+ @apply bg-primary-z2 text-primary-z7;
120
+ }
121
+
122
+ [data-style='bits-ui']
123
+ [data-tree-node][data-selected='true']
124
+ [data-tree-item-content]
125
+ [data-item-icon] {
126
+ @apply text-primary-z5;
127
+ }
@@ -0,0 +1,102 @@
1
+ /**
2
+ * UploadProgress - bits-ui Theme Styles
3
+ *
4
+ * Status colors, progress fill, action buttons.
5
+ */
6
+
7
+ /* =============================================================================
8
+ Header
9
+ ============================================================================= */
10
+
11
+ [data-style='bits-ui'] [data-upload-header] {
12
+ @apply text-surface-z7;
13
+ }
14
+
15
+ [data-style='bits-ui'] [data-upload-clear] {
16
+ @apply border-surface-z3 text-surface-z6 rounded-lg shadow-sm;
17
+ }
18
+
19
+ [data-style='bits-ui'] [data-upload-clear]:hover {
20
+ @apply bg-surface-z3 text-surface-z9;
21
+ }
22
+
23
+ /* =============================================================================
24
+ File Rows
25
+ ============================================================================= */
26
+
27
+ [data-style='bits-ui'] [data-upload-file-status] {
28
+ @apply text-surface-z7 rounded-lg;
29
+ }
30
+
31
+ [data-style='bits-ui'] [data-upload-file-status]:hover {
32
+ @apply bg-surface-z2;
33
+ }
34
+
35
+ /* =============================================================================
36
+ File Elements
37
+ ============================================================================= */
38
+
39
+ [data-style='bits-ui'] [data-upload-file-icon] {
40
+ @apply text-surface-z5;
41
+ }
42
+
43
+ [data-style='bits-ui'] [data-upload-file-size] {
44
+ @apply text-surface-z5;
45
+ }
46
+
47
+ /* =============================================================================
48
+ Progress Bar
49
+ ============================================================================= */
50
+
51
+ [data-style='bits-ui'] [data-upload-bar] {
52
+ @apply bg-surface-z3 rounded-lg;
53
+ }
54
+
55
+ [data-style='bits-ui'] [data-upload-fill] {
56
+ @apply from-primary-z5 to-secondary-z5 bg-gradient-to-r rounded-lg;
57
+ }
58
+
59
+ /* =============================================================================
60
+ Status Colors
61
+ ============================================================================= */
62
+
63
+ [data-style='bits-ui'] [data-upload-file-status][data-status='uploading'] [data-upload-status] {
64
+ @apply text-primary-z6;
65
+ }
66
+
67
+ [data-style='bits-ui'] [data-upload-file-status][data-status='done'] [data-upload-status] {
68
+ @apply text-green-500;
69
+ }
70
+
71
+ [data-style='bits-ui'] [data-upload-file-status][data-status='error'] [data-upload-status] {
72
+ @apply text-red-500;
73
+ }
74
+
75
+ [data-style='bits-ui'] [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='bits-ui'] [data-upload-file-status][data-status='done'] [data-upload-file-icon] {
81
+ @apply text-green-500;
82
+ }
83
+
84
+ [data-style='bits-ui'] [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='bits-ui'] [data-upload-actions] button {
93
+ @apply text-surface-z5 rounded;
94
+ }
95
+
96
+ [data-style='bits-ui'] [data-upload-actions] button:hover {
97
+ @apply bg-surface-z3 text-surface-z9;
98
+ }
99
+
100
+ [data-style='bits-ui'] [data-upload-file-status][data-status='error'] [data-upload-retry]:hover {
101
+ @apply text-primary-z7;
102
+ }
@@ -0,0 +1,50 @@
1
+ /**
2
+ * UploadTarget - bits-ui Theme Styles
3
+ *
4
+ * Rounded drop zone with shadow and primary drag highlight.
5
+ */
6
+
7
+ /* =============================================================================
8
+ Drop Zone
9
+ ============================================================================= */
10
+
11
+ [data-style='bits-ui'] [data-upload-target] {
12
+ @apply border-surface-z3 text-surface-z6 rounded-xl shadow-sm;
13
+ }
14
+
15
+ [data-style='bits-ui'] [data-upload-target]:hover:not([data-disabled]) {
16
+ @apply border-surface-z4 text-surface-z7 bg-surface-z2;
17
+ }
18
+
19
+ [data-style='bits-ui'] [data-upload-target]:focus-visible:not([data-disabled]) {
20
+ @apply border-primary-z4 ring-primary-z3 ring-2;
21
+ }
22
+
23
+ /* Drag-over highlight */
24
+ [data-style='bits-ui'] [data-upload-target][data-dragging] {
25
+ @apply border-primary-z4 bg-primary-z2 text-primary-z7;
26
+ }
27
+
28
+ /* =============================================================================
29
+ Upload Icon
30
+ ============================================================================= */
31
+
32
+ [data-style='bits-ui'] [data-upload-target] [data-upload-icon] {
33
+ @apply text-surface-z5;
34
+ }
35
+
36
+ [data-style='bits-ui'] [data-upload-target][data-dragging] [data-upload-icon] {
37
+ @apply text-primary-z6;
38
+ }
39
+
40
+ /* =============================================================================
41
+ Browse Button
42
+ ============================================================================= */
43
+
44
+ [data-style='bits-ui'] [data-upload-target] [data-upload-button] {
45
+ @apply border-surface-z3 text-surface-z7 rounded-lg shadow-sm;
46
+ }
47
+
48
+ [data-style='bits-ui'] [data-upload-target] [data-upload-button]:hover:not(:disabled) {
49
+ @apply bg-surface-z3 text-surface-z9;
50
+ }
@@ -0,0 +1,183 @@
1
+ /**
2
+ * Button - Carbon Theme Styles
3
+ *
4
+ * Completely square, flat fills, no border-radius. IBM Carbon inspired.
5
+ */
6
+
7
+ /* =============================================================================
8
+ Default Style (filled)
9
+ ============================================================================= */
10
+
11
+ [data-style='carbon'] [data-button][data-style='default'][data-variant='default'],
12
+ [data-style='carbon'] [data-button]:not([data-style])[data-variant='default'],
13
+ [data-style='carbon'] [data-button][data-style='default']:not([data-variant]),
14
+ [data-style='carbon'] [data-button]:not([data-style]):not([data-variant]) {
15
+ @apply bg-none bg-surface-z3 text-surface-z8 rounded-none border-0;
16
+ }
17
+
18
+ [data-style='carbon'] [data-button][data-style='default'][data-variant='primary'],
19
+ [data-style='carbon'] [data-button]:not([data-style])[data-variant='primary'] {
20
+ @apply bg-none bg-primary-z5 text-on-primary rounded-none border-0;
21
+ }
22
+
23
+ [data-style='carbon'] [data-button][data-style='default'][data-variant='secondary'],
24
+ [data-style='carbon'] [data-button]:not([data-style])[data-variant='secondary'] {
25
+ @apply bg-none bg-secondary-z5 text-on-secondary rounded-none border-0;
26
+ }
27
+
28
+ [data-style='carbon'] [data-button][data-style='default'][data-variant='accent'],
29
+ [data-style='carbon'] [data-button]:not([data-style])[data-variant='accent'] {
30
+ @apply bg-none bg-accent-z5 text-on-accent rounded-none border-0;
31
+ }
32
+
33
+ [data-style='carbon'] [data-button][data-style='default'][data-variant='danger'],
34
+ [data-style='carbon'] [data-button]:not([data-style])[data-variant='danger'] {
35
+ @apply bg-none bg-danger-z5 text-on-danger rounded-none border-0;
36
+ }
37
+
38
+ /* =============================================================================
39
+ Outline Style
40
+ ============================================================================= */
41
+
42
+ [data-style='carbon'] [data-button][data-style='outline'][data-variant='default'],
43
+ [data-style='carbon'] [data-button][data-style='outline']:not([data-variant]) {
44
+ @apply border-surface-z5 text-surface-z7 rounded-none border bg-transparent;
45
+ }
46
+
47
+ [data-style='carbon'] [data-button][data-style='outline'][data-variant='primary'] {
48
+ @apply border-primary-z5 text-primary-z6 rounded-none border bg-transparent;
49
+ }
50
+
51
+ [data-style='carbon'] [data-button][data-style='outline'][data-variant='secondary'] {
52
+ @apply border-secondary-z5 text-secondary-z6 rounded-none border bg-transparent;
53
+ }
54
+
55
+ [data-style='carbon'] [data-button][data-style='outline'][data-variant='accent'] {
56
+ @apply border-accent-z5 text-accent-z6 rounded-none border bg-transparent;
57
+ }
58
+
59
+ [data-style='carbon'] [data-button][data-style='outline'][data-variant='danger'] {
60
+ @apply border-danger-z5 text-danger-z5 rounded-none border bg-transparent;
61
+ }
62
+
63
+ /* =============================================================================
64
+ Ghost Style
65
+ ============================================================================= */
66
+
67
+ [data-style='carbon'] [data-button][data-style='ghost'] {
68
+ @apply border-transparent bg-transparent rounded-none;
69
+ }
70
+
71
+ [data-style='carbon'] [data-button][data-style='ghost'][data-variant='default'],
72
+ [data-style='carbon'] [data-button][data-style='ghost']:not([data-variant]) {
73
+ @apply text-surface-z7;
74
+ }
75
+
76
+ [data-style='carbon'] [data-button][data-style='ghost'][data-variant='primary'] {
77
+ @apply text-primary-z6;
78
+ }
79
+
80
+ [data-style='carbon'] [data-button][data-style='ghost'][data-variant='secondary'] {
81
+ @apply text-secondary-z6;
82
+ }
83
+
84
+ [data-style='carbon'] [data-button][data-style='ghost'][data-variant='accent'] {
85
+ @apply text-accent-z6;
86
+ }
87
+
88
+ [data-style='carbon'] [data-button][data-style='ghost'][data-variant='danger'] {
89
+ @apply text-danger-z5;
90
+ }
91
+
92
+ /* =============================================================================
93
+ Gradient Style (flat fill — Carbon avoids gradients)
94
+ ============================================================================= */
95
+
96
+ [data-style='carbon'] [data-button][data-style='gradient'][data-variant='default'],
97
+ [data-style='carbon'] [data-button][data-style='gradient']:not([data-variant]) {
98
+ @apply bg-none bg-surface-z4 text-surface-z9 rounded-none border-0;
99
+ }
100
+
101
+ [data-style='carbon'] [data-button][data-style='gradient'][data-variant='primary'] {
102
+ @apply bg-none bg-primary-z5 text-on-primary rounded-none border-0;
103
+ }
104
+
105
+ [data-style='carbon'] [data-button][data-style='gradient'][data-variant='secondary'] {
106
+ @apply bg-none bg-secondary-z5 text-on-secondary rounded-none border-0;
107
+ }
108
+
109
+ [data-style='carbon'] [data-button][data-style='gradient'][data-variant='accent'] {
110
+ @apply bg-none bg-accent-z5 text-on-accent rounded-none border-0;
111
+ }
112
+
113
+ [data-style='carbon'] [data-button][data-style='gradient'][data-variant='danger'] {
114
+ @apply bg-none bg-danger-z5 text-on-danger rounded-none border-0;
115
+ }
116
+
117
+ /* =============================================================================
118
+ Link Style
119
+ ============================================================================= */
120
+
121
+ [data-style='carbon'] [data-button][data-style='link'][data-variant='default'],
122
+ [data-style='carbon'] [data-button][data-style='link']:not([data-variant]) {
123
+ @apply text-surface-z7;
124
+ }
125
+
126
+ [data-style='carbon'] [data-button][data-style='link'][data-variant='primary'] {
127
+ @apply text-primary-z6;
128
+ }
129
+
130
+ [data-style='carbon'] [data-button][data-style='link'][data-variant='secondary'] {
131
+ @apply text-secondary-z6;
132
+ }
133
+
134
+ [data-style='carbon'] [data-button][data-style='link'][data-variant='accent'] {
135
+ @apply text-accent-z6;
136
+ }
137
+
138
+ [data-style='carbon'] [data-button][data-style='link'][data-variant='danger'] {
139
+ @apply text-danger-z5;
140
+ }
141
+
142
+ [data-style='carbon'] [data-button][data-style='link']:hover:not(:disabled):not([data-disabled]) {
143
+ @apply text-surface-z9;
144
+ }
145
+
146
+ /* =============================================================================
147
+ Hover States
148
+ ============================================================================= */
149
+
150
+ [data-style='carbon']
151
+ [data-button][data-style='default']:hover:not(:disabled):not([data-disabled]),
152
+ [data-style='carbon'] [data-button]:not([data-style]):hover:not(:disabled):not([data-disabled]) {
153
+ @apply bg-none bg-surface-z4;
154
+ }
155
+
156
+ [data-style='carbon']
157
+ [data-button][data-style='default'][data-variant='primary']:hover:not(:disabled):not([data-disabled]),
158
+ [data-style='carbon']
159
+ [data-button]:not([data-style])[data-variant='primary']:hover:not(:disabled):not([data-disabled]) {
160
+ @apply bg-none bg-primary-z6;
161
+ }
162
+
163
+ [data-style='carbon']
164
+ [data-button][data-style='outline']:hover:not(:disabled):not([data-disabled]) {
165
+ @apply bg-none bg-surface-z2;
166
+ }
167
+
168
+ [data-style='carbon'] [data-button][data-style='ghost']:hover:not(:disabled):not([data-disabled]) {
169
+ @apply bg-surface-z2;
170
+ }
171
+
172
+ [data-style='carbon']
173
+ [data-button][data-style='gradient']:hover:not(:disabled):not([data-disabled]) {
174
+ @apply bg-none bg-surface-z5;
175
+ }
176
+
177
+ /* =============================================================================
178
+ Focus — Carbon style: thick outline, no ring, no offset
179
+ ============================================================================= */
180
+
181
+ [data-style='carbon'] [data-button]:focus-visible {
182
+ @apply outline-none border-2 border-primary-z5;
183
+ }