@rokkit/themes 1.0.4 → 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.
Files changed (335) hide show
  1. package/README.md +11 -19
  2. package/build.mjs +7 -21
  3. package/package.json +24 -132
  4. package/src/base/carousel.css +2 -2
  5. package/src/base/code-block.css +76 -0
  6. package/src/base/display.css +16 -8
  7. package/src/base/frame.css +36 -0
  8. package/src/base/index.css +2 -0
  9. package/src/base/input.css +57 -14
  10. package/src/base/nav-content.css +3 -3
  11. package/src/base/stepper.css +16 -14
  12. package/src/base/tabs.css +15 -2
  13. package/src/base/typography.css +32 -13
  14. package/src/frosted/button.css +27 -32
  15. package/src/frosted/card.css +8 -12
  16. package/src/frosted/chart.css +6 -6
  17. package/src/frosted/code-block.css +33 -0
  18. package/src/frosted/dropdown.css +9 -14
  19. package/src/frosted/floating-action.css +10 -10
  20. package/src/frosted/floating-navigation.css +13 -13
  21. package/src/frosted/frame.css +17 -0
  22. package/src/frosted/index.css +2 -0
  23. package/src/frosted/input.css +16 -17
  24. package/src/frosted/list.css +46 -21
  25. package/src/frosted/menu.css +13 -17
  26. package/src/frosted/message.css +8 -8
  27. package/src/frosted/range.css +8 -8
  28. package/src/frosted/search-filter.css +8 -8
  29. package/src/frosted/select.css +31 -31
  30. package/src/frosted/status-list.css +17 -17
  31. package/src/frosted/step-indicator.css +8 -9
  32. package/src/frosted/swatch.css +3 -3
  33. package/src/frosted/switch.css +3 -4
  34. package/src/frosted/table.css +16 -16
  35. package/src/frosted/tabs.css +8 -8
  36. package/src/frosted/timeline.css +5 -6
  37. package/src/frosted/toc.css +4 -4
  38. package/src/frosted/toggle.css +7 -7
  39. package/src/frosted/toolbar.css +15 -15
  40. package/src/frosted/tree.css +19 -19
  41. package/src/index.css +2 -0
  42. package/src/index.js +0 -1
  43. package/src/material/button.css +29 -29
  44. package/src/material/card.css +12 -12
  45. package/src/material/chart.css +6 -6
  46. package/src/material/code-block.css +33 -0
  47. package/src/material/dropdown.css +11 -11
  48. package/src/material/floating-action.css +10 -10
  49. package/src/material/floating-navigation.css +13 -13
  50. package/src/material/frame.css +17 -0
  51. package/src/material/index.css +2 -0
  52. package/src/material/input.css +21 -21
  53. package/src/material/list.css +34 -20
  54. package/src/material/menu.css +16 -16
  55. package/src/material/message.css +8 -8
  56. package/src/material/range.css +8 -8
  57. package/src/material/search-filter.css +8 -8
  58. package/src/material/select.css +31 -31
  59. package/src/material/status-list.css +17 -17
  60. package/src/material/step-indicator.css +8 -9
  61. package/src/material/swatch.css +3 -3
  62. package/src/material/switch.css +6 -6
  63. package/src/material/table.css +16 -16
  64. package/src/material/tabs.css +8 -8
  65. package/src/material/timeline.css +5 -6
  66. package/src/material/toc.css +4 -4
  67. package/src/material/toggle.css +7 -7
  68. package/src/material/toolbar.css +11 -11
  69. package/src/material/tree.css +17 -17
  70. package/src/minimal/button.css +30 -30
  71. package/src/minimal/card.css +13 -13
  72. package/src/minimal/chart.css +6 -6
  73. package/src/minimal/code-block.css +33 -0
  74. package/src/minimal/dropdown.css +11 -11
  75. package/src/minimal/floating-action.css +10 -10
  76. package/src/minimal/floating-navigation.css +12 -12
  77. package/src/minimal/frame.css +17 -0
  78. package/src/minimal/index.css +2 -0
  79. package/src/minimal/input.css +24 -24
  80. package/src/minimal/list.css +63 -23
  81. package/src/minimal/menu.css +15 -15
  82. package/src/minimal/message.css +8 -8
  83. package/src/minimal/range.css +7 -7
  84. package/src/minimal/search-filter.css +8 -8
  85. package/src/minimal/select.css +27 -39
  86. package/src/minimal/status-list.css +17 -17
  87. package/src/minimal/step-indicator.css +8 -8
  88. package/src/minimal/swatch.css +3 -3
  89. package/src/minimal/switch.css +6 -6
  90. package/src/minimal/table.css +16 -16
  91. package/src/minimal/tabs.css +14 -14
  92. package/src/minimal/timeline.css +4 -4
  93. package/src/minimal/toc.css +4 -4
  94. package/src/minimal/toggle.css +7 -7
  95. package/src/minimal/toolbar.css +14 -14
  96. package/src/minimal/tree.css +24 -18
  97. package/src/rokkit/avatar.css +6 -6
  98. package/src/rokkit/badge.css +5 -5
  99. package/src/rokkit/button.css +55 -37
  100. package/src/rokkit/card.css +11 -11
  101. package/src/rokkit/chart.css +6 -6
  102. package/src/rokkit/code-block.css +33 -0
  103. package/src/rokkit/connector.css +1 -1
  104. package/src/rokkit/divider.css +5 -5
  105. package/src/rokkit/dropdown.css +11 -11
  106. package/src/rokkit/floating-action.css +11 -11
  107. package/src/rokkit/floating-navigation.css +15 -15
  108. package/src/rokkit/frame.css +17 -0
  109. package/src/rokkit/grid.css +8 -8
  110. package/src/rokkit/index.css +2 -1
  111. package/src/rokkit/input.css +17 -17
  112. package/src/rokkit/list.css +46 -21
  113. package/src/rokkit/menu.css +14 -14
  114. package/src/rokkit/message.css +12 -12
  115. package/src/rokkit/range.css +10 -10
  116. package/src/rokkit/search-filter.css +8 -8
  117. package/src/rokkit/select.css +34 -34
  118. package/src/rokkit/status-list.css +17 -17
  119. package/src/rokkit/step-indicator.css +8 -9
  120. package/src/rokkit/swatch.css +3 -3
  121. package/src/rokkit/switch.css +6 -6
  122. package/src/rokkit/table.css +16 -16
  123. package/src/rokkit/tabs.css +31 -28
  124. package/src/rokkit/timeline.css +5 -6
  125. package/src/rokkit/toc.css +4 -4
  126. package/src/rokkit/toggle.css +21 -10
  127. package/src/rokkit/toolbar.css +15 -15
  128. package/src/rokkit/tooltip.css +1 -1
  129. package/src/rokkit/tree.css +23 -23
  130. package/src/rokkit/upload-progress.css +18 -18
  131. package/src/rokkit/upload-target.css +8 -8
  132. package/src/zen-sumi/button.css +176 -0
  133. package/src/zen-sumi/card.css +104 -0
  134. package/src/zen-sumi/chart.css +41 -0
  135. package/src/zen-sumi/code-block.css +35 -0
  136. package/src/zen-sumi/dropdown.css +53 -0
  137. package/src/zen-sumi/floating-action.css +68 -0
  138. package/src/zen-sumi/floating-navigation.css +74 -0
  139. package/src/zen-sumi/frame.css +20 -0
  140. package/src/zen-sumi/index.css +53 -0
  141. package/src/zen-sumi/input.css +171 -0
  142. package/src/zen-sumi/list.css +128 -0
  143. package/src/zen-sumi/menu.css +91 -0
  144. package/src/zen-sumi/message.css +37 -0
  145. package/src/zen-sumi/range.css +62 -0
  146. package/src/zen-sumi/search-filter.css +49 -0
  147. package/src/zen-sumi/select.css +160 -0
  148. package/src/zen-sumi/status-list.css +66 -0
  149. package/src/zen-sumi/step-indicator.css +40 -0
  150. package/src/zen-sumi/swatch.css +21 -0
  151. package/src/zen-sumi/switch.css +34 -0
  152. package/src/zen-sumi/table.css +118 -0
  153. package/src/zen-sumi/tabs.css +78 -0
  154. package/src/zen-sumi/timeline.css +46 -0
  155. package/src/zen-sumi/toc.css +22 -0
  156. package/src/zen-sumi/toggle.css +59 -0
  157. package/src/zen-sumi/toolbar.css +86 -0
  158. package/src/zen-sumi/tree.css +137 -0
  159. package/dist/ant-design.css +0 -2129
  160. package/dist/base.css +0 -6506
  161. package/dist/bits-ui.css +0 -2113
  162. package/dist/carbon.css +0 -2123
  163. package/dist/daisy-ui.css +0 -2138
  164. package/dist/frosted.css +0 -1953
  165. package/dist/grada-ui.css +0 -1915
  166. package/dist/index.css +0 -27359
  167. package/dist/material.css +0 -1924
  168. package/dist/minimal.css +0 -1978
  169. package/dist/rokkit.css +0 -2471
  170. package/dist/shadcn.css +0 -2099
  171. package/src/ant-design/button.css +0 -190
  172. package/src/ant-design/card.css +0 -100
  173. package/src/ant-design/chart.css +0 -34
  174. package/src/ant-design/connector.css +0 -11
  175. package/src/ant-design/dropdown.css +0 -50
  176. package/src/ant-design/floating-action.css +0 -63
  177. package/src/ant-design/floating-navigation.css +0 -70
  178. package/src/ant-design/grid.css +0 -46
  179. package/src/ant-design/index.css +0 -35
  180. package/src/ant-design/input.css +0 -151
  181. package/src/ant-design/list.css +0 -126
  182. package/src/ant-design/menu.css +0 -88
  183. package/src/ant-design/message.css +0 -35
  184. package/src/ant-design/range.css +0 -61
  185. package/src/ant-design/search-filter.css +0 -49
  186. package/src/ant-design/select.css +0 -158
  187. package/src/ant-design/status-list.css +0 -66
  188. package/src/ant-design/step-indicator.css +0 -38
  189. package/src/ant-design/switch.css +0 -29
  190. package/src/ant-design/table.css +0 -91
  191. package/src/ant-design/tabs.css +0 -153
  192. package/src/ant-design/timeline.css +0 -45
  193. package/src/ant-design/toc.css +0 -18
  194. package/src/ant-design/toggle.css +0 -48
  195. package/src/ant-design/toolbar.css +0 -85
  196. package/src/ant-design/tree.css +0 -137
  197. package/src/ant-design/upload-progress.css +0 -102
  198. package/src/ant-design/upload-target.css +0 -50
  199. package/src/bits-ui/button.css +0 -176
  200. package/src/bits-ui/card.css +0 -99
  201. package/src/bits-ui/chart.css +0 -34
  202. package/src/bits-ui/connector.css +0 -11
  203. package/src/bits-ui/dropdown.css +0 -50
  204. package/src/bits-ui/floating-action.css +0 -63
  205. package/src/bits-ui/floating-navigation.css +0 -70
  206. package/src/bits-ui/grid.css +0 -46
  207. package/src/bits-ui/index.css +0 -35
  208. package/src/bits-ui/input.css +0 -154
  209. package/src/bits-ui/list.css +0 -126
  210. package/src/bits-ui/menu.css +0 -88
  211. package/src/bits-ui/message.css +0 -35
  212. package/src/bits-ui/range.css +0 -61
  213. package/src/bits-ui/search-filter.css +0 -49
  214. package/src/bits-ui/select.css +0 -158
  215. package/src/bits-ui/status-list.css +0 -66
  216. package/src/bits-ui/step-indicator.css +0 -40
  217. package/src/bits-ui/switch.css +0 -29
  218. package/src/bits-ui/table.css +0 -89
  219. package/src/bits-ui/tabs.css +0 -151
  220. package/src/bits-ui/timeline.css +0 -45
  221. package/src/bits-ui/toc.css +0 -18
  222. package/src/bits-ui/toggle.css +0 -48
  223. package/src/bits-ui/toolbar.css +0 -85
  224. package/src/bits-ui/tree.css +0 -135
  225. package/src/bits-ui/upload-progress.css +0 -102
  226. package/src/bits-ui/upload-target.css +0 -50
  227. package/src/carbon/button.css +0 -186
  228. package/src/carbon/card.css +0 -97
  229. package/src/carbon/chart.css +0 -34
  230. package/src/carbon/connector.css +0 -11
  231. package/src/carbon/dropdown.css +0 -50
  232. package/src/carbon/floating-action.css +0 -63
  233. package/src/carbon/floating-navigation.css +0 -70
  234. package/src/carbon/grid.css +0 -46
  235. package/src/carbon/index.css +0 -34
  236. package/src/carbon/input.css +0 -148
  237. package/src/carbon/list.css +0 -124
  238. package/src/carbon/menu.css +0 -88
  239. package/src/carbon/message.css +0 -37
  240. package/src/carbon/range.css +0 -61
  241. package/src/carbon/search-filter.css +0 -49
  242. package/src/carbon/select.css +0 -158
  243. package/src/carbon/status-list.css +0 -66
  244. package/src/carbon/step-indicator.css +0 -40
  245. package/src/carbon/switch.css +0 -31
  246. package/src/carbon/table.css +0 -93
  247. package/src/carbon/tabs.css +0 -151
  248. package/src/carbon/timeline.css +0 -45
  249. package/src/carbon/toc.css +0 -22
  250. package/src/carbon/toggle.css +0 -48
  251. package/src/carbon/toolbar.css +0 -84
  252. package/src/carbon/tree.css +0 -135
  253. package/src/carbon/upload-progress.css +0 -102
  254. package/src/carbon/upload-target.css +0 -50
  255. package/src/daisy-ui/button.css +0 -196
  256. package/src/daisy-ui/card.css +0 -99
  257. package/src/daisy-ui/chart.css +0 -34
  258. package/src/daisy-ui/connector.css +0 -11
  259. package/src/daisy-ui/dropdown.css +0 -50
  260. package/src/daisy-ui/floating-action.css +0 -63
  261. package/src/daisy-ui/floating-navigation.css +0 -70
  262. package/src/daisy-ui/grid.css +0 -46
  263. package/src/daisy-ui/index.css +0 -34
  264. package/src/daisy-ui/input.css +0 -148
  265. package/src/daisy-ui/list.css +0 -127
  266. package/src/daisy-ui/menu.css +0 -88
  267. package/src/daisy-ui/message.css +0 -37
  268. package/src/daisy-ui/range.css +0 -61
  269. package/src/daisy-ui/search-filter.css +0 -49
  270. package/src/daisy-ui/select.css +0 -158
  271. package/src/daisy-ui/status-list.css +0 -66
  272. package/src/daisy-ui/step-indicator.css +0 -37
  273. package/src/daisy-ui/switch.css +0 -31
  274. package/src/daisy-ui/table.css +0 -91
  275. package/src/daisy-ui/tabs.css +0 -153
  276. package/src/daisy-ui/timeline.css +0 -45
  277. package/src/daisy-ui/toc.css +0 -22
  278. package/src/daisy-ui/toggle.css +0 -48
  279. package/src/daisy-ui/toolbar.css +0 -85
  280. package/src/daisy-ui/tree.css +0 -137
  281. package/src/daisy-ui/upload-progress.css +0 -102
  282. package/src/daisy-ui/upload-target.css +0 -50
  283. package/src/grada-ui/button.css +0 -249
  284. package/src/grada-ui/card.css +0 -96
  285. package/src/grada-ui/chart.css +0 -34
  286. package/src/grada-ui/dropdown.css +0 -58
  287. package/src/grada-ui/floating-action.css +0 -66
  288. package/src/grada-ui/floating-navigation.css +0 -69
  289. package/src/grada-ui/index.css +0 -56
  290. package/src/grada-ui/input.css +0 -154
  291. package/src/grada-ui/list.css +0 -124
  292. package/src/grada-ui/menu.css +0 -81
  293. package/src/grada-ui/message.css +0 -48
  294. package/src/grada-ui/range.css +0 -59
  295. package/src/grada-ui/search-filter.css +0 -47
  296. package/src/grada-ui/select.css +0 -190
  297. package/src/grada-ui/status-list.css +0 -66
  298. package/src/grada-ui/step-indicator.css +0 -37
  299. package/src/grada-ui/switch.css +0 -35
  300. package/src/grada-ui/table.css +0 -79
  301. package/src/grada-ui/tabs.css +0 -59
  302. package/src/grada-ui/timeline.css +0 -46
  303. package/src/grada-ui/toc.css +0 -24
  304. package/src/grada-ui/toggle.css +0 -47
  305. package/src/grada-ui/toolbar.css +0 -91
  306. package/src/grada-ui/tree.css +0 -100
  307. package/src/rokkit/stack.css +0 -6
  308. package/src/shadcn/button.css +0 -175
  309. package/src/shadcn/card.css +0 -99
  310. package/src/shadcn/chart.css +0 -34
  311. package/src/shadcn/connector.css +0 -11
  312. package/src/shadcn/dropdown.css +0 -50
  313. package/src/shadcn/floating-action.css +0 -63
  314. package/src/shadcn/floating-navigation.css +0 -70
  315. package/src/shadcn/grid.css +0 -46
  316. package/src/shadcn/index.css +0 -35
  317. package/src/shadcn/input.css +0 -143
  318. package/src/shadcn/list.css +0 -124
  319. package/src/shadcn/menu.css +0 -88
  320. package/src/shadcn/message.css +0 -35
  321. package/src/shadcn/range.css +0 -61
  322. package/src/shadcn/search-filter.css +0 -49
  323. package/src/shadcn/select.css +0 -158
  324. package/src/shadcn/status-list.css +0 -66
  325. package/src/shadcn/step-indicator.css +0 -37
  326. package/src/shadcn/switch.css +0 -31
  327. package/src/shadcn/table.css +0 -89
  328. package/src/shadcn/tabs.css +0 -151
  329. package/src/shadcn/timeline.css +0 -45
  330. package/src/shadcn/toc.css +0 -20
  331. package/src/shadcn/toggle.css +0 -48
  332. package/src/shadcn/toolbar.css +0 -84
  333. package/src/shadcn/tree.css +0 -135
  334. package/src/shadcn/upload-progress.css +0 -102
  335. package/src/shadcn/upload-target.css +0 -50
