@rokkit/themes 1.1.8 → 1.1.10

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 (55) hide show
  1. package/package.json +3 -3
  2. package/src/base/button.css +6 -6
  3. package/src/base/density.css +9 -0
  4. package/src/base/dropdown.css +3 -3
  5. package/src/base/grid.css +0 -35
  6. package/src/base/input.css +9 -0
  7. package/src/base/menu.css +3 -3
  8. package/src/base/palette-manager.css +30 -77
  9. package/src/base/pill.css +3 -4
  10. package/src/base/progress.css +0 -2
  11. package/src/base/range.css +2 -1
  12. package/src/base/rating.css +0 -8
  13. package/src/base/select.css +3 -3
  14. package/src/base/switch.css +16 -0
  15. package/src/base/table.css +0 -15
  16. package/src/base/toggle.css +9 -9
  17. package/src/base/tooltip.css +0 -12
  18. package/src/frosted/grid.css +26 -0
  19. package/src/frosted/index.css +6 -0
  20. package/src/frosted/palette-manager.css +97 -0
  21. package/src/frosted/pill.css +17 -0
  22. package/src/frosted/progress.css +13 -0
  23. package/src/frosted/rating.css +13 -0
  24. package/src/frosted/table.css +10 -0
  25. package/src/frosted/tooltip.css +7 -0
  26. package/src/material/grid.css +26 -0
  27. package/src/material/index.css +6 -0
  28. package/src/material/palette-manager.css +97 -0
  29. package/src/material/pill.css +17 -0
  30. package/src/material/progress.css +13 -0
  31. package/src/material/rating.css +13 -0
  32. package/src/material/table.css +10 -0
  33. package/src/material/tooltip.css +7 -0
  34. package/src/minimal/grid.css +26 -0
  35. package/src/minimal/index.css +6 -0
  36. package/src/minimal/palette-manager.css +97 -0
  37. package/src/minimal/pill.css +17 -0
  38. package/src/minimal/progress.css +13 -0
  39. package/src/minimal/rating.css +13 -0
  40. package/src/minimal/table.css +10 -0
  41. package/src/minimal/tooltip.css +7 -0
  42. package/src/rokkit/index.css +4 -0
  43. package/src/rokkit/palette-manager.css +97 -0
  44. package/src/rokkit/pill.css +17 -0
  45. package/src/rokkit/progress.css +13 -0
  46. package/src/rokkit/rating.css +13 -0
  47. package/src/rokkit/table.css +10 -0
  48. package/src/zen-sumi/grid.css +26 -0
  49. package/src/zen-sumi/index.css +6 -0
  50. package/src/zen-sumi/palette-manager.css +97 -0
  51. package/src/zen-sumi/pill.css +17 -0
  52. package/src/zen-sumi/progress.css +13 -0
  53. package/src/zen-sumi/rating.css +13 -0
  54. package/src/zen-sumi/table.css +10 -0
  55. package/src/zen-sumi/tooltip.css +7 -0
