@rokkit/themes 1.0.5 → 1.1.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 (155) hide show
  1. package/build.mjs +4 -2
  2. package/package.json +3 -2
  3. package/src/base/carousel.css +2 -1
  4. package/src/base/code-block.css +76 -0
  5. package/src/base/display.css +16 -8
  6. package/src/base/frame.css +36 -0
  7. package/src/base/index.css +2 -0
  8. package/src/base/input.css +49 -10
  9. package/src/base/nav-content.css +3 -3
  10. package/src/base/stepper.css +14 -7
  11. package/src/base/tabs.css +15 -2
  12. package/src/base/typography.css +32 -13
  13. package/src/frosted/button.css +27 -27
  14. package/src/frosted/card.css +8 -8
  15. package/src/frosted/chart.css +6 -6
  16. package/src/frosted/code-block.css +33 -0
  17. package/src/frosted/dropdown.css +9 -9
  18. package/src/frosted/floating-action.css +10 -10
  19. package/src/frosted/floating-navigation.css +13 -13
  20. package/src/frosted/frame.css +17 -0
  21. package/src/frosted/index.css +2 -0
  22. package/src/frosted/input.css +16 -16
  23. package/src/frosted/list.css +25 -25
  24. package/src/frosted/menu.css +13 -13
  25. package/src/frosted/message.css +8 -8
  26. package/src/frosted/range.css +8 -8
  27. package/src/frosted/search-filter.css +8 -8
  28. package/src/frosted/select.css +31 -31
  29. package/src/frosted/status-list.css +17 -17
  30. package/src/frosted/step-indicator.css +8 -8
  31. package/src/frosted/swatch.css +3 -3
  32. package/src/frosted/switch.css +3 -3
  33. package/src/frosted/table.css +16 -16
  34. package/src/frosted/tabs.css +8 -8
  35. package/src/frosted/timeline.css +5 -5
  36. package/src/frosted/toc.css +4 -4
  37. package/src/frosted/toggle.css +7 -7
  38. package/src/frosted/toolbar.css +15 -15
  39. package/src/frosted/tree.css +19 -19
  40. package/src/material/button.css +29 -29
  41. package/src/material/card.css +12 -12
  42. package/src/material/chart.css +6 -6
  43. package/src/material/code-block.css +33 -0
  44. package/src/material/dropdown.css +11 -11
  45. package/src/material/floating-action.css +10 -10
  46. package/src/material/floating-navigation.css +13 -13
  47. package/src/material/frame.css +17 -0
  48. package/src/material/index.css +2 -0
  49. package/src/material/input.css +21 -21
  50. package/src/material/list.css +23 -23
  51. package/src/material/menu.css +16 -16
  52. package/src/material/message.css +8 -8
  53. package/src/material/range.css +8 -8
  54. package/src/material/search-filter.css +8 -8
  55. package/src/material/select.css +31 -31
  56. package/src/material/status-list.css +17 -17
  57. package/src/material/step-indicator.css +8 -8
  58. package/src/material/swatch.css +3 -3
  59. package/src/material/switch.css +6 -6
  60. package/src/material/table.css +16 -16
  61. package/src/material/tabs.css +7 -7
  62. package/src/material/timeline.css +5 -5
  63. package/src/material/toc.css +4 -4
  64. package/src/material/toggle.css +6 -6
  65. package/src/material/toolbar.css +11 -11
  66. package/src/material/tree.css +17 -17
  67. package/src/minimal/button.css +30 -30
  68. package/src/minimal/card.css +13 -13
  69. package/src/minimal/chart.css +6 -6
  70. package/src/minimal/code-block.css +33 -0
  71. package/src/minimal/dropdown.css +11 -11
  72. package/src/minimal/floating-action.css +10 -10
  73. package/src/minimal/floating-navigation.css +12 -12
  74. package/src/minimal/frame.css +17 -0
  75. package/src/minimal/index.css +2 -0
  76. package/src/minimal/input.css +24 -24
  77. package/src/minimal/list.css +52 -26
  78. package/src/minimal/menu.css +15 -15
  79. package/src/minimal/message.css +8 -8
  80. package/src/minimal/range.css +7 -7
  81. package/src/minimal/search-filter.css +8 -8
  82. package/src/minimal/select.css +27 -27
  83. package/src/minimal/status-list.css +17 -17
  84. package/src/minimal/step-indicator.css +8 -8
  85. package/src/minimal/swatch.css +3 -3
  86. package/src/minimal/switch.css +6 -6
  87. package/src/minimal/table.css +16 -16
  88. package/src/minimal/tabs.css +14 -14
  89. package/src/minimal/timeline.css +4 -4
  90. package/src/minimal/toc.css +4 -4
  91. package/src/minimal/toggle.css +7 -7
  92. package/src/minimal/toolbar.css +14 -14
  93. package/src/minimal/tree.css +24 -18
  94. package/src/rokkit/avatar.css +6 -6
  95. package/src/rokkit/badge.css +5 -5
  96. package/src/rokkit/button.css +55 -37
  97. package/src/rokkit/card.css +11 -11
  98. package/src/rokkit/chart.css +6 -6
  99. package/src/rokkit/code-block.css +33 -0
  100. package/src/rokkit/connector.css +1 -1
  101. package/src/rokkit/divider.css +5 -5
  102. package/src/rokkit/dropdown.css +11 -11
  103. package/src/rokkit/floating-action.css +11 -11
  104. package/src/rokkit/floating-navigation.css +15 -15
  105. package/src/rokkit/frame.css +17 -0
  106. package/src/rokkit/grid.css +8 -8
  107. package/src/rokkit/index.css +2 -0
  108. package/src/rokkit/input.css +17 -17
  109. package/src/rokkit/list.css +24 -24
  110. package/src/rokkit/menu.css +14 -14
  111. package/src/rokkit/message.css +12 -12
  112. package/src/rokkit/range.css +10 -10
  113. package/src/rokkit/search-filter.css +8 -8
  114. package/src/rokkit/select.css +34 -34
  115. package/src/rokkit/status-list.css +17 -17
  116. package/src/rokkit/step-indicator.css +8 -8
  117. package/src/rokkit/swatch.css +3 -3
  118. package/src/rokkit/switch.css +6 -6
  119. package/src/rokkit/table.css +16 -16
  120. package/src/rokkit/tabs.css +31 -28
  121. package/src/rokkit/timeline.css +5 -5
  122. package/src/rokkit/toc.css +4 -4
  123. package/src/rokkit/toggle.css +21 -10
  124. package/src/rokkit/toolbar.css +15 -15
  125. package/src/rokkit/tooltip.css +1 -1
  126. package/src/rokkit/tree.css +23 -23
  127. package/src/rokkit/upload-progress.css +18 -18
  128. package/src/rokkit/upload-target.css +8 -8
  129. package/src/zen-sumi/button.css +29 -29
  130. package/src/zen-sumi/card.css +12 -12
  131. package/src/zen-sumi/chart.css +6 -6
  132. package/src/zen-sumi/code-block.css +35 -0
  133. package/src/zen-sumi/dropdown.css +10 -10
  134. package/src/zen-sumi/floating-action.css +7 -7
  135. package/src/zen-sumi/floating-navigation.css +11 -11
  136. package/src/zen-sumi/frame.css +20 -0
  137. package/src/zen-sumi/index.css +2 -0
  138. package/src/zen-sumi/input.css +49 -23
  139. package/src/zen-sumi/list.css +20 -20
  140. package/src/zen-sumi/menu.css +14 -14
  141. package/src/zen-sumi/message.css +8 -8
  142. package/src/zen-sumi/range.css +7 -7
  143. package/src/zen-sumi/search-filter.css +8 -8
  144. package/src/zen-sumi/select.css +26 -26
  145. package/src/zen-sumi/status-list.css +17 -17
  146. package/src/zen-sumi/step-indicator.css +8 -8
  147. package/src/zen-sumi/swatch.css +3 -3
  148. package/src/zen-sumi/switch.css +5 -5
  149. package/src/zen-sumi/table.css +16 -16
  150. package/src/zen-sumi/tabs.css +8 -8
  151. package/src/zen-sumi/timeline.css +4 -4
  152. package/src/zen-sumi/toc.css +4 -4
  153. package/src/zen-sumi/toggle.css +18 -10
  154. package/src/zen-sumi/toolbar.css +14 -14
  155. package/src/zen-sumi/tree.css +16 -16