@@ -1,85 +0,0 @@
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-transparent bg-none;
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 text-surface-z9 bg-none;
43
- }
44
-
45
- [data-style='bits-ui']
46
- [data-toolbar-item]:focus-visible:not(:disabled):not([data-disabled='true']) {
47
- @apply text-surface-z9 ring-primary-z3 bg-none ring-2 outline-none;
48
- }
49
-
50
- /* Active/pressed state */
51
- [data-style='bits-ui'] [data-toolbar-item][data-active='true'] {
52
- @apply text-primary-z7 bg-none;
53
- }
54
-
55
- [data-style='bits-ui'] [data-toolbar-item][data-active='true']:hover:not(:disabled) {
56
- @apply text-primary-z8 bg-none;
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-surface-z3 bg-none;
81
- }
82
-
83
- [data-style='bits-ui'] [data-toolbar-divider] {
84
- @apply bg-surface-z3 bg-none;
85
- }
@@ -1,135 +0,0 @@
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']
60
- [data-tree]:focus-within
61
- [data-tree-item-content][data-active='true']:hover:not(:disabled) {
62
- @apply bg-primary-z3;
63
- }
64
-
65
- [data-style='bits-ui'] [data-tree]:not(:focus-within) [data-tree-item-content][data-active='true'] {
66
- @apply bg-surface-z2;
67
- }
68
-
69
- /* =============================================================================
70
- Item Elements
71
- ============================================================================= */
72
-
73
- [data-style='bits-ui'] [data-tree-item-content] [data-item-icon] {
74
- @apply text-surface-z5;
75
- }
76
-
77
- [data-style='bits-ui'] [data-tree-item-content]:hover:not(:disabled) [data-item-icon] {
78
- @apply text-surface-z6;
79
- }
80
-
81
- [data-style='bits-ui'] [data-tree-item-content][data-active='true'] [data-item-icon] {
82
- @apply text-primary-z5;
83
- }
84
-
85
- [data-style='bits-ui'] [data-tree-item-content] [data-item-description] {
86
- @apply text-surface-z5;
87
- }
88
-
89
- [data-style='bits-ui'] [data-tree-item-content][data-active='true'] [data-item-description] {
90
- @apply text-primary-z6;
91
- }
92
-
93
- [data-style='bits-ui'] [data-tree-item-content] [data-item-badge] {
94
- @apply text-surface-z6 border-surface-z3 rounded-lg border bg-transparent bg-none;
95
- }
96
-
97
- [data-style='bits-ui'] [data-tree-item-content][data-active='true'] [data-item-badge] {
98
- @apply text-primary-z7 border-primary-z3;
99
- }
100
-
101
- [data-style='bits-ui']
102
- [data-tree]:focus-within
103
- [data-tree-item-content][data-active='true']
104
- [data-item-badge] {
105
- @apply bg-none;
106
- }
107
-
108
- [data-style='bits-ui']
109
- [data-tree]:not(:focus-within)
110
- [data-tree-item-content][data-active='true']
111
- [data-item-badge] {
112
- @apply bg-none;
113
- }
114
-
115
- /* =============================================================================
116
- Multi-Selection
117
- ============================================================================= */
118
-
119
- [data-style='bits-ui'] [data-tree-node][data-selected='true'] [data-tree-item-content] {
120
- @apply bg-primary-z2 text-primary-z7;
121
- }
122
-
123
- [data-style='bits-ui']
124
- [data-tree]:focus-within
125
- [data-tree-node][data-selected='true']
126
- [data-tree-item-content] {
127
- @apply bg-primary-z2 text-primary-z7;
128
- }
129
-
130
- [data-style='bits-ui']
131
- [data-tree-node][data-selected='true']
132
- [data-tree-item-content]
133
- [data-item-icon] {
134
- @apply text-primary-z5;
135
- }
@@ -1,102 +0,0 @@
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 rounded-lg bg-gradient-to-r;
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
- }
@@ -1,50 +0,0 @@
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
- }
@@ -1,186 +0,0 @@
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-surface-z3 text-surface-z8 rounded-none border-0 bg-none;
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-primary-z5 text-on-primary rounded-none border-0 bg-none;
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-secondary-z5 text-on-secondary rounded-none border-0 bg-none;
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-accent-z5 text-on-accent rounded-none border-0 bg-none;
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-danger-z5 text-on-danger rounded-none border-0 bg-none;
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 rounded-none border-transparent bg-transparent;
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-surface-z4 text-surface-z9 rounded-none border-0 bg-none;
99
- }
100
-
101
- [data-style='carbon'] [data-button][data-style='gradient'][data-variant='primary'] {
102
- @apply bg-primary-z5 text-on-primary rounded-none border-0 bg-none;
103
- }
104
-
105
- [data-style='carbon'] [data-button][data-style='gradient'][data-variant='secondary'] {
106
- @apply bg-secondary-z5 text-on-secondary rounded-none border-0 bg-none;
107
- }
108
-
109
- [data-style='carbon'] [data-button][data-style='gradient'][data-variant='accent'] {
110
- @apply bg-accent-z5 text-on-accent rounded-none border-0 bg-none;
111
- }
112
-
113
- [data-style='carbon'] [data-button][data-style='gradient'][data-variant='danger'] {
114
- @apply bg-danger-z5 text-on-danger rounded-none border-0 bg-none;
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'] [data-button][data-style='default']:hover:not(:disabled):not([data-disabled]),
151
- [data-style='carbon'] [data-button]:not([data-style]):hover:not(:disabled):not([data-disabled]) {
152
- @apply bg-surface-z4 bg-none;
153
- }
154
-
155
- [data-style='carbon']
156
- [data-button][data-style='default'][data-variant='primary']:hover:not(:disabled):not(
157
- [data-disabled]
158
- ),
159
- [data-style='carbon']
160
- [data-button]:not([data-style])[data-variant='primary']:hover:not(:disabled):not(
161
- [data-disabled]
162
- ) {
163
- @apply bg-primary-z6 bg-none;
164
- }
165
-
166
- [data-style='carbon']
167
- [data-button][data-style='outline']:hover:not(:disabled):not([data-disabled]) {
168
- @apply bg-surface-z2 bg-none;
169
- }
170
-
171
- [data-style='carbon'] [data-button][data-style='ghost']:hover:not(:disabled):not([data-disabled]) {
172
- @apply bg-surface-z2;
173
- }
174
-
175
- [data-style='carbon']
176
- [data-button][data-style='gradient']:hover:not(:disabled):not([data-disabled]) {
177
- @apply bg-surface-z5 bg-none;
178
- }
179
-
180
- /* =============================================================================
181
- Focus — Carbon style: thick outline, no ring, no offset
182
- ============================================================================= */
183
-
184
- [data-style='carbon'] [data-button]:focus-visible {
185
- @apply border-primary-z5 border-2 outline-none;
186
- }
@@ -1,97 +0,0 @@
1
- /**
2
- * Card - Carbon Theme Styles
3
- *
4
- * Flat, structured borders, no shadow, no border-radius.
5
- */
6
-
7
- /* =============================================================================
8
- Base Card Styles
9
- ============================================================================= */
10
-
11
- [data-style='carbon'] [data-card] {
12
- @apply bg-surface-z0 border-surface-z3 text-surface-z9 rounded-none border bg-none;
13
- }
14
-
15
- /* Interactive cards */
16
- [data-style='carbon'] [data-card][data-card-interactive] {
17
- cursor: pointer;
18
- transition: border-color 0.2s ease;
19
- }
20
-
21
- [data-style='carbon'] [data-card][data-card-interactive]:hover {
22
- @apply border-surface-z5 bg-surface-z1;
23
- }
24
-
25
- [data-style='carbon'] [data-card][data-card-interactive]:active {
26
- @apply bg-surface-z2;
27
- }
28
-
29
- /* =============================================================================
30
- Card Sections
31
- ============================================================================= */
32
-
33
- [data-style='carbon'] [data-card-header] {
34
- @apply border-surface-z3 border-b;
35
- }
36
-
37
- [data-style='carbon'] [data-card-body] {
38
- @apply text-surface-z8;
39
- }
40
-
41
- [data-style='carbon'] [data-card-footer] {
42
- @apply border-surface-z3 text-surface-z7 border-t;
43
- }
44
-
45
- /* =============================================================================
46
- Focus States
47
- ============================================================================= */
48
-
49
- [data-style='carbon'] [data-card][data-card-interactive]:focus-visible {
50
- @apply border-primary-z5 border-2 outline-none;
51
- }
52
-
53
- /* =============================================================================
54
- Disabled State
55
- ============================================================================= */
56
-
57
- [data-style='carbon'] [data-card][data-card-interactive][data-disabled],
58
- [data-style='carbon'] [data-card][data-card-interactive]:disabled {
59
- @apply cursor-not-allowed opacity-50;
60
- }
61
-
62
- /* =============================================================================
63
- Variants
64
- ============================================================================= */
65
-
66
- /* Primary — solid primary fill */
67
- [data-style='carbon'] [data-card][data-variant='primary'] {
68
- @apply bg-primary-z5 border-primary-z6 text-on-primary rounded-none border bg-none;
69
- }
70
-
71
- [data-style='carbon'] [data-card][data-variant='primary'] [data-card-header],
72
- [data-style='carbon'] [data-card][data-variant='primary'] [data-card-footer] {
73
- @apply border-primary-z4/40;
74
- }
75
-
76
- [data-style='carbon'] [data-card][data-variant='primary'] [data-card-body] {
77
- @apply text-on-primary/80;
78
- }
79
-
80
- /* Secondary — solid secondary fill */
81
- [data-style='carbon'] [data-card][data-variant='secondary'] {
82
- @apply bg-secondary-z4 border-secondary-z5 text-on-secondary rounded-none border bg-none;
83
- }
84
-
85
- [data-style='carbon'] [data-card][data-variant='secondary'] [data-card-header],
86
- [data-style='carbon'] [data-card][data-variant='secondary'] [data-card-footer] {
87
- @apply border-secondary-z3/40;
88
- }
89
-
90
- [data-style='carbon'] [data-card][data-variant='secondary'] [data-card-body] {
91
- @apply text-on-secondary/80;
92
- }
93
-
94
- /* Tertiary — recessed surface */
95
- [data-style='carbon'] [data-card][data-variant='tertiary'] {
96
- @apply bg-surface-z1 border-surface-z3 text-surface-z7 rounded-none border bg-none;
97
- }
@@ -1,34 +0,0 @@
1
- /**
2
- * Chart - Carbon Theme Styles
3
- */
4
-
5
- [data-style='carbon'] [data-chart-axis-line],
6
- [data-style='carbon'] [data-chart-tick] line {
7
- @apply stroke-surface-z3;
8
- }
9
-
10
- [data-style='carbon'] [data-chart-tick-label] {
11
- @apply fill-surface-z5;
12
- }
13
-
14
- [data-style='carbon'] [data-chart-grid-line] {
15
- @apply stroke-surface-z3;
16
- stroke-opacity: 0.5;
17
- stroke-dasharray: 2 4;
18
- }
19
-
20
- [data-style='carbon'] [data-chart-legend-label] {
21
- @apply fill-surface-z5;
22
- }
23
-
24
- [data-style='carbon'] [data-chart-legend-item]:hover {
25
- @apply text-surface-z8;
26
- }
27
-
28
- [data-style='carbon'] [data-plot-element='bar'][data-dimmed],
29
- [data-style='carbon'] [data-plot-element='point'][data-dimmed],
30
- [data-style='carbon'] [data-plot-element='arc'][data-dimmed],
31
- [data-style='carbon'] [data-plot-element='line'][data-dimmed],
32
- [data-style='carbon'] [data-plot-element='area'][data-dimmed] {
33
- opacity: 0.15;
34
- }