@rokkit/themes 1.0.0-next.122 → 1.0.0-next.123
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 +1 -1
- package/src/base/alert.css +4 -4
- package/src/base/atoms.css +1 -1
- package/src/base/core.css +4 -4
- package/src/base/molecules.css +4 -4
- package/src/base/organisms.css +3 -3
- package/src/base/progress.css +1 -1
- package/src/base/table.css +6 -6
- package/src/markdown.css +8 -8
- package/src/material/base.css +2 -2
- package/src/material/form.css +4 -4
- package/src/material/input.css +8 -8
- package/src/material/list.css +5 -5
- package/src/minimal/base.css +2 -2
- package/src/minimal/form.css +7 -7
- package/src/minimal/input.css +8 -8
- package/src/minimal/list.css +11 -11
- package/src/minimal/tabs.css +2 -2
- package/src/mixins/mixins.scss +2 -2
- package/src/mixins/palette.scss +3 -3
- package/src/rokkit/atoms.css +3 -3
- package/src/rokkit/carousel.css +2 -2
- package/src/rokkit/molecules.css +9 -9
- package/src/rokkit/organisms.css +32 -32
- package/src/rokkit/table.css +6 -6
- package/src/rokkit/toggle.css +6 -6
package/package.json
CHANGED
package/src/base/alert.css
CHANGED
|
@@ -14,17 +14,17 @@ rk-success {
|
|
|
14
14
|
rk-alert.error,
|
|
15
15
|
rk-alert.danger,
|
|
16
16
|
rk-error {
|
|
17
|
-
@apply bg-error text-error-
|
|
17
|
+
@apply bg-error text-error-z7 border-error-z3;
|
|
18
18
|
}
|
|
19
19
|
rk-alert.info,
|
|
20
20
|
rk-info {
|
|
21
|
-
@apply bg-info text-info-
|
|
21
|
+
@apply bg-info text-info-z7 border-info-z3;
|
|
22
22
|
}
|
|
23
23
|
rk-alert.warning,
|
|
24
24
|
rk-warning {
|
|
25
|
-
@apply bg-warn text-warn-
|
|
25
|
+
@apply bg-warn text-warn-z7 border-warn-z3;
|
|
26
26
|
}
|
|
27
27
|
rk-alert.success,
|
|
28
28
|
rk-success {
|
|
29
|
-
@apply bg-success text-success-
|
|
29
|
+
@apply bg-success text-success-z7 border-success-z3;
|
|
30
30
|
}
|
package/src/base/atoms.css
CHANGED
package/src/base/core.css
CHANGED
|
@@ -47,11 +47,11 @@ select[disabled='true'] {
|
|
|
47
47
|
|
|
48
48
|
/* plots*/
|
|
49
49
|
rk-plot {
|
|
50
|
-
@apply bg-
|
|
50
|
+
@apply bg-surface-z0 rounded-md p-4;
|
|
51
51
|
}
|
|
52
52
|
|
|
53
53
|
g[aria-label='tip'] {
|
|
54
|
-
--plot-background: rgb(var(--
|
|
54
|
+
--plot-background: rgb(var(--surface-200));
|
|
55
55
|
}
|
|
56
56
|
|
|
57
57
|
rk-input-field input,
|
|
@@ -73,7 +73,7 @@ rk-checkbox {
|
|
|
73
73
|
}
|
|
74
74
|
|
|
75
75
|
button:disabled {
|
|
76
|
-
@apply bg-
|
|
76
|
+
@apply bg-surface-z3 text-surface-500 cursor-not-allowed;
|
|
77
77
|
}
|
|
78
78
|
|
|
79
79
|
rk-cell.cell-type-string {
|
|
@@ -102,6 +102,6 @@ textarea:-webkit-autofill:focus,
|
|
|
102
102
|
select:-webkit-autofill,
|
|
103
103
|
select:-webkit-autofill:hover,
|
|
104
104
|
select:-webkit-autofill:focus {
|
|
105
|
-
-webkit-text-fill-color: var(--
|
|
105
|
+
-webkit-text-fill-color: var(--surface-200);
|
|
106
106
|
transition: background-color 5000s ease-in-out 0s;
|
|
107
107
|
}
|
package/src/base/molecules.css
CHANGED
|
@@ -3,7 +3,7 @@ rk-input-range rk-range-track {
|
|
|
3
3
|
@apply relative mt-3 h-1;
|
|
4
4
|
}
|
|
5
5
|
rk-input-range rk-range-track rk-range-track-bar {
|
|
6
|
-
@apply bg-
|
|
6
|
+
@apply bg-surface-z2 border-surface-z3 rounded-full;
|
|
7
7
|
}
|
|
8
8
|
rk-input-range rk-range-track selected {
|
|
9
9
|
@apply top-0px bottom-0px;
|
|
@@ -38,10 +38,10 @@ rk-input-range tick {
|
|
|
38
38
|
grid-template-rows: 7px auto;
|
|
39
39
|
}
|
|
40
40
|
rk-input-range tick tick-bar {
|
|
41
|
-
@apply
|
|
41
|
+
@apply border-surface-600 h-full;
|
|
42
42
|
}
|
|
43
43
|
rk-input-range tick p {
|
|
44
|
-
@apply items-top
|
|
44
|
+
@apply items-top text-surface-600 leading-tight;
|
|
45
45
|
font-size: 8px;
|
|
46
46
|
}
|
|
47
47
|
|
|
@@ -93,7 +93,7 @@ rk-input-field select,
|
|
|
93
93
|
rk-input-field > field > :not(icon) {
|
|
94
94
|
@apply px-3;
|
|
95
95
|
@apply min-h-9 flex-grow leading-loose outline-none;
|
|
96
|
-
@apply bg-
|
|
96
|
+
@apply bg-surface-z2 text-surface-800;
|
|
97
97
|
}
|
|
98
98
|
rk-input-field > label {
|
|
99
99
|
@apply text-xs uppercase;
|
package/src/base/organisms.css
CHANGED
|
@@ -47,7 +47,7 @@ rk-input-field rk-field {
|
|
|
47
47
|
@apply gap-1px;
|
|
48
48
|
}
|
|
49
49
|
rk-input-field rk-field rk-icon {
|
|
50
|
-
@apply bg-
|
|
50
|
+
@apply bg-surface-z2 text-surface-800 h-9 w-9;
|
|
51
51
|
}
|
|
52
52
|
|
|
53
53
|
rk-input-field > rk-field > rk-input-select {
|
|
@@ -60,7 +60,7 @@ rk-drop-down > button > span > rk-icon {
|
|
|
60
60
|
}
|
|
61
61
|
rk-input-select > rk-selected-item,
|
|
62
62
|
rk-drop-down > button > span {
|
|
63
|
-
/* @apply bg-
|
|
63
|
+
/* @apply bg-surface-z1 pl-3; */
|
|
64
64
|
@apply min-h-9 items-center gap-2 pl-3 normal-case;
|
|
65
|
-
@apply
|
|
65
|
+
@apply text-surface-800 rounded;
|
|
66
66
|
}
|
package/src/base/progress.css
CHANGED
|
@@ -4,7 +4,7 @@ rk-progress {
|
|
|
4
4
|
}
|
|
5
5
|
|
|
6
6
|
rk-progress {
|
|
7
|
-
@apply border
|
|
7
|
+
@apply border-surface-100 bg-surface-200 dark:border-surface-800 dark:bg-surface-900 border;
|
|
8
8
|
}
|
|
9
9
|
rk-progress value-bar {
|
|
10
10
|
@apply bg-primary;
|
package/src/base/table.css
CHANGED
|
@@ -20,28 +20,28 @@ th[data-sortable='true']:hover icon {
|
|
|
20
20
|
}
|
|
21
21
|
|
|
22
22
|
table {
|
|
23
|
-
@apply w-full text-left text-sm
|
|
23
|
+
@apply text-surface-700 w-full text-left text-sm rtl:text-right;
|
|
24
24
|
@apply border-spacing-x-1px border-separate;
|
|
25
25
|
}
|
|
26
26
|
table > thead {
|
|
27
27
|
@apply sticky top-0 z-10 table-header-group;
|
|
28
|
-
@apply bg-
|
|
28
|
+
@apply bg-surface-400 text-xs uppercase;
|
|
29
29
|
}
|
|
30
30
|
table > caption {
|
|
31
|
-
@apply bg-
|
|
31
|
+
@apply bg-surface-z2 text-surface-600 table-caption p-5 text-left text-sm font-normal rtl:text-right;
|
|
32
32
|
}
|
|
33
33
|
|
|
34
34
|
table > tbody > tr {
|
|
35
|
-
@apply border-
|
|
35
|
+
@apply border-surface-z1 bg-surface-z2 table-row border-b;
|
|
36
36
|
}
|
|
37
37
|
table.striped > tbody > tr:nth-child(even) {
|
|
38
|
-
@apply bg-
|
|
38
|
+
@apply bg-surface-z0;
|
|
39
39
|
}
|
|
40
40
|
table > tfoot {
|
|
41
41
|
@apply table-footer-group;
|
|
42
42
|
}
|
|
43
43
|
table > tfoot > tr {
|
|
44
|
-
@apply table-row font-semibold
|
|
44
|
+
@apply text-surface-800 table-row font-semibold;
|
|
45
45
|
}
|
|
46
46
|
rk-tree-table,
|
|
47
47
|
rk-table {
|
package/src/markdown.css
CHANGED
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
.markdown-body h5 .octicon-link,
|
|
25
25
|
.markdown-body h6 .octicon-link {
|
|
26
26
|
/* color: #1b1f23; */
|
|
27
|
-
@apply text-
|
|
27
|
+
@apply text-surface;
|
|
28
28
|
vertical-align: middle;
|
|
29
29
|
visibility: hidden;
|
|
30
30
|
}
|
|
@@ -230,7 +230,7 @@
|
|
|
230
230
|
}
|
|
231
231
|
.markdown-body ul li::before {
|
|
232
232
|
content: '';
|
|
233
|
-
@apply bg-
|
|
233
|
+
@apply bg-surface-z3 absolute -ml-5 mt-2 h-1.5 w-1.5 rounded-sm;
|
|
234
234
|
}
|
|
235
235
|
|
|
236
236
|
.markdown-body ol {
|
|
@@ -650,7 +650,7 @@
|
|
|
650
650
|
.markdown-body h1,
|
|
651
651
|
.markdown-body h2 {
|
|
652
652
|
/* padding-bottom: 0.3em; */
|
|
653
|
-
@apply border-
|
|
653
|
+
@apply border-surface-z2 mt-16 border-b;
|
|
654
654
|
/* border-bottom: 1px solid #eaecef; */
|
|
655
655
|
}
|
|
656
656
|
|
|
@@ -677,7 +677,7 @@
|
|
|
677
677
|
|
|
678
678
|
.markdown-body h6 {
|
|
679
679
|
font-size: 0.85em;
|
|
680
|
-
@apply text-
|
|
680
|
+
@apply text-surface;
|
|
681
681
|
/* color: #6a737d; */
|
|
682
682
|
}
|
|
683
683
|
|
|
@@ -737,17 +737,17 @@
|
|
|
737
737
|
.markdown-body table th {
|
|
738
738
|
padding: 6px 13px;
|
|
739
739
|
/* border: 1px solid #dfe2e5; */
|
|
740
|
-
@apply border-
|
|
740
|
+
@apply border-surface-z1 border;
|
|
741
741
|
}
|
|
742
742
|
|
|
743
743
|
.markdown-body table tr {
|
|
744
744
|
/* background-color: #fff; */
|
|
745
|
-
@apply border-
|
|
745
|
+
@apply border-surface-z2 border-t;
|
|
746
746
|
/* border-top: 1px solid #c6cbd1; */
|
|
747
747
|
}
|
|
748
748
|
|
|
749
749
|
.markdown-body table tr:nth-child(2n) {
|
|
750
|
-
@apply bg-
|
|
750
|
+
@apply bg-surface-zebra;
|
|
751
751
|
/* background-color: #f6f8fa; */
|
|
752
752
|
}
|
|
753
753
|
|
|
@@ -773,7 +773,7 @@
|
|
|
773
773
|
|
|
774
774
|
.markdown-body pre {
|
|
775
775
|
word-wrap: normal;
|
|
776
|
-
@apply border-
|
|
776
|
+
@apply border-surface-z2 rounded-sm border;
|
|
777
777
|
}
|
|
778
778
|
|
|
779
779
|
.markdown-body pre > code {
|
package/src/material/base.css
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
@import '../base.css';
|
|
2
2
|
|
|
3
3
|
[data-style='material'] rk-icon[role='button'] {
|
|
4
|
-
@apply text-
|
|
4
|
+
@apply text-surface-z3 hover:text-primary focus:outline-primary focus:m-1px focus:rounded;
|
|
5
5
|
}
|
|
6
6
|
[data-style='material'] rk-icon.disabled[role='button'] {
|
|
7
|
-
@apply text-
|
|
7
|
+
@apply text-surface-z2 hover:text-surface-z2 cursor-not-allowed;
|
|
8
8
|
}
|
|
9
9
|
|
|
10
10
|
[data-style='material'] * {
|
package/src/material/form.css
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
[data-style='material'] button,
|
|
6
6
|
[data-style='material'] .button {
|
|
7
|
-
@apply bg-
|
|
7
|
+
@apply bg-surface-z2 rounded px-4 py-2 uppercase;
|
|
8
8
|
}
|
|
9
9
|
[data-style='material'] button-group {
|
|
10
10
|
@apply flex justify-center rounded-sm shadow;
|
|
@@ -14,9 +14,9 @@
|
|
|
14
14
|
}
|
|
15
15
|
|
|
16
16
|
[data-style='material'] button-group > button {
|
|
17
|
-
@apply rounded-none border-none
|
|
18
|
-
@apply bg-
|
|
19
|
-
@apply text-sm uppercase
|
|
17
|
+
@apply border-surface-400 rounded-none border-none;
|
|
18
|
+
@apply bg-surface-z2 focus:outline-none;
|
|
19
|
+
@apply text-surface-800 text-sm uppercase;
|
|
20
20
|
}
|
|
21
21
|
[data-style='material'] button-group > button:not(:last-child) {
|
|
22
22
|
@apply border-r;
|
package/src/material/input.css
CHANGED
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
@apply border-box focus:outline-none;
|
|
3
3
|
}
|
|
4
4
|
[data-style='material'] rk-input-field {
|
|
5
|
-
@apply border-
|
|
6
|
-
@apply relative pb-0 leading-loose
|
|
5
|
+
@apply border-surface-z3 box-border rounded border;
|
|
6
|
+
@apply text-surface-800 relative pb-0 leading-loose;
|
|
7
7
|
}
|
|
8
8
|
[data-style='material'] rk-input-field.empty label {
|
|
9
9
|
@apply absolute top-0 my-3.5 align-middle;
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
|
|
21
21
|
[data-style='material'] rk-input-field label,
|
|
22
22
|
[data-style='material'] rk-input-field:focus-within label {
|
|
23
|
-
@apply bg-
|
|
23
|
+
@apply bg-surface-z1 z-1 absolute block;
|
|
24
24
|
@apply -top-2 left-3 my-0 px-1 leading-tight opacity-100;
|
|
25
25
|
}
|
|
26
26
|
|
|
@@ -28,13 +28,13 @@
|
|
|
28
28
|
@apply cursor-pointer select-none rounded;
|
|
29
29
|
}
|
|
30
30
|
[data-style='material'] rk-input-select > selected-item {
|
|
31
|
-
@apply bg-
|
|
32
|
-
@apply border-
|
|
33
|
-
@apply hover:bg-
|
|
31
|
+
@apply bg-surface-z1 h-8 items-center pl-4 pr-0 normal-case;
|
|
32
|
+
@apply border-surface-z3 text-surface-800 rounded border;
|
|
33
|
+
@apply hover:bg-surface-z3 hover:border-secondary-600;
|
|
34
34
|
}
|
|
35
35
|
|
|
36
36
|
[data-style='material'] rk-input-select:hover square-icon {
|
|
37
|
-
@apply border-
|
|
37
|
+
@apply border-surface;
|
|
38
38
|
}
|
|
39
39
|
[data-style='material'] rk-input-select scroll {
|
|
40
40
|
@apply mt-2 shadow-lg;
|
|
@@ -51,7 +51,7 @@
|
|
|
51
51
|
}
|
|
52
52
|
|
|
53
53
|
[data-style='material'] rk-rating {
|
|
54
|
-
@apply text-
|
|
54
|
+
@apply text-surface-600 text-xl focus:outline-none;
|
|
55
55
|
}
|
|
56
56
|
[data-style='material'] rk-rating > rk-icon {
|
|
57
57
|
@apply w-8;
|
package/src/material/list.css
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
@apply gap-1px rounded;
|
|
4
4
|
}
|
|
5
5
|
[data-style='material'] rk-list > rk-item {
|
|
6
|
-
@apply bg-
|
|
6
|
+
@apply bg-surface-z2;
|
|
7
7
|
}
|
|
8
8
|
[data-style='material'] rk-item {
|
|
9
9
|
@apply flex items-center gap-2 px-3 leading-10;
|
|
@@ -49,7 +49,7 @@
|
|
|
49
49
|
}
|
|
50
50
|
|
|
51
51
|
[data-style='material'] rk-accordion .is-expanded rk-summary {
|
|
52
|
-
@apply border-
|
|
52
|
+
@apply border-surface-z3 z-1 sticky top-0 rounded-b-none border-b;
|
|
53
53
|
}
|
|
54
54
|
|
|
55
55
|
[data-style='material'] rk-accordion .is-selected rk-summary {
|
|
@@ -61,14 +61,14 @@
|
|
|
61
61
|
} */
|
|
62
62
|
[data-style='material'] rk-node[aria-selected='true'],
|
|
63
63
|
[data-style='material'] rk-list rk-item[aria-selected='true'] {
|
|
64
|
-
@apply bg-primary text-
|
|
64
|
+
@apply bg-primary text-surface-z1;
|
|
65
65
|
}
|
|
66
66
|
[data-style='material'] rk-crumbs {
|
|
67
67
|
@apply flex-grow gap-1 text-sm;
|
|
68
68
|
}
|
|
69
69
|
|
|
70
70
|
[data-style='material'] rk-switch rk-item[aria-selected='true'] {
|
|
71
|
-
@apply bg-primary text-
|
|
71
|
+
@apply bg-primary text-surface-200 dark:text-surface-800;
|
|
72
72
|
}
|
|
73
73
|
[data-style='material'] rk-crumbs rk-crumb.is-selected {
|
|
74
74
|
@apply text-secondary;
|
|
@@ -76,7 +76,7 @@
|
|
|
76
76
|
|
|
77
77
|
[data-style='material'] rk-switch {
|
|
78
78
|
@apply mx-auto min-h-6 min-w-12 rounded-full;
|
|
79
|
-
@apply bg-
|
|
79
|
+
@apply bg-surface-z2 border-surface-z3 border;
|
|
80
80
|
@apply p-2px;
|
|
81
81
|
}
|
|
82
82
|
[data-style='material'] rk-switch rk-item {
|
package/src/minimal/base.css
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/* @import '../base.css'; */
|
|
2
2
|
|
|
3
3
|
[data-style='minimal'] rk-icon[role='button'] {
|
|
4
|
-
@apply text-
|
|
4
|
+
@apply text-surface-z3 hover:text-secondary-600 focus:outline-secondary-600 focus:m-1px focus:rounded;
|
|
5
5
|
}
|
|
6
6
|
[data-style='minimal'] button:disabled > rk-icon {
|
|
7
|
-
@apply text-
|
|
7
|
+
@apply text-surface-z2 hover:text-surface-z2 cursor-not-allowed;
|
|
8
8
|
}
|
package/src/minimal/form.css
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
[data-style='minimal'] button {
|
|
2
2
|
@apply select-none rounded px-4 leading-loose;
|
|
3
|
-
@apply bg-
|
|
3
|
+
@apply bg-surface-z3 border-surface-z3 border;
|
|
4
4
|
}
|
|
5
5
|
[data-style='minimal'] button rk-icon-left,
|
|
6
6
|
[data-style='minimal'] button rk-icon-right {
|
|
@@ -21,9 +21,9 @@
|
|
|
21
21
|
@apply gap-1px flex justify-center rounded-sm;
|
|
22
22
|
}
|
|
23
23
|
[data-style='minimal'] rk-button-group button {
|
|
24
|
-
@apply rounded-none border-none
|
|
25
|
-
@apply bg-
|
|
26
|
-
@apply px-2 text-sm uppercase leading-8
|
|
24
|
+
@apply border-surface-400 rounded-none border-none;
|
|
25
|
+
@apply bg-surface-z2 shadow focus:outline-none;
|
|
26
|
+
@apply text-surface-800 px-2 text-sm uppercase leading-8;
|
|
27
27
|
}
|
|
28
28
|
[data-style='minimal'] rk-button-group button:not(:last-child) {
|
|
29
29
|
@apply border-r;
|
|
@@ -44,7 +44,7 @@
|
|
|
44
44
|
}
|
|
45
45
|
[data-style='minimal'] rk-input-select > selected-item {
|
|
46
46
|
@apply min-h-8 cursor-pointer items-center gap-4 pl-2 leading-8;
|
|
47
|
-
@apply border-b-
|
|
47
|
+
@apply border-b-surface-z3 border-b-2;
|
|
48
48
|
@apply focus:border-b-secondary-600;
|
|
49
49
|
}
|
|
50
50
|
[data-style='minimal'] rk-input-select:focus > selected-item {
|
|
@@ -57,7 +57,7 @@
|
|
|
57
57
|
@apply flex-grow flex-wrap gap-2;
|
|
58
58
|
}
|
|
59
59
|
[data-style='minimal'] rk-pill {
|
|
60
|
-
@apply gap-2 rounded-full border
|
|
60
|
+
@apply border-surface-400 gap-2 rounded-full border px-2;
|
|
61
61
|
}
|
|
62
62
|
[data-style='minimal'] rk-pill > rk-item {
|
|
63
63
|
@apply gap-2 leading-6;
|
|
@@ -75,7 +75,7 @@
|
|
|
75
75
|
|
|
76
76
|
[data-style='minimal'] button[role='switch'] {
|
|
77
77
|
@apply h-8 min-h-6 w-16 rounded-full p-0;
|
|
78
|
-
@apply bg-
|
|
78
|
+
@apply bg-surface-z2 border-surface-z2 border;
|
|
79
79
|
}
|
|
80
80
|
|
|
81
81
|
[data-style='minimal'] button[role='switch'] > rk-mark {
|
package/src/minimal/input.css
CHANGED
|
@@ -3,14 +3,14 @@
|
|
|
3
3
|
[data-style='minimal'] textarea,
|
|
4
4
|
[data-style='minimal'] select,
|
|
5
5
|
[data-style='minimal'] fieldset {
|
|
6
|
-
@apply border-
|
|
6
|
+
@apply border-surface-z3 rounded border px-2 leading-loose outline-none;
|
|
7
7
|
}
|
|
8
8
|
|
|
9
9
|
[data-style='minimal'] fieldset {
|
|
10
10
|
@apply gap-2 rounded-md p-4 pt-2;
|
|
11
11
|
}
|
|
12
12
|
[data-style='minimal'] fieldset legend {
|
|
13
|
-
@apply border-
|
|
13
|
+
@apply border-surface-z3 hover:text-primary select-none rounded-md border-l border-r px-2 leading-tight;
|
|
14
14
|
}
|
|
15
15
|
[data-style='minimal'] fieldset rk-icon {
|
|
16
16
|
@apply text-2xl;
|
|
@@ -21,14 +21,14 @@
|
|
|
21
21
|
}
|
|
22
22
|
|
|
23
23
|
[data-style='minimal'] input-field field {
|
|
24
|
-
@apply border-b-1 border-
|
|
24
|
+
@apply border-b-1 border-surface-z3 box-border min-h-9 overflow-hidden;
|
|
25
25
|
@apply focus-within:border-b-secondary-600;
|
|
26
26
|
}
|
|
27
27
|
[data-style='minimal'] input-field:focus-within label {
|
|
28
28
|
@apply text-secondary-600;
|
|
29
29
|
}
|
|
30
30
|
[data-style='minimal'] input-field span {
|
|
31
|
-
@apply border-
|
|
31
|
+
@apply border-surface-z3 bg-surface-z1 aspect-square h-full border-r px-1;
|
|
32
32
|
}
|
|
33
33
|
[data-style='minimal'] input-field input,
|
|
34
34
|
[data-style='minimal'] input-field textarea,
|
|
@@ -38,10 +38,10 @@
|
|
|
38
38
|
}
|
|
39
39
|
|
|
40
40
|
[data-style='minimal'] input-field label {
|
|
41
|
-
@apply text-
|
|
41
|
+
@apply text-surface w-full text-sm uppercase leading-6;
|
|
42
42
|
}
|
|
43
43
|
[data-style='minimal'] input-field message {
|
|
44
|
-
@apply bg-
|
|
44
|
+
@apply bg-surface-z1 rounded px-2 py-1;
|
|
45
45
|
}
|
|
46
46
|
|
|
47
47
|
[data-style='minimal'] input-field.fail {
|
|
@@ -52,7 +52,7 @@
|
|
|
52
52
|
@apply relative mt-3 h-1;
|
|
53
53
|
}
|
|
54
54
|
[data-style='minimal'] input-range range-track span {
|
|
55
|
-
@apply bg-
|
|
55
|
+
@apply bg-surface-z2 border-surface-z3 box-border rounded-full;
|
|
56
56
|
}
|
|
57
57
|
[data-style='minimal'] input-range range-track selected {
|
|
58
58
|
@apply -top-0px -bottom-0px border-secondary bg-secondary-600 rounded-full border;
|
|
@@ -82,7 +82,7 @@
|
|
|
82
82
|
@apply h-6;
|
|
83
83
|
} */
|
|
84
84
|
[data-style='minimal'] tick span {
|
|
85
|
-
@apply border-
|
|
85
|
+
@apply border-surface h-full;
|
|
86
86
|
}
|
|
87
87
|
[data-style='minimal'] tick p {
|
|
88
88
|
@apply items-top;
|
package/src/minimal/list.css
CHANGED
|
@@ -10,14 +10,14 @@
|
|
|
10
10
|
}
|
|
11
11
|
[data-style='minimal'] rk-list,
|
|
12
12
|
[data-style='minimal'] rk-accordion rk-summary {
|
|
13
|
-
@apply border-l-2px border-l-
|
|
13
|
+
@apply border-l-2px border-l-surface-z3;
|
|
14
14
|
}
|
|
15
15
|
[data-style='minimal'] :not(rk-accordion > div) rk-list:focus-within {
|
|
16
16
|
@apply outline-offset-3 outline-secondary-700 outline;
|
|
17
17
|
}
|
|
18
18
|
[data-style='minimal'] rk-list > rk-item,
|
|
19
19
|
[data-style='minimal'] rk-accordion summary {
|
|
20
|
-
@apply bg-
|
|
20
|
+
@apply bg-surface-z1 text-surface-700 items-center px-2 leading-8;
|
|
21
21
|
}
|
|
22
22
|
|
|
23
23
|
[data-style='minimal'] rk-item > a {
|
|
@@ -25,16 +25,16 @@
|
|
|
25
25
|
}
|
|
26
26
|
|
|
27
27
|
[data-style='minimal'] rk-list rk-item:hover {
|
|
28
|
-
@apply -m-l-2px border-l-2px border-l-
|
|
28
|
+
@apply -m-l-2px border-l-2px border-l-surface-z2;
|
|
29
29
|
}
|
|
30
30
|
[data-style='minimal'] rk-accordion summary:hover {
|
|
31
|
-
@apply border-l-
|
|
31
|
+
@apply border-l-surface-z2;
|
|
32
32
|
}
|
|
33
33
|
[data-style='minimal'] rk-list rk-item[aria-selected='true'] {
|
|
34
|
-
@apply -m-l-2px border-l-2px border-l-secondary-600 text-secondary-600 bg-
|
|
34
|
+
@apply -m-l-2px border-l-2px border-l-secondary-600 text-secondary-600 bg-surface-z2;
|
|
35
35
|
}
|
|
36
36
|
[data-style='minimal'] rk-accordion .is-selected summary {
|
|
37
|
-
@apply border-l-2px border-l-secondary-600 bg-
|
|
37
|
+
@apply border-l-2px border-l-secondary-600 bg-surface-z2;
|
|
38
38
|
}
|
|
39
39
|
|
|
40
40
|
[data-style='minimal'] rk-accordion .is-expanded summary {
|
|
@@ -69,7 +69,7 @@
|
|
|
69
69
|
@apply w-3 border-none;
|
|
70
70
|
}
|
|
71
71
|
[data-style='minimal'] rk-node > div > rk-icon {
|
|
72
|
-
@apply text-
|
|
72
|
+
@apply text-surface-400 text-xs;
|
|
73
73
|
}
|
|
74
74
|
[data-style='minimal'] rk-node[aria-selected='true'] > rk-item > p {
|
|
75
75
|
@apply text-secondary-600;
|
|
@@ -102,11 +102,11 @@
|
|
|
102
102
|
}
|
|
103
103
|
|
|
104
104
|
[data-style='minimal'] .folder-tree {
|
|
105
|
-
@apply bg-
|
|
105
|
+
@apply bg-surface-z0 h-full min-w-40;
|
|
106
106
|
}
|
|
107
107
|
|
|
108
108
|
/* [data-style="minimal"] rk-node > div > i {
|
|
109
|
-
@apply border-
|
|
109
|
+
@apply border-surface-z3;
|
|
110
110
|
} */
|
|
111
111
|
|
|
112
112
|
[data-style='minimal'] rk-crumbs {
|
|
@@ -118,7 +118,7 @@
|
|
|
118
118
|
|
|
119
119
|
[data-style='minimal'] rk-switch {
|
|
120
120
|
@apply mx-auto min-h-6 min-w-12 rounded;
|
|
121
|
-
@apply bg-
|
|
121
|
+
@apply bg-surface-z2 border-surface-z3 border;
|
|
122
122
|
@apply p-2px leading-loose;
|
|
123
123
|
}
|
|
124
124
|
[data-style='minimal'] rk-switch rk-item {
|
|
@@ -132,5 +132,5 @@
|
|
|
132
132
|
@apply gap-0 rounded-full px-0;
|
|
133
133
|
}
|
|
134
134
|
[data-style='minimal'] rk-switch rk-item[aria-selected='true'] {
|
|
135
|
-
@apply bg-secondary text-
|
|
135
|
+
@apply bg-secondary text-surface-800;
|
|
136
136
|
}
|
package/src/minimal/tabs.css
CHANGED
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
@apply outline-none;
|
|
3
3
|
}
|
|
4
4
|
[data-style='minimal'] rk-tabs {
|
|
5
|
-
@apply border-
|
|
5
|
+
@apply border-surface-z2 box-border cursor-pointer select-none gap-2 border-b-2 px-2;
|
|
6
6
|
}
|
|
7
7
|
[data-style='minimal'] rk-tabs .tab {
|
|
8
|
-
@apply px-2
|
|
8
|
+
@apply text-z2 px-2 leading-8;
|
|
9
9
|
}
|
|
10
10
|
[data-style='minimal'] rk-tabs .tab rk-icon[role='img'] {
|
|
11
11
|
@apply h-6 w-6;
|
package/src/mixins/mixins.scss
CHANGED
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
--code-function: hsl(19, 67%, 45%); /* #a71d5d; */
|
|
38
38
|
|
|
39
39
|
--code-gutter-marker: black;
|
|
40
|
-
--code-gutter-
|
|
40
|
+
--code-gutter-z2: #999;
|
|
41
41
|
--code-cursor: #24292e;
|
|
42
42
|
--code-cursor-block: rgba(20, 255, 20, 0.5);
|
|
43
43
|
--code-linenumbers: rgba(27, 31, 35, 0.3);
|
|
@@ -59,7 +59,7 @@
|
|
|
59
59
|
--code-function: #61afef;
|
|
60
60
|
|
|
61
61
|
--code-gutter-marker: black;
|
|
62
|
-
--code-gutter-
|
|
62
|
+
--code-gutter-z2: #999;
|
|
63
63
|
--code-cursor: #24292e;
|
|
64
64
|
--code-cursor-block: rgba(20, 255, 20, 0.5);
|
|
65
65
|
--code-linenumbers: rgba(27, 31, 35, 0.3);
|
package/src/mixins/palette.scss
CHANGED
|
@@ -4,7 +4,7 @@ $theme-colors: (
|
|
|
4
4
|
primary: #fb923c,
|
|
5
5
|
secondary: #ef5da8,
|
|
6
6
|
accent: #eb479c,
|
|
7
|
-
|
|
7
|
+
surface: #262730
|
|
8
8
|
);
|
|
9
9
|
|
|
10
10
|
$lightness: (95%, 90%, 85%, 80%, 70%, 60%, 50%, 40%, 30%, 20%);
|
|
@@ -17,8 +17,8 @@ $lightness: (95%, 90%, 85%, 80%, 70%, 60%, 50%, 40%, 30%, 20%);
|
|
|
17
17
|
--secondary-saturation: 80%;
|
|
18
18
|
--accent-hue: 329;
|
|
19
19
|
--accent-saturation: 80%;
|
|
20
|
-
--
|
|
21
|
-
--
|
|
20
|
+
--surface-hue: 233;
|
|
21
|
+
--surface-saturation: 11.9%;
|
|
22
22
|
|
|
23
23
|
--tab-size: 2;
|
|
24
24
|
}
|
package/src/rokkit/atoms.css
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/* Zebra styles */
|
|
2
2
|
[data-style='rokkit'] .zebra rk-item,
|
|
3
3
|
[data-style='rokkit'] .zebra rk-list-item {
|
|
4
|
-
@apply even:bg-
|
|
4
|
+
@apply even:bg-surface-zebra hover:bg-surface-50;
|
|
5
5
|
}
|
|
6
6
|
|
|
7
7
|
/* Styles for input[type='number'] */
|
|
@@ -14,12 +14,12 @@
|
|
|
14
14
|
}
|
|
15
15
|
|
|
16
16
|
[data-style='rokkit'] rk-progress-bar rk-value-bar {
|
|
17
|
-
@apply from-primary-500 to-secondary-500
|
|
17
|
+
@apply from-primary-500 to-secondary-500 text-surface-100 dark:text-surface-800 bg-gradient-to-r;
|
|
18
18
|
}
|
|
19
19
|
|
|
20
20
|
/* Styles for 'searchable' class */
|
|
21
21
|
[data-style='rokkit'] .searchable input {
|
|
22
|
-
@apply border-
|
|
22
|
+
@apply border-surface-z2 border;
|
|
23
23
|
}
|
|
24
24
|
[data-style='rokkit'] a.button {
|
|
25
25
|
@apply px-4 no-underline;
|
package/src/rokkit/carousel.css
CHANGED
|
@@ -11,8 +11,8 @@ rk-carousel rk-dot-nav {
|
|
|
11
11
|
@apply flex h-4 w-full justify-center gap-2;
|
|
12
12
|
}
|
|
13
13
|
rk-carousel rk-dot {
|
|
14
|
-
/* @apply block h-4 w-4 p-0 m-0 text-xs rounded-full bg-
|
|
15
|
-
@apply from-
|
|
14
|
+
/* @apply block h-4 w-4 p-0 m-0 text-xs rounded-full bg-surface-z2 cursor-pointer focus:outline-none; */
|
|
15
|
+
@apply from-surface-z2 to-surface-z2 bg-gradient-to-r;
|
|
16
16
|
}
|
|
17
17
|
rk-carousel rk-dot[aria-checked='true'] {
|
|
18
18
|
@apply from-primary to-secondary bg-gradient-to-r;
|
package/src/rokkit/molecules.css
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
@apply relative mt-2 h-2;
|
|
4
4
|
}
|
|
5
5
|
[data-style='rokkit'] rk-input-range rk-range-track rk-range-track-bar {
|
|
6
|
-
@apply bg-
|
|
6
|
+
@apply bg-surface-z3 border-surface-z3 box-border rounded-full border;
|
|
7
7
|
}
|
|
8
8
|
[data-style='rokkit'] rk-input-range rk-range-track selected-bar {
|
|
9
9
|
@apply top-0px bottom-0px from-primary to-secondary border-secondary rounded-full border bg-gradient-to-r;
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
@apply rounded-sm focus:outline-none;
|
|
13
13
|
}
|
|
14
14
|
/* [data-style="rokkit"] rk-input-range rk-tick p {
|
|
15
|
-
@apply text-
|
|
15
|
+
@apply text-surface-800;
|
|
16
16
|
} */
|
|
17
17
|
[data-style='rokkit'] .bookend rk-range-track rk-range-track-bar::before,
|
|
18
18
|
[data-style='rokkit'] .bookend rk-range-track rk-range-track-bar::after {
|
|
@@ -31,10 +31,10 @@
|
|
|
31
31
|
@apply h-6;
|
|
32
32
|
} */
|
|
33
33
|
[data-style='rokkit'] rk-tick rk-tick-bar {
|
|
34
|
-
@apply border-
|
|
34
|
+
@apply border-surface h-full;
|
|
35
35
|
}
|
|
36
36
|
[data-style='rokkit'] rk-tick p {
|
|
37
|
-
@apply items-top text-
|
|
37
|
+
@apply items-top text-surface-600;
|
|
38
38
|
font-size: 8px;
|
|
39
39
|
}
|
|
40
40
|
|
|
@@ -51,7 +51,7 @@
|
|
|
51
51
|
/* Styles for 'button[role='switch']' class */
|
|
52
52
|
[data-style='rokkit'] button[role='switch'] {
|
|
53
53
|
@apply h-8 min-h-6 w-16 rounded-full p-0;
|
|
54
|
-
@apply bg-
|
|
54
|
+
@apply bg-surface-z2 border-surface-z2 border;
|
|
55
55
|
}
|
|
56
56
|
[data-style='rokkit'] button[role='switch'] > rk-mark {
|
|
57
57
|
@apply top-0.75 h-6 w-6 rounded-full;
|
|
@@ -60,7 +60,7 @@
|
|
|
60
60
|
|
|
61
61
|
/* Styles for 'rating' class */
|
|
62
62
|
[data-style='rokkit'] rating {
|
|
63
|
-
@apply focus:outline-secondary h-9 justify-center rounded text-xl
|
|
63
|
+
@apply focus:outline-secondary text-surface-600 h-9 justify-center rounded text-xl focus:outline;
|
|
64
64
|
}
|
|
65
65
|
[data-style='rokkit'] rating > icon {
|
|
66
66
|
@apply w-8;
|
|
@@ -74,10 +74,10 @@
|
|
|
74
74
|
|
|
75
75
|
/* Pill styles */
|
|
76
76
|
[data-style='rokkit'] .pill {
|
|
77
|
-
@apply bg-
|
|
77
|
+
@apply bg-surface-z0 border-surface-z2 flex-grow-0 rounded-full border px-2 py-1;
|
|
78
78
|
}
|
|
79
79
|
[data-style='rokkit'] .pill > icon[role='button'] {
|
|
80
|
-
@apply hover:bg-
|
|
80
|
+
@apply hover:bg-surface-z3 h-5 w-5 rounded-full hover:text-current focus:m-0 focus:rounded-full;
|
|
81
81
|
}
|
|
82
82
|
|
|
83
83
|
[data-style='rokkit'] .pill > rk-item {
|
|
@@ -120,5 +120,5 @@
|
|
|
120
120
|
}
|
|
121
121
|
|
|
122
122
|
[data-style='rokkit'] rk-day-of-month[aria-selected='true'] {
|
|
123
|
-
@apply from-primary to-secondary
|
|
123
|
+
@apply from-primary to-secondary text-surface-200 dark:text-surface-800 bg-gradient-to-r;
|
|
124
124
|
}
|
package/src/rokkit/organisms.css
CHANGED
|
@@ -4,15 +4,15 @@
|
|
|
4
4
|
/* rk-list styles */
|
|
5
5
|
|
|
6
6
|
[data-style='rokkit'] rk-list {
|
|
7
|
-
@apply gap-1px bg-
|
|
7
|
+
@apply gap-1px bg-surface-z2;
|
|
8
8
|
}
|
|
9
9
|
|
|
10
10
|
[data-style='rokkit'] rk-list rk-list-item,
|
|
11
11
|
[data-style='rokkit'] rk-accordion div rk-summary {
|
|
12
|
-
@apply bg-
|
|
12
|
+
@apply bg-surface-z1 text-surface-800 min-h-8 px-4 leading-10;
|
|
13
13
|
}
|
|
14
14
|
[data-style='rokkit'] rk-accordion > div > rk-summary {
|
|
15
|
-
@apply bg-gradient from-
|
|
15
|
+
@apply bg-gradient from-surface-z2 to-surface-z3 rounded pr-2;
|
|
16
16
|
}
|
|
17
17
|
|
|
18
18
|
/* Remove default details marker from summary */
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
|
|
23
23
|
/* Nested rk-list and Tree styles */
|
|
24
24
|
[data-style='rokkit'] :not(accordion > div) > rk-list {
|
|
25
|
-
@apply overflow-y-scroll rounded border
|
|
25
|
+
@apply border-surface-400 overflow-y-scroll rounded border shadow;
|
|
26
26
|
}
|
|
27
27
|
[data-style='rokkit'] :not(accordion > div) > rk-list rk-list-item {
|
|
28
28
|
@apply first:rounded-t last:rounded-b;
|
|
@@ -43,7 +43,7 @@
|
|
|
43
43
|
}
|
|
44
44
|
/* Styles for 'tabs' class */
|
|
45
45
|
[data-style='rokkit'] tabs {
|
|
46
|
-
@apply border-
|
|
46
|
+
@apply border-surface-z3 gap-1 border-b-2 px-1;
|
|
47
47
|
}
|
|
48
48
|
[data-style='rokkit'] tabs.is-below {
|
|
49
49
|
@apply border-b-0 border-t-2;
|
|
@@ -52,7 +52,7 @@
|
|
|
52
52
|
@apply border-secondary outline-none;
|
|
53
53
|
}
|
|
54
54
|
[data-style='rokkit'] tabs .tab {
|
|
55
|
-
@apply bg-
|
|
55
|
+
@apply bg-surface-z1 flex-shrink-0 cursor-pointer items-center gap-3 rounded-t px-3 leading-9;
|
|
56
56
|
}
|
|
57
57
|
[data-style='rokkit'] tabs.is-below .tab {
|
|
58
58
|
@apply rounded-b rounded-t-none;
|
|
@@ -61,7 +61,7 @@
|
|
|
61
61
|
@apply justify-center;
|
|
62
62
|
}
|
|
63
63
|
[data-style='rokkit'] tabs .tab[aria-selected='true'] {
|
|
64
|
-
@apply bg-
|
|
64
|
+
@apply bg-surface-z3;
|
|
65
65
|
}
|
|
66
66
|
[data-style='rokkit'] tabs:focus-within .tab[aria-selected='true'] {
|
|
67
67
|
@apply from-primary to-secondary bg-gradient-to-b text-white;
|
|
@@ -73,7 +73,7 @@
|
|
|
73
73
|
/* Styles for 'button' and 'button-group' classes */
|
|
74
74
|
[data-style='rokkit'] button,
|
|
75
75
|
[data-style='rokkit'] .button {
|
|
76
|
-
@apply bg-
|
|
76
|
+
@apply bg-surface-z2 text-on-surface-z2 flex min-h-9 cursor-pointer items-center gap-3 rounded-full px-6 uppercase;
|
|
77
77
|
animation: button-pop var(--animation-btn, 0.25s) ease-out;
|
|
78
78
|
}
|
|
79
79
|
|
|
@@ -82,10 +82,10 @@
|
|
|
82
82
|
@apply from-primary to-secondary bg-gradient-to-r px-4 text-white;
|
|
83
83
|
}
|
|
84
84
|
[data-style='rokkit'] a.square > rk-icon {
|
|
85
|
-
@apply text-on-
|
|
85
|
+
@apply text-on-surface-z2 h-full w-full;
|
|
86
86
|
}
|
|
87
87
|
[data-style='rokkit'] a.square {
|
|
88
|
-
@apply border-
|
|
88
|
+
@apply border-surface-z2 bg-surface-z2 flex items-center justify-center rounded-md border leading-loose;
|
|
89
89
|
}
|
|
90
90
|
[data-style='rokkit'] button-group {
|
|
91
91
|
@apply gap-1px m-auto flex items-center justify-center py-1;
|
|
@@ -110,11 +110,11 @@
|
|
|
110
110
|
/* [data-style="rokkit"] select, */
|
|
111
111
|
[data-style="rokkit"] drop-down > button {
|
|
112
112
|
@apply rounded;
|
|
113
|
-
/* @apply border border-
|
|
113
|
+
/* @apply border border-surface-z3; */
|
|
114
114
|
}
|
|
115
115
|
|
|
116
116
|
[data-style='rokkit'] drop-down > button {
|
|
117
|
-
@apply bg-
|
|
117
|
+
@apply bg-surface-z1 p-0;
|
|
118
118
|
}
|
|
119
119
|
[data-style='rokkit'] drop-down > button > span {
|
|
120
120
|
@apply rounded py-0;
|
|
@@ -124,10 +124,10 @@
|
|
|
124
124
|
}
|
|
125
125
|
|
|
126
126
|
[data-style='rokkit'] :not(field) > input-select {
|
|
127
|
-
@apply bg-
|
|
127
|
+
@apply bg-surface-z1 border-surface-z3 p-2px border;
|
|
128
128
|
}
|
|
129
129
|
[data-style='rokkit'] :not(field) > input-select > selected-item {
|
|
130
|
-
@apply bg-
|
|
130
|
+
@apply bg-surface-z2;
|
|
131
131
|
}
|
|
132
132
|
[data-style='rokkit'] :not(field) > input-select:focus-within,
|
|
133
133
|
[data-style='rokkit'] :not(field) > input-select:focus-within,
|
|
@@ -138,13 +138,13 @@
|
|
|
138
138
|
}
|
|
139
139
|
/* [data-style="rokkit"] :not(field) > input-select:focus-within > selected-item,
|
|
140
140
|
[data-style="rokkit"] drop-down:focus-within > button > span {
|
|
141
|
-
@apply bg-
|
|
141
|
+
@apply bg-surface-z3 outline-none min-h-10;
|
|
142
142
|
} */
|
|
143
143
|
|
|
144
144
|
/* Hover and rk-icon styles */
|
|
145
145
|
/* [data-style="rokkit"] input-select:hover > rk-icon,
|
|
146
146
|
[data-style="rokkit"] drop-down:hover > rk-icon {
|
|
147
|
-
@apply border-
|
|
147
|
+
@apply border-surface;
|
|
148
148
|
} */
|
|
149
149
|
|
|
150
150
|
/* Scroll styles */
|
|
@@ -166,7 +166,7 @@
|
|
|
166
166
|
|
|
167
167
|
/* Nested rk-list and rk-node styles */
|
|
168
168
|
[data-style='rokkit'] rk-nested-list {
|
|
169
|
-
@apply text-
|
|
169
|
+
@apply text-surface-800;
|
|
170
170
|
}
|
|
171
171
|
[data-style='rokkit'] rk-nested-list rk-node > div {
|
|
172
172
|
@apply h-8 px-2;
|
|
@@ -202,12 +202,12 @@
|
|
|
202
202
|
}
|
|
203
203
|
[data-style='rokkit'] rk-list rk-list-item:hover,
|
|
204
204
|
[data-style='rokkit'] rk-node > div:hover {
|
|
205
|
-
@apply bg-
|
|
205
|
+
@apply bg-surface-z2;
|
|
206
206
|
}
|
|
207
207
|
|
|
208
208
|
[data-style='rokkit'] rk-list-item[aria-current='true'],
|
|
209
209
|
[data-style='rokkit'] rk-node[aria-current='true'] > div {
|
|
210
|
-
@apply bg-
|
|
210
|
+
@apply bg-surface-z2 text-on-surface-z2;
|
|
211
211
|
}
|
|
212
212
|
|
|
213
213
|
/* Selected and Hover styles for rk-list and rk-node */
|
|
@@ -217,11 +217,11 @@
|
|
|
217
217
|
|
|
218
218
|
/* Expanded and Selected styles for rk-accordion */
|
|
219
219
|
[data-style='rokkit'] rk-accordion .is-expanded rk-summary {
|
|
220
|
-
@apply border-
|
|
220
|
+
@apply border-surface-z3 z-1 sticky top-0 rounded-b-none border-b;
|
|
221
221
|
}
|
|
222
222
|
|
|
223
223
|
[data-style='rokkit'] rk-accordion [aria-selected='true'] rk-summary {
|
|
224
|
-
@apply bg-
|
|
224
|
+
@apply bg-surface-z2;
|
|
225
225
|
}
|
|
226
226
|
[data-style='rokkit'] rk-accordion:focus-within [aria-selected='true'] rk-summary {
|
|
227
227
|
@apply from-primary to-secondary bg-gradient-to-r text-white outline-none;
|
|
@@ -229,15 +229,15 @@
|
|
|
229
229
|
|
|
230
230
|
/* Border styles for rk-accordion */
|
|
231
231
|
[data-style='rokkit'] rk-accordion > div {
|
|
232
|
-
@apply border-
|
|
232
|
+
@apply border-surface-z3 border;
|
|
233
233
|
}
|
|
234
234
|
|
|
235
235
|
/* Folder Tree styles */
|
|
236
236
|
[data-style='rokkit'] .folder-tree {
|
|
237
|
-
@apply bg-
|
|
237
|
+
@apply bg-surface-z0 h-full;
|
|
238
238
|
}
|
|
239
239
|
[data-style='rokkit'] .folder-tree rk-nested-list {
|
|
240
|
-
@apply bg-
|
|
240
|
+
@apply bg-surface-z0 h-full;
|
|
241
241
|
}
|
|
242
242
|
[data-style='rokkit'] rk-node > div > rk-item {
|
|
243
243
|
@apply px-1;
|
|
@@ -246,16 +246,16 @@
|
|
|
246
246
|
@apply flex-shrink-0;
|
|
247
247
|
}
|
|
248
248
|
[data-style='rokkit'] rk-node > div > span > i {
|
|
249
|
-
@apply border-
|
|
249
|
+
@apply border-surface-z3;
|
|
250
250
|
}
|
|
251
251
|
[data-style='rokkit'] rk-node > div > rk-icon > i {
|
|
252
|
-
@apply text-
|
|
252
|
+
@apply text-surface-z6;
|
|
253
253
|
}
|
|
254
254
|
|
|
255
255
|
/* Toggle Switch styles */
|
|
256
256
|
[data-style='rokkit'] rk-switch {
|
|
257
257
|
@apply mx-auto min-w-12 rounded-full;
|
|
258
|
-
@apply bg-
|
|
258
|
+
@apply bg-surface-z2 border-surface-z3 border;
|
|
259
259
|
@apply p-2px leading-loose;
|
|
260
260
|
}
|
|
261
261
|
[data-style='rokkit'] rk-switch:focus-within {
|
|
@@ -270,7 +270,7 @@
|
|
|
270
270
|
}
|
|
271
271
|
|
|
272
272
|
[data-style='rokkit'] rk-switch rk-item[aria-selected='true'] {
|
|
273
|
-
@apply from-
|
|
273
|
+
@apply from-surface-z3 to-surface-z3 bg-gradient-to-r;
|
|
274
274
|
}
|
|
275
275
|
|
|
276
276
|
[data-style='rokkit'] rk-switch.compact > rk-item {
|
|
@@ -285,7 +285,7 @@
|
|
|
285
285
|
}
|
|
286
286
|
|
|
287
287
|
[data-style='rokkit'] rk-switch[aria-disabled='true'] {
|
|
288
|
-
@apply bg-
|
|
288
|
+
@apply bg-surface-z3 text-surface-500 cursor-not-allowed;
|
|
289
289
|
}
|
|
290
290
|
[data-style='rokkit'] rk-input-select > rk-selected-item > rk-items {
|
|
291
291
|
@apply flex-grow flex-wrap gap-2;
|
|
@@ -296,12 +296,12 @@
|
|
|
296
296
|
}
|
|
297
297
|
|
|
298
298
|
[data-style='rokkit'] rk-pill {
|
|
299
|
-
@apply bg-
|
|
299
|
+
@apply bg-surface-z3 border-surface-z3 text-surface-800 rounded-full border px-4;
|
|
300
300
|
}
|
|
301
301
|
[data-style='rokkit'] rk-pill rk-icon {
|
|
302
|
-
@apply text-
|
|
302
|
+
@apply text-surface-700;
|
|
303
303
|
}
|
|
304
304
|
|
|
305
305
|
[data-style='rokkit'] rk-pill rk-icon[role='button'] {
|
|
306
|
-
@apply hover:text-primary-
|
|
306
|
+
@apply hover:text-primary-z6 text-surface-z6 text-sm;
|
|
307
307
|
}
|
package/src/rokkit/table.css
CHANGED
|
@@ -21,26 +21,26 @@ th[data-sortable='true']:hover icon {
|
|
|
21
21
|
}
|
|
22
22
|
|
|
23
23
|
table {
|
|
24
|
-
@apply w-full text-left text-sm
|
|
24
|
+
@apply text-surface-700 w-full text-left text-sm rtl:text-right;
|
|
25
25
|
}
|
|
26
26
|
table > thead {
|
|
27
|
-
@apply table-header-group
|
|
27
|
+
@apply bg-surface-400 table-header-group text-xs uppercase;
|
|
28
28
|
}
|
|
29
29
|
table > caption {
|
|
30
|
-
@apply bg-
|
|
30
|
+
@apply bg-surface-z2 text-surface-600 table-caption p-5 text-left text-sm font-normal rtl:text-right;
|
|
31
31
|
}
|
|
32
32
|
|
|
33
33
|
table > tbody > tr {
|
|
34
|
-
@apply border-
|
|
34
|
+
@apply border-surface-z1 bg-surface-z2 table-row border-b;
|
|
35
35
|
}
|
|
36
36
|
table.striped > tbody > tr:nth-child(even) {
|
|
37
|
-
@apply bg-
|
|
37
|
+
@apply bg-surface-z0;
|
|
38
38
|
}
|
|
39
39
|
table > tfoot {
|
|
40
40
|
@apply table-footer-group;
|
|
41
41
|
}
|
|
42
42
|
table > tfoot > tr {
|
|
43
|
-
@apply table-row font-semibold
|
|
43
|
+
@apply text-surface-800 table-row font-semibold;
|
|
44
44
|
}
|
|
45
45
|
|
|
46
46
|
rk-table-wrapper {
|
package/src/rokkit/toggle.css
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
[data-style='rokkit'] rk-switch {
|
|
2
2
|
@apply flex cursor-pointer flex-row items-center gap-3;
|
|
3
|
-
@apply border-
|
|
3
|
+
@apply border-surface-z3 rounded-md border p-2;
|
|
4
4
|
}
|
|
5
5
|
|
|
6
6
|
[data-style='rokkit'] rk-switch:hover > rk-icon {
|
|
@@ -18,13 +18,13 @@
|
|
|
18
18
|
@apply text-md h-4;
|
|
19
19
|
}
|
|
20
20
|
[data-style='rokkit'] rk-toggle {
|
|
21
|
-
@apply border-
|
|
21
|
+
@apply border-surface-z2 bg-surface-z2 box-border aspect-square h-9 border;
|
|
22
22
|
@apply flex items-center justify-center rounded-md leading-loose;
|
|
23
23
|
}
|
|
24
24
|
|
|
25
25
|
[data-style='rokkit'] rk-toggle:focus-within,
|
|
26
26
|
[data-style='rokkit'] a.button.square:focus-within {
|
|
27
|
-
@apply ring-secondary border-
|
|
27
|
+
@apply ring-secondary border-surface-z1 border ring-2;
|
|
28
28
|
}
|
|
29
29
|
[data-style='rokkit'] rk-toggle:focus-within button {
|
|
30
30
|
@apply p-0;
|
|
@@ -33,7 +33,7 @@
|
|
|
33
33
|
@apply p-0 outline-none;
|
|
34
34
|
}
|
|
35
35
|
/* [data-style='rokkit'] rk-toggle rk-icon {
|
|
36
|
-
@apply bg-
|
|
36
|
+
@apply bg-surface-z1 flex rounded p-0 leading-loose;
|
|
37
37
|
} */
|
|
38
38
|
|
|
39
39
|
[data-style='rokkit'] a.square {
|
|
@@ -43,7 +43,7 @@
|
|
|
43
43
|
@apply p-0;
|
|
44
44
|
}
|
|
45
45
|
[data-style='rokkit'] rk-toggle rk-icon {
|
|
46
|
-
@apply bg-
|
|
46
|
+
@apply bg-surface-z2 h-full w-full rounded-md;
|
|
47
47
|
}
|
|
48
48
|
|
|
49
49
|
/* [data-style='rokkit'] rk-toggle > button {
|
|
@@ -60,5 +60,5 @@
|
|
|
60
60
|
@apply p-2px flex aspect-square flex-col items-center justify-center;
|
|
61
61
|
} */
|
|
62
62
|
/* [data-style="rokkit"] rk-toggle:focus-within button {
|
|
63
|
-
@apply bg-
|
|
63
|
+
@apply bg-surface-z1 text-surface hover:text-primary rounded-sm;
|
|
64
64
|
} */
|