@@ -4,25 +4,25 @@
4
4
 
5
5
  [data-style='rokkit'] [data-chart-axis-line],
6
6
  [data-style='rokkit'] [data-chart-tick] line {
7
- @apply stroke-surface-z4;
7
+ @apply stroke-paper-edge;
8
8
  }
9
9
 
10
10
  [data-style='rokkit'] [data-chart-tick-label] {
11
- @apply fill-surface-z6;
11
+ @apply fill-ink-soft;
12
12
  }
13
13
 
14
14
  [data-style='rokkit'] [data-chart-grid-line] {
15
- @apply stroke-surface-z3;
15
+ @apply stroke-paper-mute;
16
16
  stroke-dasharray: 4 4;
17
17
  stroke-opacity: 0.5;
18
18
  }
19
19
 
20
20
  [data-style='rokkit'] [data-chart-legend-label] {
21
- @apply fill-surface-z6;
21
+ @apply fill-ink-soft;
22
22
  }
23
23
 
24
24
  [data-style='rokkit'] [data-chart-legend-item]:hover {
25
- @apply text-surface-z9;
25
+ @apply text-ink;
26
26
  }
27
27
 
28
28
  [data-style='rokkit'] [data-plot-element='bar'][data-dimmed],
@@ -34,5 +34,5 @@
34
34
  }
