@rokkit/themes 1.0.0-next.151 → 1.0.0-next.152
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/build.mjs +14 -5
- package/dist/ant-design.css +89 -25
- package/dist/base.css +488 -40
- package/dist/bits-ui.css +69 -16
- package/dist/carbon.css +82 -31
- package/dist/daisy-ui.css +73 -16
- package/dist/frosted.css +1953 -0
- package/dist/grada-ui.css +186 -37
- package/dist/index.css +2433 -1065
- package/dist/material.css +95 -18
- package/dist/minimal.css +120 -47
- package/dist/rokkit.css +174 -17
- package/dist/shadcn.css +70 -24
- package/package.json +5 -5
- package/src/ant-design/button.css +31 -24
- package/src/ant-design/card.css +4 -4
- package/src/ant-design/chart.css +5 -5
- package/src/ant-design/dropdown.css +7 -7
- package/src/ant-design/floating-action.css +5 -5
- package/src/ant-design/floating-navigation.css +4 -4
- package/src/ant-design/grid.css +1 -1
- package/src/ant-design/index.css +1 -0
- package/src/ant-design/input.css +4 -2
- package/src/ant-design/list.css +11 -11
- package/src/ant-design/menu.css +6 -6
- package/src/ant-design/range.css +1 -1
- package/src/ant-design/search-filter.css +2 -2
- package/src/ant-design/select.css +12 -12
- package/src/ant-design/status-list.css +1 -1
- package/src/ant-design/step-indicator.css +38 -0
- package/src/ant-design/switch.css +2 -2
- package/src/ant-design/table.css +8 -6
- package/src/ant-design/tabs.css +13 -9
- package/src/ant-design/toggle.css +3 -3
- package/src/ant-design/toolbar.css +7 -7
- package/src/ant-design/tree.css +21 -11
- package/src/ant-design/upload-progress.css +1 -1
- package/src/ant-design/upload-target.css +1 -1
- package/src/base/avatar.css +82 -0
- package/src/base/badge.css +41 -0
- package/src/base/button.css +6 -6
- package/src/base/card.css +7 -4
- package/src/base/chart.css +5 -5
- package/src/base/density.css +51 -0
- package/src/base/divider.css +49 -0
- package/src/base/dropdown.css +5 -4
- package/src/base/index.css +6 -0
- package/src/base/input.css +3 -1
- package/src/base/list.css +12 -7
- package/src/base/menu.css +7 -5
- package/src/base/stack.css +76 -0
- package/src/base/step-indicator.css +74 -0
- package/src/base/swatch.css +12 -6
- package/src/base/table.css +52 -2
- package/src/bits-ui/button.css +18 -18
- package/src/bits-ui/card.css +4 -4
- package/src/bits-ui/chart.css +5 -5
- package/src/bits-ui/dropdown.css +5 -5
- package/src/bits-ui/floating-action.css +5 -5
- package/src/bits-ui/floating-navigation.css +2 -2
- package/src/bits-ui/index.css +1 -0
- package/src/bits-ui/input.css +8 -4
- package/src/bits-ui/list.css +4 -4
- package/src/bits-ui/menu.css +5 -5
- package/src/bits-ui/range.css +2 -2
- package/src/bits-ui/search-filter.css +2 -2
- package/src/bits-ui/select.css +9 -9
- package/src/bits-ui/status-list.css +1 -1
- package/src/bits-ui/step-indicator.css +40 -0
- package/src/bits-ui/switch.css +2 -2
- package/src/bits-ui/table.css +1 -1
- package/src/bits-ui/tabs.css +5 -5
- package/src/bits-ui/toggle.css +2 -2
- package/src/bits-ui/toolbar.css +7 -7
- package/src/bits-ui/tree.css +12 -4
- package/src/bits-ui/upload-progress.css +1 -1
- package/src/carbon/button.css +23 -20
- package/src/carbon/card.css +5 -5
- package/src/carbon/chart.css +5 -5
- package/src/carbon/dropdown.css +8 -8
- package/src/carbon/floating-action.css +8 -8
- package/src/carbon/floating-navigation.css +5 -5
- package/src/carbon/index.css +1 -0
- package/src/carbon/input.css +2 -2
- package/src/carbon/list.css +12 -14
- package/src/carbon/menu.css +8 -8
- package/src/carbon/range.css +2 -2
- package/src/carbon/search-filter.css +2 -2
- package/src/carbon/select.css +13 -13
- package/src/carbon/status-list.css +1 -1
- package/src/carbon/step-indicator.css +40 -0
- package/src/carbon/switch.css +3 -3
- package/src/carbon/table.css +6 -6
- package/src/carbon/tabs.css +10 -8
- package/src/carbon/toc.css +2 -2
- package/src/carbon/toggle.css +3 -3
- package/src/carbon/toolbar.css +8 -9
- package/src/carbon/tree.css +22 -14
- package/src/carbon/upload-progress.css +2 -2
- package/src/carbon/upload-target.css +2 -2
- package/src/daisy-ui/button.css +20 -19
- package/src/daisy-ui/card.css +5 -5
- package/src/daisy-ui/chart.css +5 -5
- package/src/daisy-ui/dropdown.css +8 -8
- package/src/daisy-ui/floating-action.css +6 -6
- package/src/daisy-ui/floating-navigation.css +5 -5
- package/src/daisy-ui/grid.css +1 -1
- package/src/daisy-ui/index.css +1 -0
- package/src/daisy-ui/input.css +5 -3
- package/src/daisy-ui/list.css +9 -9
- package/src/daisy-ui/menu.css +7 -7
- package/src/daisy-ui/range.css +3 -3
- package/src/daisy-ui/search-filter.css +3 -3
- package/src/daisy-ui/select.css +14 -14
- package/src/daisy-ui/status-list.css +1 -1
- package/src/daisy-ui/step-indicator.css +37 -0
- package/src/daisy-ui/switch.css +3 -3
- package/src/daisy-ui/table.css +7 -5
- package/src/daisy-ui/tabs.css +10 -6
- package/src/daisy-ui/toggle.css +3 -3
- package/src/daisy-ui/toolbar.css +6 -6
- package/src/daisy-ui/tree.css +20 -10
- package/src/daisy-ui/upload-target.css +1 -1
- package/src/frosted/button.css +224 -0
- package/src/frosted/card.css +130 -0
- package/src/frosted/chart.css +38 -0
- package/src/frosted/dropdown.css +66 -0
- package/src/{glass → frosted}/floating-action.css +10 -10
- package/src/{glass → frosted}/floating-navigation.css +13 -13
- package/src/{glass → frosted}/index.css +1 -0
- package/src/frosted/input.css +135 -0
- package/src/frosted/list.css +122 -0
- package/src/frosted/menu.css +108 -0
- package/src/frosted/message.css +35 -0
- package/src/{glass → frosted}/range.css +10 -10
- package/src/{glass → frosted}/search-filter.css +8 -8
- package/src/{glass → frosted}/select.css +34 -34
- package/src/frosted/status-list.css +66 -0
- package/src/frosted/step-indicator.css +41 -0
- package/src/frosted/swatch.css +21 -0
- package/src/frosted/switch.css +43 -0
- package/src/frosted/table.css +106 -0
- package/src/{glass → frosted}/tabs.css +10 -10
- package/src/{glass → frosted}/timeline.css +7 -7
- package/src/frosted/toc.css +18 -0
- package/src/{glass → frosted}/toggle.css +9 -9
- package/src/{glass → frosted}/toolbar.css +16 -16
- package/src/{glass → frosted}/tree.css +20 -20
- package/src/grada-ui/button.css +20 -6
- package/src/grada-ui/card.css +12 -6
- package/src/grada-ui/chart.css +5 -5
- package/src/grada-ui/dropdown.css +7 -3
- package/src/grada-ui/floating-action.css +11 -4
- package/src/grada-ui/floating-navigation.css +5 -1
- package/src/grada-ui/index.css +1 -0
- package/src/grada-ui/input.css +2 -2
- package/src/grada-ui/list.css +15 -3
- package/src/grada-ui/menu.css +2 -2
- package/src/grada-ui/range.css +5 -1
- package/src/grada-ui/search-filter.css +6 -2
- package/src/grada-ui/select.css +27 -9
- package/src/grada-ui/status-list.css +5 -1
- package/src/grada-ui/step-indicator.css +37 -0
- package/src/grada-ui/switch.css +7 -3
- package/src/grada-ui/table.css +2 -2
- package/src/grada-ui/tabs.css +5 -1
- package/src/grada-ui/timeline.css +10 -2
- package/src/grada-ui/toggle.css +7 -3
- package/src/grada-ui/toolbar.css +10 -2
- package/src/grada-ui/tree.css +8 -2
- package/src/index.css +2 -2
- package/src/material/button.css +5 -5
- package/src/material/card.css +4 -4
- package/src/material/chart.css +5 -5
- package/src/material/dropdown.css +7 -7
- package/src/material/floating-action.css +5 -5
- package/src/material/floating-navigation.css +4 -4
- package/src/material/index.css +1 -0
- package/src/material/input.css +1 -1
- package/src/material/list.css +11 -11
- package/src/material/menu.css +6 -6
- package/src/material/message.css +0 -1
- package/src/material/range.css +1 -1
- package/src/material/search-filter.css +1 -1
- package/src/material/select.css +14 -12
- package/src/material/status-list.css +1 -1
- package/src/material/step-indicator.css +41 -0
- package/src/material/swatch.css +4 -2
- package/src/material/switch.css +2 -2
- package/src/material/table.css +24 -5
- package/src/material/tabs.css +6 -3
- package/src/material/toggle.css +3 -3
- package/src/material/toolbar.css +7 -7
- package/src/material/tree.css +17 -7
- package/src/minimal/button.css +7 -7
- package/src/minimal/card.css +4 -4
- package/src/minimal/chart.css +5 -5
- package/src/minimal/dropdown.css +7 -7
- package/src/minimal/floating-action.css +5 -5
- package/src/minimal/floating-navigation.css +4 -4
- package/src/minimal/index.css +1 -0
- package/src/minimal/list.css +18 -16
- package/src/minimal/menu.css +6 -6
- package/src/minimal/message.css +0 -1
- package/src/minimal/range.css +1 -1
- package/src/minimal/search-filter.css +1 -1
- package/src/minimal/select.css +11 -11
- package/src/minimal/status-list.css +1 -1
- package/src/minimal/step-indicator.css +40 -0
- package/src/minimal/swatch.css +4 -2
- package/src/minimal/table.css +24 -5
- package/src/minimal/tabs.css +10 -8
- package/src/minimal/toggle.css +1 -1
- package/src/minimal/toolbar.css +7 -7
- package/src/minimal/tree.css +14 -6
- package/src/rokkit/avatar.css +29 -0
- package/src/rokkit/badge.css +29 -0
- package/src/rokkit/button.css +1 -1
- package/src/rokkit/chart.css +5 -5
- package/src/rokkit/divider.css +26 -0
- package/src/rokkit/index.css +5 -0
- package/src/rokkit/stack.css +6 -0
- package/src/rokkit/step-indicator.css +41 -0
- package/src/rokkit/swatch.css +4 -2
- package/src/rokkit/table.css +25 -6
- package/src/shadcn/button.css +20 -21
- package/src/shadcn/card.css +4 -4
- package/src/shadcn/chart.css +5 -5
- package/src/shadcn/dropdown.css +7 -7
- package/src/shadcn/floating-action.css +5 -5
- package/src/shadcn/floating-navigation.css +4 -4
- package/src/shadcn/index.css +1 -0
- package/src/shadcn/input.css +4 -2
- package/src/shadcn/list.css +13 -15
- package/src/shadcn/menu.css +7 -7
- package/src/shadcn/range.css +2 -2
- package/src/shadcn/search-filter.css +2 -2
- package/src/shadcn/select.css +13 -13
- package/src/shadcn/status-list.css +1 -1
- package/src/shadcn/step-indicator.css +37 -0
- package/src/shadcn/switch.css +2 -2
- package/src/shadcn/table.css +4 -4
- package/src/shadcn/tabs.css +10 -8
- package/src/shadcn/toc.css +2 -2
- package/src/shadcn/toggle.css +4 -4
- package/src/shadcn/toolbar.css +8 -9
- package/src/shadcn/tree.css +21 -13
- package/src/shadcn/upload-progress.css +1 -1
- package/dist/glass.css +0 -1760
- package/src/glass/button.css +0 -174
- package/src/glass/card.css +0 -103
- package/src/glass/chart.css +0 -38
- package/src/glass/dropdown.css +0 -50
- package/src/glass/input.css +0 -128
- package/src/glass/list.css +0 -122
- package/src/glass/menu.css +0 -92
- package/src/glass/message.css +0 -36
- package/src/glass/status-list.css +0 -66
- package/src/glass/swatch.css +0 -19
- package/src/glass/switch.css +0 -28
- package/src/glass/table.css +0 -87
- package/src/glass/toc.css +0 -18
|
@@ -0,0 +1,106 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Table - Glass Theme Styles
|
|
3
|
+
*
|
|
4
|
+
* Glassmorphism styling with blur and transparency.
|
|
5
|
+
*/
|
|
6
|
+
|
|
7
|
+
/* =============================================================================
|
|
8
|
+
Header
|
|
9
|
+
============================================================================= */
|
|
10
|
+
|
|
11
|
+
[data-style='frosted'] [data-table-header] th {
|
|
12
|
+
@apply text-surface-z6 border-surface-z5/20 border-b bg-surface-z2/80 backdrop-blur-sm;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
[data-style='frosted'] [data-table-header-cell][data-sortable='true']:hover {
|
|
16
|
+
@apply text-surface-z9;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
[data-style='frosted'] [data-table-header-cell][data-sort-order='ascending'],
|
|
20
|
+
[data-style='frosted'] [data-table-header-cell][data-sort-order='descending'] {
|
|
21
|
+
@apply text-primary-z8;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
[data-style='frosted'] [data-table-sort-icon] {
|
|
25
|
+
@apply text-surface-z5;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
[data-style='frosted'] [data-table-header-cell][data-sort-order='ascending'] [data-table-sort-icon],
|
|
29
|
+
[data-style='frosted'] [data-table-header-cell][data-sort-order='descending'] [data-table-sort-icon] {
|
|
30
|
+
@apply text-primary-z6;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
/* =============================================================================
|
|
34
|
+
Caption
|
|
35
|
+
============================================================================= */
|
|
36
|
+
|
|
37
|
+
[data-style='frosted'] [data-table-caption] {
|
|
38
|
+
@apply text-surface-z7;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
/* =============================================================================
|
|
42
|
+
Rows
|
|
43
|
+
============================================================================= */
|
|
44
|
+
|
|
45
|
+
[data-style='frosted'] [data-table-row] {
|
|
46
|
+
@apply text-surface-z8 border-surface-z5/10 border-b;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
[data-style='frosted'] [data-table-row]:hover {
|
|
50
|
+
@apply bg-surface-z2/80;
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
[data-style='frosted'] [data-table-row]:focus {
|
|
54
|
+
@apply bg-surface-z2/80 text-surface-z10 outline-none;
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
[data-style='frosted'] [data-table-row][data-selected='true'] {
|
|
58
|
+
@apply text-primary-z9 bg-primary-z5/40;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
/* =============================================================================
|
|
62
|
+
Striped
|
|
63
|
+
============================================================================= */
|
|
64
|
+
|
|
65
|
+
[data-style='frosted'] [data-table-striped] [data-table-body] tr:nth-child(even) {
|
|
66
|
+
@apply bg-surface-z2/30;
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
/* =============================================================================
|
|
70
|
+
Empty
|
|
71
|
+
============================================================================= */
|
|
72
|
+
|
|
73
|
+
[data-style='frosted'] [data-table-empty] {
|
|
74
|
+
@apply text-surface-z5;
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
/* =============================================================================
|
|
78
|
+
Cell Icon
|
|
79
|
+
============================================================================= */
|
|
80
|
+
|
|
81
|
+
[data-style='frosted'] [data-table-cell] [data-cell-icon] {
|
|
82
|
+
@apply text-surface-z5;
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
[data-style='frosted'] [data-table-row][data-selected='true'] [data-cell-icon] {
|
|
86
|
+
@apply text-primary-z6;
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
/* =============================================================================
|
|
90
|
+
Responsive Card Layout
|
|
91
|
+
============================================================================= */
|
|
92
|
+
|
|
93
|
+
@media (max-width: 639px) {
|
|
94
|
+
[data-style='frosted'] [data-table-responsive] [data-table-row] {
|
|
95
|
+
@apply bg-surface-z2/80 border-surface-z5/20 border backdrop-blur-sm;
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
[data-style='frosted'] [data-table-responsive] [data-table-cell]::before {
|
|
99
|
+
@apply text-surface-z5;
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
/* Disable striped alternating bg in card layout */
|
|
103
|
+
[data-style='frosted'] [data-table-responsive][data-table-striped] [data-table-body] tr:nth-child(even) {
|
|
104
|
+
background: unset;
|
|
105
|
+
}
|
|
106
|
+
}
|
|
@@ -8,11 +8,11 @@
|
|
|
8
8
|
Tab List
|
|
9
9
|
============================================================================= */
|
|
10
10
|
|
|
11
|
-
[data-style='
|
|
11
|
+
[data-style='frosted'] [data-tabs-list] {
|
|
12
12
|
@apply bg-surface-z1/70 border-surface-z5/20 rounded-t-lg border-0 border-b px-0 backdrop-blur-md;
|
|
13
13
|
}
|
|
14
14
|
|
|
15
|
-
[data-style='
|
|
15
|
+
[data-style='frosted'] [data-tabs][data-position='after'] [data-tabs-list] {
|
|
16
16
|
@apply rounded-t-none rounded-b-lg border-t border-b-0;
|
|
17
17
|
}
|
|
18
18
|
|
|
@@ -20,16 +20,16 @@
|
|
|
20
20
|
Tab Triggers
|
|
21
21
|
============================================================================= */
|
|
22
22
|
|
|
23
|
-
[data-style='
|
|
24
|
-
@apply
|
|
23
|
+
[data-style='frosted'] [data-tabs-trigger] {
|
|
24
|
+
@apply text-surface-z6 bg-transparent;
|
|
25
25
|
}
|
|
26
26
|
|
|
27
|
-
[data-style='
|
|
27
|
+
[data-style='frosted'] [data-tabs-trigger]:hover:not(:disabled):not([data-disabled]) {
|
|
28
28
|
@apply text-surface-z8 bg-surface-z2/15;
|
|
29
29
|
}
|
|
30
30
|
|
|
31
31
|
/* Selected state */
|
|
32
|
-
[data-style='
|
|
32
|
+
[data-style='frosted'] [data-tabs-trigger][data-selected] {
|
|
33
33
|
@apply bg-primary-z5/40 text-primary-z9 border-primary-z5/50 border backdrop-blur-sm;
|
|
34
34
|
}
|
|
35
35
|
|
|
@@ -37,15 +37,15 @@
|
|
|
37
37
|
Tab Icon
|
|
38
38
|
============================================================================= */
|
|
39
39
|
|
|
40
|
-
[data-style='
|
|
40
|
+
[data-style='frosted'] [data-tabs-trigger] [data-tabs-icon] {
|
|
41
41
|
@apply text-surface-z5;
|
|
42
42
|
}
|
|
43
43
|
|
|
44
|
-
[data-style='
|
|
44
|
+
[data-style='frosted'] [data-tabs-trigger]:hover:not(:disabled) [data-tabs-icon] {
|
|
45
45
|
@apply text-surface-z7;
|
|
46
46
|
}
|
|
47
47
|
|
|
48
|
-
[data-style='
|
|
48
|
+
[data-style='frosted'] [data-tabs-trigger][data-selected] [data-tabs-icon] {
|
|
49
49
|
@apply text-primary-z7;
|
|
50
50
|
}
|
|
51
51
|
|
|
@@ -53,6 +53,6 @@
|
|
|
53
53
|
Tab Panel
|
|
54
54
|
============================================================================= */
|
|
55
55
|
|
|
56
|
-
[data-style='
|
|
56
|
+
[data-style='frosted'] [data-tabs-content] {
|
|
57
57
|
@apply text-surface-z8;
|
|
58
58
|
}
|
|
@@ -8,15 +8,15 @@
|
|
|
8
8
|
Circle
|
|
9
9
|
============================================================================= */
|
|
10
10
|
|
|
11
|
-
[data-style='
|
|
11
|
+
[data-style='frosted'] [data-timeline-circle] {
|
|
12
12
|
@apply border-surface-z5/30 text-surface-z6;
|
|
13
13
|
}
|
|
14
14
|
|
|
15
|
-
[data-style='
|
|
15
|
+
[data-style='frosted'] [data-timeline-item][data-completed] [data-timeline-circle] {
|
|
16
16
|
@apply bg-primary/80 border-primary/50 text-on-primary backdrop-blur-sm;
|
|
17
17
|
}
|
|
18
18
|
|
|
19
|
-
[data-style='
|
|
19
|
+
[data-style='frosted'] [data-timeline-item][data-active] [data-timeline-circle] {
|
|
20
20
|
@apply border-primary/60 text-primary;
|
|
21
21
|
box-shadow: 0 0 0 3px color-mix(in srgb, var(--color-primary) 15%, transparent);
|
|
22
22
|
}
|
|
@@ -25,11 +25,11 @@
|
|
|
25
25
|
Connector
|
|
26
26
|
============================================================================= */
|
|
27
27
|
|
|
28
|
-
[data-style='
|
|
28
|
+
[data-style='frosted'] [data-timeline-connector] {
|
|
29
29
|
@apply bg-surface-z5/20;
|
|
30
30
|
}
|
|
31
31
|
|
|
32
|
-
[data-style='
|
|
32
|
+
[data-style='frosted'] [data-timeline-item][data-completed] [data-timeline-connector] {
|
|
33
33
|
@apply bg-primary/40;
|
|
34
34
|
}
|
|
35
35
|
|
|
@@ -37,10 +37,10 @@
|
|
|
37
37
|
Body
|
|
38
38
|
============================================================================= */
|
|
39
39
|
|
|
40
|
-
[data-style='
|
|
40
|
+
[data-style='frosted'] [data-timeline-title] {
|
|
41
41
|
@apply text-surface-z8;
|
|
42
42
|
}
|
|
43
43
|
|
|
44
|
-
[data-style='
|
|
44
|
+
[data-style='frosted'] [data-timeline-description] {
|
|
45
45
|
@apply text-surface-z6;
|
|
46
46
|
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/* TableOfContents — Glass theme */
|
|
2
|
+
|
|
3
|
+
[data-style='frosted'] [data-toc] [data-toc-label] {
|
|
4
|
+
@apply text-surface-z6;
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
[data-style='frosted'] [data-toc] [data-toc-item] {
|
|
8
|
+
@apply text-surface-z7;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
[data-style='frosted'] [data-toc] [data-toc-item]:hover,
|
|
12
|
+
[data-style='frosted'] [data-toc] [data-toc-item][data-toc-focused] {
|
|
13
|
+
@apply text-surface-z10 bg-surface-z2/15 outline-none;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
[data-style='frosted'] [data-toc] [data-toc-item][data-toc-active] {
|
|
17
|
+
@apply text-primary-z9 border-l-primary-z5;
|
|
18
|
+
}
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
Toggle Container
|
|
9
9
|
============================================================================= */
|
|
10
10
|
|
|
11
|
-
[data-style='
|
|
11
|
+
[data-style='frosted'] [data-toggle] {
|
|
12
12
|
@apply bg-surface-z1/70 border-surface-z5/20 rounded-lg border backdrop-blur-md;
|
|
13
13
|
}
|
|
14
14
|
|
|
@@ -16,17 +16,17 @@
|
|
|
16
16
|
Toggle Options
|
|
17
17
|
============================================================================= */
|
|
18
18
|
|
|
19
|
-
[data-style='
|
|
19
|
+
[data-style='frosted'] [data-toggle-option] {
|
|
20
20
|
@apply text-surface-z6;
|
|
21
21
|
}
|
|
22
22
|
|
|
23
|
-
[data-style='
|
|
24
|
-
[data-style='
|
|
23
|
+
[data-style='frosted'] [data-toggle-option]:hover:not(:disabled):not([data-disabled='true']),
|
|
24
|
+
[data-style='frosted'] [data-toggle-option]:focus:not(:disabled):not([data-disabled='true']) {
|
|
25
25
|
@apply text-surface-z8 bg-surface-z2/15;
|
|
26
26
|
}
|
|
27
27
|
|
|
28
28
|
/* Selected state */
|
|
29
|
-
[data-style='
|
|
29
|
+
[data-style='frosted'] [data-toggle-option][data-selected='true'] {
|
|
30
30
|
@apply bg-primary-z5/40 text-primary-z9 border-primary-z5/50 border backdrop-blur-sm;
|
|
31
31
|
}
|
|
32
32
|
|
|
@@ -34,15 +34,15 @@
|
|
|
34
34
|
Toggle Icon
|
|
35
35
|
============================================================================= */
|
|
36
36
|
|
|
37
|
-
[data-style='
|
|
37
|
+
[data-style='frosted'] [data-toggle-option] [data-toggle-icon] {
|
|
38
38
|
@apply text-surface-z5;
|
|
39
39
|
}
|
|
40
40
|
|
|
41
|
-
[data-style='
|
|
42
|
-
[data-style='
|
|
41
|
+
[data-style='frosted'] [data-toggle-option]:hover:not(:disabled) [data-toggle-icon],
|
|
42
|
+
[data-style='frosted'] [data-toggle-option]:focus:not(:disabled) [data-toggle-icon] {
|
|
43
43
|
@apply text-surface-z7;
|
|
44
44
|
}
|
|
45
45
|
|
|
46
|
-
[data-style='
|
|
46
|
+
[data-style='frosted'] [data-toggle-option][data-selected='true'] [data-toggle-icon] {
|
|
47
47
|
@apply text-primary-z7;
|
|
48
48
|
}
|
|
@@ -8,25 +8,25 @@
|
|
|
8
8
|
Toolbar Container
|
|
9
9
|
============================================================================= */
|
|
10
10
|
|
|
11
|
-
[data-style='
|
|
11
|
+
[data-style='frosted'] [data-toolbar] {
|
|
12
12
|
@apply bg-surface-z1/70 backdrop-blur-md;
|
|
13
13
|
}
|
|
14
14
|
|
|
15
15
|
/* Position-based borders */
|
|
16
|
-
[data-style='
|
|
17
|
-
[data-style='
|
|
16
|
+
[data-style='frosted'] [data-toolbar][data-toolbar-position='top'],
|
|
17
|
+
[data-style='frosted'] [data-toolbar]:not([data-toolbar-position]) {
|
|
18
18
|
@apply border-surface-z5/20 border-b;
|
|
19
19
|
}
|
|
20
20
|
|
|
21
|
-
[data-style='
|
|
21
|
+
[data-style='frosted'] [data-toolbar][data-toolbar-position='bottom'] {
|
|
22
22
|
@apply border-surface-z5/20 border-t;
|
|
23
23
|
}
|
|
24
24
|
|
|
25
|
-
[data-style='
|
|
25
|
+
[data-style='frosted'] [data-toolbar][data-toolbar-position='left'] {
|
|
26
26
|
@apply border-surface-z5/20 border-r;
|
|
27
27
|
}
|
|
28
28
|
|
|
29
|
-
[data-style='
|
|
29
|
+
[data-style='frosted'] [data-toolbar][data-toolbar-position='right'] {
|
|
30
30
|
@apply border-surface-z5/20 border-l;
|
|
31
31
|
}
|
|
32
32
|
|
|
@@ -34,24 +34,24 @@
|
|
|
34
34
|
Toolbar Items
|
|
35
35
|
============================================================================= */
|
|
36
36
|
|
|
37
|
-
[data-style='
|
|
37
|
+
[data-style='frosted'] [data-toolbar-item] {
|
|
38
38
|
@apply text-surface-z7;
|
|
39
39
|
}
|
|
40
40
|
|
|
41
|
-
[data-style='
|
|
41
|
+
[data-style='frosted'] [data-toolbar-item]:hover:not(:disabled):not([data-disabled='true']) {
|
|
42
42
|
@apply text-surface-z10 bg-surface-z2/15;
|
|
43
43
|
}
|
|
44
44
|
|
|
45
|
-
[data-style='
|
|
45
|
+
[data-style='frosted'] [data-toolbar-item]:focus-visible:not(:disabled):not([data-disabled='true']) {
|
|
46
46
|
@apply text-surface-z10 ring-surface-z5/40 bg-surface-z2/15 ring-1 outline-none;
|
|
47
47
|
}
|
|
48
48
|
|
|
49
49
|
/* Active/pressed state */
|
|
50
|
-
[data-style='
|
|
50
|
+
[data-style='frosted'] [data-toolbar-item][data-active='true'] {
|
|
51
51
|
@apply bg-primary-z5/30 text-primary-z9;
|
|
52
52
|
}
|
|
53
53
|
|
|
54
|
-
[data-style='
|
|
54
|
+
[data-style='frosted'] [data-toolbar-item][data-active='true']:hover:not(:disabled) {
|
|
55
55
|
@apply bg-primary-z5/40 text-primary-z10;
|
|
56
56
|
}
|
|
57
57
|
|
|
@@ -59,15 +59,15 @@
|
|
|
59
59
|
Toolbar Icon
|
|
60
60
|
============================================================================= */
|
|
61
61
|
|
|
62
|
-
[data-style='
|
|
62
|
+
[data-style='frosted'] [data-toolbar-item] [data-toolbar-icon] {
|
|
63
63
|
@apply text-surface-z6;
|
|
64
64
|
}
|
|
65
65
|
|
|
66
|
-
[data-style='
|
|
66
|
+
[data-style='frosted'] [data-toolbar-item]:hover:not(:disabled) [data-toolbar-icon] {
|
|
67
67
|
@apply text-surface-z9;
|
|
68
68
|
}
|
|
69
69
|
|
|
70
|
-
[data-style='
|
|
70
|
+
[data-style='frosted'] [data-toolbar-item][data-active='true'] [data-toolbar-icon] {
|
|
71
71
|
@apply text-primary-z7;
|
|
72
72
|
}
|
|
73
73
|
|
|
@@ -75,10 +75,10 @@
|
|
|
75
75
|
Separator & Divider
|
|
76
76
|
============================================================================= */
|
|
77
77
|
|
|
78
|
-
[data-style='
|
|
78
|
+
[data-style='frosted'] [data-toolbar-separator] {
|
|
79
79
|
@apply bg-surface-z5/20;
|
|
80
80
|
}
|
|
81
81
|
|
|
82
|
-
[data-style='
|
|
82
|
+
[data-style='frosted'] [data-toolbar-divider] {
|
|
83
83
|
@apply bg-surface-z5/20;
|
|
84
84
|
}
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
Tree Container
|
|
9
9
|
============================================================================= */
|
|
10
10
|
|
|
11
|
-
[data-style='
|
|
11
|
+
[data-style='frosted'] [data-tree]:focus-within {
|
|
12
12
|
@apply ring-surface-z5/40 rounded ring-1;
|
|
13
13
|
}
|
|
14
14
|
|
|
@@ -16,11 +16,11 @@
|
|
|
16
16
|
Tree Toggle Button
|
|
17
17
|
============================================================================= */
|
|
18
18
|
|
|
19
|
-
[data-style='
|
|
19
|
+
[data-style='frosted'] [data-tree-toggle-btn] {
|
|
20
20
|
@apply text-surface-z5;
|
|
21
21
|
}
|
|
22
22
|
|
|
23
|
-
[data-style='
|
|
23
|
+
[data-style='frosted'] [data-tree-toggle-btn]:hover {
|
|
24
24
|
@apply text-surface-z7 bg-surface-z2/15;
|
|
25
25
|
}
|
|
26
26
|
|
|
@@ -28,26 +28,26 @@
|
|
|
28
28
|
Tree Item Content
|
|
29
29
|
============================================================================= */
|
|
30
30
|
|
|
31
|
-
[data-style='
|
|
31
|
+
[data-style='frosted'] [data-tree-item-content] {
|
|
32
32
|
@apply text-surface-z8;
|
|
33
33
|
}
|
|
34
34
|
|
|
35
|
-
[data-style='
|
|
36
|
-
[data-style='
|
|
35
|
+
[data-style='frosted'] [data-tree-item-content]:hover:not(:disabled),
|
|
36
|
+
[data-style='frosted'] [data-tree-item-content]:focus:not(:disabled) {
|
|
37
37
|
@apply text-surface-z10 bg-surface-z2/15 outline-none;
|
|
38
38
|
}
|
|
39
39
|
|
|
40
40
|
/* Focus visible for keyboard navigation */
|
|
41
|
-
[data-style='
|
|
41
|
+
[data-style='frosted'] [data-tree-item-content]:focus-visible {
|
|
42
42
|
@apply ring-surface-z5/40 ring-1 outline-none;
|
|
43
43
|
}
|
|
44
44
|
|
|
45
45
|
/* Active/selected state */
|
|
46
|
-
[data-style='
|
|
46
|
+
[data-style='frosted'] [data-tree-item-content][data-active='true'] {
|
|
47
47
|
@apply bg-primary-z5/30 text-primary-z9;
|
|
48
48
|
}
|
|
49
49
|
|
|
50
|
-
[data-style='
|
|
50
|
+
[data-style='frosted'] [data-tree-item-content][data-active='true']:hover:not(:disabled) {
|
|
51
51
|
@apply bg-primary-z5/40;
|
|
52
52
|
}
|
|
53
53
|
|
|
@@ -55,31 +55,31 @@
|
|
|
55
55
|
Item Elements
|
|
56
56
|
============================================================================= */
|
|
57
57
|
|
|
58
|
-
[data-style='
|
|
58
|
+
[data-style='frosted'] [data-tree-item-content] [data-item-icon] {
|
|
59
59
|
@apply text-surface-z5;
|
|
60
60
|
}
|
|
61
61
|
|
|
62
|
-
[data-style='
|
|
62
|
+
[data-style='frosted'] [data-tree-item-content]:hover:not(:disabled) [data-item-icon] {
|
|
63
63
|
@apply text-surface-z7;
|
|
64
64
|
}
|
|
65
65
|
|
|
66
|
-
[data-style='
|
|
66
|
+
[data-style='frosted'] [data-tree-item-content][data-active='true'] [data-item-icon] {
|
|
67
67
|
@apply text-primary-z6;
|
|
68
68
|
}
|
|
69
69
|
|
|
70
|
-
[data-style='
|
|
70
|
+
[data-style='frosted'] [data-tree-item-content] [data-item-description] {
|
|
71
71
|
@apply text-surface-z5;
|
|
72
72
|
}
|
|
73
73
|
|
|
74
|
-
[data-style='
|
|
74
|
+
[data-style='frosted'] [data-tree-item-content][data-active='true'] [data-item-description] {
|
|
75
75
|
@apply text-primary-z7;
|
|
76
76
|
}
|
|
77
77
|
|
|
78
|
-
[data-style='
|
|
78
|
+
[data-style='frosted'] [data-tree-item-content] [data-item-badge] {
|
|
79
79
|
@apply text-surface-z6 bg-surface-z2/15;
|
|
80
80
|
}
|
|
81
81
|
|
|
82
|
-
[data-style='
|
|
82
|
+
[data-style='frosted'] [data-tree-item-content][data-active='true'] [data-item-badge] {
|
|
83
83
|
@apply text-primary-z8 bg-primary-z5/25;
|
|
84
84
|
}
|
|
85
85
|
|
|
@@ -87,22 +87,22 @@
|
|
|
87
87
|
Multi-Selection
|
|
88
88
|
============================================================================= */
|
|
89
89
|
|
|
90
|
-
[data-style='
|
|
90
|
+
[data-style='frosted'] [data-tree-node][data-selected='true'] [data-tree-node-row] {
|
|
91
91
|
@apply bg-primary-z5/20;
|
|
92
92
|
}
|
|
93
93
|
|
|
94
|
-
[data-style='
|
|
94
|
+
[data-style='frosted']
|
|
95
95
|
[data-tree]:focus-within
|
|
96
96
|
[data-tree-node][data-selected='true']
|
|
97
97
|
[data-tree-node-row] {
|
|
98
98
|
@apply bg-primary-z5/30;
|
|
99
99
|
}
|
|
100
100
|
|
|
101
|
-
[data-style='
|
|
101
|
+
[data-style='frosted'] [data-tree-node][data-selected='true'] [data-tree-item-content] {
|
|
102
102
|
@apply text-primary-z9;
|
|
103
103
|
}
|
|
104
104
|
|
|
105
|
-
[data-style='
|
|
105
|
+
[data-style='frosted']
|
|
106
106
|
[data-tree-node][data-selected='true']
|
|
107
107
|
[data-tree-item-content]
|
|
108
108
|
[data-item-icon] {
|
package/src/grada-ui/button.css
CHANGED
|
@@ -15,7 +15,9 @@
|
|
|
15
15
|
text-transform: uppercase;
|
|
16
16
|
font-size: 0.625rem;
|
|
17
17
|
font-weight: 700;
|
|
18
|
-
transition:
|
|
18
|
+
transition:
|
|
19
|
+
filter 0.15s ease,
|
|
20
|
+
box-shadow 0.15s ease;
|
|
19
21
|
}
|
|
20
22
|
|
|
21
23
|
/* =============================================================================
|
|
@@ -26,13 +28,17 @@
|
|
|
26
28
|
[data-style='grada-ui'] [data-button]:not([data-style])[data-variant='default'],
|
|
27
29
|
[data-style='grada-ui'] [data-button][data-style='default']:not([data-variant]),
|
|
28
30
|
[data-style='grada-ui'] [data-button]:not([data-style]):not([data-variant]) {
|
|
29
|
-
@apply bg-
|
|
31
|
+
@apply bg-surface-z2 text-surface-z8 bg-none shadow-sm;
|
|
30
32
|
border-radius: 20px;
|
|
31
33
|
}
|
|
32
34
|
|
|
33
35
|
[data-style='grada-ui'] [data-button][data-style='default'][data-variant='primary'],
|
|
34
36
|
[data-style='grada-ui'] [data-button]:not([data-style])[data-variant='primary'] {
|
|
35
|
-
background-image: linear-gradient(
|
|
37
|
+
background-image: linear-gradient(
|
|
38
|
+
to right,
|
|
39
|
+
rgba(var(--color-primary-500), 1),
|
|
40
|
+
rgba(var(--color-secondary-500), 1)
|
|
41
|
+
);
|
|
36
42
|
background-color: transparent;
|
|
37
43
|
color: white;
|
|
38
44
|
border-radius: 20px;
|
|
@@ -133,7 +139,11 @@
|
|
|
133
139
|
|
|
134
140
|
[data-style='grada-ui'] [data-button][data-style='gradient'][data-variant='primary'],
|
|
135
141
|
[data-style='grada-ui'] [data-button][data-style='gradient'][data-variant='secondary'] {
|
|
136
|
-
background-image: linear-gradient(
|
|
142
|
+
background-image: linear-gradient(
|
|
143
|
+
to right,
|
|
144
|
+
rgba(var(--color-primary-500), 1),
|
|
145
|
+
rgba(var(--color-secondary-500), 1)
|
|
146
|
+
);
|
|
137
147
|
background-color: transparent;
|
|
138
148
|
color: white;
|
|
139
149
|
border-radius: 20px;
|
|
@@ -141,7 +151,11 @@
|
|
|
141
151
|
}
|
|
142
152
|
|
|
143
153
|
[data-style='grada-ui'] [data-button][data-style='gradient'][data-variant='accent'] {
|
|
144
|
-
background-image: linear-gradient(
|
|
154
|
+
background-image: linear-gradient(
|
|
155
|
+
to right,
|
|
156
|
+
rgba(var(--color-accent-500), 1),
|
|
157
|
+
rgba(var(--color-accent-400), 1)
|
|
158
|
+
);
|
|
145
159
|
background-color: transparent;
|
|
146
160
|
color: white;
|
|
147
161
|
border-radius: 20px;
|
|
@@ -213,7 +227,7 @@
|
|
|
213
227
|
============================================================================= */
|
|
214
228
|
|
|
215
229
|
[data-style='grada-ui'] [data-button]:focus-visible {
|
|
216
|
-
@apply outline-
|
|
230
|
+
@apply outline-primary-z5 outline outline-2 outline-offset-2;
|
|
217
231
|
}
|
|
218
232
|
|
|
219
233
|
/* =============================================================================
|
package/src/grada-ui/card.css
CHANGED
|
@@ -5,18 +5,20 @@
|
|
|
5
5
|
*/
|
|
6
6
|
|
|
7
7
|
[data-style='grada-ui'] [data-card] {
|
|
8
|
-
@apply bg-surface-z2 border
|
|
8
|
+
@apply bg-surface-z2 border-surface-z4 text-surface-z9 border;
|
|
9
9
|
background-image: none;
|
|
10
10
|
border-radius: 3px;
|
|
11
11
|
}
|
|
12
12
|
|
|
13
13
|
[data-style='grada-ui'] [data-card][data-card-interactive] {
|
|
14
14
|
cursor: pointer;
|
|
15
|
-
transition:
|
|
15
|
+
transition:
|
|
16
|
+
box-shadow 0.2s ease,
|
|
17
|
+
transform 0.2s ease;
|
|
16
18
|
}
|
|
17
19
|
|
|
18
20
|
[data-style='grada-ui'] [data-card][data-card-interactive]:hover {
|
|
19
|
-
@apply
|
|
21
|
+
@apply border-primary-z5 shadow-md;
|
|
20
22
|
}
|
|
21
23
|
|
|
22
24
|
[data-style='grada-ui'] [data-card][data-card-interactive]:active {
|
|
@@ -46,7 +48,7 @@
|
|
|
46
48
|
============================================================================= */
|
|
47
49
|
|
|
48
50
|
[data-style='grada-ui'] [data-card][data-card-interactive]:focus-visible {
|
|
49
|
-
@apply outline-
|
|
51
|
+
@apply outline-primary-z5 outline outline-2 outline-offset-2;
|
|
50
52
|
}
|
|
51
53
|
|
|
52
54
|
/* =============================================================================
|
|
@@ -64,7 +66,11 @@
|
|
|
64
66
|
|
|
65
67
|
[data-style='grada-ui'] [data-card][data-variant='primary'] {
|
|
66
68
|
@apply from-primary-z5 to-secondary-z5 text-surface-z1 border-0;
|
|
67
|
-
background-image: linear-gradient(
|
|
69
|
+
background-image: linear-gradient(
|
|
70
|
+
to right,
|
|
71
|
+
rgba(var(--color-primary-500), 1),
|
|
72
|
+
rgba(var(--color-secondary-500), 1)
|
|
73
|
+
);
|
|
68
74
|
background-color: transparent;
|
|
69
75
|
border-radius: 3px;
|
|
70
76
|
}
|
|
@@ -85,6 +91,6 @@
|
|
|
85
91
|
}
|
|
86
92
|
|
|
87
93
|
[data-style='grada-ui'] [data-card][data-variant='tertiary'] {
|
|
88
|
-
@apply bg-
|
|
94
|
+
@apply bg-surface-z1 border-surface-z3 text-surface-z7 border bg-none shadow-none;
|
|
89
95
|
border-radius: 3px;
|
|
90
96
|
}
|
package/src/grada-ui/chart.css
CHANGED
|
@@ -25,10 +25,10 @@
|
|
|
25
25
|
@apply text-surface-z8;
|
|
26
26
|
}
|
|
27
27
|
|
|
28
|
-
[data-style='grada-ui'] [data-plot-element=
|
|
29
|
-
[data-style='grada-ui'] [data-plot-element=
|
|
30
|
-
[data-style='grada-ui'] [data-plot-element=
|
|
31
|
-
[data-style='grada-ui'] [data-plot-element=
|
|
32
|
-
[data-style='grada-ui'] [data-plot-element=
|
|
28
|
+
[data-style='grada-ui'] [data-plot-element='bar'][data-dimmed],
|
|
29
|
+
[data-style='grada-ui'] [data-plot-element='point'][data-dimmed],
|
|
30
|
+
[data-style='grada-ui'] [data-plot-element='arc'][data-dimmed],
|
|
31
|
+
[data-style='grada-ui'] [data-plot-element='line'][data-dimmed],
|
|
32
|
+
[data-style='grada-ui'] [data-plot-element='area'][data-dimmed] {
|
|
33
33
|
opacity: 0.15;
|
|
34
34
|
}
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
|
|
5
5
|
[data-style='grada-ui'] [data-dropdown-trigger] {
|
|
6
|
-
@apply
|
|
6
|
+
@apply text-surface-z8 border-surface-z4 border bg-white;
|
|
7
7
|
border-radius: 3px;
|
|
8
8
|
}
|
|
9
9
|
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
}
|
|
31
31
|
|
|
32
32
|
[data-style='grada-ui'] [data-dropdown-panel] {
|
|
33
|
-
@apply
|
|
33
|
+
@apply border-surface-z3 border bg-white shadow-lg;
|
|
34
34
|
border-radius: 3px;
|
|
35
35
|
}
|
|
36
36
|
|
|
@@ -44,7 +44,11 @@
|
|
|
44
44
|
}
|
|
45
45
|
|
|
46
46
|
[data-style='grada-ui'] [data-dropdown-option][data-active='true'] {
|
|
47
|
-
background-image: linear-gradient(
|
|
47
|
+
background-image: linear-gradient(
|
|
48
|
+
to right,
|
|
49
|
+
rgba(var(--color-primary-500), 1),
|
|
50
|
+
rgba(var(--color-secondary-500), 1)
|
|
51
|
+
);
|
|
48
52
|
background-color: transparent;
|
|
49
53
|
color: white;
|
|
50
54
|
}
|