@rokkit/themes 1.0.0-next.14 → 1.0.0-next.140
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/LICENSE +1 -1
- package/README.md +106 -9
- package/build.mjs +235 -0
- package/dist/base.css +4934 -0
- package/dist/glass.css +1400 -0
- package/dist/index.css +10991 -0
- package/dist/material.css +1435 -0
- package/dist/minimal.css +1389 -0
- package/dist/rokkit.css +1829 -0
- package/package.json +53 -52
- package/src/base/breadcrumbs.css +47 -0
- package/src/base/button.css +254 -0
- package/src/base/card.css +36 -0
- package/src/base/carousel.css +128 -0
- package/src/base/connector.css +92 -0
- package/src/base/display.css +91 -0
- package/src/base/floating-action.css +388 -0
- package/src/base/floating-navigation.css +405 -0
- package/src/base/graph-paper.css +83 -0
- package/src/base/grid.css +93 -0
- package/src/base/index.css +40 -0
- package/src/base/input.css +238 -0
- package/src/base/item.css +78 -0
- package/src/base/list.css +179 -0
- package/src/base/menu.css +274 -0
- package/src/base/pill.css +57 -0
- package/src/base/progress.css +34 -0
- package/src/base/range.css +121 -0
- package/src/base/rating.css +42 -0
- package/src/base/reveal.css +37 -0
- package/src/base/search-filter.css +132 -0
- package/src/base/select.css +411 -0
- package/src/base/shine.css +14 -0
- package/src/base/stepper.css +140 -0
- package/src/base/switch.css +152 -0
- package/src/base/table.css +159 -0
- package/src/base/tabs.css +171 -0
- package/src/base/tilt.css +14 -0
- package/src/base/timeline.css +84 -0
- package/src/base/toggle.css +138 -0
- package/src/base/toolbar.css +337 -0
- package/src/base/tree.css +235 -0
- package/src/base/upload-progress.css +155 -0
- package/src/base/upload-target.css +67 -0
- package/src/glass/button.css +153 -0
- package/src/glass/card.css +66 -0
- package/src/glass/floating-action.css +61 -0
- package/src/glass/floating-navigation.css +74 -0
- package/src/glass/index.css +23 -0
- package/src/glass/input.css +126 -0
- package/src/glass/list.css +122 -0
- package/src/glass/menu.css +92 -0
- package/src/glass/range.css +61 -0
- package/src/glass/search-filter.css +49 -0
- package/src/glass/select.css +178 -0
- package/src/glass/switch.css +28 -0
- package/src/glass/table.css +87 -0
- package/src/glass/tabs.css +58 -0
- package/src/glass/timeline.css +46 -0
- package/src/glass/toggle.css +48 -0
- package/src/glass/toolbar.css +84 -0
- package/src/glass/tree.css +110 -0
- package/src/index.css +18 -0
- package/src/index.js +25 -2
- package/src/material/button.css +157 -0
- package/src/material/card.css +61 -0
- package/src/material/floating-action.css +60 -0
- package/src/material/floating-navigation.css +74 -0
- package/src/material/index.css +23 -0
- package/src/material/input.css +159 -0
- package/src/material/list.css +126 -0
- package/src/material/menu.css +92 -0
- package/src/material/range.css +62 -0
- package/src/material/search-filter.css +49 -0
- package/src/material/select.css +170 -0
- package/src/material/switch.css +28 -0
- package/src/material/table.css +91 -0
- package/src/material/tabs.css +62 -0
- package/src/material/timeline.css +46 -0
- package/src/material/toggle.css +48 -0
- package/src/material/toolbar.css +85 -0
- package/src/material/tree.css +103 -0
- package/src/minimal/button.css +155 -0
- package/src/minimal/card.css +61 -0
- package/src/minimal/floating-action.css +59 -0
- package/src/minimal/floating-navigation.css +70 -0
- package/src/minimal/index.css +23 -0
- package/src/minimal/input.css +119 -0
- package/src/minimal/list.css +126 -0
- package/src/minimal/menu.css +88 -0
- package/src/minimal/range.css +61 -0
- package/src/minimal/search-filter.css +49 -0
- package/src/minimal/select.css +170 -0
- package/src/minimal/switch.css +28 -0
- package/src/minimal/table.css +89 -0
- package/src/minimal/tabs.css +68 -0
- package/src/minimal/timeline.css +45 -0
- package/src/minimal/toggle.css +48 -0
- package/src/minimal/toolbar.css +85 -0
- package/src/minimal/tree.css +106 -0
- package/src/palette.css +7 -0
- package/src/rokkit/button.css +254 -0
- package/src/rokkit/card.css +64 -0
- package/src/rokkit/connector.css +11 -0
- package/src/rokkit/floating-action.css +65 -0
- package/src/rokkit/floating-navigation.css +83 -0
- package/src/rokkit/grid.css +46 -0
- package/src/rokkit/index.css +27 -0
- package/src/rokkit/input.css +134 -0
- package/src/rokkit/list.css +132 -0
- package/src/rokkit/menu.css +93 -0
- package/src/rokkit/range.css +62 -0
- package/src/rokkit/search-filter.css +49 -0
- package/src/rokkit/select.css +190 -0
- package/src/rokkit/switch.css +28 -0
- package/src/rokkit/table.css +89 -0
- package/src/rokkit/tabs.css +87 -0
- package/src/rokkit/timeline.css +46 -0
- package/src/rokkit/toggle.css +48 -0
- package/src/rokkit/toolbar.css +84 -0
- package/src/rokkit/tree.css +149 -0
- package/src/rokkit/upload-progress.css +102 -0
- package/src/rokkit/upload-target.css +50 -0
- package/src/constants.js +0 -4
- package/src/utils.js +0 -88
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* FloatingAction - Minimal Theme Styles
|
|
3
|
+
*
|
|
4
|
+
* Clean, understated styling with subtle borders.
|
|
5
|
+
*/
|
|
6
|
+
|
|
7
|
+
/* =============================================================================
|
|
8
|
+
FAB Trigger Button
|
|
9
|
+
============================================================================= */
|
|
10
|
+
|
|
11
|
+
[data-style='minimal'] [data-fab-trigger] {
|
|
12
|
+
@apply bg-surface-z1 text-surface-z8 border-surface-z4 border;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
[data-style='minimal'] [data-fab-trigger]:hover:not(:disabled) {
|
|
16
|
+
@apply bg-surface-z2 text-surface-z10 border-surface-z5;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
[data-style='minimal'] [data-fab-trigger]:focus-visible {
|
|
20
|
+
@apply ring-surface-z5 ring-1 outline-none;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
[data-style='minimal'] [data-fab][data-open='true'] [data-fab-trigger] {
|
|
24
|
+
@apply bg-surface-z3 border-surface-z5;
|
|
25
|
+
transform: rotate(45deg);
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
/* =============================================================================
|
|
29
|
+
FAB Items
|
|
30
|
+
============================================================================= */
|
|
31
|
+
|
|
32
|
+
[data-style='minimal'] [data-fab-item] {
|
|
33
|
+
@apply bg-surface-z1 text-surface-z7 border-surface-z4 border;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
[data-style='minimal'] [data-fab-item]:hover:not(:disabled) {
|
|
37
|
+
@apply bg-surface-z2 text-surface-z9 border-surface-z5;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
[data-style='minimal'] [data-fab-item]:focus-visible {
|
|
41
|
+
@apply ring-surface-z5 ring-1 outline-none;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
/* Item icon */
|
|
45
|
+
[data-style='minimal'] [data-fab-item] [data-fab-item-icon] {
|
|
46
|
+
@apply text-surface-z6;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
[data-style='minimal'] [data-fab-item]:hover:not(:disabled) [data-fab-item-icon] {
|
|
50
|
+
@apply text-surface-z8;
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
/* =============================================================================
|
|
54
|
+
Backdrop
|
|
55
|
+
============================================================================= */
|
|
56
|
+
|
|
57
|
+
[data-style='minimal'] [data-fab-backdrop] {
|
|
58
|
+
background: rgba(0, 0, 0, 0.2);
|
|
59
|
+
}
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* FloatingNavigation - Minimal Theme Styles
|
|
3
|
+
*
|
|
4
|
+
* Clean, understated styling with subtle borders.
|
|
5
|
+
*/
|
|
6
|
+
|
|
7
|
+
/* =============================================================================
|
|
8
|
+
Container
|
|
9
|
+
============================================================================= */
|
|
10
|
+
|
|
11
|
+
[data-style='minimal'] [data-floating-nav] {
|
|
12
|
+
@apply bg-surface-z1 border-surface-z4 border;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
/* =============================================================================
|
|
16
|
+
Header
|
|
17
|
+
============================================================================= */
|
|
18
|
+
|
|
19
|
+
[data-style='minimal'] [data-floating-nav-title] {
|
|
20
|
+
@apply text-surface-z5;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
[data-style='minimal'] [data-floating-nav-pin] {
|
|
24
|
+
@apply text-surface-z5;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
[data-style='minimal'] [data-floating-nav-pin]:hover {
|
|
28
|
+
@apply text-surface-z8;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
[data-style='minimal'] [data-floating-nav-pin][aria-pressed='true'] {
|
|
32
|
+
@apply text-surface-z9;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
/* =============================================================================
|
|
36
|
+
Items
|
|
37
|
+
============================================================================= */
|
|
38
|
+
|
|
39
|
+
[data-style='minimal'] [data-floating-nav-item] {
|
|
40
|
+
@apply text-surface-z7;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
[data-style='minimal'] [data-floating-nav-item]:hover {
|
|
44
|
+
@apply bg-surface-z2 text-surface-z9;
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
[data-style='minimal'] [data-floating-nav-item][data-active] {
|
|
48
|
+
@apply text-surface-z10 bg-surface-z2;
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
[data-style='minimal'] [data-floating-nav-item]:focus-visible {
|
|
52
|
+
@apply ring-surface-z5 ring-1 outline-none;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
/* Icon */
|
|
56
|
+
[data-style='minimal'] [data-floating-nav-icon] {
|
|
57
|
+
@apply text-surface-z6;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
[data-style='minimal'] [data-floating-nav-item][data-active] [data-floating-nav-icon] {
|
|
61
|
+
@apply text-surface-z10;
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
/* =============================================================================
|
|
65
|
+
Active Indicator
|
|
66
|
+
============================================================================= */
|
|
67
|
+
|
|
68
|
+
[data-style='minimal'] [data-floating-nav-indicator] {
|
|
69
|
+
@apply bg-surface-z8;
|
|
70
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @rokkit/themes - Minimal Theme
|
|
3
|
+
*
|
|
4
|
+
* Clean, understated visual styling with subtle borders and soft backgrounds.
|
|
5
|
+
* Use with data-style="minimal" wrapper.
|
|
6
|
+
*/
|
|
7
|
+
|
|
8
|
+
@import './button.css';
|
|
9
|
+
@import './toolbar.css';
|
|
10
|
+
@import './tabs.css';
|
|
11
|
+
@import './toggle.css';
|
|
12
|
+
@import './switch.css';
|
|
13
|
+
@import './list.css';
|
|
14
|
+
@import './tree.css';
|
|
15
|
+
@import './select.css';
|
|
16
|
+
@import './menu.css';
|
|
17
|
+
@import './floating-action.css';
|
|
18
|
+
@import './input.css';
|
|
19
|
+
@import './table.css';
|
|
20
|
+
@import './search-filter.css';
|
|
21
|
+
@import './range.css';
|
|
22
|
+
@import './timeline.css';
|
|
23
|
+
@import './floating-navigation.css';
|
|
@@ -0,0 +1,119 @@
|
|
|
1
|
+
/* Minimal Theme - Form field and input styles
|
|
2
|
+
* Underline-based input styling with clean, minimal appearance.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
/* Input root: transparent background, bottom border only */
|
|
6
|
+
[data-style='minimal'] [data-input-root] {
|
|
7
|
+
@apply border-surface-z3 relative flex items-center border-b bg-transparent p-0 transition-all;
|
|
8
|
+
border-radius: 0;
|
|
9
|
+
background-image: none;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
/* Override rokkit default gradient on focus */
|
|
13
|
+
[data-style='minimal'] [data-input-root]:focus-within {
|
|
14
|
+
@apply border-b-secondary-600 bg-transparent;
|
|
15
|
+
background-image: none;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
/* Inputs inside wrapper */
|
|
19
|
+
[data-style='minimal']
|
|
20
|
+
[data-input-root]
|
|
21
|
+
input:not([type='checkbox'], [type='radio'], [type='color']),
|
|
22
|
+
[data-style='minimal'] [data-input-root] textarea,
|
|
23
|
+
[data-style='minimal'] [data-input-root] select {
|
|
24
|
+
@apply text-surface-z9 w-full border-none bg-transparent px-1 py-1.5 transition-all outline-none;
|
|
25
|
+
font-size: 0.875rem;
|
|
26
|
+
line-height: 1.25rem;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
[data-style='minimal'] [data-input-root] textarea {
|
|
30
|
+
@apply resize-vertical min-h-20 py-2;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
/* Select inside input-root: match text input appearance */
|
|
34
|
+
[data-style='minimal'] [data-input-root] [data-select-trigger] {
|
|
35
|
+
@apply text-surface-z9 rounded-none border-none bg-transparent px-1 shadow-none ring-0 focus:outline-none;
|
|
36
|
+
font-size: 0.875rem;
|
|
37
|
+
background-image: none;
|
|
38
|
+
transition: color 150ms ease;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
[data-style='minimal'] [data-input-root] [data-select-trigger]:hover:not(:disabled) {
|
|
42
|
+
@apply bg-transparent;
|
|
43
|
+
background-image: none;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
[data-style='minimal'] [data-input-root] [data-select][data-open='true'] [data-select-trigger] {
|
|
47
|
+
@apply border-none bg-transparent shadow-none ring-0;
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
/* Labels: smaller, uppercase */
|
|
51
|
+
[data-style='minimal'] [data-field] > label {
|
|
52
|
+
@apply text-surface-z6 text-xs tracking-wide uppercase;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
[data-style='minimal'] [data-form-root] label {
|
|
56
|
+
@apply text-surface-z6 text-xs tracking-wide uppercase;
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
/* Focused label: secondary color */
|
|
60
|
+
[data-style='minimal'] [data-field]:has([data-input-root]:focus-within) > label {
|
|
61
|
+
@apply text-secondary-600;
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
/* Field root */
|
|
65
|
+
[data-style='minimal'] [data-field-root] {
|
|
66
|
+
@apply gap-0.5;
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
/* Info field value */
|
|
70
|
+
[data-style='minimal'] [data-field-info] {
|
|
71
|
+
@apply text-primary-z6;
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
/* Separator */
|
|
75
|
+
[data-style='minimal'] [data-form-separator] {
|
|
76
|
+
@apply border-surface-z3;
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
/* Disabled state */
|
|
80
|
+
[data-style='minimal'] [data-field-disabled] [data-input-root] {
|
|
81
|
+
@apply border-surface-z3 cursor-not-allowed opacity-50;
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
/* Error state */
|
|
85
|
+
[data-style='minimal'] [data-field-state='fail'] [data-input-root] {
|
|
86
|
+
@apply border-danger-z4;
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
/* Description */
|
|
90
|
+
[data-style='minimal'] [data-description] {
|
|
91
|
+
@apply text-surface-z6 mt-0.5 text-xs;
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
/* Message */
|
|
95
|
+
[data-style='minimal'] [data-message] {
|
|
96
|
+
@apply text-danger-z6 mt-0.5 text-xs;
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
/* Checkbox */
|
|
100
|
+
[data-style='minimal'] [data-checkbox-icon] {
|
|
101
|
+
@apply text-surface-z5 text-lg;
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
[data-style='minimal']
|
|
105
|
+
[data-checkbox-root][data-variant='custom']:has(input:checked)
|
|
106
|
+
[data-checkbox-icon] {
|
|
107
|
+
@apply text-secondary-600;
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
/* Checkbox label: secondary on focus (checkbox has no input-root) */
|
|
111
|
+
[data-style='minimal'] [data-field-type='checkbox'] [data-field]:has(:focus-within) > label {
|
|
112
|
+
@apply text-secondary-600;
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
/* Placeholders */
|
|
116
|
+
[data-style='minimal'] [data-input-root] input::placeholder,
|
|
117
|
+
[data-style='minimal'] [data-input-root] textarea::placeholder {
|
|
118
|
+
@apply text-surface-z4;
|
|
119
|
+
}
|
|
@@ -0,0 +1,126 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* List - Minimal Theme Styles
|
|
3
|
+
*
|
|
4
|
+
* Clean, understated list with subtle borders and hover states.
|
|
5
|
+
*/
|
|
6
|
+
|
|
7
|
+
/* =============================================================================
|
|
8
|
+
List Container
|
|
9
|
+
============================================================================= */
|
|
10
|
+
|
|
11
|
+
[data-style='minimal'] [data-list]:focus-within {
|
|
12
|
+
@apply outline-none;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
/* =============================================================================
|
|
16
|
+
List Items
|
|
17
|
+
============================================================================= */
|
|
18
|
+
|
|
19
|
+
[data-style='minimal'] [data-list] [data-list-item] {
|
|
20
|
+
@apply text-surface-z7 border-0 border-solid border-transparent;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
[data-style='minimal'] [data-list] a[data-list-item],
|
|
24
|
+
[data-style='minimal'] [data-list] button[data-list-item] {
|
|
25
|
+
@apply text-surface-z6;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
/* Hover and focus (keyboard navigation) */
|
|
29
|
+
[data-style='minimal']
|
|
30
|
+
[data-list]
|
|
31
|
+
[data-list-item]:hover:not(:disabled):not([data-disabled='true']),
|
|
32
|
+
[data-style='minimal']
|
|
33
|
+
[data-list]
|
|
34
|
+
[data-list-item]:focus:not(:disabled):not([data-disabled='true']) {
|
|
35
|
+
@apply text-surface-z9 border-l-surface-z2 border-l-2 outline-none;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
/* Active state — muted when list not focused */
|
|
39
|
+
[data-style='minimal'] [data-list] [data-list-item][data-active='true'] {
|
|
40
|
+
@apply text-surface-z8 border-primary-z4 border-l-2;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
/* Active state — full highlight when list has focus */
|
|
44
|
+
[data-style='minimal'] [data-list]:focus-within [data-list-item][data-active='true'] {
|
|
45
|
+
@apply text-primary-z7 border-primary-z4 border-l-2;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
/* Active + hover/focus */
|
|
49
|
+
[data-style='minimal'] [data-list] [data-list-item][data-active='true']:hover:not(:disabled),
|
|
50
|
+
[data-style='minimal'] [data-list] [data-list-item][data-active='true']:focus:not(:disabled) {
|
|
51
|
+
@apply text-primary-z8;
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
/* =============================================================================
|
|
55
|
+
Item Elements
|
|
56
|
+
============================================================================= */
|
|
57
|
+
|
|
58
|
+
[data-style='minimal'] [data-list] [data-list-item] [data-item-icon] {
|
|
59
|
+
@apply text-surface-z5;
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
[data-style='minimal'] [data-list] [data-list-item]:hover:not(:disabled) [data-item-icon],
|
|
63
|
+
[data-style='minimal'] [data-list] [data-list-item]:focus:not(:disabled) [data-item-icon] {
|
|
64
|
+
@apply text-surface-z6;
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
[data-style='minimal'] [data-list] [data-list-item][data-active='true'] [data-item-icon] {
|
|
68
|
+
@apply text-primary-z5;
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
[data-style='minimal'] [data-list] [data-list-item] [data-item-description] {
|
|
72
|
+
@apply text-surface-z5;
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
[data-style='minimal'] [data-list] [data-list-item][data-active='true'] [data-item-description] {
|
|
76
|
+
@apply text-primary-z6;
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
[data-style='minimal'] [data-list] [data-list-item] [data-item-badge] {
|
|
80
|
+
@apply text-surface-z6 border-surface-z4 border bg-transparent;
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
[data-style='minimal'] [data-list] [data-list-item][data-active='true'] [data-item-badge] {
|
|
84
|
+
@apply text-primary-z7 border-primary-z4;
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
/* =============================================================================
|
|
88
|
+
Groups
|
|
89
|
+
============================================================================= */
|
|
90
|
+
|
|
91
|
+
[data-style='minimal'] [data-list] [data-list-group] {
|
|
92
|
+
@apply text-surface-z5;
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
[data-style='minimal'] [data-list] [data-list-group]:hover:not(:disabled),
|
|
96
|
+
[data-style='minimal'] [data-list] [data-list-group]:focus:not(:disabled) {
|
|
97
|
+
@apply text-surface-z7 border-l-surface-z3 border-l-2;
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
/* =============================================================================
|
|
101
|
+
Separator
|
|
102
|
+
============================================================================= */
|
|
103
|
+
|
|
104
|
+
[data-style='minimal'] [data-list] [data-list-separator] {
|
|
105
|
+
@apply bg-surface-z3;
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
/* =============================================================================
|
|
109
|
+
Multi-Selection
|
|
110
|
+
============================================================================= */
|
|
111
|
+
|
|
112
|
+
[data-style='minimal'] [data-list] [data-list-item][data-selected='true'] {
|
|
113
|
+
@apply text-primary-z7 border-primary-z3 border-l-2;
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
[data-style='minimal'] [data-list]:focus-within [data-list-item][data-selected='true'] {
|
|
117
|
+
@apply text-primary-z7 border-primary-z4 border-l-2;
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
[data-style='minimal'] [data-list] [data-list-item][data-selected='true']:hover:not(:disabled) {
|
|
121
|
+
@apply text-primary-z8;
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
[data-style='minimal'] [data-list] [data-list-item][data-selected='true'] [data-item-icon] {
|
|
125
|
+
@apply text-primary-z5;
|
|
126
|
+
}
|
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Menu - Minimal Theme Styles
|
|
3
|
+
*
|
|
4
|
+
* Clean, understated menu with subtle borders.
|
|
5
|
+
*/
|
|
6
|
+
|
|
7
|
+
/* =============================================================================
|
|
8
|
+
Menu Trigger
|
|
9
|
+
============================================================================= */
|
|
10
|
+
|
|
11
|
+
[data-style='minimal'] [data-menu-trigger] {
|
|
12
|
+
@apply border-surface-z4 text-surface-z7 border bg-transparent;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
[data-style='minimal'] [data-menu-trigger]:hover:not(:disabled) {
|
|
16
|
+
@apply text-surface-z9 border-surface-z5;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
[data-style='minimal'] [data-menu-trigger]:focus-visible {
|
|
20
|
+
@apply ring-surface-z5 ring-1 outline-none;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
[data-style='minimal'] [data-menu][data-open='true'] [data-menu-trigger] {
|
|
24
|
+
@apply border-surface-z6;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
/* Trigger elements */
|
|
28
|
+
[data-style='minimal'] [data-menu-trigger] [data-menu-icon] {
|
|
29
|
+
@apply text-surface-z5;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
[data-style='minimal'] [data-menu-trigger]:hover:not(:disabled) [data-menu-icon] {
|
|
33
|
+
@apply text-surface-z7;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
[data-style='minimal'] [data-menu-trigger] [data-menu-arrow] {
|
|
37
|
+
@apply text-surface-z4;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
/* =============================================================================
|
|
41
|
+
Menu Dropdown
|
|
42
|
+
============================================================================= */
|
|
43
|
+
|
|
44
|
+
[data-style='minimal'] [data-menu-dropdown] {
|
|
45
|
+
@apply bg-surface-z1 border-surface-z3 border shadow-sm;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
/* =============================================================================
|
|
49
|
+
Menu Items
|
|
50
|
+
============================================================================= */
|
|
51
|
+
|
|
52
|
+
[data-style='minimal'] [data-menu-item] {
|
|
53
|
+
@apply text-surface-z7 border-0 border-solid border-transparent;
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
[data-style='minimal'] [data-menu-item]:hover:not(:disabled),
|
|
57
|
+
[data-style='minimal'] [data-menu-item]:focus:not(:disabled) {
|
|
58
|
+
@apply text-surface-z9 border-l-surface-z2 border-l-2 outline-none;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
/* Item elements */
|
|
62
|
+
[data-style='minimal'] [data-menu-item] [data-item-icon] {
|
|
63
|
+
@apply text-surface-z5;
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
[data-style='minimal'] [data-menu-item]:hover:not(:disabled) [data-item-icon] {
|
|
67
|
+
@apply text-surface-z6;
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
[data-style='minimal'] [data-menu-item] [data-item-description] {
|
|
71
|
+
@apply text-surface-z5;
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
/* =============================================================================
|
|
75
|
+
Groups
|
|
76
|
+
============================================================================= */
|
|
77
|
+
|
|
78
|
+
[data-style='minimal'] [data-menu-group] {
|
|
79
|
+
@apply text-surface-z5;
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
/* =============================================================================
|
|
83
|
+
Divider
|
|
84
|
+
============================================================================= */
|
|
85
|
+
|
|
86
|
+
[data-style='minimal'] [data-menu-separator] {
|
|
87
|
+
@apply bg-surface-z3;
|
|
88
|
+
}
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Range - Minimal Theme Styles
|
|
3
|
+
*
|
|
4
|
+
* Clean, understated styling with subtle borders.
|
|
5
|
+
*/
|
|
6
|
+
|
|
7
|
+
/* =============================================================================
|
|
8
|
+
Track
|
|
9
|
+
============================================================================= */
|
|
10
|
+
|
|
11
|
+
[data-style='minimal'] [data-range-bar] {
|
|
12
|
+
@apply bg-surface-z3;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
[data-style='minimal'] [data-range-selected] {
|
|
16
|
+
@apply bg-primary;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
/* =============================================================================
|
|
20
|
+
Thumb
|
|
21
|
+
============================================================================= */
|
|
22
|
+
|
|
23
|
+
[data-style='minimal'] [data-range-thumb] {
|
|
24
|
+
@apply bg-surface-z1 border-primary border-2;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
[data-style='minimal'] [data-range-thumb][data-sliding] {
|
|
28
|
+
@apply bg-primary;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
[data-style='minimal'] [data-range-thumb]:focus-visible {
|
|
32
|
+
@apply bg-primary;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
/* =============================================================================
|
|
36
|
+
Ticks
|
|
37
|
+
============================================================================= */
|
|
38
|
+
|
|
39
|
+
[data-style='minimal'] [data-range-tick] {
|
|
40
|
+
@apply text-surface-z6;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
[data-style='minimal'] [data-tick-bar] {
|
|
44
|
+
@apply border-surface-z4;
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
[data-style='minimal'] [data-tick-label] {
|
|
48
|
+
@apply text-surface-z6;
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
/* =============================================================================
|
|
52
|
+
Disabled
|
|
53
|
+
============================================================================= */
|
|
54
|
+
|
|
55
|
+
[data-style='minimal'] [data-range][data-disabled] [data-range-thumb] {
|
|
56
|
+
@apply bg-surface-z3 border-surface-z4;
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
[data-style='minimal'] [data-range][data-disabled] [data-range-selected] {
|
|
60
|
+
@apply bg-surface-z4;
|
|
61
|
+
}
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* SearchFilter - Minimal Theme Styles
|
|
3
|
+
*
|
|
4
|
+
* Clean, understated styling with subtle borders.
|
|
5
|
+
*/
|
|
6
|
+
|
|
7
|
+
/* =============================================================================
|
|
8
|
+
Input
|
|
9
|
+
============================================================================= */
|
|
10
|
+
|
|
11
|
+
[data-style='minimal'] [data-search-input] {
|
|
12
|
+
@apply text-surface-z7 border-surface-z4 border bg-transparent;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
[data-style='minimal'] [data-search-input]:focus {
|
|
16
|
+
@apply border-surface-z6 ring-surface-z5 ring-1;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
[data-style='minimal'] [data-search-input]::placeholder {
|
|
20
|
+
@apply text-surface-z5;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
/* =============================================================================
|
|
24
|
+
Clear Button
|
|
25
|
+
============================================================================= */
|
|
26
|
+
|
|
27
|
+
[data-style='minimal'] [data-search-clear] {
|
|
28
|
+
@apply text-surface-z5;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
[data-style='minimal'] [data-search-clear]:hover {
|
|
32
|
+
@apply text-surface-z8;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
/* =============================================================================
|
|
36
|
+
Tags
|
|
37
|
+
============================================================================= */
|
|
38
|
+
|
|
39
|
+
[data-style='minimal'] [data-search-tag] {
|
|
40
|
+
@apply text-surface-z7 border-surface-z4 border bg-transparent;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
[data-style='minimal'] [data-search-tag-remove] {
|
|
44
|
+
@apply text-surface-z5;
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
[data-style='minimal'] [data-search-tag-remove]:hover {
|
|
48
|
+
@apply text-surface-z8;
|
|
49
|
+
}
|