35
35
 
36
36
  [data-style='rokkit'] [data-facet-title] {
37
- @apply text-surface-z6;
37
+ @apply text-ink-soft;
38
38
  }
@@ -0,0 +1,33 @@
1
+ /**
2
+ * CodeBlock — rokkit 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='rokkit'] [data-code-block-icon] {
8
+ @apply text-ink-soft;
9
+ }
10
+
11
+ [data-style='rokkit'] [data-code-block-filename] {
12
+ font: 500 11.5px var(--font-mono);
13
+ @apply text-ink-mute;
14
+ }
15
+
16
+ [data-style='rokkit'] [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='rokkit'] [data-code-block-actions] button {
22
+ font: 500 11px var(--font-mono);
23
+ @apply text-ink-soft;
24
+ }
25
+
26
+ [data-style='rokkit'] [data-code-block-actions] button:hover {
27
+ @apply bg-paper-mute text-ink;
28
+ }
29
+
30
+ [data-style='rokkit'] [data-code-block-body] pre {
31
+ font: 400 12px/1.65 var(--font-mono);
32
+ @apply text-ink;
33
+ }
@@ -7,5 +7,5 @@
7
7
  [data-style='rokkit'] [data-connector] [data-connector-v],
8
8
  [data-style='rokkit'] [data-connector] [data-connector-h],
9
9
  [data-style='rokkit'] [data-connector] [data-connector-corner] {
10
- @apply border-surface-z3;
10
+ @apply border-paper-mute;
11
11
  }
@@ -4,23 +4,23 @@
4
4
 
5
5
  [data-style='rokkit'] [data-divider][data-orientation='horizontal']::before,
6
6
  [data-style='rokkit'] [data-divider][data-orientation='horizontal']::after {
7
- @apply bg-surface-z4;
7
+ @apply bg-paper-edge;
8
8
  }
9
9
 
10
10
  [data-style='rokkit'] [data-divider][data-orientation='vertical']::before,
11
11
  [data-style='rokkit'] [data-divider][data-orientation='vertical']::after {
12
- @apply bg-surface-z4;
12
+ @apply bg-paper-edge;
13
13
  }
14
14
 
15
15
  /* No-label horizontal divider — color the element itself */
16
16
  [data-style='rokkit'] [data-divider][data-orientation='horizontal']:not(:has([data-divider-label])) {
17
- @apply bg-surface-z4;
17
+ @apply bg-paper-edge;
18
18
  }
19
19
 
20
20
  [data-style='rokkit'] [data-divider][data-orientation='vertical']:not(:has([data-divider-label])) {
21
- @apply bg-surface-z4;
21
+ @apply bg-paper-edge;
22
22
  }