@@ -0,0 +1,97 @@
1
+ /**
2
+ * PaletteManager — Glass Theme
3
+ * Color layer for the headless base structure in base/palette-manager.css.
4
+ */
5
+
6
+ /* Container */
7
+ [data-style='frosted'] [data-palette-manager] {
8
+ @apply bg-paper text-ink border-paper-edge;
9
+ }
10
+
11
+ /* Section labels */
12
+ [data-style='frosted'] [data-palette-presets-label],
13
+ [data-style='frosted'] [data-palette-custom-label] {
14
+ @apply text-ink-mute;
15
+ }
16
+
17
+ /* Presets */
18
+ [data-style='frosted'] [data-palette-preset] {
19
+ @apply bg-paper-soft text-ink border-paper-edge;
20
+ }
21
+
22
+ [data-style='frosted'] [data-palette-preset]:hover {
23
+ @apply bg-paper-mute;
24
+ }
25
+
26
+ [data-style='frosted'] [data-palette-preset][data-active] {
27
+ @apply text-primary border-primary;
28
+ }
29
+
30
+ [data-style='frosted'] [data-palette-preset-swatch] {
31
+ @apply border-paper-edge;
32
+ }
33
+
34
+ /* Custom palettes */
35
+ [data-style='frosted'] [data-palette-custom-item] {
36
+ @apply bg-paper-soft text-ink-mute border-paper-edge;
37
+ }
38
+
39
+ [data-style='frosted'] [data-palette-custom-item]:hover {
40
+ @apply bg-paper-mute text-ink;
41
+ }
42
+
43
+ [data-style='frosted'] [data-palette-custom-item][data-active] {
44
+ @apply text-primary border-primary;
45
+ }
46
+
47
+ /* Role rows */
48
+ [data-style='frosted'] [data-palette-role-label] {
49
+ @apply text-ink;
50
+ }
51
+
52
+ /* Color pickers */
53
+ [data-style='frosted'] [data-palette-color-select],
54
+ [data-style='frosted'] [data-palette-color-input] {
55
+ @apply bg-paper-soft text-ink border-paper-edge;
56
+ }
57
+
58
+ [data-style='frosted'] [data-palette-color-input]::placeholder {
59
+ @apply text-ink-faint;
60
+ }
61
+
62
+ [data-style='frosted'] [data-palette-color-select]:focus-visible,
63
+ [data-style='frosted'] [data-palette-color-input]:focus-visible {
64
+ @apply outline-focus-ring border-focus-ring;
65
+ }
66
+
67
+ /* Hex toggle */
68
+ [data-style='frosted'] [data-palette-hex-toggle] {
69
+ @apply bg-paper-soft text-ink-mute border-paper-edge;
70
+ }
71
+
72
+ [data-style='frosted'] [data-palette-hex-toggle]:hover {
73
+ @apply bg-paper-mute text-ink;
74
+ }
75
+
76
+ /* Shade ramp */
77
+ [data-style='frosted'] [data-palette-shades] {
78
+ @apply border-paper-edge;
79
+ }
80
+
81
+ /* Actions — Save = secondary / outlined */
82
+ [data-style='frosted'] [data-palette-save] {
83
+ @apply bg-paper-soft text-ink-mute border-paper-edge;
84
+ }
85
+
86
+ [data-style='frosted'] [data-palette-save]:hover {
87
+ @apply bg-paper-mute text-ink;
88
+ }
89
+
90
+ /* Actions — Apply = primary */
91
+ [data-style='frosted'] [data-palette-apply] {
92
+ @apply bg-primary text-on-primary border-primary;
93
+ }
94
+
95
+ [data-style='frosted'] [data-palette-apply]:hover {
96
+ @apply bg-accent border-accent;
97
+ }
@@ -0,0 +1,17 @@
1
+ /**
2
+ * Pill - Frosted Theme Styles
3
+ *
4
+ * Muted surface chip with soft remove affordance.
5
+ */
6
+
7
+ [data-style='frosted'] [data-pill] {
8
+ @apply bg-paper-mute text-ink;
9
+ }
10
+
11
+ [data-style='frosted'] [data-pill-remove] {
12
+ @apply text-ink-soft;
13
+ }
14
+
15
+ [data-style='frosted'] [data-pill-remove]:hover:not(:disabled) {
16
+ @apply text-ink;
17
+ }
@@ -0,0 +1,13 @@
1
+ /**
2
+ * ProgressBar - Frosted Theme Styles
3
+ *
4
+ * Default track + primary fill colors.
5
+ */
6
+
7
+ [data-style='frosted'] [data-progress] {
8
+ @apply bg-paper-mute;
9
+ }
10
+
11
+ [data-style='frosted'] [data-progress-bar] {
12
+ @apply bg-primary;
13
+ }
@@ -0,0 +1,13 @@
1
+ /**
2
+ * Rating - Frosted Theme Styles
3
+ *
4
+ * Faint empty icons, warning-toned filled icons.
5
+ */
6
+
7
+ [data-style='frosted'] [data-rating-icon] {
8
+ @apply text-ink-faint;
9
+ }
10
+
11
+ [data-style='frosted'] [data-rating-item][data-filled] [data-rating-icon] {
12
+ @apply text-warning;
13
+ }
@@ -58,6 +58,16 @@
58
58
  @apply text-primary bg-primary/40;
59
59
  }
60
60
 
