@rokkit/themes 1.2.0 → 1.3.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 (46) hide show
  1. package/build.mjs +1 -2
  2. package/dist/base.css +0 -246
  3. package/dist/index.css +42 -288
  4. package/dist/rokkit/avatar.css +1 -1
  5. package/dist/rokkit.css +1 -1
  6. package/dist/zen-sumi/button.css +3 -3
  7. package/dist/zen-sumi/card.css +2 -2
  8. package/dist/zen-sumi/chart.css +2 -2
  9. package/dist/zen-sumi/dropdown.css +2 -2
  10. package/dist/zen-sumi/floating-action.css +4 -4
  11. package/dist/zen-sumi/floating-navigation.css +3 -3
  12. package/dist/zen-sumi/input.css +5 -5
  13. package/dist/zen-sumi/menu.css +2 -2
  14. package/dist/zen-sumi/range.css +2 -2
  15. package/dist/zen-sumi/select.css +3 -3
  16. package/dist/zen-sumi/swatch.css +1 -1
  17. package/dist/zen-sumi/switch.css +2 -2
  18. package/dist/zen-sumi/table.css +2 -2
  19. package/dist/zen-sumi/tabs.css +1 -1
  20. package/dist/zen-sumi/timeline.css +1 -1
  21. package/dist/zen-sumi/toggle.css +1 -1
  22. package/dist/zen-sumi/toolbar.css +2 -2
  23. package/dist/zen-sumi/tree.css +1 -1
  24. package/dist/zen-sumi.css +41 -41
  25. package/package.json +3 -3
  26. package/src/index.js +0 -1
  27. package/src/rokkit/avatar.css +1 -1
  28. package/src/zen-sumi/button.css +3 -3
  29. package/src/zen-sumi/card.css +2 -2
  30. package/src/zen-sumi/chart.css +2 -2
  31. package/src/zen-sumi/dropdown.css +2 -2
  32. package/src/zen-sumi/floating-action.css +4 -4
  33. package/src/zen-sumi/floating-navigation.css +3 -3
  34. package/src/zen-sumi/index.css +2 -2
  35. package/src/zen-sumi/input.css +5 -5
  36. package/src/zen-sumi/menu.css +2 -2
  37. package/src/zen-sumi/range.css +2 -2
  38. package/src/zen-sumi/select.css +3 -3
  39. package/src/zen-sumi/swatch.css +1 -1
  40. package/src/zen-sumi/switch.css +2 -2
  41. package/src/zen-sumi/table.css +2 -2
  42. package/src/zen-sumi/tabs.css +1 -1
  43. package/src/zen-sumi/timeline.css +1 -1
  44. package/src/zen-sumi/toggle.css +1 -1
  45. package/src/zen-sumi/toolbar.css +2 -2
  46. package/src/zen-sumi/tree.css +1 -1
@@ -2,7 +2,7 @@
2
2
  * FloatingAction - Zen-Sumi Theme Styles
3
3
  *
4
4
  * Paper bg with hairline border. No shadow.
5
- * Hover: surface-z2 wash. No glow rings.
5
+ * Hover: paper-mute wash. No glow rings.
6
6
  */
7
7
 
8
8
  /* =============================================================================
@@ -20,7 +20,7 @@
20
20
 
21
21
  [data-style='zen-sumi'] [data-fab-trigger]:focus-visible {
22
22
  outline:2px solid transparent;outline-offset:2px;
23
- box-shadow: 0 0 0 1px var(--color-surface-z5);
23
+ box-shadow: 0 0 0 1px var(--ink-soft);
24
24
  }
25
25
 
26
26
  [data-style='zen-sumi'] [data-fab][data-open='true'] [data-fab-trigger] {
@@ -47,7 +47,7 @@
47
47
 
48
48
  [data-style='zen-sumi'] [data-fab-item]:focus-visible {
49
49
  outline:2px solid transparent;outline-offset:2px;
50
- box-shadow: 0 0 0 1px var(--color-surface-z5);
50
+ box-shadow: 0 0 0 1px var(--ink-soft);
51
51
  }
52
52
 
53
53
  /* Item icon */
@@ -64,5 +64,5 @@
64
64
  ============================================================================= */
65
65
 
66
66
  [data-style='zen-sumi'] [data-fab-backdrop] {
67
- background: color-mix(in oklch, var(--color-surface-z9) 15%, transparent);
67
+ background: color-mix(in oklch, var(--ink) 15%, transparent);
68
68
  }