23
23
 
24
24
  [data-style='rokkit'] [data-divider-label] {
25
- @apply text-surface-z6;
25
+ @apply text-ink-soft;
26
26
  }
@@ -9,11 +9,11 @@
9
9
  ============================================================================= */
10
10
 
11
11
  [data-style='rokkit'] [data-dropdown-trigger] {
12
- @apply from-surface-z3 to-surface-z2 border-surface-z4 text-surface-z8 border bg-gradient-to-b;
12
+ @apply from-paper-mute to-paper-mute border-paper-edge text-ink-mute border bg-gradient-to-b;
13
13
  }
14
14
 
15
15
  [data-style='rokkit'] [data-dropdown-trigger]:hover:not(:disabled) {
16
- @apply from-surface-z4 to-surface-z3 text-surface-z10 border-surface-z5 bg-gradient-to-b;
16
+ @apply from-paper-edge to-paper-mute text-ink border-ink-soft bg-gradient-to-b;
17
17
  }
18
18
 
19
19
  [data-style='rokkit'] [data-dropdown-trigger]:focus-visible {
@@ -21,19 +21,19 @@
21
21
  }
22
22
 
23
23
  [data-style='rokkit'] [data-dropdown][data-open='true'] [data-dropdown-trigger] {
24
- @apply from-primary-z5 to-secondary-z5 border-primary-z5 bg-gradient-to-r;
24
+ @apply from-primary to-accent border-primary bg-gradient-to-r;
25
25
  }
26
26
 
27
27
  [data-style='rokkit'] [data-dropdown-trigger] [data-dropdown-icon] {
28
- @apply text-surface-z5;
28
+ @apply text-ink-soft;
29
29
  }
30
30
 
31
31
  [data-style='rokkit'] [data-dropdown-trigger]:hover:not(:disabled) [data-dropdown-icon] {
32
- @apply text-surface-z7;
32
+ @apply text-ink-mute;
33
33
  }
34
34
 
35
35
  [data-style='rokkit'] [data-dropdown-trigger] [data-dropdown-arrow] {
36
- @apply text-surface-z5;
36
+ @apply text-ink-soft;
37
37
  }
38
38
 
39
39
  /* =============================================================================
@@ -41,7 +41,7 @@
41
41
  ============================================================================= */
42
42
 
43
43
  [data-style='rokkit'] [data-dropdown-panel] {
44
- @apply from-surface-z2 to-surface-z1 border-surface-z4 border bg-gradient-to-b shadow-md;
44
+ @apply from-paper-mute to-paper-soft border-paper-edge border bg-gradient-to-b shadow-md;
45
45
  }
46
46
 
47
47
  /* =============================================================================
@@ -49,16 +49,16 @@
49
49
  ============================================================================= */
50
50
 
51
51
  [data-style='rokkit'] [data-dropdown-option] {
52
- @apply text-surface-z8;
52
+ @apply text-ink-mute;
53
53
  }
54
54
 
55
55
  [data-style='rokkit'] [data-dropdown-option]:hover:not(:disabled),
56
56
  [data-style='rokkit'] [data-dropdown-option]:focus:not(:disabled) {
57
- @apply from-surface-z3 to-surface-z2 text-surface-z10 bg-gradient-to-r outline-none;
57
+ @apply from-paper-mute to-paper-mute text-ink bg-gradient-to-r outline-none;
58
58
  }
59
59
 
60
60
  [data-style='rokkit'] [data-dropdown-option][data-active='true'] {
61
- @apply from-primary-z5 to-secondary-z5 text-primary-z9 bg-gradient-to-r;
61
+ @apply from-primary to-accent text-primary bg-gradient-to-r;
62
62
  }
63
63
 
64
64
  /* =============================================================================
@@ -66,5 +66,5 @@
66
66
  ============================================================================= */
67
67
 
68
68
  [data-style='rokkit'] [data-dropdown-separator] {
69
- @apply via-surface-z4 bg-gradient-to-r from-transparent to-transparent;
69
+ @apply via-paper-edge bg-gradient-to-r from-transparent to-transparent;
70
70
  }