61
+ /* Keyboard-focused row + synthesised TreeTable group row */
62
+ [data-style='frosted'] [data-table] tr[data-table-row][data-focused] {
63
+ @apply bg-paper-mute;
64
+ }
65
+
66
+ [data-style='frosted'] [data-table] tr[data-table-row][data-group] {
67
+ @apply bg-paper-soft text-ink;
68
+ font-weight: 500;
69
+ }
70
+
61
71
  /* =============================================================================
62
72
  Striped
63
73
  ============================================================================= */
@@ -0,0 +1,7 @@
1
+ /**
2
+ * Tooltip - Glass Theme Styles
3
+ */
4
+
5
+ [data-style='frosted'] [data-tooltip-content] {
6
+ @apply bg-ink text-paper;
7
+ }
@@ -0,0 +1,26 @@
1
+ /**
2
+ * Grid - Material Theme Styles
3
+ *
4
+ * Tile borders, hover/focus effects, selection highlight.
5
+ */
6
+
7
+ [data-style='material'] [data-grid-item] {
8
+ @apply border-paper-edge text-ink-mute;
9
+ }
10
+
11
+ [data-style='material'] [data-grid-item]:hover:not(:disabled):not([data-disabled]),
12
+ [data-style='material'] [data-grid-item]:focus:not(:disabled):not([data-disabled]) {
13
+ @apply border-ink-soft bg-paper-mute text-ink;
14
+ }
15
+
16
+ [data-style='material'] [data-grid-item][data-active] {
17
+ @apply border-primary text-primary;
18
+ }
19
+
20
+ [data-style='material'] [data-grid-item] [data-item-icon] {
21
+ @apply text-ink-soft;
22
+ }
23
+
24
+ [data-style='material'] [data-grid-item][data-active] [data-item-icon] {
25
+ @apply text-primary;
26
+ }
@@ -18,6 +18,8 @@
18
18
  @import './dropdown.css';
19
19
  @import './floating-action.css';
20
20
  @import './table.css';
21
+ @import './grid.css';
22
+ @import './tooltip.css';
21
23
  @import './search-filter.css';
22
24
  @import './range.css';
23
25
  @import './timeline.css';
@@ -31,3 +33,7 @@
31
33
  @import './step-indicator.css';
32
34
  @import './chart.css';
33
35
  @import './swatch.css';
