@uncinq/component-tokens 1.0.0 → 1.0.2
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/dist/css/components/alert.css +2 -0
- package/dist/css/components/breadcrumb.css +0 -1
- package/dist/css/components/card.css +1 -2
- package/dist/css/components/embed.css +0 -1
- package/dist/css/components/item.css +3 -3
- package/dist/css/index.css +25 -25
- package/package.json +1 -1
- package/tokens/components/alert.json +8 -0
- package/tokens/components/breadcrumb.json +0 -4
- package/tokens/components/card.json +1 -5
- package/tokens/components/embed.json +0 -4
- package/tokens/components/item.json +9 -7
|
@@ -6,6 +6,8 @@
|
|
|
6
6
|
@layer config {
|
|
7
7
|
:root {
|
|
8
8
|
--alert-border-radius: var(--radius-none);
|
|
9
|
+
--alert-border-style: var(--border-style-normal);
|
|
10
|
+
--alert-border-width: var(--border-width-sm);
|
|
9
11
|
--alert-font-size: var(--font-size-small);
|
|
10
12
|
--alert-gap: var(--spacing-sm);
|
|
11
13
|
--alert-margin: 0;
|
|
@@ -5,7 +5,6 @@
|
|
|
5
5
|
/* components/breadcrumb.css */
|
|
6
6
|
@layer config {
|
|
7
7
|
:root {
|
|
8
|
-
--breadcrumb-border: var(--breadcrumb-border-width) var(--breadcrumb-border-style) var(--breadcrumb-color-border);
|
|
9
8
|
--breadcrumb-border-style: var(--border-style-normal);
|
|
10
9
|
--breadcrumb-border-width: var(--border-width-sm);
|
|
11
10
|
--breadcrumb-color-border: var(--color-border);
|
|
@@ -5,7 +5,6 @@
|
|
|
5
5
|
/* components/card.css */
|
|
6
6
|
@layer config {
|
|
7
7
|
:root {
|
|
8
|
-
--card-border: var(--card-border-width) var(--card-border-style) var(--card-color-border);
|
|
9
8
|
--card-border-radius: var(--item-border-radius);
|
|
10
9
|
--card-border-style: var(--item-border-style);
|
|
11
10
|
--card-border-width: var(--item-border-width);
|
|
@@ -26,6 +25,6 @@
|
|
|
26
25
|
--card-title-font-size: var(--item-title-font-size);
|
|
27
26
|
--card-title-font-weight: var(--item-title-font-weight);
|
|
28
27
|
--card-title-line-height: var(--item-title-line-height);
|
|
29
|
-
--card-transition:
|
|
28
|
+
--card-transition: var(--transition-box-shadow);
|
|
30
29
|
}
|
|
31
30
|
}
|
|
@@ -5,7 +5,6 @@
|
|
|
5
5
|
/* components/embed.css */
|
|
6
6
|
@layer config {
|
|
7
7
|
:root {
|
|
8
|
-
--embed-border: var(--embed-border-width) var(--embed-border-style) var(--embed-color-border);
|
|
9
8
|
--embed-border-radius: var(--radius-none);
|
|
10
9
|
--embed-border-style: var(--border-style-normal);
|
|
11
10
|
--embed-border-width: var(--border-width-sm);
|
|
@@ -22,14 +22,14 @@
|
|
|
22
22
|
--item-media-color-background: var(--media-color-background);
|
|
23
23
|
--item-media-order: -2;
|
|
24
24
|
--item-media-ratio: var(--media-ratio);
|
|
25
|
-
--item-metas-border: var(--border-width-sm) var(--border-style-normal) var(--color-border);
|
|
26
25
|
--item-metas-border-end: 0;
|
|
27
26
|
--item-metas-border-start: 0;
|
|
28
27
|
--item-metas-color-background: var(--item-color-background);
|
|
29
28
|
--item-metas-font-size: var(--font-size-2xs);
|
|
30
29
|
--item-metas-order: -1;
|
|
31
30
|
--item-metas-padding-inline: var(--spacing-card);
|
|
32
|
-
--item-metas-padding-block: var(--spacing-card)
|
|
31
|
+
--item-metas-padding-block-start: var(--spacing-card);
|
|
32
|
+
--item-metas-padding-block-end: 0;
|
|
33
33
|
--item-order: none;
|
|
34
34
|
--item-padding-inline: var(--spacing-card);
|
|
35
35
|
--item-padding-block: var(--spacing-card);
|
|
@@ -39,6 +39,6 @@
|
|
|
39
39
|
--item-title-font-size: var(--font-size-md);
|
|
40
40
|
--item-title-font-weight: var(--font-weight-heading);
|
|
41
41
|
--item-title-line-height: var(--line-height-heading);
|
|
42
|
-
--item-transition:
|
|
42
|
+
--item-transition: var(--transition-box-shadow);
|
|
43
43
|
}
|
|
44
44
|
}
|
package/dist/css/index.css
CHANGED
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
/* tokens/index.css */
|
|
2
|
-
@import '
|
|
3
|
-
@import '
|
|
4
|
-
@import '
|
|
5
|
-
@import '
|
|
6
|
-
@import '
|
|
7
|
-
@import '
|
|
8
|
-
@import '
|
|
9
|
-
@import '
|
|
10
|
-
@import '
|
|
11
|
-
@import '
|
|
12
|
-
@import '
|
|
13
|
-
@import '
|
|
14
|
-
@import '
|
|
15
|
-
@import '
|
|
16
|
-
@import '
|
|
17
|
-
@import '
|
|
18
|
-
@import '
|
|
19
|
-
@import '
|
|
20
|
-
@import '
|
|
21
|
-
@import '
|
|
22
|
-
@import '
|
|
23
|
-
@import '
|
|
24
|
-
@import '
|
|
25
|
-
@import '
|
|
26
|
-
@import '
|
|
2
|
+
@import 'components/alert.css';
|
|
3
|
+
@import 'components/badge.css';
|
|
4
|
+
@import 'components/breadcrumb.css';
|
|
5
|
+
@import 'components/button.css';
|
|
6
|
+
@import 'components/card.css';
|
|
7
|
+
@import 'components/container.css';
|
|
8
|
+
@import 'components/details.css';
|
|
9
|
+
@import 'components/drawer.css';
|
|
10
|
+
@import 'components/dropdown.css';
|
|
11
|
+
@import 'components/embed.css';
|
|
12
|
+
@import 'components/figure.css';
|
|
13
|
+
@import 'components/heading.css';
|
|
14
|
+
@import 'components/hero.css';
|
|
15
|
+
@import 'components/item.css';
|
|
16
|
+
@import 'components/items.css';
|
|
17
|
+
@import 'components/link.css';
|
|
18
|
+
@import 'components/list.css';
|
|
19
|
+
@import 'components/logo.css';
|
|
20
|
+
@import 'components/map.css';
|
|
21
|
+
@import 'components/media.css';
|
|
22
|
+
@import 'components/modal.css';
|
|
23
|
+
@import 'components/nav.css';
|
|
24
|
+
@import 'components/pagination.css';
|
|
25
|
+
@import 'components/surtitle.css';
|
|
26
|
+
@import 'components/table.css';
|
package/package.json
CHANGED
|
@@ -1,10 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"card": {
|
|
3
3
|
"border": {
|
|
4
|
-
"default": {
|
|
5
|
-
"$value": "{card.border.width} {card.border.style} {card.color.border}",
|
|
6
|
-
"$type": "string"
|
|
7
|
-
},
|
|
8
4
|
"radius": {
|
|
9
5
|
"$value": "{item.border.radius}",
|
|
10
6
|
"$type": "dimension"
|
|
@@ -101,7 +97,7 @@
|
|
|
101
97
|
}
|
|
102
98
|
},
|
|
103
99
|
"transition": {
|
|
104
|
-
"$value": "
|
|
100
|
+
"$value": "{transition.boxShadow}",
|
|
105
101
|
"$type": "string"
|
|
106
102
|
}
|
|
107
103
|
}
|
|
@@ -88,10 +88,6 @@
|
|
|
88
88
|
},
|
|
89
89
|
"metas": {
|
|
90
90
|
"border": {
|
|
91
|
-
"default": {
|
|
92
|
-
"$value": "{border.width.sm} {border.style.normal} {color.border.default}",
|
|
93
|
-
"$type": "string"
|
|
94
|
-
},
|
|
95
91
|
"end": {
|
|
96
92
|
"$value": "0",
|
|
97
93
|
"$type": "dimension"
|
|
@@ -121,8 +117,14 @@
|
|
|
121
117
|
"$type": "dimension"
|
|
122
118
|
},
|
|
123
119
|
"block": {
|
|
124
|
-
"
|
|
125
|
-
|
|
120
|
+
"start": {
|
|
121
|
+
"$value": "{spacing.card}",
|
|
122
|
+
"$type": "dimension"
|
|
123
|
+
},
|
|
124
|
+
"end": {
|
|
125
|
+
"$value": "0",
|
|
126
|
+
"$type": "dimension"
|
|
127
|
+
}
|
|
126
128
|
}
|
|
127
129
|
}
|
|
128
130
|
},
|
|
@@ -169,7 +171,7 @@
|
|
|
169
171
|
}
|
|
170
172
|
},
|
|
171
173
|
"transition": {
|
|
172
|
-
"$value": "
|
|
174
|
+
"$value": "{transition.boxShadow}",
|
|
173
175
|
"$type": "string"
|
|
174
176
|
}
|
|
175
177
|
}
|