@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
@@ -0,0 +1,33 @@
1
+ /**
2
+ * CodeBlock — frosted theme.
3
+ * Frame supplies the chrome; this adds typography + muted tokens for
4
+ * the title row, lang chip, action buttons, and pre/code body.
5
+ */
6
+
7
+ [data-style='frosted'] [data-code-block-icon] {
8
+ @apply text-ink-soft;
9
+ }
10
+
11
+ [data-style='frosted'] [data-code-block-filename] {
12
+ font: 500 11.5px var(--font-mono);
13
+ @apply text-ink-mute;
14
+ }
15
+
16
+ [data-style='frosted'] [data-code-block-lang] {
17
+ font: 500 10px var(--font-mono);
18
+ @apply text-ink-soft border-paper-edge border;
19
+ }
20
+
21
+ [data-style='frosted'] [data-code-block-actions] button {
22
+ font: 500 11px var(--font-mono);
23
+ @apply text-ink-soft;
24
+ }
25
+
26
+ [data-style='frosted'] [data-code-block-actions] button:hover {
27
+ @apply bg-paper-mute text-ink;
28
+ }
29
+
30
+ [data-style='frosted'] [data-code-block-body] pre {
31
+ font: 400 12px/1.65 var(--font-mono);
32
+ @apply text-ink;
33
+ }
@@ -5,15 +5,13 @@
5
5
  */
6
6
 