36
+ @import './palette-manager.css';
37
+ @import './progress.css';
38
+ @import './pill.css';
39
+ @import './rating.css';
@@ -0,0 +1,97 @@
1
+ /**
2
+ * PaletteManager — Material Theme
3
+ * Color layer for the headless base structure in base/palette-manager.css.
4
+ */
5
+
6
+ /* Container */
7
+ [data-style='material'] [data-palette-manager] {
8
+ @apply bg-paper text-ink border-paper-edge;
9
+ }
10
+
11
+ /* Section labels */
12
+ [data-style='material'] [data-palette-presets-label],
13
+ [data-style='material'] [data-palette-custom-label] {
14
+ @apply text-ink-mute;
15
+ }
16
+
17
+ /* Presets */
18
+ [data-style='material'] [data-palette-preset] {
19
+ @apply bg-paper-soft text-ink border-paper-edge;
20
+ }
21
+
22
+ [data-style='material'] [data-palette-preset]:hover {
23
+ @apply bg-paper-mute;
24
+ }
25
+
26
+ [data-style='material'] [data-palette-preset][data-active] {
27
+ @apply text-primary border-primary;
28
+ }
29
+
30
+ [data-style='material'] [data-palette-preset-swatch] {
31
+ @apply border-paper-edge;
32
+ }
33
+
34
+ /* Custom palettes */
35
+ [data-style='material'] [data-palette-custom-item] {
36
+ @apply bg-paper-soft text-ink-mute border-paper-edge;
37
+ }
38
+
39
+ [data-style='material'] [data-palette-custom-item]:hover {
40
+ @apply bg-paper-mute text-ink;
41
+ }
42
+
43
+ [data-style='material'] [data-palette-custom-item][data-active] {
44
+ @apply text-primary border-primary;
45
+ }
46
+
47
+ /* Role rows */
48
+ [data-style='material'] [data-palette-role-label] {
49
+ @apply text-ink;
50
+ }
51
+
52
+ /* Color pickers */
53
+ [data-style='material'] [data-palette-color-select],
54
+ [data-style='material'] [data-palette-color-input] {
55
+ @apply bg-paper-soft text-ink border-paper-edge;
56
+ }
57
+
58
+ [data-style='material'] [data-palette-color-input]::placeholder {
59
+ @apply text-ink-faint;
60
+ }
61
+
62
+ [data-style='material'] [data-palette-color-select]:focus-visible,
63
+ [data-style='material'] [data-palette-color-input]:focus-visible {
64
+ @apply outline-focus-ring border-focus-ring;
65
+ }
66
+
67
+ /* Hex toggle */
68
+ [data-style='material'] [data-palette-hex-toggle] {
69
+ @apply bg-paper-soft text-ink-mute border-paper-edge;
70
+ }
71
+
72
+ [data-style='material'] [data-palette-hex-toggle]:hover {
73
+ @apply bg-paper-mute text-ink;
74
+ }
75
+
76
+ /* Shade ramp */
77
+ [data-style='material'] [data-palette-shades] {
78
+ @apply border-paper-edge;
79
+ }
80
+
81
+ /* Actions — Save = secondary / outlined */
82
+ [data-style='material'] [data-palette-save] {
83
+ @apply bg-paper-soft text-ink-mute border-paper-edge;
84
+ }
85
+
86
+ [data-style='material'] [data-palette-save]:hover {
87
+ @apply bg-paper-mute text-ink;
88
+ }
89
+
90
+ /* Actions — Apply = primary */
91
+ [data-style='material'] [data-palette-apply] {
92
+ @apply bg-primary text-on-primary border-primary;
93
+ }
94
+
95
+ [data-style='material'] [data-palette-apply]:hover {
96
+ @apply bg-accent border-accent;
97
+ }
@@ -0,0 +1,17 @@
1
+ /**
2
+ * Pill - Material Theme Styles
3
+ *
4
+ * Muted surface chip with soft remove affordance.
5
+ */
6
+
7
+ [data-style='material'] [data-pill] {
8
+ @apply bg-paper-mute text-ink;
9
+ }
10
+
11
+ [data-style='material'] [data-pill-remove] {
12
+ @apply text-ink-soft;
13
+ }
14
+
15
+ [data-style='material'] [data-pill-remove]:hover:not(:disabled) {
16
+ @apply text-ink;
17
+ }
@@ -0,0 +1,13 @@
1
+ /**
2
+ * ProgressBar - Material Theme Styles
3
+ *
4
+ * Default track + primary fill colors.
5
+ */
6
+
7
+ [data-style='material'] [data-progress] {
8
+ @apply bg-paper-mute;
9
+ }
10
+
11
+ [data-style='material'] [data-progress-bar] {
12
+ @apply bg-primary;
13
+ }
@@ -0,0 +1,13 @@
1
+ /**
2
+ * Rating - Material Theme Styles
3
+ *
4
+ * Faint empty icons, warning-toned filled icons.
5
+ */
6
+
7
+ [data-style='material'] [data-rating-icon] {
8
+ @apply text-ink-faint;
9
+ }
10
+
11
+ [data-style='material'] [data-rating-item][data-filled] [data-rating-icon] {
12
+ @apply text-warning;
13
+ }
@@ -62,6 +62,16 @@
62
62
  @apply bg-primary text-primary bg-none;
63
63
  }
64
64
 
65
+ /* Keyboard-focused row + synthesised TreeTable group row */
66
+ [data-style='material'] [data-table] tr[data-table-row][data-focused] {
67
+ @apply bg-paper-mute;
68
+ }
69
+
70
+ [data-style='material'] [data-table] tr[data-table-row][data-group] {
71
+ @apply bg-paper-soft text-ink;
72
+ font-weight: 500;
73
+ }
74
+
65
75
  /* =============================================================================
66
76
  Striped
67
77
  ============================================================================= */