@@ -9,25 +9,25 @@
9
9
  ============================================================================= */
10
10
 
11
11
  [data-style='rokkit'] [data-fab-trigger] {
12
- @apply from-primary-z5 to-secondary-z5 ring-primary-z6 bg-gradient-to-r text-on-primary shadow-lg ring-1;
12
+ @apply from-primary to-accent ring-primary bg-gradient-to-r text-on-primary shadow-lg ring-1;
13
13
  }
14
14
 
15
15
  [data-style='rokkit'] [data-fab-trigger]:hover:not(:disabled) {
16
- @apply from-primary-z4 to-primary-z5 ring-primary-z5 bg-gradient-to-b shadow-xl ring-1;
16
+ @apply from-primary to-primary ring-primary bg-gradient-to-b shadow-xl ring-1;
17
17
  transform: scale(1.05);
18
18
  }
19
19
 
20
20
  [data-style='rokkit'] [data-fab-trigger]:focus-visible {
21
- @apply ring-primary-z4 shadow-lg ring-3 outline-none;
21
+ @apply ring-primary shadow-lg ring-3 outline-none;
22
22
  }
23
23
 
24
24
  [data-style='rokkit'] [data-fab][data-open='true'] [data-fab-trigger] {
25
- @apply from-surface-z4 to-surface-z3 text-surface-z10 ring-surface-z5 bg-gradient-to-b shadow-lg ring-1;
25
+ @apply from-paper-edge to-paper-mute text-ink ring-ink-soft bg-gradient-to-b shadow-lg ring-1;
26
26
  transform: rotate(45deg);
27
27
  }
28
28
 
29
29
  [data-style='rokkit'] [data-fab][data-open='true'] [data-fab-trigger]:hover:not(:disabled) {
30
- @apply from-surface-z5 to-surface-z4 bg-gradient-to-b;
30
+ @apply from-ink-soft to-paper-edge bg-gradient-to-b;
31
31
  transform: rotate(45deg) scale(1.05);
32
32
  }
33
33
 
@@ -36,24 +36,24 @@
36
36
  ============================================================================= */
37
37
 
38
38
  [data-style='rokkit'] [data-fab-item] {
39
- @apply from-surface-z1 to-surface-z0 text-surface-z8 ring-surface-z2 bg-gradient-to-b shadow-md ring-1;
39
+ @apply from-paper-soft to-paper text-ink-mute ring-paper-mute bg-gradient-to-b shadow-md ring-1;
40
40
  }
41
41
 
42
42
  [data-style='rokkit'] [data-fab-item]:hover:not(:disabled) {
43
- @apply from-surface-z2 to-surface-z1 text-surface-z10 ring-surface-z3 bg-gradient-to-b shadow-lg ring-1;
43
+ @apply from-paper-mute to-paper-soft text-ink ring-paper-mute bg-gradient-to-b shadow-lg ring-1;
44
44
  }
45
45
 
46
46
  [data-style='rokkit'] [data-fab-item]:focus-visible {
47
- @apply ring-primary-z4 shadow-md ring-2 outline-none;
47
+ @apply ring-primary shadow-md ring-2 outline-none;
48
48
  }
49
49
 
50
50
  /* Item icon */
51
51
  [data-style='rokkit'] [data-fab-item] [data-fab-item-icon] {
52
- @apply text-primary-z6;
52
+ @apply text-primary;
53
53
  }
54
54
 
55
55
  [data-style='rokkit'] [data-fab-item]:hover:not(:disabled) [data-fab-item-icon] {
56
- @apply text-primary-z7;
56
+ @apply text-primary;
57
57
  }
58
58
 
59
59
  /* =============================================================================
@@ -61,5 +61,5 @@
61
61
  ============================================================================= */
62
62
 
63
63
  [data-style='rokkit'] [data-fab-backdrop] {
64
- @apply bg-surface-z10/40;
64
+ @apply bg-ink/40;
65
65
  }
@@ -9,7 +9,7 @@
9
9
  ============================================================================= */
10
10
 
