@digigov/css 2.0.0-cbc56209 → 2.0.0-daaf7bdf
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/defaultTheme/accordion.json +8 -0
- package/defaultTheme/brandConfig.json +14 -2
- package/defaultTheme/button.json +16 -3
- package/defaultTheme/card.json +16 -5
- package/defaultTheme/form.json +117 -0
- package/defaultTheme/globals.json +11 -1
- package/defaultTheme/index.js +1 -1
- package/defaultTheme/layout.json +55 -0
- package/defaultTheme/misc.json +20 -0
- package/defaultTheme/panel.json +5 -0
- package/defaultTheme/typography.json +4 -4
- package/dist/base/index.css +1 -1
- package/dist/base.js +1 -1
- package/dist/components.js +1 -1
- package/dist/digigov.css +3 -3
- package/dist/utilities/index.css +1 -1
- package/dist/utilities.js +1 -1
- package/package.json +6 -6
- package/postcss.config.js +1 -0
- package/src/components/accordion.css +5 -2
- package/src/components/admin-header.css +2 -19
- package/src/components/admin-layout.css +6 -15
- package/src/components/autocomplete.css +75 -29
- package/src/components/blockquote.common.css +14 -0
- package/src/components/blockquote.css +9 -0
- package/src/components/blockquote.native.css +11 -0
- package/src/components/breadcrumbs.css +8 -1
- package/src/components/button.common.css +62 -0
- package/src/components/button.css +23 -35
- package/src/components/button.native.css +56 -0
- package/src/components/card.common.css +33 -0
- package/src/components/card.css +19 -12
- package/src/components/card.native.css +29 -0
- package/src/components/checkboxes.common.css +16 -0
- package/src/components/checkboxes.css +6 -8
- package/src/components/checkboxes.native.css +28 -0
- package/src/components/chip.css +1 -1
- package/src/components/code.css +128 -0
- package/src/components/copy-to-clipboard.native.css +28 -0
- package/src/components/details.common.css +26 -0
- package/src/components/details.css +6 -9
- package/src/components/details.native.css +26 -0
- package/src/components/dropdown.common.css +23 -0
- package/src/components/dropdown.css +37 -28
- package/src/components/dropdown.native.css +28 -0
- package/src/components/filter.css +2 -5
- package/src/components/footer.css +15 -4
- package/src/components/form.common.css +82 -0
- package/src/components/form.css +63 -28
- package/src/components/form.native.css +133 -0
- package/src/components/header.common.css +36 -0
- package/src/components/header.css +41 -23
- package/src/components/header.native.css +34 -0
- package/src/components/hidden.css +11 -11
- package/src/components/index.css +34 -31
- package/src/components/layout.common.css +36 -0
- package/src/components/layout.css +12 -11
- package/src/components/layout.native.css +39 -0
- package/src/components/loader.css +2 -2
- package/src/components/masthead.css +1 -1
- package/src/components/misc.css +24 -0
- package/src/components/modal.css +12 -3
- package/src/components/nav.common.css +22 -0
- package/src/components/nav.css +8 -7
- package/src/components/nav.native.css +41 -0
- package/src/components/notification-banner.common.css +46 -0
- package/src/components/notification-banner.css +9 -6
- package/src/components/notification-banner.native.css +42 -0
- package/src/components/panel.common.css +30 -0
- package/src/components/panel.css +6 -14
- package/src/components/panel.native.css +20 -0
- package/src/components/phase-banner.common.css +23 -0
- package/src/components/phase-banner.css +7 -6
- package/src/components/phase-banner.native.css +31 -0
- package/src/components/radios.common.css +16 -0
- package/src/components/radios.css +5 -11
- package/src/components/radios.native.css +24 -0
- package/src/components/skeleton.css +85 -0
- package/src/components/summary-list.common.css +90 -0
- package/src/components/summary-list.css +86 -15
- package/src/components/summary-list.native.css +93 -0
- package/src/components/svg-icons.common.css +56 -0
- package/src/components/svg-icons.css +1 -1
- package/src/components/svg-icons.native.css +55 -0
- package/src/components/table.css +10 -8
- package/src/components/tabs.css +44 -61
- package/src/components/test.css +7 -0
- package/src/components/typography.common.css +140 -0
- package/src/components/typography.css +29 -91
- package/src/components/typography.native.css +97 -0
- package/src/components/warning-text.common.css +23 -0
- package/src/components/warning-text.css +1 -1
- package/src/components/warning-text.native.css +22 -0
- package/src/index.native.css +20 -0
- package/src/utilities/index.css +3 -1655
- package/src/utilities/index.native.css +2 -0
- package/src/utilities/layout.css +231 -0
- package/src/utilities/layout.native.css +278 -0
- package/src/utilities/print.css +11 -0
- package/src/utilities/spacing.css +2133 -0
- package/src/utilities/utilities.css +723 -6
- package/tailwind.config.js +2 -0
- package/defaultTheme/footer.json +0 -8
- package/src/pages/admin-filtering-data.js +0 -160
- package/src/pages/admin.js +0 -61
- package/src/pages/dropdown.js +0 -249
- package/src/pages/form.js +0 -400
- package/src/pages/pagination.js +0 -124
- package/src/pages/table.js +0 -308
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
/* stylelint-disable digigov/enforce-class-selector-namespace */
|
|
2
|
+
@import './summary-list.common.css';
|
|
3
|
+
|
|
4
|
+
.ds-summary-list {
|
|
5
|
+
@apply util-summary-list;
|
|
6
|
+
}
|
|
7
|
+
.ds-summary-list__text {
|
|
8
|
+
@apply util-summary-list-text;
|
|
9
|
+
}
|
|
10
|
+
.ds-summary-list__row {
|
|
11
|
+
@apply util-summary-list__row gap-y-2;
|
|
12
|
+
}
|
|
13
|
+
.ds-summary-list__key {
|
|
14
|
+
@apply util-summary-list__key;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
.ds-summary-list__key--sm-3 {
|
|
18
|
+
@apply util-summary-list__key--sm-3;
|
|
19
|
+
}
|
|
20
|
+
.ds-summary-list__key--sm-4 {
|
|
21
|
+
@apply util-summary-list__key--sm-4;
|
|
22
|
+
}
|
|
23
|
+
.ds-summary-list__key--sm-5 {
|
|
24
|
+
@apply util-summary-list__key--sm-5;
|
|
25
|
+
}
|
|
26
|
+
.ds-summary-list__key--sm-6 {
|
|
27
|
+
@apply util-summary-list__key--sm-6;
|
|
28
|
+
}
|
|
29
|
+
.ds-summary-list__key--sm-7 {
|
|
30
|
+
@apply util-summary-list__key--sm-7;
|
|
31
|
+
}
|
|
32
|
+
.ds-summary-list__key--sm-8 {
|
|
33
|
+
@apply util-summary-list__key--sm-8;
|
|
34
|
+
}
|
|
35
|
+
.ds-summary-list__key--sm-9 {
|
|
36
|
+
@apply util-summary-list__key--sm-9;
|
|
37
|
+
}
|
|
38
|
+
.ds-summary-list__key--md-3 {
|
|
39
|
+
@apply util-summary-list__key--md-3;
|
|
40
|
+
}
|
|
41
|
+
.ds-summary-list__key--md-4 {
|
|
42
|
+
@apply util-summary-list__key--md-4;
|
|
43
|
+
}
|
|
44
|
+
.ds-summary-list__key--md-5 {
|
|
45
|
+
@apply util-summary-list__key--md-5;
|
|
46
|
+
}
|
|
47
|
+
.ds-summary-list__key--md-6 {
|
|
48
|
+
@apply util-summary-list__key--md-6;
|
|
49
|
+
}
|
|
50
|
+
.ds-summary-list__key--md-7 {
|
|
51
|
+
@apply util-summary-list__key--md-7;
|
|
52
|
+
}
|
|
53
|
+
.ds-summary-list__key--md-8 {
|
|
54
|
+
@apply util-summary-list__key--md-8;
|
|
55
|
+
}
|
|
56
|
+
.ds-summary-list__key--md-9 {
|
|
57
|
+
@apply util-summary-list__key--md-9;
|
|
58
|
+
}
|
|
59
|
+
.ds-summary-list__key--lg-3 {
|
|
60
|
+
@apply util-summary-list__key--lg-3;
|
|
61
|
+
}
|
|
62
|
+
.ds-summary-list__key--lg-4 {
|
|
63
|
+
@apply util-summary-list__key--lg-4;
|
|
64
|
+
}
|
|
65
|
+
.ds-summary-list__key--lg-5 {
|
|
66
|
+
@apply util-summary-list__key--lg-5;
|
|
67
|
+
}
|
|
68
|
+
.ds-summary-list__key--lg-6 {
|
|
69
|
+
@apply util-summary-list__key--lg-6;
|
|
70
|
+
}
|
|
71
|
+
.ds-summary-list__key--lg-7 {
|
|
72
|
+
@apply util-summary-list__key--lg-7;
|
|
73
|
+
}
|
|
74
|
+
.ds-summary-list__key--lg-8 {
|
|
75
|
+
@apply util-summary-list__key--lg-8;
|
|
76
|
+
}
|
|
77
|
+
.ds-summary-list__key--lg-9 {
|
|
78
|
+
@apply util-summary-list__key--lg-9;
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
.ds-summary-list__key__text {
|
|
82
|
+
@apply util-summary-list-text util-summary-list__key-text;
|
|
83
|
+
}
|
|
84
|
+
.ds-summary-list__value {
|
|
85
|
+
@apply util-summary-list__value;
|
|
86
|
+
}
|
|
87
|
+
.ds-summary-list__value__text {
|
|
88
|
+
@apply util-summary-list-text;
|
|
89
|
+
}
|
|
90
|
+
.ds-summary-list__actions {
|
|
91
|
+
@apply util-summary-list__actions;
|
|
92
|
+
align-self: 'flex-start';
|
|
93
|
+
}
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
@tailwind utilities;
|
|
2
|
+
|
|
3
|
+
@layer utilities {
|
|
4
|
+
.util-svg-icon {
|
|
5
|
+
@apply h-4 w-4;
|
|
6
|
+
fill: var(--color-base-content);
|
|
7
|
+
}
|
|
8
|
+
.util-svg-icon--base-content {
|
|
9
|
+
fill: var(--color-base-content) !important;
|
|
10
|
+
}
|
|
11
|
+
.util-svg-icon--dark {
|
|
12
|
+
fill: var(--color-black) !important;
|
|
13
|
+
}
|
|
14
|
+
.util-svg-icon--white {
|
|
15
|
+
fill: var(--color-white) !important;
|
|
16
|
+
}
|
|
17
|
+
.util-svg-icon--gray {
|
|
18
|
+
fill: var(--color-base-700) !important;
|
|
19
|
+
}
|
|
20
|
+
.util-svg-icon--primary {
|
|
21
|
+
fill: var(--color-primary) !important;
|
|
22
|
+
}
|
|
23
|
+
.util-svg-icon--success {
|
|
24
|
+
fill: var(--color-success) !important;
|
|
25
|
+
}
|
|
26
|
+
.util-svg-icon--warning {
|
|
27
|
+
fill: var(--color-warning) !important;
|
|
28
|
+
}
|
|
29
|
+
.util-svg-icon--error {
|
|
30
|
+
fill: var(--color-error-text) !important;
|
|
31
|
+
}
|
|
32
|
+
.util-svg-icon--focus {
|
|
33
|
+
fill: var(--color-focus) !important;
|
|
34
|
+
}
|
|
35
|
+
.util-svg-icon--link {
|
|
36
|
+
fill: var(--color-link) !important;
|
|
37
|
+
}
|
|
38
|
+
.util-svg-icon--info {
|
|
39
|
+
fill: var(--color-info) !important;
|
|
40
|
+
}
|
|
41
|
+
.util-svg-icon--xs {
|
|
42
|
+
@apply h-3 w-3 !important;
|
|
43
|
+
}
|
|
44
|
+
.util-svg-icon--sm {
|
|
45
|
+
@apply h-4 w-4 !important;
|
|
46
|
+
}
|
|
47
|
+
.util-svg-icon--md {
|
|
48
|
+
@apply h-6 w-6 !important;
|
|
49
|
+
}
|
|
50
|
+
.util-svg-icon--lg {
|
|
51
|
+
@apply h-8 w-8 !important;
|
|
52
|
+
}
|
|
53
|
+
.util-svg-icon--xl {
|
|
54
|
+
@apply h-10 w-10 !important;
|
|
55
|
+
}
|
|
56
|
+
}
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
@import './svg-icons.common.css';
|
|
2
|
+
|
|
3
|
+
.ds-svg-icon {
|
|
4
|
+
@apply util-svg-icon;
|
|
5
|
+
flex-direction:'row';
|
|
6
|
+
flex-wrap:'wrap';
|
|
7
|
+
}
|
|
8
|
+
.ds-svg-icon--base-content {
|
|
9
|
+
@apply util-svg-icon--base-content;
|
|
10
|
+
}
|
|
11
|
+
.ds-svg-icon--dark {
|
|
12
|
+
@apply util-svg-icon--dark;
|
|
13
|
+
}
|
|
14
|
+
.ds-svg-icon--white {
|
|
15
|
+
@apply util-svg-icon--white;
|
|
16
|
+
}
|
|
17
|
+
.ds-svg-icon--gray {
|
|
18
|
+
@apply util-svg-icon--gray;
|
|
19
|
+
}
|
|
20
|
+
.ds-svg-icon--primary {
|
|
21
|
+
@apply util-svg-icon--primary;
|
|
22
|
+
}
|
|
23
|
+
.ds-svg-icon--success {
|
|
24
|
+
@apply util-svg-icon--success;
|
|
25
|
+
}
|
|
26
|
+
.ds-svg-icon--warning {
|
|
27
|
+
@apply util-svg-icon--warning;
|
|
28
|
+
}
|
|
29
|
+
.ds-svg-icon--error {
|
|
30
|
+
@apply util-svg-icon--error;
|
|
31
|
+
}
|
|
32
|
+
.ds-svg-icon--focus {
|
|
33
|
+
@apply util-svg-icon--focus;
|
|
34
|
+
}
|
|
35
|
+
.ds-svg-icon--link {
|
|
36
|
+
@apply util-svg-icon--link;
|
|
37
|
+
}
|
|
38
|
+
.ds-svg-icon--info {
|
|
39
|
+
@apply util-svg-icon--info;
|
|
40
|
+
}
|
|
41
|
+
.ds-svg-icon--xs {
|
|
42
|
+
@apply util-svg-icon--xs;
|
|
43
|
+
}
|
|
44
|
+
.ds-svg-icon--sm {
|
|
45
|
+
@apply util-svg-icon--sm;
|
|
46
|
+
}
|
|
47
|
+
.ds-svg-icon--md {
|
|
48
|
+
@apply util-svg-icon--md;
|
|
49
|
+
}
|
|
50
|
+
.ds-svg-icon--lg {
|
|
51
|
+
@apply util-svg-icon--lg;
|
|
52
|
+
}
|
|
53
|
+
.ds-svg-icon--xl {
|
|
54
|
+
@apply util-svg-icon--xl;
|
|
55
|
+
}
|
package/src/components/table.css
CHANGED
|
@@ -95,14 +95,14 @@
|
|
|
95
95
|
@apply block;
|
|
96
96
|
}
|
|
97
97
|
.ds-table__cell[data-label]::before {
|
|
98
|
-
@apply block font-semibold;
|
|
98
|
+
@apply block font-semibold mb-2;
|
|
99
99
|
content: attr(data-label);
|
|
100
100
|
}
|
|
101
101
|
}
|
|
102
102
|
&.ds-table--stacked-sm {
|
|
103
103
|
@media (min-width: 640px) {
|
|
104
104
|
.ds-table__cell[data-label]::before {
|
|
105
|
-
content: none;
|
|
105
|
+
content: none !important;
|
|
106
106
|
}
|
|
107
107
|
}
|
|
108
108
|
.ds-table__header,
|
|
@@ -121,14 +121,14 @@
|
|
|
121
121
|
@apply block sm:table-cell;
|
|
122
122
|
}
|
|
123
123
|
.ds-table__cell[data-label]::before {
|
|
124
|
-
@apply block font-semibold;
|
|
124
|
+
@apply block font-semibold mb-2;
|
|
125
125
|
content: attr(data-label);
|
|
126
126
|
}
|
|
127
127
|
}
|
|
128
128
|
&.ds-table--stacked-md {
|
|
129
129
|
@media (min-width: 768px) {
|
|
130
130
|
.ds-table__cell[data-label]::before {
|
|
131
|
-
content: none;
|
|
131
|
+
content: none !important;
|
|
132
132
|
}
|
|
133
133
|
}
|
|
134
134
|
.ds-table__header,
|
|
@@ -147,10 +147,15 @@
|
|
|
147
147
|
@apply block md:table-cell;
|
|
148
148
|
}
|
|
149
149
|
.ds-table__cell[data-label]::before {
|
|
150
|
-
@apply block font-semibold;
|
|
150
|
+
@apply block font-semibold mb-2;
|
|
151
151
|
content: attr(data-label);
|
|
152
152
|
}
|
|
153
153
|
}
|
|
154
|
+
.ds-table__cell {
|
|
155
|
+
.ds-body:last-child {
|
|
156
|
+
@apply mb-0;
|
|
157
|
+
}
|
|
158
|
+
}
|
|
154
159
|
}
|
|
155
160
|
.ds-table-sort__icons-container {
|
|
156
161
|
@apply flex flex-col;
|
|
@@ -258,9 +263,6 @@
|
|
|
258
263
|
}
|
|
259
264
|
}
|
|
260
265
|
.ds-table__header {
|
|
261
|
-
.ds-dropdown__content {
|
|
262
|
-
@apply py-0;
|
|
263
|
-
}
|
|
264
266
|
.ds-dropdown__button:not(:focus) {
|
|
265
267
|
@apply no-underline font-bold text-base-content !important;
|
|
266
268
|
}
|
package/src/components/tabs.css
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
.ds-dense & {
|
|
5
5
|
.ds-tabs__list {
|
|
6
6
|
.ds-tabs__list-item {
|
|
7
|
-
@apply px-3 py-1;
|
|
7
|
+
@apply md:px-3 md:py-1;
|
|
8
8
|
&.ds-tabs__list-item-selected {
|
|
9
9
|
@apply md:px-4 md:pb-3 md:pt-2;
|
|
10
10
|
}
|
|
@@ -14,69 +14,52 @@
|
|
|
14
14
|
@apply pb-2 pt-3;
|
|
15
15
|
}
|
|
16
16
|
}
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
17
|
+
}
|
|
18
|
+
.ds-tabs__title {
|
|
19
|
+
@apply block md:hidden;
|
|
20
|
+
}
|
|
21
|
+
.ds-tabs__list {
|
|
22
|
+
@apply list-none m-0 p-0
|
|
23
|
+
md:flex md:flex-nowrap md:w-full md:items-start;
|
|
24
|
+
&::after {
|
|
25
|
+
content: '';
|
|
26
|
+
display: block;
|
|
27
|
+
clear: both;
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
.ds-tabs__list-item {
|
|
31
|
+
@apply relative px-4 py-1 md:py-2 m-0 shadow-none cursor-pointer text-link
|
|
32
|
+
md:float-left md:border md:border-base-300 md:bg-base-300 md:rounded-t-sm md:mr-2 md:text-base-content
|
|
33
|
+
print:hidden;
|
|
34
|
+
word-break: break-word;
|
|
35
|
+
&.ds-tabs__list-item-selected {
|
|
36
|
+
@apply no-underline md:border-base-400 md:border bg-base-100 md:border-b-0 md:px-5 md:py-4 md:-mt-1;
|
|
37
|
+
margin-bottom: -1px;
|
|
38
|
+
&:hover {
|
|
39
|
+
text-decoration-thickness: 2px;
|
|
35
40
|
}
|
|
36
41
|
}
|
|
37
|
-
|
|
38
|
-
|
|
42
|
+
}
|
|
43
|
+
.ds-tabs__tab {
|
|
44
|
+
@apply text-lg no-underline hover:underline;
|
|
45
|
+
&::before {
|
|
46
|
+
@apply absolute top-0 left-0 text-base-content;
|
|
47
|
+
@apply md:content-[''] !important;
|
|
48
|
+
content: '_';
|
|
39
49
|
}
|
|
40
|
-
|
|
41
|
-
@apply
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
}
|
|
47
|
-
.ds-tabs__list-item {
|
|
48
|
-
@apply relative px-4 py-2 m-0 shadow-none cursor-pointer;
|
|
49
|
-
@apply md:float-left md:border md:border-base-300 md:bg-base-300 md:rounded-t-sm md:mr-2;
|
|
50
|
-
@apply print:hidden;
|
|
51
|
-
&.ds-tabs__list-item-selected {
|
|
52
|
-
@apply no-underline md:border-base-400 md:border bg-base-100 md:border-b-0 md:px-5 md:py-4 md:-mt-1;
|
|
53
|
-
margin-bottom: -1px;
|
|
54
|
-
&:hover {
|
|
55
|
-
text-decoration-thickness: 2px;
|
|
56
|
-
}
|
|
57
|
-
}
|
|
58
|
-
}
|
|
59
|
-
.ds-tabs__tab {
|
|
60
|
-
@apply text-lg no-underline hover:underline focus:underline;
|
|
61
|
-
text-underline-offset: 0.1em;
|
|
62
|
-
&::after {
|
|
63
|
-
@apply absolute top-0 right-0 bottom-0 left-0;
|
|
64
|
-
content: '';
|
|
65
|
-
}
|
|
66
|
-
&:focus {
|
|
67
|
-
background-color: var(--color-focus);
|
|
68
|
-
outline: 3px solid transparent;
|
|
69
|
-
box-shadow: inset 0 0 0 3px var(--color-focus);
|
|
70
|
-
outline-offset: 0;
|
|
71
|
-
text-decoration-thickness: 0.2rem;
|
|
72
|
-
}
|
|
73
|
-
}
|
|
50
|
+
&:focus {
|
|
51
|
+
@apply bg-focus underline text-link-active;
|
|
52
|
+
outline: 3px solid transparent;
|
|
53
|
+
box-shadow: inset 0 0 0 3px var(--color-focus);
|
|
54
|
+
outline-offset: 0;
|
|
55
|
+
text-decoration-thickness: 0.2rem;
|
|
74
56
|
}
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
57
|
+
}
|
|
58
|
+
.ds-tabs__panel {
|
|
59
|
+
@apply bg-base-100 md:hidden block md:px-4 py-4 pt-8 md:border md:border-base-400 mb-0
|
|
60
|
+
print:block print:border-0 print:py-3;
|
|
61
|
+
border-radius: var(--tabs__panel-border-radius);
|
|
62
|
+
&.ds-tabs__panel--visible {
|
|
63
|
+
@apply block;
|
|
81
64
|
}
|
|
82
65
|
}
|
|
@@ -0,0 +1,140 @@
|
|
|
1
|
+
/* stylelint-disable digigov/enforce-class-selector-namespace */
|
|
2
|
+
@tailwind utilities;
|
|
3
|
+
|
|
4
|
+
@layer utilities {
|
|
5
|
+
.util-font-weight-bold-text {
|
|
6
|
+
@apply font-bold !important;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
.util-heading-xl {
|
|
10
|
+
@apply mx-0 max-w-2xl;
|
|
11
|
+
}
|
|
12
|
+
.util-heading-xl-text {
|
|
13
|
+
font-size: var(--heading-xl-font-size);
|
|
14
|
+
line-height: var(--heading-xl-line-height);
|
|
15
|
+
font-weight: var(--heading-xl-font-weight);
|
|
16
|
+
}
|
|
17
|
+
.util-heading-lg-text {
|
|
18
|
+
font-size: var(--heading-lg-font-size);
|
|
19
|
+
line-height: var(--heading-lg-line-height);
|
|
20
|
+
font-weight: var(--heading-lg-font-weight);
|
|
21
|
+
}
|
|
22
|
+
.util-heading-md-text {
|
|
23
|
+
font-size: var(--heading-md-font-size);
|
|
24
|
+
line-height: var(--heading-md-line-height);
|
|
25
|
+
font-weight: var(--heading-md-font-weight);
|
|
26
|
+
}
|
|
27
|
+
.util-heading-sm-text {
|
|
28
|
+
font-size: var(--heading-sm-font-size);
|
|
29
|
+
line-height: var(--heading-sm-line-height);
|
|
30
|
+
font-weight: var(--heading-sm-font-weight);
|
|
31
|
+
}
|
|
32
|
+
.util-heading-xs-text {
|
|
33
|
+
font-size: var(--heading-xs-font-size);
|
|
34
|
+
line-height: var(--heading-xs-line-height);
|
|
35
|
+
font-weight: var(--heading-xs-font-weight);
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
.util-body-text {
|
|
39
|
+
font-size: var(--body-font-size);
|
|
40
|
+
line-height: var(--body-line-height);
|
|
41
|
+
margin-bottom: var(--body-margin-bottom);
|
|
42
|
+
color: var(--body-color);
|
|
43
|
+
}
|
|
44
|
+
.util-body-lg-text {
|
|
45
|
+
font-size: var(--body--lg-font-size);
|
|
46
|
+
line-height: var(--body--lg-line-height);
|
|
47
|
+
}
|
|
48
|
+
.util-body-sm-text {
|
|
49
|
+
font-size: var(--body--sm-font-size);
|
|
50
|
+
line-height: var(--body--sm-line-height);
|
|
51
|
+
}
|
|
52
|
+
.util-link {
|
|
53
|
+
@apply focus:bg-focus;
|
|
54
|
+
padding: var(--link-padding);
|
|
55
|
+
}
|
|
56
|
+
.util-link-text {
|
|
57
|
+
/* @apply focus:text-link-active underline; */
|
|
58
|
+
@apply underline;
|
|
59
|
+
color: var(--link-color);
|
|
60
|
+
font-size: var(--link-font-size);
|
|
61
|
+
line-height: var(--link-line-height);
|
|
62
|
+
/* &:focus {
|
|
63
|
+
text-decoration: none !important;
|
|
64
|
+
} */
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
.util-caption-xl {
|
|
68
|
+
@apply mx-0 font-normal;
|
|
69
|
+
}
|
|
70
|
+
.util-caption-xl-text {
|
|
71
|
+
color: var(--caption-xl-color);
|
|
72
|
+
font-size: var(--caption-xl-font-size);
|
|
73
|
+
margin-bottom: var(--caption-xl-margin-bottom);
|
|
74
|
+
font-weight: var(--caption-xl-font-weight);
|
|
75
|
+
line-height: var(--caption-xl-line-height);
|
|
76
|
+
}
|
|
77
|
+
.util-caption-lg {
|
|
78
|
+
@apply mx-0 font-normal;
|
|
79
|
+
}
|
|
80
|
+
.util-caption-lg-text {
|
|
81
|
+
color: var(--caption-lg-color);
|
|
82
|
+
font-size: var(--caption-lg-font-size);
|
|
83
|
+
margin-bottom: var(--caption-lg-margin-bottom);
|
|
84
|
+
font-weight: var(--caption-lg-font-weight);
|
|
85
|
+
line-height: var(--caption-lg-line-height);
|
|
86
|
+
}
|
|
87
|
+
.util-caption-md {
|
|
88
|
+
@apply mx-0 font-normal;
|
|
89
|
+
}
|
|
90
|
+
.util-caption-md-text {
|
|
91
|
+
color: var(--caption-md-color);
|
|
92
|
+
font-size: var(--caption-md-font-size);
|
|
93
|
+
margin-bottom: var(--caption-md-margin-bottom);
|
|
94
|
+
font-weight: var(--caption-md-font-weight);
|
|
95
|
+
line-height: var(--caption-md-line-height);
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
/* Hint */
|
|
99
|
+
.util-hint {
|
|
100
|
+
margin-bottom: var(--hint-margin-bottom);
|
|
101
|
+
}
|
|
102
|
+
.util-hint-text {
|
|
103
|
+
font-size: var(--hint-font-size);
|
|
104
|
+
line-height: var(--hint-line-height);
|
|
105
|
+
color: var(--hint-color);
|
|
106
|
+
}
|
|
107
|
+
.util-hint-lg-text {
|
|
108
|
+
font-size: var(--hint--lg-font-size);
|
|
109
|
+
line-height: var(--hint--lg-line-height);
|
|
110
|
+
}
|
|
111
|
+
.util-hint-sm-text {
|
|
112
|
+
font-size: var(--hint--sm-font-size);
|
|
113
|
+
line-height: var(--hint--sm-line-height);
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
/* List */
|
|
117
|
+
.util-list {
|
|
118
|
+
@apply mt-4;
|
|
119
|
+
|
|
120
|
+
@apply md:mb-8 mb-4 text-base-content;
|
|
121
|
+
}
|
|
122
|
+
.util-list-bullet {
|
|
123
|
+
@apply pl-4;
|
|
124
|
+
}
|
|
125
|
+
.util-list-number {
|
|
126
|
+
@apply pl-4;
|
|
127
|
+
}
|
|
128
|
+
.util-list-horizontal {
|
|
129
|
+
@apply flex flex-wrap gap-x-6 gap-y-3;
|
|
130
|
+
}
|
|
131
|
+
.util-list-spaced {
|
|
132
|
+
@apply gap-x-10 gap-y-5;
|
|
133
|
+
}
|
|
134
|
+
.util-list-item {
|
|
135
|
+
@apply mb-2 last:mb-0;
|
|
136
|
+
}
|
|
137
|
+
.util-list-item-horizontal {
|
|
138
|
+
@apply w-full;
|
|
139
|
+
}
|
|
140
|
+
}
|