@@ -2,8 +2,8 @@
2
2
  * FloatingNavigation - Zen-Sumi Theme Styles
3
3
  *
4
4
  * Paper bg, hairline border, no shadow.
5
- * Items: text-only default, surface-z2 wash on hover.
6
- * Active: ink text + surface-z1 bg + primary indicator.
5
+ * Items: text-only default, paper-mute wash on hover.
6
+ * Active: ink text + paper-soft bg + primary indicator.
7
7
  */
8
8
 
9
9
  /* =============================================================================
@@ -53,7 +53,7 @@
53
53
 
54
54
  [data-style='zen-sumi'] [data-floating-nav-item]:focus-visible {
55
55
  outline:2px solid transparent;outline-offset:2px;
56
- box-shadow: inset 0 0 0 1px var(--color-surface-z4);
56
+ box-shadow: inset 0 0 0 1px var(--paper-edge);
57
57
  }
58
58
 
59
59
  /* Icon */
@@ -12,8 +12,8 @@
12
12
  data-mode in dev mode. */
13
13
  [data-style='zen-sumi'] [data-input-root] {
14
14
  position:relative;display:flex;align-items:center;border-width:1px;
15
- background: var(--color-surface-z1);
16
- border-color: var(--color-surface-z3);
15
+ background: var(--paper-soft);
16
+ border-color: var(--paper-mute);
17
17
  background-image: none;
18
18
  transition: border-color 150ms ease;
19
19
  }
@@ -39,13 +39,13 @@
39
39
 
40
40
  /* Hover: border darkens slightly */
41
41
  [data-style='zen-sumi'] [data-input-root]:hover:not(:focus-within) {
42
- border-color: var(--color-surface-z4);
42
+ border-color: var(--paper-edge);
43
43
  background-image: none;
44
44
  }
45
45
 
46
46
  /* Focus: border darkens — no glow */
47
47
  [data-style='zen-sumi'] [data-input-root]:focus-within {
48
- border-color: var(--color-surface-z6);
48
+ border-color: var(--ink-soft);
49
49
  background-image: none;
50
50
  }
51
51
 
@@ -56,7 +56,7 @@
56
56
  [data-style='zen-sumi'] [data-input-root] textarea,
57
57
  [data-style='zen-sumi'] [data-input-root] select {
58
58
  width:100%;border-style:none;background-color:transparent;padding-left:0.5rem;padding-right:0.5rem;padding-top:0.375rem;padding-bottom:0.375rem;outline:2px solid transparent;outline-offset:2px;
59
- color: var(--color-ink-z1);
59
+ color: var(--ink-mute);
60
60
  font-size: 0.8125rem;
61
61
  line-height: 1.25rem;
62
62
  }
@@ -2,7 +2,7 @@
2
2
  * Menu - Zen-Sumi Theme Styles
3
3
  *
4
4
  * Hairline trigger. Dropdown: paper bg, hairline border, no shadow.
5
- * Items: transparent default, surface-z2 hover.
5
+ * Items: transparent default, paper-mute hover.
6
6
  */
7
7
 
8
8
  /* =============================================================================
@@ -19,7 +19,7 @@
19
19
 
20
20
  [data-style='zen-sumi'] [data-menu-trigger]:focus-visible {
21
21
  outline:2px solid transparent;outline-offset:2px;
22
- box-shadow: 0 0 0 1px var(--color-surface-z5);
22
+ box-shadow: 0 0 0 1px var(--ink-soft);
23
23
  }
24
24
 
25
25
  [data-style='zen-sumi'] [data-menu][data-open='true'] [data-menu-trigger] {
@@ -1,8 +1,8 @@
1
1
  /**
2
2
  * Range - Zen-Sumi Theme Styles
3
3
  *
4
- * Surface-z3 track. Primary (shu) fill for selected range.
5
- * Paper-z0 thumb with primary border.
4
+ * Paper-mute track. Primary (shu) fill for selected range.
5
+ * Paper thumb with primary border.
6
6
  */
7
7
 
8
8
  /* =============================================================================
@@ -1,8 +1,8 @@
1
1
  /**
2
2
  * Select - Zen-Sumi Theme Styles
3
3
  *
4
- * Hairline border trigger. Dropdown: paper-z1 bg, no shadow.
5
- * Options: transparent default, surface-z2 hover, primary accent on selected.
4
+ * Hairline border trigger. Dropdown: paper-soft bg, no shadow.
5
+ * Options: transparent default, paper-mute hover, primary accent on selected.
6
6
  * Focus: border darkens — no ring glow.
7
7
  */
