@rokkit/themes 1.0.0-next.98 → 1.0.1

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 (356) hide show
  1. package/README.md +118 -9
  2. package/build.mjs +254 -0
  3. package/package.json +221 -48
  4. package/src/ant-design/button.css +190 -0
  5. package/src/ant-design/card.css +100 -0
  6. package/src/ant-design/chart.css +34 -0
  7. package/src/ant-design/connector.css +11 -0
  8. package/src/ant-design/dropdown.css +50 -0
  9. package/src/ant-design/floating-action.css +63 -0
  10. package/src/ant-design/floating-navigation.css +70 -0
  11. package/src/ant-design/grid.css +46 -0
  12. package/src/ant-design/index.css +35 -0
  13. package/src/ant-design/input.css +151 -0
  14. package/src/ant-design/list.css +126 -0
  15. package/src/ant-design/menu.css +88 -0
  16. package/src/ant-design/message.css +35 -0
  17. package/src/ant-design/range.css +61 -0
  18. package/src/ant-design/search-filter.css +49 -0
  19. package/src/ant-design/select.css +158 -0
  20. package/src/ant-design/status-list.css +66 -0
  21. package/src/ant-design/step-indicator.css +38 -0
  22. package/src/ant-design/switch.css +29 -0
  23. package/src/ant-design/table.css +91 -0
  24. package/src/ant-design/tabs.css +153 -0
  25. package/src/ant-design/timeline.css +45 -0
  26. package/src/ant-design/toc.css +18 -0
  27. package/src/ant-design/toggle.css +48 -0
  28. package/src/ant-design/toolbar.css +85 -0
  29. package/src/ant-design/tree.css +137 -0
  30. package/src/ant-design/upload-progress.css +102 -0
  31. package/src/ant-design/upload-target.css +50 -0
  32. package/src/base/alert-list.css +91 -0
  33. package/src/base/avatar.css +82 -0
  34. package/src/base/badge.css +41 -0
  35. package/src/base/breadcrumbs.css +47 -0
  36. package/src/base/button.css +254 -0
  37. package/src/base/card.css +39 -0
  38. package/src/base/carousel.css +122 -12
  39. package/src/base/chart.css +94 -0
  40. package/src/base/connector.css +92 -0
  41. package/src/base/density.css +51 -0
  42. package/src/base/display.css +91 -0
  43. package/src/base/divider.css +49 -0
  44. package/src/base/dropdown.css +167 -0
  45. package/src/base/floating-action.css +388 -0
  46. package/src/base/floating-navigation.css +405 -0
  47. package/src/base/graph-paper.css +83 -0
  48. package/src/base/grid.css +93 -0
  49. package/src/base/index.css +55 -0
  50. package/src/base/input.css +290 -0
  51. package/src/base/item.css +78 -0
  52. package/src/base/list.css +188 -0
  53. package/src/base/menu.css +277 -0
  54. package/src/base/message.css +62 -0
  55. package/src/base/pill.css +57 -0
  56. package/src/base/progress.css +34 -0
  57. package/src/base/range.css +121 -0
  58. package/src/base/rating.css +42 -0
  59. package/src/base/reveal.css +37 -0
  60. package/src/base/search-filter.css +132 -0
  61. package/src/base/select.css +413 -0
  62. package/src/base/shine.css +14 -0
  63. package/src/base/stack.css +76 -0
  64. package/src/base/status-list.css +19 -0
  65. package/src/base/step-indicator.css +74 -0
  66. package/src/base/stepper.css +140 -0
  67. package/src/base/swatch.css +85 -0
  68. package/src/base/switch.css +152 -0
  69. package/src/base/table.css +193 -33
  70. package/src/base/tabs.css +171 -0
  71. package/src/base/tilt.css +14 -0
  72. package/src/base/timeline.css +84 -0
  73. package/src/base/toc.css +50 -0
  74. package/src/base/toggle.css +138 -0
  75. package/src/base/toolbar.css +341 -0
  76. package/src/base/tooltip.css +64 -0
  77. package/src/base/tree.css +228 -11
  78. package/src/base/typography.css +31 -0
  79. package/src/base/upload-progress.css +155 -0
  80. package/src/base/upload-target.css +77 -0
  81. package/src/bits-ui/button.css +176 -0
  82. package/src/bits-ui/card.css +99 -0
  83. package/src/bits-ui/chart.css +34 -0
  84. package/src/bits-ui/connector.css +11 -0
  85. package/src/bits-ui/dropdown.css +50 -0
  86. package/src/bits-ui/floating-action.css +63 -0
  87. package/src/bits-ui/floating-navigation.css +70 -0
  88. package/src/bits-ui/grid.css +46 -0
  89. package/src/bits-ui/index.css +35 -0
  90. package/src/bits-ui/input.css +154 -0
  91. package/src/bits-ui/list.css +126 -0
  92. package/src/bits-ui/menu.css +88 -0
  93. package/src/bits-ui/message.css +35 -0
  94. package/src/bits-ui/range.css +61 -0
  95. package/src/bits-ui/search-filter.css +49 -0
  96. package/src/bits-ui/select.css +158 -0
  97. package/src/bits-ui/status-list.css +66 -0
  98. package/src/bits-ui/step-indicator.css +40 -0
  99. package/src/bits-ui/switch.css +29 -0
  100. package/src/bits-ui/table.css +89 -0
  101. package/src/bits-ui/tabs.css +151 -0
  102. package/src/bits-ui/timeline.css +45 -0
  103. package/src/bits-ui/toc.css +18 -0
  104. package/src/bits-ui/toggle.css +48 -0
  105. package/src/bits-ui/toolbar.css +85 -0
  106. package/src/bits-ui/tree.css +135 -0
  107. package/src/bits-ui/upload-progress.css +102 -0
  108. package/src/bits-ui/upload-target.css +50 -0
  109. package/src/carbon/button.css +186 -0
  110. package/src/carbon/card.css +97 -0
  111. package/src/carbon/chart.css +34 -0
  112. package/src/carbon/connector.css +11 -0
  113. package/src/carbon/dropdown.css +50 -0
  114. package/src/carbon/floating-action.css +63 -0
  115. package/src/carbon/floating-navigation.css +70 -0
  116. package/src/carbon/grid.css +46 -0
  117. package/src/carbon/index.css +34 -0
  118. package/src/carbon/input.css +148 -0
  119. package/src/carbon/list.css +124 -0
  120. package/src/carbon/menu.css +88 -0
  121. package/src/carbon/message.css +37 -0
  122. package/src/carbon/range.css +61 -0
  123. package/src/carbon/search-filter.css +49 -0
  124. package/src/carbon/select.css +158 -0
  125. package/src/carbon/status-list.css +66 -0
  126. package/src/carbon/step-indicator.css +40 -0
  127. package/src/carbon/switch.css +31 -0
  128. package/src/carbon/table.css +93 -0
  129. package/src/carbon/tabs.css +151 -0
  130. package/src/carbon/timeline.css +45 -0
  131. package/src/carbon/toc.css +22 -0
  132. package/src/carbon/toggle.css +48 -0
  133. package/src/carbon/toolbar.css +84 -0
  134. package/src/carbon/tree.css +135 -0
  135. package/src/carbon/upload-progress.css +102 -0
  136. package/src/carbon/upload-target.css +50 -0
  137. package/src/daisy-ui/button.css +196 -0
  138. package/src/daisy-ui/card.css +99 -0
  139. package/src/daisy-ui/chart.css +34 -0
  140. package/src/daisy-ui/connector.css +11 -0
  141. package/src/daisy-ui/dropdown.css +50 -0
  142. package/src/daisy-ui/floating-action.css +63 -0
  143. package/src/daisy-ui/floating-navigation.css +70 -0
  144. package/src/daisy-ui/grid.css +46 -0
  145. package/src/daisy-ui/index.css +34 -0
  146. package/src/daisy-ui/input.css +148 -0
  147. package/src/daisy-ui/list.css +127 -0
  148. package/src/daisy-ui/menu.css +88 -0
  149. package/src/daisy-ui/message.css +37 -0
  150. package/src/daisy-ui/range.css +61 -0
  151. package/src/daisy-ui/search-filter.css +49 -0
  152. package/src/daisy-ui/select.css +158 -0
  153. package/src/daisy-ui/status-list.css +66 -0
  154. package/src/daisy-ui/step-indicator.css +37 -0
  155. package/src/daisy-ui/switch.css +31 -0
  156. package/src/daisy-ui/table.css +91 -0
  157. package/src/daisy-ui/tabs.css +153 -0
  158. package/src/daisy-ui/timeline.css +45 -0
  159. package/src/daisy-ui/toc.css +22 -0
  160. package/src/daisy-ui/toggle.css +48 -0
  161. package/src/daisy-ui/toolbar.css +85 -0
  162. package/src/daisy-ui/tree.css +137 -0
  163. package/src/daisy-ui/upload-progress.css +102 -0
  164. package/src/daisy-ui/upload-target.css +50 -0
  165. package/src/frosted/button.css +224 -0
  166. package/src/frosted/card.css +130 -0
  167. package/src/frosted/chart.css +38 -0
  168. package/src/frosted/dropdown.css +66 -0
  169. package/src/frosted/floating-action.css +61 -0
  170. package/src/frosted/floating-navigation.css +74 -0
  171. package/src/frosted/index.css +31 -0
  172. package/src/frosted/input.css +135 -0
  173. package/src/frosted/list.css +122 -0
  174. package/src/frosted/menu.css +108 -0
  175. package/src/frosted/message.css +35 -0
  176. package/src/frosted/range.css +61 -0
  177. package/src/frosted/search-filter.css +49 -0
  178. package/src/frosted/select.css +178 -0
  179. package/src/frosted/status-list.css +66 -0
  180. package/src/frosted/step-indicator.css +41 -0
  181. package/src/frosted/swatch.css +21 -0
  182. package/src/frosted/switch.css +43 -0
  183. package/src/frosted/table.css +106 -0
  184. package/src/frosted/tabs.css +58 -0
  185. package/src/frosted/timeline.css +46 -0
  186. package/src/frosted/toc.css +18 -0
  187. package/src/frosted/toggle.css +48 -0
  188. package/src/frosted/toolbar.css +84 -0
  189. package/src/frosted/tree.css +110 -0
  190. package/src/grada-ui/button.css +249 -0
  191. package/src/grada-ui/card.css +96 -0
  192. package/src/grada-ui/chart.css +34 -0
  193. package/src/grada-ui/dropdown.css +58 -0
  194. package/src/grada-ui/floating-action.css +66 -0
  195. package/src/grada-ui/floating-navigation.css +69 -0
  196. package/src/grada-ui/index.css +56 -0
  197. package/src/grada-ui/input.css +154 -0
  198. package/src/grada-ui/list.css +124 -0
  199. package/src/grada-ui/menu.css +81 -0
  200. package/src/grada-ui/message.css +48 -0
  201. package/src/grada-ui/range.css +59 -0
  202. package/src/grada-ui/search-filter.css +47 -0
  203. package/src/grada-ui/select.css +190 -0
  204. package/src/grada-ui/status-list.css +66 -0
  205. package/src/grada-ui/step-indicator.css +37 -0
  206. package/src/grada-ui/switch.css +35 -0
  207. package/src/grada-ui/table.css +79 -0
  208. package/src/grada-ui/tabs.css +59 -0
  209. package/src/grada-ui/timeline.css +46 -0
  210. package/src/grada-ui/toc.css +24 -0
  211. package/src/grada-ui/toggle.css +47 -0
  212. package/src/grada-ui/toolbar.css +91 -0
  213. package/src/grada-ui/tree.css +100 -0
  214. package/src/index.css +18 -0
  215. package/src/index.js +25 -3
  216. package/src/material/button.css +178 -0
  217. package/src/material/card.css +99 -0
  218. package/src/material/chart.css +38 -0
  219. package/src/material/dropdown.css +50 -0
  220. package/src/material/floating-action.css +64 -0
  221. package/src/material/floating-navigation.css +74 -0
  222. package/src/material/index.css +31 -0
  223. package/src/material/input.css +139 -40
  224. package/src/material/list.css +94 -64
  225. package/src/material/menu.css +92 -0
  226. package/src/material/message.css +35 -0
  227. package/src/material/range.css +62 -0
  228. package/src/material/search-filter.css +49 -0
  229. package/src/material/select.css +177 -0
  230. package/src/material/status-list.css +66 -0
  231. package/src/material/step-indicator.css +41 -0
  232. package/src/material/swatch.css +21 -0
  233. package/src/material/switch.css +28 -0
  234. package/src/material/table.css +110 -0
  235. package/src/material/tabs.css +88 -0
  236. package/src/material/timeline.css +46 -0
  237. package/src/material/toc.css +18 -0
  238. package/src/material/toggle.css +48 -0
  239. package/src/material/toolbar.css +85 -0
  240. package/src/material/tree.css +134 -0
  241. package/src/minimal/button.css +176 -0
  242. package/src/minimal/card.css +99 -0
  243. package/src/minimal/chart.css +38 -0
  244. package/src/minimal/dropdown.css +50 -0
  245. package/src/minimal/floating-action.css +63 -0
  246. package/src/minimal/floating-navigation.css +70 -0
  247. package/src/minimal/index.css +31 -0
  248. package/src/minimal/input.css +137 -120
  249. package/src/minimal/list.css +96 -104
  250. package/src/minimal/menu.css +88 -0
  251. package/src/minimal/message.css +35 -0
  252. package/src/minimal/range.css +61 -0
  253. package/src/minimal/search-filter.css +49 -0
  254. package/src/minimal/select.css +170 -0
  255. package/src/minimal/status-list.css +66 -0
  256. package/src/minimal/step-indicator.css +40 -0
  257. package/src/minimal/swatch.css +21 -0
  258. package/src/minimal/switch.css +32 -0
  259. package/src/minimal/table.css +108 -0
  260. package/src/minimal/tabs.css +135 -28
  261. package/src/minimal/timeline.css +45 -0
  262. package/src/minimal/toc.css +18 -0
  263. package/src/minimal/toggle.css +48 -0
  264. package/src/minimal/toolbar.css +85 -0
  265. package/src/minimal/tree.css +135 -0
  266. package/src/palette.css +2 -20
  267. package/src/rokkit/avatar.css +29 -0
  268. package/src/rokkit/badge.css +29 -0
  269. package/src/rokkit/button.css +290 -0
  270. package/src/rokkit/card.css +102 -0
  271. package/src/rokkit/chart.css +38 -0
  272. package/src/rokkit/connector.css +11 -0
  273. package/src/rokkit/divider.css +26 -0
  274. package/src/rokkit/dropdown.css +70 -0
  275. package/src/rokkit/floating-action.css +65 -0
  276. package/src/rokkit/floating-navigation.css +83 -0
  277. package/src/rokkit/grid.css +46 -0
  278. package/src/rokkit/index.css +40 -0
  279. package/src/rokkit/input.css +124 -26
  280. package/src/rokkit/list.css +177 -0
  281. package/src/rokkit/menu.css +93 -0
  282. package/src/rokkit/message.css +44 -0
  283. package/src/rokkit/range.css +62 -0
  284. package/src/rokkit/search-filter.css +49 -0
  285. package/src/rokkit/select.css +190 -0
  286. package/src/rokkit/stack.css +6 -0
  287. package/src/rokkit/status-list.css +68 -0
  288. package/src/rokkit/step-indicator.css +41 -0
  289. package/src/rokkit/swatch.css +20 -0
  290. package/src/rokkit/switch.css +29 -0
  291. package/src/rokkit/table.css +88 -37
  292. package/src/rokkit/tabs.css +111 -0
  293. package/src/rokkit/timeline.css +46 -0
  294. package/src/rokkit/toc.css +18 -0
  295. package/src/rokkit/toggle.css +41 -11
  296. package/src/rokkit/toolbar.css +90 -0
  297. package/src/rokkit/tooltip.css +7 -0
  298. package/src/rokkit/tree.css +149 -0
  299. package/src/rokkit/upload-progress.css +102 -0
  300. package/src/rokkit/upload-target.css +50 -0
  301. package/src/shadcn/button.css +175 -0
  302. package/src/shadcn/card.css +99 -0
  303. package/src/shadcn/chart.css +34 -0
  304. package/src/shadcn/connector.css +11 -0
  305. package/src/shadcn/dropdown.css +50 -0
  306. package/src/shadcn/floating-action.css +63 -0
  307. package/src/shadcn/floating-navigation.css +70 -0
  308. package/src/shadcn/grid.css +46 -0
  309. package/src/shadcn/index.css +35 -0
  310. package/src/shadcn/input.css +143 -0
  311. package/src/shadcn/list.css +124 -0
  312. package/src/shadcn/menu.css +88 -0
  313. package/src/shadcn/message.css +35 -0
  314. package/src/shadcn/range.css +61 -0
  315. package/src/shadcn/search-filter.css +49 -0
  316. package/src/shadcn/select.css +158 -0
  317. package/src/shadcn/status-list.css +66 -0
  318. package/src/shadcn/step-indicator.css +37 -0
  319. package/src/shadcn/switch.css +31 -0
  320. package/src/shadcn/table.css +89 -0
  321. package/src/shadcn/tabs.css +151 -0
  322. package/src/shadcn/timeline.css +45 -0
  323. package/src/shadcn/toc.css +20 -0
  324. package/src/shadcn/toggle.css +48 -0
  325. package/src/shadcn/toolbar.css +84 -0
  326. package/src/shadcn/tree.css +135 -0
  327. package/src/shadcn/upload-progress.css +102 -0
  328. package/src/shadcn/upload-target.css +50 -0
  329. package/LICENSE +0 -21
  330. package/src/base/alert.css +0 -30
  331. package/src/base/animation.css +0 -22
  332. package/src/base/atoms.css +0 -58
  333. package/src/base/core.css +0 -92
  334. package/src/base/layout.css +0 -65
  335. package/src/base/molecules.css +0 -126
  336. package/src/base/organisms.css +0 -26
  337. package/src/base/scrollbar.css +0 -16
  338. package/src/base.css +0 -11
  339. package/src/constants.js +0 -8
  340. package/src/markdown.css +0 -955
  341. package/src/material/base.css +0 -12
  342. package/src/material/form.css +0 -30
  343. package/src/material.css +0 -9
  344. package/src/minimal/base.css +0 -8
  345. package/src/minimal/form.css +0 -87
  346. package/src/minimal.css +0 -11
  347. package/src/mixins/mixins.scss +0 -66
  348. package/src/mixins/palette.scss +0 -48
  349. package/src/prism.css +0 -102
  350. package/src/rokkit/alert.css +0 -4
  351. package/src/rokkit/atoms.css +0 -69
  352. package/src/rokkit/carousel.css +0 -19
  353. package/src/rokkit/layout.css +0 -17
  354. package/src/rokkit/molecules.css +0 -119
  355. package/src/rokkit/organisms.css +0 -315
  356. package/src/rokkit.css +0 -11