@@ -0,0 +1,7 @@
1
+ /**
2
+ * Tooltip - Material Theme Styles
3
+ */
4
+
5
+ [data-style='material'] [data-tooltip-content] {
6
+ @apply bg-ink text-paper;
7
+ }
@@ -0,0 +1,26 @@
1
+ /**
2
+ * Grid - Minimal Theme Styles
3
+ *
4
+ * Tile borders, hover/focus effects, selection highlight.
5
+ */
6
+
7
+ [data-style='minimal'] [data-grid-item] {
8
+ @apply border-paper-edge text-ink-mute;
9
+ }
10
+
11
+ [data-style='minimal'] [data-grid-item]:hover:not(:disabled):not([data-disabled]),
12
+ [data-style='minimal'] [data-grid-item]:focus:not(:disabled):not([data-disabled]) {
13
+ @apply border-ink-soft bg-paper-mute text-ink;
14
+ }
15
+
16
+ [data-style='minimal'] [data-grid-item][data-active] {
17
+ @apply border-primary text-primary;
18
+ }
19
+
20
+ [data-style='minimal'] [data-grid-item] [data-item-icon] {
21
+ @apply text-ink-soft;
22
+ }
23
+
24
+ [data-style='minimal'] [data-grid-item][data-active] [data-item-icon] {
25
+ @apply text-primary;
26
+ }
@@ -18,6 +18,8 @@
18
18
  @import './floating-action.css';
19
19
  @import './input.css';
20
20
  @import './table.css';
21
+ @import './grid.css';
22
+ @import './tooltip.css';
21
23
  @import './search-filter.css';
22
24
  @import './range.css';
23
25
  @import './timeline.css';
@@ -31,3 +33,7 @@
31
33
  @import './step-indicator.css';
32
34
  @import './chart.css';
33
35
  @import './swatch.css';