8
8
 
@@ -20,7 +20,7 @@
20
20
 
21
21
  [data-style='zen-sumi'] [data-select-trigger]:focus-visible {
22
22
  outline:2px solid transparent;outline-offset:2px;
23
- box-shadow: 0 0 0 1px var(--color-surface-z5);
23
+ box-shadow: 0 0 0 1px var(--ink-soft);
24
24
  }
25
25
 
26
26
  [data-style='zen-sumi'] [data-select][data-open='true'] [data-select-trigger] {
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Swatch — Zen-Sumi Theme
3
- * Selected: primary (shu) outline. Hover/focus: surface-z5 outline.
3
+ * Selected: primary (shu) outline. Hover/focus: ink-soft outline.
4
4
  */
5
5
 
6
6
  [data-style='zen-sumi'] [data-swatch-item][data-selected] {
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * Switch - Zen-Sumi Theme Styles
3
3
  *
4
- * Flat pill. Off: surface-z3 track. On: primary-z5 (shu vermillion) track.
4
+ * Flat pill. Off: paper-mute track. On: primary (shu vermillion) track.
5
5
  * Thumb: paper white. No shadows.
6
6
  */
7
7
 
@@ -16,7 +16,7 @@
16
16
  }
17
17
 
18
18
  [data-style='zen-sumi'] [data-switch]:focus-visible [data-switch-track] {
19
- box-shadow: 0 0 0 2px var(--color-surface-z5);
19
+ box-shadow: 0 0 0 2px var(--ink-soft);
20
20
  }
21
21
 
22
22
  /* On state — shu vermillion */
@@ -2,7 +2,7 @@
2
2
  * Table - Zen-Sumi Theme Styles
3
3
  *
4
4
  * Clean, flat rows. Header: uppercase small text, hairline bottom border.
5
- * No shadow on header. Row hover: surface-z1 wash. No bg on selected — left border only.
5
+ * No shadow on header. Row hover: paper-soft wash. No bg on selected — left border only.
6
6
  */
7
7
 
8
8
  /* =============================================================================
@@ -61,7 +61,7 @@
61
61
 
62
62
  [data-style='zen-sumi'] [data-table-row]:focus {
63
63
  background-image:none;outline:2px solid transparent;outline-offset:2px;color:var(--ink-mute);
64
- box-shadow: inset 0 0 0 1px var(--color-surface-z4);
64
+ box-shadow: inset 0 0 0 1px var(--paper-edge);
65
65
  }
66
66
 
67
67
  [data-style='zen-sumi'] [data-table-row][data-selected='true'] {
@@ -3,7 +3,7 @@
3
3
  *
4
4
  * Pill-style tabs with filled active state (ink background, paper text).
5
5
  * No underlines — depth through background fill only.
6
- * Inactive: transparent. Hover: surface-z2 wash. Active: surface-z9 fill.
6
+ * Inactive: transparent. Hover: paper-mute wash. Active: ink fill.
7
7
  */
8
8
 
9
9
  /* =============================================================================
@@ -2,7 +2,7 @@
2
2
  * Timeline - Zen-Sumi Theme Styles
3
3
  *
4
4
  * Restrained timeline. Completed/active: primary (shu) accent.
5
- * Connectors: surface-z2 default, primary when completed.
5
+ * Connectors: paper-mute default, primary when completed.
6
6
  */
7
7
 
8
8
  /* =============================================================================
@@ -2,7 +2,7 @@
2
2
  * Toggle - Zen-Sumi Theme Styles
3
3
  *
4
4
  * Pill container with primary-coloured active fill (shu vermillion).
5
- * Inactive: transparent. Hover: surface-z2. Selected: primary fill on
5
+ * Inactive: transparent. Hover: paper-mute. Selected: primary fill on
6
6
  * paper text — colourful enough that the active option is unambiguous
7
7
  * at a glance, even in the small canvas-view-toggle (Live · Code · API).
8
8
  */
@@ -2,7 +2,7 @@
2
2
  * Toolbar - Zen-Sumi Theme Styles
3
3
  *
4
4
  * Transparent base with hairline border by position.
5
- * Items: surface-z6surface-z9 on hover. Active: primary-z5.
5
+ * Items: ink-softink on hover. Active: primary.
6
6
  */
7
7
 
8
8
  /* =============================================================================
@@ -45,7 +45,7 @@
45
45
  [data-style='zen-sumi']
46
46
  [data-toolbar-item]:focus-visible:not(:disabled):not([data-disabled='true']) {
47
47
  background-image:none;outline:2px solid transparent;outline-offset:2px;color:var(--ink-mute);
48
- box-shadow: inset 0 0 0 1px var(--color-surface-z4);
48
+ box-shadow: inset 0 0 0 1px var(--paper-edge);
49
49
  }
50
50
 
51
51
  /* Active/pressed state */
@@ -52,7 +52,7 @@
52
52
  /* Focus visible for keyboard navigation */
53
53
  [data-style='zen-sumi'] [data-tree-item-content]:focus-visible {
54
54
  outline:2px solid transparent;outline-offset:2px;
55
- box-shadow: inset 0 0 0 1px var(--color-surface-z4);
55
+ box-shadow: inset 0 0 0 1px var(--paper-edge);
56
56
  }
57
57
 
58
58
  /* Active/selected state */
package/dist/zen-sumi.css CHANGED
@@ -6,8 +6,8 @@
6
6
  * Key principles:
7
7
  * - No shadows. Depth through background tone variation only.
8
8
  * - No gradients. Color conveys meaning, not decoration.
9
- * - Hairline borders (surface-z2). Paper-edge precision.
10
- * - Ink-on-paper primary: surface-z9 bg / surface-z0 text.
9
+ * - Hairline borders (paper-edge). Paper-edge precision.
10
+ * - Ink-on-paper primary: ink bg / paper text.
11
11
  * - Single accent: primary (shu/vermillion) for active and CTA.
12
12
  * - Focus: border darkens — no glow rings.
13
13
  *
@@ -18,8 +18,8 @@
18
18
  * Button - Zen-Sumi Theme Styles
19
19
  *
20
20
  * Ink-on-paper aesthetics. No gradients. No shadows.
21
- * Primary filled = ink background (surface-z9) with paper text.
22
- * CTA/accent = shu vermillion (primary-z5).
21
+ * Primary filled = ink background with paper text.
22
+ * CTA/accent = shu vermillion (primary).
23
23
  * Focus: border darkens — no glow ring.
24
24
  */
25
25
 
@@ -196,14 +196,14 @@
196
196
 
197
197
  [data-style='zen-sumi'] [data-button]:focus-visible {
198
198
  outline:2px solid transparent;outline-offset:2px;
199
- box-shadow: 0 0 0 1px var(--color-surface-z5);
199
+ box-shadow: 0 0 0 1px var(--ink-soft);
200
200
  }
201
201
 
202
202
  /**
203
203
  * Toolbar - Zen-Sumi Theme Styles
204
204
  *
205
205
  * Transparent base with hairline border by position.
206
- * Items: surface-z6surface-z9 on hover. Active: primary-z5.
206
+ * Items: ink-softink on hover. Active: primary.
207
207
  */
208
208
 
209
209
  /* =============================================================================
@@ -246,7 +246,7 @@
246
246
  [data-style='zen-sumi']
247
247
  [data-toolbar-item]:focus-visible:not(:disabled):not([data-disabled='true']) {
248
248
  background-image:none;outline:2px solid transparent;outline-offset:2px;color:var(--ink-mute);
249
- box-shadow: inset 0 0 0 1px var(--color-surface-z4);
249
+ box-shadow: inset 0 0 0 1px var(--paper-edge);
250
250
  }
251
251
 
252
252
  /* Active/pressed state */
@@ -291,7 +291,7 @@
291
291
  *
292
292
  * Pill-style tabs with filled active state (ink background, paper text).
293
293
  * No underlines — depth through background fill only.
294
- * Inactive: transparent. Hover: surface-z2 wash. Active: surface-z9 fill.
294
+ * Inactive: transparent. Hover: paper-mute wash. Active: ink fill.
295
295
  */
296
296
 
297
297
  /* =============================================================================
@@ -369,7 +369,7 @@
369
369
  * Toggle - Zen-Sumi Theme Styles
370
370
  *
371
371
  * Pill container with primary-coloured active fill (shu vermillion).
372
- * Inactive: transparent. Hover: surface-z2. Selected: primary fill on
372
+ * Inactive: transparent. Hover: paper-mute. Selected: primary fill on
373
373
  * paper text — colourful enough that the active option is unambiguous
374
374
  * at a glance, even in the small canvas-view-toggle (Live · Code · API).
375
375
  */
@@ -455,7 +455,7 @@
455
455
  /**
456
456
  * Switch - Zen-Sumi Theme Styles
457
457
  *
458
- * Flat pill. Off: surface-z3 track. On: primary-z5 (shu vermillion) track.
458
+ * Flat pill. Off: paper-mute track. On: primary (shu vermillion) track.
459
459
  * Thumb: paper white. No shadows.
460
460
  */
461
461
 
@@ -470,7 +470,7 @@
470
470
  }