@@ -0,0 +1,151 @@
1
+ /**
2
+ * Tabs - shadcn Theme Styles
3
+ *
4
+ * Underline-indicator tabs with primary color accent on active.
5
+ * Active tab: thick bottom border in primary color, bolder text.
6
+ */
7
+
8
+ /* =============================================================================
9
+ Tab List
10
+ ============================================================================= */
11
+
12
+ [data-style='shadcn'] [data-tabs-list] {
13
+ @apply border-surface-z3 gap-0 border-0 border-b px-0;
14
+ }
15
+
16
+ [data-style='shadcn'] [data-tabs][data-position='after'] [data-tabs-list] {
17
+ @apply border-t border-b-0;
18
+ }
19
+
20
+ [data-style='shadcn'] [data-tabs][data-orientation='vertical'] [data-tabs-list] {
21
+ @apply border-r border-b-0;
22
+ }
23
+
24
+ [data-style='shadcn']
25
+ [data-tabs][data-orientation='vertical'][data-position='after']
26
+ [data-tabs-list] {
27
+ @apply border-t-0 border-r-0 border-l;
28
+ }
29
+
30
+ /* =============================================================================
31
+ Tab Triggers — default: horizontal/before (bottom border)
32
+ ============================================================================= */
33
+
34
+ [data-style='shadcn'] [data-tabs-trigger] {
35
+ @apply text-surface-z5 rounded-none border-b-2 border-b-transparent bg-transparent;
36
+ font-weight: 400;
37
+ transition:
38
+ color 150ms ease,
39
+ border-color 150ms ease;
40
+ }
41
+
42
+ [data-style='shadcn'] [data-tabs-trigger]:hover:not(:disabled):not([data-disabled]) {
43
+ @apply text-surface-z8 border-b-surface-z4;
44
+ }
45
+
46
+ [data-style='shadcn'] [data-tabs-trigger][data-selected] {
47
+ @apply text-surface-z9 border-b-primary-z5 bg-none;
48
+ font-weight: 600;
49
+ }
50
+
51
+ /* Reset gradients */
52
+ [data-style='shadcn'] [data-tabs-list]:focus-within [data-tabs-trigger][data-selected] {
53
+ @apply bg-none;
54
+ }
55
+
56
+ [data-style='shadcn']
57
+ [data-tabs][data-orientation='vertical']
58
+ [data-tabs-list]:focus-within
59
+ [data-tabs-trigger][data-selected] {
60
+ @apply bg-none;
61
+ }
62
+
63
+ [data-style='shadcn']
64
+ [data-tabs][data-orientation='vertical'][data-position='after']
65
+ [data-tabs-list]:focus-within
66
+ [data-tabs-trigger][data-selected] {
67
+ @apply bg-none;
68
+ }
69
+
70
+ /* Horizontal after (tabs below content): top border */
71
+ [data-style='shadcn'] [data-tabs][data-position='after'] [data-tabs-trigger] {
72
+ @apply border-t-2 border-b-0 border-t-transparent;
73
+ }
74
+
75
+ [data-style='shadcn']
76
+ [data-tabs][data-position='after']
77
+ [data-tabs-trigger]:hover:not(:disabled):not([data-disabled]) {
78
+ @apply border-t-surface-z4;
79
+ }
80
+
81
+ [data-style='shadcn'] [data-tabs][data-position='after'] [data-tabs-trigger][data-selected] {
82
+ @apply border-t-primary-z5;
83
+ font-weight: 600;
84
+ }
85
+
86
+ [data-style='shadcn']
87
+ [data-tabs][data-position='after']
88
+ [data-tabs-list]:focus-within
89
+ [data-tabs-trigger][data-selected] {
90
+ @apply bg-none;
91
+ }
92
+
93
+ /* Vertical before (tabs on left): right border */
94
+ [data-style='shadcn'] [data-tabs][data-orientation='vertical'] [data-tabs-trigger] {
95
+ @apply rounded-none rounded-l border-r-2 border-b-0 border-r-transparent;
96
+ }
97
+
98
+ [data-style='shadcn']
99
+ [data-tabs][data-orientation='vertical']
100
+ [data-tabs-trigger]:hover:not(:disabled):not([data-disabled]) {
101
+ @apply border-r-surface-z4;
102
+ }
103
+
104
+ [data-style='shadcn'] [data-tabs][data-orientation='vertical'] [data-tabs-trigger][data-selected] {
105
+ @apply border-r-primary-z5;
106
+ font-weight: 600;
107
+ }
108
+
109
+ /* Vertical after (tabs on right): left border */
110
+ [data-style='shadcn']
111
+ [data-tabs][data-orientation='vertical'][data-position='after']
112
+ [data-tabs-trigger] {
113
+ @apply rounded-none rounded-r border-t-0 border-r-0 border-b-0 border-l-2 border-l-transparent;
114
+ }
115
+
116
+ [data-style='shadcn']
117
+ [data-tabs][data-orientation='vertical'][data-position='after']
118
+ [data-tabs-trigger]:hover:not(:disabled):not([data-disabled]) {
119
+ @apply border-l-surface-z4 border-t-0 border-r-0 border-b-0;
120
+ }
121
+
122
+ [data-style='shadcn']
123
+ [data-tabs][data-orientation='vertical'][data-position='after']
124
+ [data-tabs-trigger][data-selected] {
125
+ @apply border-l-primary-z5 border-t-0 border-r-0 border-b-0;
126
+ font-weight: 600;
127
+ }
128
+
129
+ /* =============================================================================
130
+ Tab Icon
131
+ ============================================================================= */
132
+
133
+ [data-style='shadcn'] [data-tabs-trigger] [data-tabs-icon] {
134
+ @apply text-surface-z4;
135
+ }
136
+
137
+ [data-style='shadcn'] [data-tabs-trigger]:hover:not(:disabled) [data-tabs-icon] {
138
+ @apply text-surface-z6;
139
+ }
140
+
141
+ [data-style='shadcn'] [data-tabs-trigger][data-selected] [data-tabs-icon] {
142
+ @apply text-primary-z5;
143
+ }
144
+
145
+ /* =============================================================================
146
+ Tab Panel
147
+ ============================================================================= */
148
+
149
+ [data-style='shadcn'] [data-tabs-content] {
150
+ @apply text-surface-z8;
151
+ }
@@ -0,0 +1,45 @@
1
+ /**
2
+ * Timeline - shadcn Theme Styles
3
+ *
4
+ * Clean timeline with primary accent on active/completed states.
5
+ */
6
+
7
+ /* =============================================================================
8
+ Circle
9
+ ============================================================================= */
10
+
11
+ [data-style='shadcn'] [data-timeline-circle] {
12
+ @apply border-surface-z3 text-surface-z6;
13
+ }
14
+
15
+ [data-style='shadcn'] [data-timeline-item][data-completed] [data-timeline-circle] {
16
+ @apply border-primary text-primary;
17
+ }
18
+
19
+ [data-style='shadcn'] [data-timeline-item][data-active] [data-timeline-circle] {
20
+ @apply border-primary text-primary border-2;
21
+ }
22
+
23
+ /* =============================================================================
24
+ Connector
25
+ ============================================================================= */
26
+
27
+ [data-style='shadcn'] [data-timeline-connector] {
28
+ @apply bg-surface-z3;
29
+ }
30
+
31
+ [data-style='shadcn'] [data-timeline-item][data-completed] [data-timeline-connector] {
32
+ @apply bg-primary;
33
+ }
34
+
35
+ /* =============================================================================
36
+ Body
37
+ ============================================================================= */
38
+
39
+ [data-style='shadcn'] [data-timeline-title] {
40
+ @apply text-surface-z8;
41
+ }
42
+
43
+ [data-style='shadcn'] [data-timeline-description] {
44
+ @apply text-surface-z6;
45
+ }
@@ -0,0 +1,20 @@
1
+ /**
2
+ * TableOfContents - shadcn Theme Styles
3
+ */
4
+
5
+ [data-style='shadcn'] [data-toc] [data-toc-label] {
6
+ @apply text-surface-z5;
7
+ }
8
+
9
+ [data-style='shadcn'] [data-toc] [data-toc-item] {
10
+ @apply text-surface-z6 rounded-md;
11
+ }
12
+
13
+ [data-style='shadcn'] [data-toc] [data-toc-item]:hover,
14
+ [data-style='shadcn'] [data-toc] [data-toc-item][data-toc-focused] {
15
+ @apply bg-surface-z3 text-surface-z9 bg-none outline-none;
16
+ }
17
+
18
+ [data-style='shadcn'] [data-toc] [data-toc-item][data-toc-active] {
19
+ @apply bg-primary-z2 text-primary-z7 bg-none;
20
+ }
@@ -0,0 +1,48 @@
1
+ /**
2
+ * Toggle - shadcn Theme Styles
3
+ *
4
+ * Rounded-md container, flat selected state with primary underline.
5
+ */
6
+
7
+ /* =============================================================================
8
+ Toggle Container
9
+ ============================================================================= */
10
+
11
+ [data-style='shadcn'] [data-toggle] {
12
+ @apply border-surface-z3 rounded-md border bg-transparent bg-none;
13
+ }
14
+
15
+ /* =============================================================================
16
+ Toggle Options
17
+ ============================================================================= */
18
+
19
+ [data-style='shadcn'] [data-toggle-option] {
20
+ @apply text-surface-z6 rounded-md border-0 border-solid border-transparent;
21
+ }
22
+
23
+ [data-style='shadcn'] [data-toggle-option]:hover:not(:disabled):not([data-disabled='true']),
24
+ [data-style='shadcn'] [data-toggle-option]:focus:not(:disabled):not([data-disabled='true']) {
25
+ @apply bg-surface-z3 text-surface-z8 bg-none;
26
+ }
27
+
28
+ /* Selected state */
29
+ [data-style='shadcn'] [data-toggle-option][data-selected='true'] {
30
+ @apply bg-surface-z2 text-surface-z9 border-b-primary-z5 border-b-2 bg-none;
31
+ }
32
+
33
+ /* =============================================================================
34
+ Toggle Icon
35
+ ============================================================================= */
36
+
37
+ [data-style='shadcn'] [data-toggle-option] [data-toggle-icon] {
38
+ @apply text-surface-z5;
39
+ }
40
+
41
+ [data-style='shadcn'] [data-toggle-option]:hover:not(:disabled) [data-toggle-icon],
42
+ [data-style='shadcn'] [data-toggle-option]:focus:not(:disabled) [data-toggle-icon] {
43
+ @apply text-surface-z7;
44
+ }
45
+
46
+ [data-style='shadcn'] [data-toggle-option][data-selected='true'] [data-toggle-icon] {
47
+ @apply text-primary-z6;
48
+ }
@@ -0,0 +1,84 @@
1
+ /**
2
+ * Toolbar - shadcn Theme Styles
3
+ *
4
+ * Clean, flat toolbar with subtle borders and ring-based focus.
5
+ */
6
+
7
+ /* =============================================================================
8
+ Toolbar Container
9
+ ============================================================================= */
10
+
11
+ [data-style='shadcn'] [data-toolbar] {
12
+ @apply bg-transparent bg-none;
13
+ }
14
+
15
+ /* Position-based borders */
16
+ [data-style='shadcn'] [data-toolbar][data-toolbar-position='top'],
17
+ [data-style='shadcn'] [data-toolbar]:not([data-toolbar-position]) {
18
+ @apply border-surface-z3 border-b;
19
+ }
20
+
21
+ [data-style='shadcn'] [data-toolbar][data-toolbar-position='bottom'] {
22
+ @apply border-surface-z3 border-t;
23
+ }
24
+
25
+ [data-style='shadcn'] [data-toolbar][data-toolbar-position='left'] {
26
+ @apply border-surface-z3 border-r;
27
+ }
28
+
29
+ [data-style='shadcn'] [data-toolbar][data-toolbar-position='right'] {
30
+ @apply border-surface-z3 border-l;
31
+ }
32
+
33
+ /* =============================================================================
34
+ Toolbar Items
35
+ ============================================================================= */
36
+
37
+ [data-style='shadcn'] [data-toolbar-item] {
38
+ @apply text-surface-z6 rounded-md;
39
+ }
40
+
41
+ [data-style='shadcn'] [data-toolbar-item]:hover:not(:disabled):not([data-disabled='true']) {
42
+ @apply bg-surface-z3 text-surface-z9 bg-none;
43
+ }
44
+
45
+ [data-style='shadcn'] [data-toolbar-item]:focus-visible:not(:disabled):not([data-disabled='true']) {
46
+ @apply text-surface-z9 ring-primary-z4 bg-none ring-2 ring-offset-2 outline-none;
47
+ }
48
+
49
+ /* Active/pressed state */
50
+ [data-style='shadcn'] [data-toolbar-item][data-active='true'] {
51
+ @apply bg-surface-z3 text-primary-z7 bg-none;
52
+ }
53
+
54
+ [data-style='shadcn'] [data-toolbar-item][data-active='true']:hover:not(:disabled) {
55
+ @apply bg-surface-z4 text-primary-z8 bg-none;
56
+ }
57
+
58
+ /* =============================================================================
59
+ Toolbar Icon
60
+ ============================================================================= */
61
+
62
+ [data-style='shadcn'] [data-toolbar-item] [data-toolbar-icon] {
63
+ @apply text-surface-z5;
64
+ }
65
+
66
+ [data-style='shadcn'] [data-toolbar-item]:hover:not(:disabled) [data-toolbar-icon] {
67
+ @apply text-surface-z8;
68
+ }
69
+
70
+ [data-style='shadcn'] [data-toolbar-item][data-active='true'] [data-toolbar-icon] {
71
+ @apply text-primary-z6;
72
+ }
73
+
74
+ /* =============================================================================
75
+ Separator & Divider
76
+ ============================================================================= */
77
+
78
+ [data-style='shadcn'] [data-toolbar-separator] {
79
+ @apply bg-surface-z3 bg-none;
80
+ }
81
+
82
+ [data-style='shadcn'] [data-toolbar-divider] {
83
+ @apply bg-surface-z3 bg-none;
84
+ }
@@ -0,0 +1,135 @@
1
+ /**
2
+ * Tree - shadcn Theme Styles
3
+ *
4
+ * Subtle bg highlight on hover/active. Rounded-md item content areas.
5
+ */
6
+
7
+ /* =============================================================================
8
+ Tree Container
9
+ ============================================================================= */
10
+
11
+ [data-style='shadcn'] [data-tree]:focus-within {
12
+ @apply outline-none;
13
+ }
14
+
15
+ /* =============================================================================
16
+ Tree Toggle Button
17
+ ============================================================================= */
18
+
19
+ [data-style='shadcn'] [data-tree-toggle-btn] {
20
+ @apply text-surface-z4 rounded-md;
21
+ }
22
+
23
+ [data-style='shadcn'] [data-tree-toggle-btn]:hover {
24
+ @apply bg-surface-z3 text-surface-z6 bg-none;
25
+ }
26
+
27
+ /* =============================================================================
28
+ Tree Item Content
29
+ ============================================================================= */
30
+
31
+ [data-style='shadcn'] [data-tree-item-content] {
32
+ @apply text-surface-z7 rounded-md;
33
+ }
34
+
35
+ [data-style='shadcn'] [data-tree-item-content]:hover:not(:disabled),
36
+ [data-style='shadcn'] [data-tree-item-content]:focus:not(:disabled) {
37
+ @apply bg-surface-z3 text-surface-z9 bg-none outline-none;
38
+ }
39
+
40
+ /* Focus visible for keyboard navigation */
41
+ [data-style='shadcn'] [data-tree-item-content]:focus-visible {
42
+ @apply ring-primary-z4 ring-2 ring-offset-2 outline-none;
43
+ }
44
+
45
+ /* Active/selected state */
46
+ [data-style='shadcn'] [data-tree-item-content][data-active='true'] {
47
+ @apply bg-primary-z2 text-primary-z7 bg-none;
48
+ }
49
+
50
+ [data-style='shadcn'] [data-tree-item-content][data-active='true']:hover:not(:disabled) {
51
+ @apply bg-primary-z3 text-primary-z8 bg-none;
52
+ }
53
+
54
+ /* Reset gradients */
55
+ [data-style='shadcn'] [data-tree]:focus-within [data-tree-item-content][data-active='true'] {
56
+ @apply bg-primary-z2 bg-none;
57
+ }
58
+
59
+ [data-style='shadcn']
60
+ [data-tree]:focus-within
61
+ [data-tree-item-content][data-active='true']:hover:not(:disabled) {
62
+ @apply bg-primary-z3 bg-none;
63
+ }
64
+
65
+ [data-style='shadcn'] [data-tree]:not(:focus-within) [data-tree-item-content][data-active='true'] {
66
+ @apply bg-surface-z2 bg-none;
67
+ }
68
+
69
+ /* =============================================================================
70
+ Item Elements
71
+ ============================================================================= */
72
+
73
+ [data-style='shadcn'] [data-tree-item-content] [data-item-icon] {
74
+ @apply text-surface-z5;
75
+ }
76
+
77
+ [data-style='shadcn'] [data-tree-item-content]:hover:not(:disabled) [data-item-icon] {
78
+ @apply text-surface-z6;
79
+ }
80
+
81
+ [data-style='shadcn'] [data-tree-item-content][data-active='true'] [data-item-icon] {
82
+ @apply text-primary-z5;
83
+ }
84
+
85
+ [data-style='shadcn'] [data-tree-item-content] [data-item-description] {
86
+ @apply text-surface-z5;
87
+ }
88
+
89
+ [data-style='shadcn'] [data-tree-item-content][data-active='true'] [data-item-description] {
90
+ @apply text-primary-z6;
91
+ }
92
+
93
+ [data-style='shadcn'] [data-tree-item-content] [data-item-badge] {
94
+ @apply text-surface-z6 border-surface-z3 rounded-md border bg-transparent bg-none;
95
+ }
96
+
97
+ [data-style='shadcn'] [data-tree-item-content][data-active='true'] [data-item-badge] {
98
+ @apply text-primary-z7 border-primary-z3;
99
+ }
100
+
101
+ [data-style='shadcn']
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='shadcn']
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='shadcn'] [data-tree-node][data-selected='true'] [data-tree-item-content] {
120
+ @apply bg-primary-z2 text-primary-z7 bg-none;
121
+ }
122
+
123
+ [data-style='shadcn']
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 bg-none;
128
+ }
129
+
130
+ [data-style='shadcn']
131
+ [data-tree-node][data-selected='true']
132
+ [data-tree-item-content]
133
+ [data-item-icon] {
134
+ @apply text-primary-z5;
135
+ }
@@ -0,0 +1,102 @@
1
+ /**
2
+ * UploadProgress - shadcn Theme Styles
3
+ *
4
+ * Status colors, solid primary progress fill, action buttons.
5
+ */
6
+
7
+ /* =============================================================================
8
+ Header
9
+ ============================================================================= */
10
+
11
+ [data-style='shadcn'] [data-upload-header] {
12
+ @apply text-surface-z7;
13
+ }
14
+
15
+ [data-style='shadcn'] [data-upload-clear] {
16
+ @apply border-surface-z3 text-surface-z6 rounded-md;
17
+ }
18
+
19
+ [data-style='shadcn'] [data-upload-clear]:hover {
20
+ @apply bg-surface-z3 text-surface-z9;
21
+ }
22
+
23
+ /* =============================================================================
24
+ File Rows
25
+ ============================================================================= */
26
+
27
+ [data-style='shadcn'] [data-upload-file-status] {
28
+ @apply text-surface-z7 rounded-md;
29
+ }
30
+
31
+ [data-style='shadcn'] [data-upload-file-status]:hover {
32
+ @apply bg-surface-z2;
33
+ }
34
+
35
+ /* =============================================================================
36
+ File Elements
37
+ ============================================================================= */
38
+
39
+ [data-style='shadcn'] [data-upload-file-icon] {
40
+ @apply text-surface-z5;
41
+ }
42
+
43
+ [data-style='shadcn'] [data-upload-file-size] {
44
+ @apply text-surface-z5;
45
+ }
46
+
47
+ /* =============================================================================
48
+ Progress Bar
49
+ ============================================================================= */
50
+
51
+ [data-style='shadcn'] [data-upload-bar] {
52
+ @apply bg-surface-z3 rounded-full;
53
+ }
54
+
55
+ [data-style='shadcn'] [data-upload-fill] {
56
+ @apply bg-primary-z5 rounded-full bg-none;
57
+ }
58
+
59
+ /* =============================================================================
60
+ Status Colors
61
+ ============================================================================= */
62
+
63
+ [data-style='shadcn'] [data-upload-file-status][data-status='uploading'] [data-upload-status] {
64
+ @apply text-primary-z6;
65
+ }
66
+
67
+ [data-style='shadcn'] [data-upload-file-status][data-status='done'] [data-upload-status] {
68
+ @apply text-green-500;
69
+ }
70
+
71
+ [data-style='shadcn'] [data-upload-file-status][data-status='error'] [data-upload-status] {
72
+ @apply text-red-500;
73
+ }
74
+
75
+ [data-style='shadcn'] [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='shadcn'] [data-upload-file-status][data-status='done'] [data-upload-file-icon] {
81
+ @apply text-green-500;
82
+ }
83
+
84
+ [data-style='shadcn'] [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='shadcn'] [data-upload-actions] button {
93
+ @apply text-surface-z5;
94
+ }
95
+
96
+ [data-style='shadcn'] [data-upload-actions] button:hover {
97
+ @apply bg-surface-z3 text-surface-z9;
98
+ }
99
+
100
+ [data-style='shadcn'] [data-upload-file-status][data-status='error'] [data-upload-retry]:hover {
101
+ @apply text-primary-z7;
102
+ }
@@ -0,0 +1,50 @@
1
+ /**
2
+ * UploadTarget - shadcn Theme Styles
3
+ *
4
+ * Rounded-md drop zone, ring focus, primary highlight on drag-over.
5
+ */
6
+
7
+ /* =============================================================================
8
+ Drop Zone
9
+ ============================================================================= */
10
+
11
+ [data-style='shadcn'] [data-upload-target] {
12
+ @apply border-surface-z3 text-surface-z6 rounded-md;
13
+ }
14
+
15
+ [data-style='shadcn'] [data-upload-target]:hover:not([data-disabled]) {
16
+ @apply border-surface-z4 text-surface-z7 bg-surface-z2;
17
+ }
18
+
19
+ [data-style='shadcn'] [data-upload-target]:focus-visible:not([data-disabled]) {
20
+ @apply border-primary-z4 ring-primary-z4 ring-2 ring-offset-2;
21
+ }
22
+
23
+ /* Drag-over highlight */
24
+ [data-style='shadcn'] [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='shadcn'] [data-upload-target] [data-upload-icon] {
33
+ @apply text-surface-z5;
34
+ }
35
+
36
+ [data-style='shadcn'] [data-upload-target][data-dragging] [data-upload-icon] {
37
+ @apply text-primary-z6;
38
+ }
39
+
40
+ /* =============================================================================
41
+ Browse Button
42
+ ============================================================================= */
43
+
44
+ [data-style='shadcn'] [data-upload-target] [data-upload-button] {
45
+ @apply border-surface-z3 text-surface-z7 rounded-md;
46
+ }
47
+
48
+ [data-style='shadcn'] [data-upload-target] [data-upload-button]:hover:not(:disabled) {
49
+ @apply bg-surface-z3 text-surface-z9;
50
+ }
package/LICENSE DELETED
@@ -1,21 +0,0 @@
1
- MIT License
2
-
3
- Copyright (c) 2022 Jerry Thomas
4
-
5
- Permission is hereby granted, free of charge, to any person obtaining a copy
6
- of this software and associated documentation files (the "Software"), to deal
7
- in the Software without restriction, including without limitation the rights
8
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
- copies of the Software, and to permit persons to whom the Software is
10
- furnished to do so, subject to the following conditions:
11
-
12
- The above copyright notice and this permission notice shall be included in all
13
- copies or substantial portions of the Software.
14
-
15
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
- SOFTWARE.
@@ -1,30 +0,0 @@
1
- /* Alert styles */
2
- alert-list {
3
- @apply top-12 right-8 w-80;
4
- }
5
-
6
- alert,
7
- error,
8
- info,
9
- warning,
10
- success {
11
- @apply px-4 py-2 border rounded select-none cursor-pointer;
12
- }
13
-
14
- alert.error,
15
- alert.danger,
16
- error {
17
- @apply bg-error text-error-contrast border-error-muted;
18
- }
19
- alert.info,
20
- info {
21
- @apply bg-info text-info-contrast border-info-muted;
22
- }
23
- alert.warning,
24
- warning {
25
- @apply bg-warn text-warn-contrast border-warn-muted;
26
- }
27
- alert.success,
28
- success {
29
- @apply bg-success text-success-contrast border-success-muted;
30
- }