11
11
  [data-style='rokkit'] [data-floating-nav] {
12
- @apply from-surface-z1 to-surface-z0 ring-surface-z3 bg-gradient-to-b shadow-xl ring-1;
12
+ @apply from-paper-soft to-paper ring-paper-mute bg-gradient-to-b shadow-xl ring-1;
13
13
  }
14
14
 
15
15
  /* =============================================================================
@@ -17,19 +17,19 @@
17
17
  ============================================================================= */
18
18
 
19
19
  [data-style='rokkit'] [data-floating-nav-title] {
20
- @apply text-surface-z6;
20
+ @apply text-ink-soft;
21
21
  }
22
22
 
23
23
  [data-style='rokkit'] [data-floating-nav-pin] {
24
- @apply text-surface-z6;
24
+ @apply text-ink-soft;
25
25
  }
26
26
 
27
27
  [data-style='rokkit'] [data-floating-nav-pin]:hover {
28
- @apply text-primary-z6;
28
+ @apply text-primary;
29
29
  }
30
30
 
31
31
  [data-style='rokkit'] [data-floating-nav-pin][aria-pressed='true'] {
32
- @apply text-primary-z7;
32
+ @apply text-primary;
33
33
  }
34
34
 
35
35
  /* =============================================================================
@@ -37,41 +37,41 @@
37
37
  ============================================================================= */
38
38
 
39
39
  [data-style='rokkit'] [data-floating-nav-item] {
40
- @apply text-surface-z7;
40
+ @apply text-ink-mute;
41
41
  }
42
42
 
43
43
  [data-style='rokkit'] [data-floating-nav-item]:hover {
44
- @apply from-surface-z2 to-surface-z1 text-surface-z10 bg-gradient-to-b;
44
+ @apply from-paper-mute to-paper-soft text-ink bg-gradient-to-b;
45
45
  }
46
46
 
47
47
  [data-style='rokkit'] [data-floating-nav-item][data-active] {
48
- @apply from-primary-z5/10 to-primary-z5/5 text-primary-z7 bg-gradient-to-b;
48
+ @apply from-primary/10 to-primary/5 text-primary bg-gradient-to-b;
49
49
  }
50
50
 
51
51
  [data-style='rokkit'] [data-floating-nav-item]:focus-visible {
52
- @apply ring-primary-z4 ring-2 outline-none;
52
+ @apply ring-primary ring-2 outline-none;
53
53
  }
54
54
 
55
55
  /* Icon */
56
56
  [data-style='rokkit'] [data-floating-nav-icon] {
57
- @apply text-surface-z6;
57
+ @apply text-ink-soft;
58
58
  }
59
59
 