471
471
 
472
472
  [data-style='zen-sumi'] [data-switch]:focus-visible [data-switch-track] {
473
- box-shadow: 0 0 0 2px var(--color-surface-z5);
473
+ box-shadow: 0 0 0 2px var(--ink-soft);
474
474
  }
475
475
 
476
476
  /* On state — shu vermillion */
@@ -670,7 +670,7 @@
670
670
  /* Focus visible for keyboard navigation */
671
671
  [data-style='zen-sumi'] [data-tree-item-content]:focus-visible {
672
672
  outline:2px solid transparent;outline-offset:2px;
673
- box-shadow: inset 0 0 0 1px var(--color-surface-z4);
673
+ box-shadow: inset 0 0 0 1px var(--paper-edge);
674
674
  }
675
675
 
676
676
  /* Active/selected state */
@@ -798,8 +798,8 @@
798
798
  /**
799
799
  * Select - Zen-Sumi Theme Styles
800
800
  *
801
- * Hairline border trigger. Dropdown: paper-z1 bg, no shadow.
802
- * Options: transparent default, surface-z2 hover, primary accent on selected.
801
+ * Hairline border trigger. Dropdown: paper-soft bg, no shadow.
802
+ * Options: transparent default, paper-mute hover, primary accent on selected.
803
803
  * Focus: border darkens — no ring glow.
804
804
  */
