@rokkit/themes 1.1.7 → 1.1.9
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.
- package/package.json +3 -3
- package/src/base/index.css +1 -0
- package/src/base/palette-manager.css +244 -0
- package/src/base/pill.css +3 -2
- package/src/base/stepper.css +6 -0
- package/src/base/toggle.css +47 -0
- package/src/frosted/grid.css +26 -0
- package/src/frosted/index.css +6 -0
- package/src/frosted/palette-manager.css +97 -0
- package/src/frosted/pill.css +17 -0
- package/src/frosted/progress.css +13 -0
- package/src/frosted/rating.css +13 -0
- package/src/frosted/table.css +10 -0
- package/src/frosted/toggle.css +26 -0
- package/src/frosted/tooltip.css +7 -0
- package/src/material/grid.css +26 -0
- package/src/material/index.css +6 -0
- package/src/material/palette-manager.css +97 -0
- package/src/material/pill.css +17 -0
- package/src/material/progress.css +13 -0
- package/src/material/rating.css +13 -0
- package/src/material/table.css +10 -0
- package/src/material/toggle.css +26 -0
- package/src/material/tooltip.css +7 -0
- package/src/minimal/grid.css +26 -0
- package/src/minimal/index.css +6 -0
- package/src/minimal/palette-manager.css +97 -0
- package/src/minimal/pill.css +17 -0
- package/src/minimal/progress.css +13 -0
- package/src/minimal/rating.css +13 -0
- package/src/minimal/table.css +10 -0
- package/src/minimal/toggle.css +26 -0
- package/src/minimal/tooltip.css +7 -0
- package/src/rokkit/index.css +4 -0
- package/src/rokkit/palette-manager.css +97 -0
- package/src/rokkit/pill.css +17 -0
- package/src/rokkit/progress.css +13 -0
- package/src/rokkit/rating.css +13 -0
- package/src/rokkit/table.css +10 -0
- package/src/rokkit/toggle.css +26 -0
- package/src/zen-sumi/grid.css +26 -0
- package/src/zen-sumi/index.css +6 -0
- package/src/zen-sumi/palette-manager.css +97 -0
- package/src/zen-sumi/pill.css +17 -0
- package/src/zen-sumi/progress.css +13 -0
- package/src/zen-sumi/rating.css +13 -0
- package/src/zen-sumi/table.css +10 -0
- package/src/zen-sumi/toggle.css +26 -0
- package/src/zen-sumi/tooltip.css +7 -0
package/src/zen-sumi/index.css
CHANGED
|
@@ -27,6 +27,8 @@
|
|
|
27
27
|
@import './floating-action.css';
|
|
28
28
|
@import './input.css';
|
|
29
29
|
@import './table.css';
|
|
30
|
+
@import './grid.css';
|
|
31
|
+
@import './tooltip.css';
|
|
30
32
|
@import './search-filter.css';
|
|
31
33
|
@import './range.css';
|
|
32
34
|
@import './timeline.css';
|
|
@@ -40,6 +42,10 @@
|
|
|
40
42
|
@import './step-indicator.css';
|
|
41
43
|
@import './chart.css';
|
|
42
44
|
@import './swatch.css';
|
|
45
|
+
@import './palette-manager.css';
|
|
46
|
+
@import './progress.css';
|
|
47
|
+
@import './pill.css';
|
|
48
|
+
@import './rating.css';
|
|
43
49
|
|
|
44
50
|
/* =============================================================================
|
|
45
51
|
Layout overrides — Ma (間) generous spacing
|
|
@@ -0,0 +1,97 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* PaletteManager — Zen-Sumi Theme
|
|
3
|
+
* Color layer for the headless base structure in base/palette-manager.css.
|
|
4
|
+
*/
|
|
5
|
+
|
|
6
|
+
/* Container */
|
|
7
|
+
[data-style='zen-sumi'] [data-palette-manager] {
|
|
8
|
+
@apply bg-paper text-ink border-paper-edge;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
/* Section labels */
|
|
12
|
+
[data-style='zen-sumi'] [data-palette-presets-label],
|
|
13
|
+
[data-style='zen-sumi'] [data-palette-custom-label] {
|
|
14
|
+
@apply text-ink-mute;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
/* Presets */
|
|
18
|
+
[data-style='zen-sumi'] [data-palette-preset] {
|
|
19
|
+
@apply bg-paper-soft text-ink border-paper-edge;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
[data-style='zen-sumi'] [data-palette-preset]:hover {
|
|
23
|
+
@apply bg-paper-mute;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
[data-style='zen-sumi'] [data-palette-preset][data-active] {
|
|
27
|
+
@apply text-primary border-primary;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
[data-style='zen-sumi'] [data-palette-preset-swatch] {
|
|
31
|
+
@apply border-paper-edge;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
/* Custom palettes */
|
|
35
|
+
[data-style='zen-sumi'] [data-palette-custom-item] {
|
|
36
|
+
@apply bg-paper-soft text-ink-mute border-paper-edge;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
[data-style='zen-sumi'] [data-palette-custom-item]:hover {
|
|
40
|
+
@apply bg-paper-mute text-ink;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
[data-style='zen-sumi'] [data-palette-custom-item][data-active] {
|
|
44
|
+
@apply text-primary border-primary;
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
/* Role rows */
|
|
48
|
+
[data-style='zen-sumi'] [data-palette-role-label] {
|
|
49
|
+
@apply text-ink;
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
/* Color pickers */
|
|
53
|
+
[data-style='zen-sumi'] [data-palette-color-select],
|
|
54
|
+
[data-style='zen-sumi'] [data-palette-color-input] {
|
|
55
|
+
@apply bg-paper-soft text-ink border-paper-edge;
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
[data-style='zen-sumi'] [data-palette-color-input]::placeholder {
|
|
59
|
+
@apply text-ink-faint;
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
[data-style='zen-sumi'] [data-palette-color-select]:focus-visible,
|
|
63
|
+
[data-style='zen-sumi'] [data-palette-color-input]:focus-visible {
|
|
64
|
+
@apply outline-focus-ring border-focus-ring;
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
/* Hex toggle */
|
|
68
|
+
[data-style='zen-sumi'] [data-palette-hex-toggle] {
|
|
69
|
+
@apply bg-paper-soft text-ink-mute border-paper-edge;
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
[data-style='zen-sumi'] [data-palette-hex-toggle]:hover {
|
|
73
|
+
@apply bg-paper-mute text-ink;
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
/* Shade ramp */
|
|
77
|
+
[data-style='zen-sumi'] [data-palette-shades] {
|
|
78
|
+
@apply border-paper-edge;
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
/* Actions — Save = secondary / outlined */
|
|
82
|
+
[data-style='zen-sumi'] [data-palette-save] {
|
|
83
|
+
@apply bg-paper-soft text-ink-mute border-paper-edge;
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
[data-style='zen-sumi'] [data-palette-save]:hover {
|
|
87
|
+
@apply bg-paper-mute text-ink;
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
/* Actions — Apply = primary */
|
|
91
|
+
[data-style='zen-sumi'] [data-palette-apply] {
|
|
92
|
+
@apply bg-primary text-on-primary border-primary;
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
[data-style='zen-sumi'] [data-palette-apply]:hover {
|
|
96
|
+
@apply bg-accent border-accent;
|
|
97
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Pill - Zen-Sumi Theme Styles
|
|
3
|
+
*
|
|
4
|
+
* Muted surface chip with soft remove affordance.
|
|
5
|
+
*/
|
|
6
|
+
|
|
7
|
+
[data-style='zen-sumi'] [data-pill] {
|
|
8
|
+
@apply bg-paper-mute text-ink;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
[data-style='zen-sumi'] [data-pill-remove] {
|
|
12
|
+
@apply text-ink-soft;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
[data-style='zen-sumi'] [data-pill-remove]:hover:not(:disabled) {
|
|
16
|
+
@apply text-ink;
|
|
17
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Rating - Zen-Sumi Theme Styles
|
|
3
|
+
*
|
|
4
|
+
* Faint empty icons, warning-toned filled icons.
|
|
5
|
+
*/
|
|
6
|
+
|
|
7
|
+
[data-style='zen-sumi'] [data-rating-icon] {
|
|
8
|
+
@apply text-ink-faint;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
[data-style='zen-sumi'] [data-rating-item][data-filled] [data-rating-icon] {
|
|
12
|
+
@apply text-warning;
|
|
13
|
+
}
|
package/src/zen-sumi/table.css
CHANGED
|
@@ -68,6 +68,16 @@
|
|
|
68
68
|
@apply text-primary border-l-primary border-l-2 bg-none;
|
|
69
69
|
}
|
|
70
70
|
|
|
71
|
+
/* Keyboard-focused row + synthesised TreeTable group row */
|
|
72
|
+
[data-style='zen-sumi'] [data-table] tr[data-table-row][data-focused] {
|
|
73
|
+
@apply bg-paper-mute;
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
[data-style='zen-sumi'] [data-table] tr[data-table-row][data-group] {
|
|
77
|
+
@apply bg-paper-soft text-ink;
|
|
78
|
+
font-weight: 500;
|
|
79
|
+
}
|
|
80
|
+
|
|
71
81
|
/* =============================================================================
|
|
72
82
|
Striped
|
|
73
83
|
============================================================================= */
|
package/src/zen-sumi/toggle.css
CHANGED
|
@@ -57,3 +57,29 @@
|
|
|
57
57
|
[data-style='zen-sumi'] [data-toggle-option][data-selected='true'] [data-toggle-icon] {
|
|
58
58
|
@apply text-on-primary;
|
|
59
59
|
}
|
|
60
|
+
|
|
61
|
+
/* =============================================================================
|
|
62
|
+
Button Variant — single cycling control (variant-agnostic color)
|
|
63
|
+
Higher specificity than the [data-toggle] container rule above, so it
|
|
64
|
+
neutralises the group-pill chrome and gives the single button the same
|
|
65
|
+
flipping icon treatment an unselected option gets.
|
|
66
|
+
============================================================================= */
|
|
67
|
+
|
|
68
|
+
[data-style='zen-sumi'] [data-toggle][data-toggle-variant='button'] {
|
|
69
|
+
@apply border-transparent bg-transparent text-ink-soft;
|
|
70
|
+
background-image: none;
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
[data-style='zen-sumi'] [data-toggle][data-toggle-variant='button']:hover:not(:disabled):not([data-toggle-disabled='true']),
|
|
74
|
+
[data-style='zen-sumi'] [data-toggle][data-toggle-variant='button']:focus-visible:not(:disabled):not([data-toggle-disabled='true']) {
|
|
75
|
+
@apply bg-paper-mute text-ink-mute;
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
[data-style='zen-sumi'] [data-toggle][data-toggle-variant='button'] [data-toggle-icon] {
|
|
79
|
+
@apply text-ink-soft;
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
[data-style='zen-sumi'] [data-toggle][data-toggle-variant='button']:hover:not(:disabled) [data-toggle-icon],
|
|
83
|
+
[data-style='zen-sumi'] [data-toggle][data-toggle-variant='button']:focus-visible:not(:disabled) [data-toggle-icon] {
|
|
84
|
+
@apply text-ink-mute;
|
|
85
|
+
}
|