7
7
  [data-style='frosted'] [data-dropdown-trigger] {
8
- @apply text-surface-z8 border bg-none backdrop-blur-xl;
9
- background: color-mix(in srgb, var(--color-surface-z3, #888) 25%, transparent);
8
+ @apply text-ink-mute border bg-none backdrop-blur-xl bg-paper-mute/25;
10
9
  border-color: rgba(255, 255, 255, 0.2);
11
10
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16);
12
11
  }
13
12
 
14
13
  [data-style='frosted'] [data-dropdown-trigger]:hover:not(:disabled) {
15
- @apply text-surface-z10 bg-none;
16
- background: color-mix(in srgb, var(--color-surface-z3, #888) 36%, transparent);
14
+ @apply text-ink bg-none bg-paper-mute/36;
17
15
  border-color: rgba(255, 255, 255, 0.28);
18
16
  }
19
17
 
@@ -23,22 +21,20 @@
23
21
  }
24
22
 
25
23
  [data-style='frosted'] [data-dropdown][data-open='true'] [data-dropdown-trigger] {
26
- @apply bg-none;
27
- background: color-mix(in srgb, var(--color-primary-500, #6366f1) 35%, transparent);
24
+ @apply bg-none bg-primary/35;
28
25
  border-color: rgba(255, 255, 255, 0.3);
29
26
  }
30
27
 
31
28
  [data-style='frosted'] [data-dropdown-trigger] [data-dropdown-icon] {
32
- @apply text-surface-z5;
29
+ @apply text-ink-soft;
33
30
  }
34
31
 
35
32
  [data-style='frosted'] [data-dropdown-trigger] [data-dropdown-arrow] {
36
- @apply text-surface-z5;
33
+ @apply text-ink-soft;
37
34
  }
38
35
 
39
36
  [data-style='frosted'] [data-dropdown-panel] {
40
- @apply border bg-none shadow-xl backdrop-blur-2xl;
41
- background: color-mix(in srgb, var(--color-surface-z2, #888) 45%, transparent);
37
+ @apply border bg-none shadow-xl backdrop-blur-2xl bg-paper-mute/45;
42
38
  border-color: rgba(255, 255, 255, 0.2);
43
39
  box-shadow:
44
40
  inset 0 1px 0 rgba(255, 255, 255, 0.2),
@@ -46,18 +42,17 @@
46
42
  }
47
43
 
48
44
  [data-style='frosted'] [data-dropdown-option] {
49
- @apply text-surface-z8;
45
+ @apply text-ink-mute;
50
46
  }
51
47
 
52
48
  [data-style='frosted'] [data-dropdown-option]:hover:not(:disabled),
53
49
  [data-style='frosted'] [data-dropdown-option]:focus:not(:disabled) {
54
- @apply text-surface-z10 bg-none outline-none;
50
+ @apply text-ink bg-none outline-none;
55
51
  background: rgba(255, 255, 255, 0.08);
56
52
  }
57
53
 
58
54
  [data-style='frosted'] [data-dropdown-option][data-active='true'] {
59
- @apply text-surface-z10 bg-none;
60
- background: color-mix(in srgb, var(--color-primary-500, #6366f1) 22%, transparent);
55
+ @apply text-ink bg-none bg-primary/22;
61
56
  }
62
57
 
63
58
  [data-style='frosted'] [data-dropdown-separator] {
@@ -9,20 +9,20 @@
9
9
  ============================================================================= */
10
10
 
11
11
  [data-style='frosted'] [data-fab-trigger] {
12
- @apply bg-primary-z5/80 text-white shadow-lg backdrop-blur-md;
12
+ @apply bg-primary/80 text-on-primary shadow-lg backdrop-blur-md;
13
13
  }
14
14
 
15
15
  [data-style='frosted'] [data-fab-trigger]:hover:not(:disabled) {
16
- @apply bg-primary-z5/90 shadow-xl;
16
+ @apply bg-primary/90 shadow-xl;
17
17
  transform: scale(1.05);
18
18
  }
19
19
 
20
20
  [data-style='frosted'] [data-fab-trigger]:focus-visible {
21
- @apply ring-surface-z5/40 ring-2 outline-none;
21
+ @apply ring-ink-soft/40 ring-2 outline-none;
22
22
  }
23
23
 
24
24
  [data-style='frosted'] [data-fab][data-open='true'] [data-fab-trigger] {
25
- @apply bg-surface-z6/80;
25
+ @apply bg-ink-soft/80;
26
26
  transform: rotate(45deg);
27
27
  }
28
28
 
@@ -31,24 +31,24 @@
31
31
  ============================================================================= */
32
32
 
33
33
  [data-style='frosted'] [data-fab-item] {
34
- @apply text-surface-z9 bg-surface-z1/70 border-surface-z5/20 border shadow-md backdrop-blur-md;
34
+ @apply text-ink bg-paper-soft/70 border-ink-soft/20 border shadow-md backdrop-blur-md;
35
35
  }
36
36
 
37
37
  [data-style='frosted'] [data-fab-item]:hover:not(:disabled) {
38
- @apply text-surface-z10 bg-surface-z2/80 shadow-lg;
38
+ @apply text-ink bg-paper-mute/80 shadow-lg;
39
39
  }
40
40
 
41
41
  [data-style='frosted'] [data-fab-item]:focus-visible {
42
- @apply ring-surface-z5/40 ring-2 outline-none;
42
+ @apply ring-ink-soft/40 ring-2 outline-none;
43
43
  }
44
44
 
45
45
  /* Item icon */
46
46
  [data-style='frosted'] [data-fab-item] [data-fab-item-icon] {
47
- @apply text-primary-z6;
47
+ @apply text-primary;
48
48
  }
49
49
 
50
50
  [data-style='frosted'] [data-fab-item]:hover:not(:disabled) [data-fab-item-icon] {
51
- @apply text-primary-z7;
51
+ @apply text-primary;
52
52
  }
53
53
 
54
54
  /* =============================================================================
@@ -56,6 +56,6 @@
56
56
  ============================================================================= */
57
57
 
58
58
  [data-style='frosted'] [data-fab-backdrop] {
59
- background: rgba(0, 0, 0, 0.3);
59
+ @apply bg-ink/30;
60
60
  backdrop-filter: blur(4px);
61
61
  }
@@ -9,7 +9,7 @@
9
9
  ============================================================================= */
10
10
 
11
11
  [data-style='frosted'] [data-floating-nav] {
12
- @apply bg-surface-z1/70 border-surface-z5/20 border shadow-xl backdrop-blur-xl;
12
+ @apply bg-paper-soft/70 border-ink-soft/20 border shadow-xl backdrop-blur-xl;
13
13
  }
14
14
 
15
15
  /* =============================================================================
@@ -17,19 +17,19 @@
17
17
  ============================================================================= */
18
18
 
19
19
  [data-style='frosted'] [data-floating-nav-title] {
20
- @apply text-surface-z6;
20
+ @apply text-ink-soft;
21
21
  }
22
22
 
23
23
  [data-style='frosted'] [data-floating-nav-pin] {
24
- @apply text-surface-z6;
24
+ @apply text-ink-soft;
25
25
  }
26
26
 
27
27
  [data-style='frosted'] [data-floating-nav-pin]:hover {
28
- @apply text-primary-z6;
28
+ @apply text-primary;
29
29
  }
30
30
 
31
31
  [data-style='frosted'] [data-floating-nav-pin][aria-pressed='true'] {
32
- @apply text-primary-z7;
32
+ @apply text-primary;
33
33
  }
34
34
 
35
35
  /* =============================================================================
@@ -37,32 +37,32 @@
37
37
  ============================================================================= */
38
38
 
39
39
  [data-style='frosted'] [data-floating-nav-item] {
40
- @apply text-surface-z8;
40
+ @apply text-ink-mute;
41
41
  }
42
42
 
43
43
  [data-style='frosted'] [data-floating-nav-item]:hover {
44
- @apply text-surface-z10 bg-surface-z2/50;
44
+ @apply text-ink bg-paper-mute/50;
45
45
  }
46
46
 
47
47
  [data-style='frosted'] [data-floating-nav-item][data-active] {
48
- @apply text-primary-z7 bg-primary-z5/10;
48
+ @apply text-primary bg-primary/10;
49
49
  }
50
50
 
51
51
  [data-style='frosted'] [data-floating-nav-item]:focus-visible {
52
- @apply ring-surface-z5/40 ring-2 outline-none;
52
+ @apply ring-ink-soft/40 ring-2 outline-none;
53
53
  }
54
54
 
55
55
  /* Icon */
56
56
  [data-style='frosted'] [data-floating-nav-icon] {
57
- @apply text-surface-z6;
57
+ @apply text-ink-soft;
58
58
  }
59
59
 
60
60
  [data-style='frosted'] [data-floating-nav-item]:hover [data-floating-nav-icon] {
61
- @apply text-primary-z6;
61
+ @apply text-primary;
62
62
  }
63
63
 
64
64
  [data-style='frosted'] [data-floating-nav-item][data-active] [data-floating-nav-icon] {
65
- @apply text-primary-z7;
65
+ @apply text-primary;
66
66
  }
67
67
 
68
68
  /* =============================================================================
@@ -70,5 +70,5 @@
70
70
  ============================================================================= */
71
71
 
72
72
  [data-style='frosted'] [data-floating-nav-indicator] {
73
- @apply bg-primary-z5/80;
73
+ @apply bg-primary/80;
74
74
  }
@@ -0,0 +1,17 @@
1
+ /**
2
+ * Frame — frosted theme.
3
+ * Border + background decoration. Base file owns layout / spacing.
4
+ */
5
+
6
+ [data-style='frosted'] [data-frame] {
7
+ @apply bg-paper border-paper-edge border;
8
+ }
9
+
10
+ [data-style='frosted'] [data-frame-header] {
11
+ @apply bg-paper-soft border-paper-edge border-b;
12
+ }
13
+
14
+ [data-style='frosted'] [data-frame-footer] {
15
+ @apply bg-paper border-paper-edge;
16
+ border-top: 1px dashed var(--paper-edge);
17
+ }
@@ -24,6 +24,8 @@
24
24
  @import './floating-navigation.css';
25
25
  @import './toc.css';
26
26
  @import './card.css';
27
+ @import './frame.css';
28
+ @import './code-block.css';
27
29
  @import './message.css';
28
30
  @import './status-list.css';
29
31
  @import './step-indicator.css';
@@ -4,7 +4,7 @@
4
4
 
5
5
  /* Field root: text color, spacing */
6
6
  [data-style='frosted'] [data-field-root] {
7
- @apply text-surface-z9 gap-1 rounded-md transition-all;
7
+ @apply text-ink gap-1 rounded-md transition-all;
8
8
  }
9
9
 
10
10
  /* Disabled state */
@@ -14,29 +14,28 @@
14
14
 
15
15
  /* Labels */
16
16
  [data-style='frosted'] [data-field] > label {
17
- @apply text-surface-z7;
17
+ @apply text-ink-mute;
18
18
  }
19
19
 
20
20
  [data-style='frosted'] [data-form-root] label {
21
- @apply text-surface-z7;
21
+ @apply text-ink-mute;
22
22
  }
23
23
 
24
24
  /* Info field value */
25
25
  [data-style='frosted'] [data-field-info] {
26
- @apply text-primary-z6 font-medium;
26
+ @apply text-primary font-medium;
27
27
  }
28
28
 
29
29
  /* Separator */
30
30
  [data-style='frosted'] [data-form-separator] {
31
- @apply border-surface-z5/20;
31
+ @apply border-ink-soft/20;
32
32
  }
33
33
 
34
34
  /* Input root: frosted glass container — p-0.5 gives a small gap between border and content.
35
35
  * No backdrop-blur here: it creates a stacking context that traps select dropdowns.
36
36
  * The semi-transparent background + specular border provides the liquid glass look. */
37
37
  [data-style='frosted'] [data-input-root] {
38
- @apply flex items-center rounded-md border p-0.5 transition-all;
39
- background: color-mix(in srgb, var(--color-surface-z3, #888) 22%, transparent);
38
+ @apply flex items-center rounded-md border p-0.5 transition-all bg-paper-mute/22;
40
39
  background-image: none;
41
40
  border-color: rgba(255, 255, 255, 0.2);
42
41
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14);
@@ -47,7 +46,7 @@
47
46
  }
48
47
 
49
48
  [data-style='frosted'] [data-input-root]:focus-within {
50
- background: color-mix(in srgb, var(--color-surface-z3, #888) 28%, transparent);
49
+ @apply bg-paper-mute/28;
51
50
  background-image: none;
52
51
  border-color: rgba(255, 255, 255, 0.35);
53
52
  box-shadow:
@@ -58,19 +57,19 @@
58
57
  /* Standard inputs inside wrapper */
59
58
  [data-style='frosted'] [data-input-root] input:not([type='checkbox'], [type='radio'], [type='color']),
60
59
  [data-style='frosted'] [data-input-root] select {
61
- @apply text-surface-z8 rounded-md border-none bg-transparent px-3 focus:outline-none;
60
+ @apply text-ink-mute rounded-md border-none bg-transparent px-3 focus:outline-none;
62
61
  font-size: 0.875rem;
63
62
  height: 2.25rem;
64
63
  }
65
64
 
66
65
  [data-style='frosted'] [data-input-root] textarea {
67
- @apply text-surface-z8 rounded-md border-none bg-transparent px-3 py-2 focus:outline-none;
66
+ @apply text-ink-mute rounded-md border-none bg-transparent px-3 py-2 focus:outline-none;
68
67
  font-size: 0.875rem;
69
68
  }
70
69
 
71
70
  /* Select inside input-root: suppress standalone glass select styles */
72
71
  [data-style='frosted'] [data-input-root] [data-select-trigger] {
73
- @apply text-surface-z8 rounded-md border-none bg-transparent shadow-none ring-0 focus:outline-none;
72
+ @apply text-ink-mute rounded-md border-none bg-transparent shadow-none ring-0 focus:outline-none;
74
73
  background-image: none;
75
74
  backdrop-filter: none;
76
75
  }
@@ -83,7 +82,7 @@
83
82
  /* Placeholders */
84
83
  [data-style='frosted'] [data-input-root] input::placeholder,
85
84
  [data-style='frosted'] [data-input-root] textarea::placeholder {
86
- @apply text-surface-z5;
85
+ @apply text-ink-soft;
87
86
  }
88
87
 
89
88
  /* Checkbox field */
@@ -93,17 +92,17 @@
93
92
 
94
93
  /* Checkbox icon */
95
94
  [data-style='frosted'] [data-checkbox-icon] {
96
- @apply text-surface-z5 cursor-pointer rounded text-lg transition-colors;
95
+ @apply text-ink-soft cursor-pointer rounded text-lg transition-colors;
97
96
  }
98
97
 
99
98
  [data-style='frosted'] [data-checkbox-icon]:focus-visible {
100
- @apply outline-primary-z4 outline-2 outline-offset-2;
99
+ @apply outline-primary outline-2 outline-offset-2;
101
100
  }
102
101
 
103
102
  [data-style='frosted']
104
103
  [data-checkbox-root][data-variant='custom']:has(input:checked)
105
104
  [data-checkbox-icon] {
106
- @apply text-primary-z6;
105
+ @apply text-primary;
107
106
  }
108
107
 
109
108
  [data-style='frosted'] [data-field] textarea {
@@ -122,7 +121,7 @@
122
121
  /* Description and message */
123
122
  [data-style='frosted'] [data-description],
124
123
  [data-style='frosted'] [data-message] {
125
- @apply text-surface-z6;
124
+ @apply text-ink-soft;
126
125
  }
127
126
 
128
127
  [data-style='frosted'] [data-message] {
@@ -131,5 +130,5 @@
131
130
 
132
131
  /* Error state */
133
132
  [data-style='frosted'] [data-field-root][data-field-state='fail'] [data-input-root] {
134
- @apply border-danger-z5/50;
133
+ @apply border-danger/50;
135
134
  }
@@ -9,7 +9,7 @@
9
9
  ============================================================================= */
10
10
 
11
11
  [data-style='frosted'] [data-list]:focus-within {
12
- @apply ring-surface-z5/40 rounded ring-1;
12
+ @apply ring-ink-soft/40 rounded ring-1;
13
13
  }
14
14
 
15
15
  /* =============================================================================
@@ -17,34 +17,34 @@
17
17
  ============================================================================= */
18
18
 
19
19
  [data-style='frosted'] [data-list] [data-list-item] {
20
- @apply text-surface-z8;
20
+ @apply text-ink-mute;
21
21
  }
22
22
 
23
23
  [data-style='frosted'] [data-list] a[data-list-item],
24
24
  [data-style='frosted'] [data-list] button[data-list-item] {
25
- @apply text-surface-z7;
25
+ @apply text-ink-mute;
26
26
  }
27
27
 
28
28
  /* Hover and focus (keyboard navigation) */
29
29
  [data-style='frosted'] [data-list] [data-list-item]:hover:not(:disabled):not([data-disabled='true']),
30
30
  [data-style='frosted'] [data-list] [data-list-item]:focus:not(:disabled):not([data-disabled='true']) {
31
- @apply bg-surface-z2/15 text-surface-z10 bg-none outline-none;
31
+ @apply bg-paper-mute/15 text-ink bg-none outline-none;
32
32
  }
33
33
 
34
34
  /* Active state — muted when list not focused */
35
35
  [data-style='frosted'] [data-list] [data-list-item][data-active='true'] {
36
- @apply bg-surface-z2/15 text-primary-z9 bg-none;
36
+ @apply bg-paper-mute/15 text-primary bg-none;
37
37
  }
38
38
 
39
39
  /* Active state — full highlight when list has focus */
40
40
  [data-style='frosted'] [data-list]:focus-within [data-list-item][data-active='true'] {
41
- @apply bg-primary-z5/30 text-primary-z9 bg-none;
41
+ @apply bg-primary/30 text-primary bg-none;
42
42
  }
43
43
 
44
44
  /* Active + hover/focus */
45
45
  [data-style='frosted'] [data-list] [data-list-item][data-active='true']:hover:not(:disabled),
46
46
  [data-style='frosted'] [data-list] [data-list-item][data-active='true']:focus:not(:disabled) {
47
- @apply bg-primary-z5/40 bg-none;
47
+ @apply bg-primary/40 bg-none;
48
48
  }
49
49
 
50
50
  /* =============================================================================
@@ -52,32 +52,57 @@
52
52
  ============================================================================= */
53
53
 
54
54
  [data-style='frosted'] [data-list] [data-list-item] [data-item-icon] {
55
- @apply text-surface-z5;
55
+ @apply text-ink-soft;
56
56
  }
57
57
 
58
58
  [data-style='frosted'] [data-list] [data-list-item]:hover:not(:disabled) [data-item-icon],
59
59
  [data-style='frosted'] [data-list] [data-list-item]:focus:not(:disabled) [data-item-icon] {
60
- @apply text-surface-z7;
60
+ @apply text-ink-mute;
61
61
  }
62
62
 
63
63
  [data-style='frosted'] [data-list] [data-list-item][data-active='true'] [data-item-icon] {
64
- @apply text-primary-z6;
64
+ @apply text-primary;
65
+ }
66
+
67
+ /* Literal / kanji icons */
68
+ [data-style='frosted'] [data-list] [data-list-item] [data-item-icon-literal] {
69
+ @apply text-ink-soft;
70
+ }
71
+
72
+ [data-style='frosted'] [data-list] [data-list-item]:hover:not(:disabled) [data-item-icon-literal],
73
+ [data-style='frosted'] [data-list] [data-list-item]:focus:not(:disabled) [data-item-icon-literal] {
74
+ @apply text-ink-mute;
75
+ }
76
+
77
+ [data-style='frosted'] [data-list] [data-list-item][data-active='true'] [data-item-icon-literal] {
78
+ @apply text-primary;
79
+ }
80
+
81
+ [data-style='frosted']
82
+ [data-list]:focus-within
83
+ [data-list-item][data-active='true']
84
+ [data-item-icon-literal],
85
+ [data-style='frosted']
86
+ [data-list]
87
+ [data-list-item][data-active='true']:hover:not(:disabled)
88
+ [data-item-icon-literal] {
89
+ @apply text-primary;
65
90
  }
66
91
 
67
92
  [data-style='frosted'] [data-list] [data-list-item] [data-item-description] {
68
- @apply text-surface-z5;
93
+ @apply text-ink-soft;
69
94
  }
70
95
 
71
96
  [data-style='frosted'] [data-list] [data-list-item][data-active='true'] [data-item-description] {
72
- @apply text-primary-z7;
97
+ @apply text-primary;
73
98
  }
74
99
 
75
100
  [data-style='frosted'] [data-list] [data-list-item] [data-item-badge] {
76
- @apply bg-surface-z2/15 text-surface-z6 bg-none;
101
+ @apply bg-paper-mute/15 text-ink-soft bg-none;
77
102
  }
78
103
 
79
104
  [data-style='frosted'] [data-list] [data-list-item][data-active='true'] [data-item-badge] {
80
- @apply bg-primary-z5/25 text-primary-z8 bg-none;
105
+ @apply bg-primary/25 text-primary bg-none;
81
106
  }
82
107
 
83
108
  /* =============================================================================
@@ -85,12 +110,12 @@
85
110
  ============================================================================= */
86
111
 
87
112
  [data-style='frosted'] [data-list] [data-list-group] {
88
- @apply text-surface-z6;
113
+ @apply text-ink-soft;
89
114
  }
90
115
 
91
116
  [data-style='frosted'] [data-list] [data-list-group]:hover:not(:disabled),
92
117
  [data-style='frosted'] [data-list] [data-list-group]:focus:not(:disabled) {
93
- @apply bg-surface-z3/25 text-surface-z8 bg-none;
118
+ @apply bg-paper-mute/25 text-ink-mute bg-none;
94
119
  }
95
120
 
96
121
  /* =============================================================================
@@ -98,7 +123,7 @@
98
123
  ============================================================================= */
99
124
 
100
125
  [data-style='frosted'] [data-list] [data-list-separator] {
101
- @apply bg-surface-z5/20 bg-none;
126
+ @apply bg-ink-soft/20 bg-none;
102
127
  }
103
128
 
104
129
  /* =============================================================================
@@ -106,17 +131,17 @@
106
131
  ============================================================================= */
107
132
 
108
133
  [data-style='frosted'] [data-list] [data-list-item][data-selected='true'] {
109
- @apply bg-primary-z5/20 text-primary-z9 bg-none;
134
+ @apply bg-primary/20 text-primary bg-none;
110
135
  }
111
136
 
112
137
  [data-style='frosted'] [data-list]:focus-within [data-list-item][data-selected='true'] {
113
- @apply bg-primary-z5/30 bg-none;
138
+ @apply bg-primary/30 bg-none;
114
139
  }
115
140
 
116
141
  [data-style='frosted'] [data-list] [data-list-item][data-selected='true']:hover:not(:disabled) {
117
- @apply bg-primary-z5/40 bg-none;
142
+ @apply bg-primary/40 bg-none;
118
143
  }
119
144
 
120
145
  [data-style='frosted'] [data-list] [data-list-item][data-selected='true'] [data-item-icon] {
121
- @apply text-primary-z6;
146
+ @apply text-primary;
122
147
  }
@@ -9,15 +9,13 @@
9
9
  ============================================================================= */
10
10
 
11
11
  [data-style='frosted'] [data-menu-trigger] {
12
- @apply text-surface-z8 border bg-none backdrop-blur-xl;
13
- background: color-mix(in srgb, var(--color-surface-z3, #888) 25%, transparent);
12
+ @apply text-ink-mute border bg-none backdrop-blur-xl bg-paper-mute/25;
14
13
  border-color: rgba(255, 255, 255, 0.2);
15
14
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16);
16
15
  }
17
16
 
18
17
  [data-style='frosted'] [data-menu-trigger]:hover:not(:disabled) {
19
- @apply text-surface-z10 bg-none;
20
- background: color-mix(in srgb, var(--color-surface-z3, #888) 36%, transparent);
18
+ @apply text-ink bg-none bg-paper-mute/36;
21
19
  border-color: rgba(255, 255, 255, 0.28);
22
20
  }
23
21
 
@@ -27,22 +25,21 @@
27
25
  }
28
26
 
29
27
  [data-style='frosted'] [data-menu][data-open='true'] [data-menu-trigger] {
30
- @apply bg-none;
31
- background: color-mix(in srgb, var(--color-primary-500, #6366f1) 35%, transparent);
28
+ @apply bg-none bg-primary/35;
32
29
  border-color: rgba(255, 255, 255, 0.3);
33
30
  }
34
31
 
35
32
  /* Trigger elements */
36
33
  [data-style='frosted'] [data-menu-trigger] [data-menu-icon] {
37
- @apply text-surface-z5;
34
+ @apply text-ink-soft;
38
35
  }
39
36
 
40
37
  [data-style='frosted'] [data-menu-trigger]:hover:not(:disabled) [data-menu-icon] {
41
- @apply text-surface-z7;
38
+ @apply text-ink-mute;
42
39
  }
43
40
 
44
41
  [data-style='frosted'] [data-menu-trigger] [data-menu-arrow] {
45
- @apply text-surface-z5;
42
+ @apply text-ink-soft;
46
43
  }
47
44
 
48
45
  /* =============================================================================
@@ -50,8 +47,7 @@
50
47
  ============================================================================= */
51
48
 
52
49
  [data-style='frosted'] [data-menu-dropdown] {
53
- @apply border bg-none shadow-xl backdrop-blur-2xl;
54
- background: color-mix(in srgb, var(--color-surface-z2, #888) 45%, transparent);
50
+ @apply border bg-none shadow-xl backdrop-blur-2xl bg-paper-mute/45;
55
51
  border-color: rgba(255, 255, 255, 0.2);
56
52
  box-shadow:
57
53
  inset 0 1px 0 rgba(255, 255, 255, 0.2),
@@ -63,12 +59,12 @@
63
59
  ============================================================================= */
64
60
 
65
61
  [data-style='frosted'] [data-menu-item] {
66
- @apply text-surface-z8;
62
+ @apply text-ink-mute;
67
63
  }
68
64
 
69
65
  [data-style='frosted'] [data-menu-item]:hover:not(:disabled),
70
66
  [data-style='frosted'] [data-menu-item]:focus:not(:disabled) {
71
- @apply text-surface-z10 bg-none outline-none;
67
+ @apply text-ink bg-none outline-none;
72
68
  background: rgba(255, 255, 255, 0.08);
73
69
  }
74
70
 
@@ -79,15 +75,15 @@
79
75
 
80
76
  /* Item elements */
81
77
  [data-style='frosted'] [data-menu-item] [data-item-icon] {
82
- @apply text-surface-z5;
78
+ @apply text-ink-soft;
83
79
  }
84
80
 
85
81
  [data-style='frosted'] [data-menu-item]:hover:not(:disabled) [data-item-icon] {
86
- @apply text-surface-z7;
82
+ @apply text-ink-mute;
87
83
  }
88
84
 
89
85
  [data-style='frosted'] [data-menu-item] [data-item-description] {
90
- @apply text-surface-z5;
86
+ @apply text-ink-soft;
91
87
  }
92
88
 
93
89
  /* =============================================================================
@@ -95,7 +91,7 @@
95
91
  ============================================================================= */
96
92
 
97
93
  [data-style='frosted'] [data-menu-group] {
98
- @apply text-surface-z5;
94
+ @apply text-ink-soft;
99
95
  }
100
96
 
101
97
  /* =============================================================================