805
805
 
@@ -817,7 +817,7 @@
817
817
 
818
818
  [data-style='zen-sumi'] [data-select-trigger]:focus-visible {
819
819
  outline:2px solid transparent;outline-offset:2px;
820
- box-shadow: 0 0 0 1px var(--color-surface-z5);
820
+ box-shadow: 0 0 0 1px var(--ink-soft);
821
821
  }
822
822
 
823
823
  [data-style='zen-sumi'] [data-select][data-open='true'] [data-select-trigger] {
@@ -960,7 +960,7 @@
960
960
  * Menu - Zen-Sumi Theme Styles
961
961
  *
962
962
  * Hairline trigger. Dropdown: paper bg, hairline border, no shadow.
963
- * Items: transparent default, surface-z2 hover.
963
+ * Items: transparent default, paper-mute hover.
964
964
  */
965
965
 
966
966
  /* =============================================================================
@@ -977,7 +977,7 @@
977
977
 
978
978
  [data-style='zen-sumi'] [data-menu-trigger]:focus-visible {
979
979
  outline:2px solid transparent;outline-offset:2px;
980
- box-shadow: 0 0 0 1px var(--color-surface-z5);
980
+ box-shadow: 0 0 0 1px var(--ink-soft);
981
981
  }
982
982
 
983
983
  [data-style='zen-sumi'] [data-menu][data-open='true'] [data-menu-trigger] {
@@ -1052,7 +1052,7 @@
1052
1052
  * Dropdown - Zen-Sumi Theme Styles
1053
1053
  *
1054
1054
  * Hairline trigger. Panel: paper bg, no shadow.
1055
- * Options: transparent → surface-z2 on hover.
1055
+ * Options: transparent → paper-mute on hover.
1056
1056
  */
1057
1057
 
1058
1058
  [data-style='zen-sumi'] [data-dropdown-trigger] {
@@ -1065,7 +1065,7 @@
1065
1065
 
1066
1066
  [data-style='zen-sumi'] [data-dropdown-trigger]:focus-visible {
1067
1067
  outline:2px solid transparent;outline-offset:2px;
1068
- box-shadow: 0 0 0 1px var(--color-surface-z5);
1068
+ box-shadow: 0 0 0 1px var(--ink-soft);
1069
1069
  }
1070
1070
 
1071
1071
  [data-style='zen-sumi'] [data-dropdown][data-open='true'] [data-dropdown-trigger] {
@@ -1106,7 +1106,7 @@
1106
1106
  * FloatingAction - Zen-Sumi Theme Styles
1107
1107
  *
1108
1108
  * Paper bg with hairline border. No shadow.
1109
- * Hover: surface-z2 wash. No glow rings.
1109
+ * Hover: paper-mute wash. No glow rings.
1110
1110
  */
1111
1111
 
1112
1112
  /* =============================================================================
@@ -1124,7 +1124,7 @@
1124
1124
 
1125
1125
  [data-style='zen-sumi'] [data-fab-trigger]:focus-visible {
1126
1126
  outline:2px solid transparent;outline-offset:2px;
1127
- box-shadow: 0 0 0 1px var(--color-surface-z5);
1127
+ box-shadow: 0 0 0 1px var(--ink-soft);
1128
1128
  }
1129
1129
 
1130
1130
  [data-style='zen-sumi'] [data-fab][data-open='true'] [data-fab-trigger] {
@@ -1151,7 +1151,7 @@
1151
1151
 
1152
1152
  [data-style='zen-sumi'] [data-fab-item]:focus-visible {
1153
1153
  outline:2px solid transparent;outline-offset:2px;
1154
- box-shadow: 0 0 0 1px var(--color-surface-z5);
1154
+ box-shadow: 0 0 0 1px var(--ink-soft);
1155
1155
  }
1156
1156
 
1157
1157
  /* Item icon */
@@ -1168,7 +1168,7 @@
1168
1168
  ============================================================================= */
1169
1169
 
1170
1170
  [data-style='zen-sumi'] [data-fab-backdrop] {
1171
- background: color-mix(in oklch, var(--color-surface-z9) 15%, transparent);
1171
+ background: color-mix(in oklch, var(--ink) 15%, transparent);
1172
1172
  }
1173
1173
 
1174
1174
  /**
@@ -1185,8 +1185,8 @@
1185
1185
  data-mode in dev mode. */
1186
1186
  [data-style='zen-sumi'] [data-input-root] {
1187
1187
  position:relative;display:flex;align-items:center;border-width:1px;
1188
- background: var(--color-surface-z1);
1189
- border-color: var(--color-surface-z3);
1188
+ background: var(--paper-soft);
1189
+ border-color: var(--paper-mute);
1190
1190
  background-image: none;
1191
1191
  transition: border-color 150ms ease;
1192
1192
  }
@@ -1212,13 +1212,13 @@
1212
1212
 
1213
1213
  /* Hover: border darkens slightly */
1214
1214
  [data-style='zen-sumi'] [data-input-root]:hover:not(:focus-within) {
1215
- border-color: var(--color-surface-z4);
1215
+ border-color: var(--paper-edge);
1216
1216
  background-image: none;
1217
1217
  }
1218
1218
 
1219
1219
  /* Focus: border darkens — no glow */
1220
1220
  [data-style='zen-sumi'] [data-input-root]:focus-within {
1221
- border-color: var(--color-surface-z6);
1221
+ border-color: var(--ink-soft);
1222
1222
  background-image: none;
1223
1223
  }
1224
1224
 
@@ -1229,7 +1229,7 @@
1229
1229
  [data-style='zen-sumi'] [data-input-root] textarea,
1230
1230
  [data-style='zen-sumi'] [data-input-root] select {
1231
1231
  width:100%;border-style:none;background-color:transparent;padding-left:0.5rem;padding-right:0.5rem;padding-top:0.375rem;padding-bottom:0.375rem;outline:2px solid transparent;outline-offset:2px;
1232
- color: var(--color-ink-z1);
1232
+ color: var(--ink-mute);
1233
1233
  font-size: 0.8125rem;
1234
1234
  line-height: 1.25rem;
1235
1235
  }
@@ -1347,7 +1347,7 @@
1347
1347
  * Table - Zen-Sumi Theme Styles
1348
1348
  *
1349
1349
  * Clean, flat rows. Header: uppercase small text, hairline bottom border.
1350
- * No shadow on header. Row hover: surface-z1 wash. No bg on selected — left border only.
1350
+ * No shadow on header. Row hover: paper-soft wash. No bg on selected — left border only.
1351
1351
  */
1352
1352
 
1353
1353
  /* =============================================================================
@@ -1406,7 +1406,7 @@
1406
1406
 
1407
1407
  [data-style='zen-sumi'] [data-table-row]:focus {
1408
1408
  background-image:none;outline:2px solid transparent;outline-offset:2px;color:var(--ink-mute);
1409
- box-shadow: inset 0 0 0 1px var(--color-surface-z4);
1409
+ box-shadow: inset 0 0 0 1px var(--paper-edge);
1410
1410
  }
1411
1411
 
1412
1412
  [data-style='zen-sumi'] [data-table-row][data-selected='true'] {
@@ -1560,8 +1560,8 @@
1560
1560
  /**
1561
1561
  * Range - Zen-Sumi Theme Styles
1562
1562
  *
1563
- * Surface-z3 track. Primary (shu) fill for selected range.
1564
- * Paper-z0 thumb with primary border.
1563
+ * Paper-mute track. Primary (shu) fill for selected range.
1564
+ * Paper thumb with primary border.
1565
1565
  */
1566
1566
 
1567
1567
  /* =============================================================================
@@ -1624,7 +1624,7 @@
1624
1624
  * Timeline - Zen-Sumi Theme Styles
1625
1625
  *
1626
1626
  * Restrained timeline. Completed/active: primary (shu) accent.
1627
- * Connectors: surface-z2 default, primary when completed.
1627
+ * Connectors: paper-mute default, primary when completed.
1628
1628
  */
1629
1629
 
1630
1630
  /* =============================================================================
@@ -1671,8 +1671,8 @@
1671
1671
  * FloatingNavigation - Zen-Sumi Theme Styles
1672
1672
  *
1673
1673
  * Paper bg, hairline border, no shadow.
1674
- * Items: text-only default, surface-z2 wash on hover.
1675
- * Active: ink text + surface-z1 bg + primary indicator.
1674
+ * Items: text-only default, paper-mute wash on hover.
1675
+ * Active: ink text + paper-soft bg + primary indicator.
1676
1676
  */
1677
1677
 
1678
1678
  /* =============================================================================
@@ -1722,7 +1722,7 @@
1722
1722
 
1723
1723
  [data-style='zen-sumi'] [data-floating-nav-item]:focus-visible {
1724
1724
  outline:2px solid transparent;outline-offset:2px;
1725
- box-shadow: inset 0 0 0 1px var(--color-surface-z4);
1725
+ box-shadow: inset 0 0 0 1px var(--paper-edge);
1726
1726
  }
1727
1727
 
1728
1728
  /* Icon */
@@ -1770,7 +1770,7 @@
1770
1770
  *
1771
1771
  * Paper bg with hairline border. No shadows.
1772
1772
  * Depth through background tone shifts only.
1773
- * Interactive: hover darkens border, bg shifts to surface-z2.
1773
+ * Interactive: hover darkens border, bg shifts to paper-mute.
1774
1774
  */
1775
1775
 
1776
1776
  /* =============================================================================
@@ -1818,7 +1818,7 @@
1818
1818
 
1819
1819
  [data-style='zen-sumi'] [data-card][data-card-interactive]:focus-visible {
1820
1820
  outline:2px solid transparent;outline-offset:2px;
1821
- box-shadow: 0 0 0 1px var(--color-surface-z5);
1821
+ box-shadow: 0 0 0 1px var(--ink-soft);
1822
1822
  }
1823
1823
 
1824
1824
  /* =============================================================================
@@ -2076,8 +2076,8 @@
2076
2076
  /**
2077
2077
  * Chart - Zen-Sumi Theme Styles
2078
2078
  *
2079
- * Ink-wash aesthetic. Axes and grids: hairline surface-z2.
2080
- * Labels: surface-z5 (secondary text). Dimmed elements: very low opacity.
2079
+ * Ink-wash aesthetic. Axes and grids: hairline paper-mute.
2080
+ * Labels: ink-soft (secondary text). Dimmed elements: very low opacity.
2081
2081
  */
2082
2082
 
2083
2083
  [data-style='zen-sumi'] [data-chart-axis-line],
@@ -2117,7 +2117,7 @@
2117
2117
 
2118
2118
  /**
2119
2119
  * Swatch — Zen-Sumi Theme
2120
- * Selected: primary (shu) outline. Hover/focus: surface-z5 outline.
2120
+ * Selected: primary (shu) outline. Hover/focus: ink-soft outline.
2121
2121
  */
2122
2122
 
2123
2123
  [data-style='zen-sumi'] [data-swatch-item][data-selected] {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rokkit/themes",
3
- "version": "1.2.0",
3
+ "version": "1.3.0",
4
4
  "description": "Theme styles for @rokkit/ui components",
5
5
  "repository": {
6
6
  "type": "git",
@@ -105,10 +105,10 @@
105
105
  "build": "bun run build.mjs"
106
106
  },
107
107
  "dependencies": {
108
- "@rokkit/core": "1.2.0"
108
+ "@rokkit/core": "1.3.0"
109
109
  },
110
110
  "devDependencies": {
111
- "@rokkit/unocss": "1.2.0",
111
+ "@rokkit/unocss": "1.3.0",
112
112
  "magic-string": "^0.30.21",
113
113
  "unocss": "^66.5.1"
114
114
  },
package/src/index.js CHANGED
@@ -3,7 +3,6 @@ import { Theme } from '@rokkit/core'
3
3
  export {
4
4
  Theme,
5
5
  themeRules,
6
- semanticShortcuts,
7
6
  contrastShortcuts,
8
7
  iconShortcuts,
9
8
  DEFAULT_ICONS,
@@ -23,7 +23,7 @@
23
23
  @apply bg-error;
24
24
  }
25
25
 
26
- /* Status dot border matches surrounding background — uses surface-z1 as a neutral */
26
+ /* Status dot border matches surrounding background — uses paper-soft as a neutral */
27
27
  [data-style='rokkit'] [data-avatar-status] {
28
28
  @apply border-paper-soft;
29
29
  }
@@ -2,8 +2,8 @@
2
2
  * Button - Zen-Sumi Theme Styles
3
3
  *
4
4
  * Ink-on-paper aesthetics. No gradients. No shadows.
5
- * Primary filled = ink background (surface-z9) with paper text.
6
- * CTA/accent = shu vermillion (primary-z5).
5
+ * Primary filled = ink background with paper text.
6
+ * CTA/accent = shu vermillion (primary).
7
7
  * Focus: border darkens — no glow ring.
8
8
  */
9
9
 
@@ -180,5 +180,5 @@
180
180
 
181
181
  [data-style='zen-sumi'] [data-button]:focus-visible {
182
182
  @apply outline-none;
183
- box-shadow: 0 0 0 1px var(--color-surface-z5);
183
+ box-shadow: 0 0 0 1px var(--ink-soft);
184
184
  }
@@ -3,7 +3,7 @@
3
3
  *
4
4
  * Paper bg with hairline border. No shadows.
5
5
  * Depth through background tone shifts only.
6
- * Interactive: hover darkens border, bg shifts to surface-z2.
6
+ * Interactive: hover darkens border, bg shifts to paper-mute.
7
7
  */
8
8
 
9
9
  /* =============================================================================
@@ -51,7 +51,7 @@
51
51
 
52
52
  [data-style='zen-sumi'] [data-card][data-card-interactive]:focus-visible {
53
53
  @apply outline-none;
54
- box-shadow: 0 0 0 1px var(--color-surface-z5);
54
+ box-shadow: 0 0 0 1px var(--ink-soft);
55
55
  }
56
56
 
57
57
  /* =============================================================================
@@ -1,8 +1,8 @@
1
1
  /**
2
2
  * Chart - Zen-Sumi Theme Styles
3
3
  *
4
- * Ink-wash aesthetic. Axes and grids: hairline surface-z2.
5
- * Labels: surface-z5 (secondary text). Dimmed elements: very low opacity.
4
+ * Ink-wash aesthetic. Axes and grids: hairline paper-mute.
5
+ * Labels: ink-soft (secondary text). Dimmed elements: very low opacity.
6
6
  */
7
7
 
8
8
  [data-style='zen-sumi'] [data-chart-axis-line],
@@ -2,7 +2,7 @@
2
2
  * Dropdown - Zen-Sumi Theme Styles
3
3
  *
4
4
  * Hairline trigger. Panel: paper bg, no shadow.
5
- * Options: transparent → surface-z2 on hover.
5
+ * Options: transparent → paper-mute on hover.
6
6
  */
7
7
 
8
8
  [data-style='zen-sumi'] [data-dropdown-trigger] {
@@ -15,7 +15,7 @@
15
15
 
16
16
  [data-style='zen-sumi'] [data-dropdown-trigger]:focus-visible {
17
17
  @apply outline-none;
18
- box-shadow: 0 0 0 1px var(--color-surface-z5);
18
+ box-shadow: 0 0 0 1px var(--ink-soft);
19
19
  }
20
20
 
21
21
  [data-style='zen-sumi'] [data-dropdown][data-open='true'] [data-dropdown-trigger] {