36
+ @import './palette-manager.css';
37
+ @import './progress.css';
38
+ @import './pill.css';
39
+ @import './rating.css';
@@ -0,0 +1,97 @@
1
+ /**
2
+ * PaletteManager — Minimal Theme
3
+ * Color layer for the headless base structure in base/palette-manager.css.
4
+ */
5
+
6
+ /* Container */
7
+ [data-style='minimal'] [data-palette-manager] {
8
+ @apply bg-paper text-ink border-paper-edge;
9
+ }
10
+
11
+ /* Section labels */
12
+ [data-style='minimal'] [data-palette-presets-label],
13
+ [data-style='minimal'] [data-palette-custom-label] {
14
+ @apply text-ink-mute;
15
+ }
16
+
17
+ /* Presets */
18
+ [data-style='minimal'] [data-palette-preset] {
19
+ @apply bg-paper-soft text-ink border-paper-edge;
20
+ }
21
+
22
+ [data-style='minimal'] [data-palette-preset]:hover {
23
+ @apply bg-paper-mute;
24
+ }
25
+
26
+ [data-style='minimal'] [data-palette-preset][data-active] {
27
+ @apply text-primary border-primary;
28
+ }
29
+
30
+ [data-style='minimal'] [data-palette-preset-swatch] {
31
+ @apply border-paper-edge;
32
+ }
33
+
34
+ /* Custom palettes */
35
+ [data-style='minimal'] [data-palette-custom-item] {
36
+ @apply bg-paper-soft text-ink-mute border-paper-edge;
37
+ }
38
+
39
+ [data-style='minimal'] [data-palette-custom-item]:hover {
40
+ @apply bg-paper-mute text-ink;
41
+ }
42
+
43
+ [data-style='minimal'] [data-palette-custom-item][data-active] {
44
+ @apply text-primary border-primary;
45
+ }
46
+
47
+ /* Role rows */
48
+ [data-style='minimal'] [data-palette-role-label] {
49
+ @apply text-ink;
50
+ }
51
+
52
+ /* Color pickers */
53
+ [data-style='minimal'] [data-palette-color-select],
54
+ [data-style='minimal'] [data-palette-color-input] {
55
+ @apply bg-paper-soft text-ink border-paper-edge;
56
+ }
57
+
58
+ [data-style='minimal'] [data-palette-color-input]::placeholder {
59
+ @apply text-ink-faint;
60
+ }
61
+
62
+ [data-style='minimal'] [data-palette-color-select]:focus-visible,
63
+ [data-style='minimal'] [data-palette-color-input]:focus-visible {
64
+ @apply outline-focus-ring border-focus-ring;
65
+ }
66
+
67
+ /* Hex toggle */
68
+ [data-style='minimal'] [data-palette-hex-toggle] {
69
+ @apply bg-paper-soft text-ink-mute border-paper-edge;
70
+ }
71
+
72
+ [data-style='minimal'] [data-palette-hex-toggle]:hover {
73
+ @apply bg-paper-mute text-ink;
74
+ }
75
+
76
+ /* Shade ramp */
77
+ [data-style='minimal'] [data-palette-shades] {
78
+ @apply border-paper-edge;
79
+ }
80
+
81
+ /* Actions — Save = secondary / outlined */
82
+ [data-style='minimal'] [data-palette-save] {
83
+ @apply bg-paper-soft text-ink-mute border-paper-edge;
84
+ }
85
+
86
+ [data-style='minimal'] [data-palette-save]:hover {
87
+ @apply bg-paper-mute text-ink;
88
+ }
89
+
90
+ /* Actions — Apply = primary */
91
+ [data-style='minimal'] [data-palette-apply] {
92
+ @apply bg-primary text-on-primary border-primary;
93
+ }
94
+
95
+ [data-style='minimal'] [data-palette-apply]:hover {
96
+ @apply bg-accent border-accent;
97
+ }
@@ -0,0 +1,17 @@
1
+ /**
2
+ * Pill - Minimal Theme Styles
3
+ *
4
+ * Muted surface chip with soft remove affordance.
5
+ */
6
+
7
+ [data-style='minimal'] [data-pill] {
8
+ @apply bg-paper-mute text-ink;
9
+ }
10
+
11
+ [data-style='minimal'] [data-pill-remove] {
12
+ @apply text-ink-soft;
13
+ }
14
+
15
+ [data-style='minimal'] [data-pill-remove]:hover:not(:disabled) {
16
+ @apply text-ink;
17
+ }
@@ -0,0 +1,13 @@
1
+ /**
2
+ * ProgressBar - Minimal Theme Styles
3
+ *
4
+ * Default track + primary fill colors.
5
+ */
6
+
7
+ [data-style='minimal'] [data-progress] {
8
+ @apply bg-paper-mute;
9
+ }
10
+
11
+ [data-style='minimal'] [data-progress-bar] {
12
+ @apply bg-primary;
13
+ }
@@ -0,0 +1,13 @@
1
+ /**
2
+ * Rating - Minimal Theme Styles
3
+ *
4
+ * Faint empty icons, warning-toned filled icons.
5
+ */
6
+
7
+ [data-style='minimal'] [data-rating-icon] {
8
+ @apply text-ink-faint;
9
+ }
10
+
11
+ [data-style='minimal'] [data-rating-item][data-filled] [data-rating-icon] {
12
+ @apply text-warning;
13
+ }
@@ -60,6 +60,16 @@
60
60
  @apply text-primary border-l-primary border-l-2 bg-none;
61
61
  }
62
62
 
63
+ /* Keyboard-focused row + synthesised TreeTable group row */
64
+ [data-style='minimal'] [data-table] tr[data-table-row][data-focused] {
65
+ @apply bg-paper-mute;
66
+ }
67
+
68
+ [data-style='minimal'] [data-table] tr[data-table-row][data-group] {
69
+ @apply bg-paper-soft text-ink;
70
+ font-weight: 500;
71
+ }
72
+
63
73
  /* =============================================================================
64
74
  Striped
65
75
  ============================================================================= */
@@ -0,0 +1,7 @@
1
+ /**
2
+ * Tooltip - Minimal Theme Styles
3
+ */
4
+
5
+ [data-style='minimal'] [data-tooltip-content] {
6
+ @apply bg-ink text-paper;
7
+ }
@@ -35,6 +35,10 @@
35
35
  @import './step-indicator.css';
36
36
  @import './chart.css';
37
37
  @import './swatch.css';
38
+ @import './palette-manager.css';
39
+ @import './progress.css';
40
+ @import './pill.css';
41
+ @import './rating.css';
38
42
  @import './divider.css';
39
43
  @import './badge.css';
40
44
  @import './avatar.css';