60
60
  [data-style='rokkit'] [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='rokkit'] [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
  /* Label */
69
69
  [data-style='rokkit'] [data-floating-nav-label] {
70
- @apply text-surface-z7;
70
+ @apply text-ink-mute;
71
71
  }
72
72
 
73
73
  [data-style='rokkit'] [data-floating-nav-item][data-active] [data-floating-nav-label] {
74
- @apply text-primary-z7 font-medium;
74
+ @apply text-primary font-medium;
75
75
  }
76
76
 
77
77
  /* =============================================================================
@@ -79,5 +79,5 @@
79
79
  ============================================================================= */
80
80
 
81
81
  [data-style='rokkit'] [data-floating-nav-indicator] {
82
- @apply from-primary-z5 to-primary-z6 bg-gradient-to-b shadow-sm;
82
+ @apply from-primary to-primary bg-gradient-to-b shadow-sm;
83
83
  }
@@ -0,0 +1,17 @@
1
+ /**
2
+ * Frame — rokkit theme.
3
+ * Border + background decoration. Base file owns layout / spacing.
4
+ */
5
+
6
+ [data-style='rokkit'] [data-frame] {
7
+ @apply bg-paper border-paper-edge border;
8
+ }
9
+
10
+ [data-style='rokkit'] [data-frame-header] {
11
+ @apply bg-paper-soft border-paper-edge border-b;
12
+ }
13
+
14
+ [data-style='rokkit'] [data-frame-footer] {
15
+ @apply bg-paper border-paper-edge;
16
+ border-top: 1px dashed var(--paper-edge);
17
+ }
@@ -9,24 +9,24 @@
9
9
  ============================================================================= */
10
10
 
11
11
  [data-style='rokkit'] [data-grid] [data-grid-item] {
12
- @apply border-surface-z3 text-surface-z7;
12
+ @apply border-paper-mute text-ink-mute;
13
13
  }
14
14
 
15
15
  [data-style='rokkit'] [data-grid] [data-grid-item]:hover:not(:disabled):not([data-disabled]) {
16
- @apply border-surface-z5 bg-surface-z2 text-surface-z9;
16
+ @apply border-ink-soft bg-paper-mute text-ink;
17
17
  }
18
18
 
19
19
  [data-style='rokkit'] [data-grid] [data-grid-item]:focus:not(:disabled):not([data-disabled]) {
20
- @apply border-primary-z5 bg-surface-z2 text-surface-z9 outline-none;
20
+ @apply border-primary bg-paper-mute text-ink outline-none;
21
21
  }
22
22
 
23
23
  /* Active / selected tile */
24
24
  [data-style='rokkit'] [data-grid] [data-grid-item][data-active] {
25
- @apply border-primary-z5 bg-primary-z2 text-primary-z9;
25
+ @apply border-primary bg-primary text-primary;
26
26
  }
27
27
 
28
28
  [data-style='rokkit'] [data-grid] [data-grid-item][data-active]:hover:not(:disabled) {
29
- @apply bg-primary-z3;
29
+ @apply bg-primary;
30
30
  }
31
31
 
32
32
  /* =============================================================================
@@ -34,13 +34,13 @@
34
34
  ============================================================================= */
35
35
 
36
36
  [data-style='rokkit'] [data-grid] [data-grid-item] [data-item-icon] {
37
- @apply text-surface-z5;
37
+ @apply text-ink-soft;
38
38
  }
39
39
 
40
40
  [data-style='rokkit'] [data-grid] [data-grid-item]:hover:not(:disabled) [data-item-icon] {
41
- @apply text-surface-z7;
41
+ @apply text-ink-mute;
42
42
  }
43
43
 
44
44
  [data-style='rokkit'] [data-grid] [data-grid-item][data-active] [data-item-icon] {
45
- @apply text-primary-z6;
45
+ @apply text-primary;
46
46
  }
@@ -28,6 +28,8 @@
28
28
  @import './upload-progress.css';
29
29
  @import './toc.css';
30
30
  @import './card.css';
31
+ @import './frame.css';
32
+ @import './code-block.css';
31
33
  @import './message.css';
32
34
  @import './status-list.css';
33
35
  @import './step-indicator.css';
@@ -2,40 +2,40 @@
2
2
 
3
3
  /* Field root: text color, spacing, rounded */
4
4
  [data-style='rokkit'] [data-field-root] {
5
- @apply text-surface-z9 gap-1 rounded-md transition-all;
5
+ @apply text-ink gap-1 rounded-md transition-all;
6
6
  }
7
7
 
8
8
  /* Disabled state */
9
9
  [data-style='rokkit'] [data-field-root][data-field-disabled] [data-input-root] {
10
- @apply bg-surface-z3 text-surface-z6 cursor-not-allowed;
10
+ @apply bg-paper-mute text-ink-soft cursor-not-allowed;
11
11
  }
12
12
 
13
13
  /* Labels */
14
14
  [data-style='rokkit'] [data-field] > label {
15
- @apply text-surface-z7;
15
+ @apply text-ink-mute;
16
16
  }
17
17
 
18
18
  [data-style='rokkit'] [data-form-root] label {
19
- @apply text-surface-z7;
19
+ @apply text-ink-mute;
20
20
  }
21
21
 
22
22
  /* Info field value */
23
23
  [data-style='rokkit'] [data-field-info] {
24
- @apply text-primary-z6 font-medium;
24
+ @apply text-primary font-medium;
25
25
  }
26
26
 
27
27
  /* Separator */
28
28
  [data-style='rokkit'] [data-form-separator] {
29
- @apply border-surface-z2;
29
+ @apply border-paper-mute;
30
30
  }
31
31
 
32
32
  /* Input root: gradient border wrapper */
33
33
  [data-style='rokkit'] [data-input-root] {
34
- @apply bg-surface-z4 flex items-center rounded-md p-px transition-all;
34
+ @apply bg-paper-edge flex items-center rounded-md p-px transition-all;
35
35
  }
36
36
 
37
37
  [data-style='rokkit'] [data-input-root]:focus-within {
38
- @apply from-primary-z5 to-secondary-z5 border-transparent bg-gradient-to-r;
38
+ @apply from-primary to-accent border-transparent bg-gradient-to-r;
39
39
  }
40
40
 
41
41
  /* Standard inputs inside wrapper */
@@ -43,19 +43,19 @@
43
43
  [data-input-root]
44
44
  input:not([type='checkbox'], [type='radio'], [type='color']),
45
45
  [data-style='rokkit'] [data-input-root] select {
46
- @apply bg-surface-z2 text-surface-z8 rounded-md border-none px-3 focus:outline-none;
46
+ @apply bg-paper-mute text-ink-mute rounded-md border-none px-3 focus:outline-none;
47
47
  font-size: 0.875rem;
48
48
  height: 2.25rem;
49
49
  }
50
50
 
51
51
  [data-style='rokkit'] [data-input-root] textarea {
52
- @apply bg-surface-z2 text-surface-z8 rounded-md border-none px-3 py-2 focus:outline-none;
52
+ @apply bg-paper-mute text-ink-mute rounded-md border-none px-3 py-2 focus:outline-none;
53
53
  font-size: 0.875rem;
54
54
  }
55
55
 
56
56
  /* Select inside input-root: remove trigger styles since input-root provides the border */
57
57
  [data-style='rokkit'] [data-input-root] [data-select-trigger] {
58
- @apply bg-surface-z2 text-surface-z8 rounded-md border-none shadow-none ring-0 focus:outline-none;
58
+ @apply bg-paper-mute text-ink-mute rounded-md border-none shadow-none ring-0 focus:outline-none;
59
59
  background-image: none;
60
60
  }
61
61
 
@@ -66,7 +66,7 @@
66
66
 
67
67
  [data-style='rokkit'] [data-input-root] input::placeholder,
68
68
  [data-style='rokkit'] [data-input-root] textarea::placeholder {
69
- @apply text-surface-z5;
69
+ @apply text-ink-soft;
70
70
  }
71
71
 
72
72
  /* Checkbox field */
@@ -76,17 +76,17 @@
76
76
 
77
77
  /* Checkbox icon: theme-colored */
78
78
  [data-style='rokkit'] [data-checkbox-icon] {
79
- @apply text-surface-z5 cursor-pointer rounded text-lg transition-colors;
79
+ @apply text-ink-soft cursor-pointer rounded text-lg transition-colors;
80
80
  }
81
81
 
82
82
  [data-style='rokkit'] [data-checkbox-icon]:focus-visible {
83
- @apply outline-primary-z4 outline-2 outline-offset-2;
83
+ @apply outline-primary outline-2 outline-offset-2;
84
84
  }
85
85
 
86
86
  [data-style='rokkit']
87
87
  [data-checkbox-root][data-variant='custom']:has(input:checked)
88
88
  [data-checkbox-icon] {
89
- @apply text-primary-z6;
89
+ @apply text-primary;
90
90
  }
91
91
 
92
92
  [data-style='rokkit'] [data-field] textarea {
@@ -99,13 +99,13 @@
99
99
  }
100
100
 
101
101
  [data-style='rokkit'] [data-field-type='color'] input[type='color'] {
102
- @apply bg-surface-z2 flex min-h-11 flex-1 rounded-md focus:outline-none;
102
+ @apply bg-paper-mute flex min-h-11 flex-1 rounded-md focus:outline-none;
103
103
  }
104
104
 
105
105
  /* Description and message */
106
106
  [data-style='rokkit'] [data-description],
107
107
  [data-style='rokkit'] [data-message] {
108
- @apply text-surface-z6;
108
+ @apply text-ink-soft;
109
109
  }
110
110
 
111
111
  [data-style='rokkit'] [data-message] {