@seed-design/rootage-artifacts 0.0.0
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/collections.yaml +12 -0
- package/color.yaml +591 -0
- package/components/action-button.yaml +215 -0
- package/components/action-chip.yaml +78 -0
- package/components/avatar.yaml +55 -0
- package/components/badge.yaml +136 -0
- package/components/callout.yaml +137 -0
- package/components/checkbox.yaml +131 -0
- package/components/chip-tab.yaml +67 -0
- package/components/chip-tablist.yaml +18 -0
- package/components/control-chip.yaml +100 -0
- package/components/dialog.yaml +30 -0
- package/components/expand-button.yaml +34 -0
- package/components/fab.yaml +28 -0
- package/components/help-bubble.yaml +42 -0
- package/components/inline-banner.yaml +149 -0
- package/components/progress-circle.yaml +41 -0
- package/components/radio.yaml +79 -0
- package/components/segmented-control.yaml +38 -0
- package/components/switch.yaml +56 -0
- package/components/tab.yaml +39 -0
- package/components/tablist.yaml +23 -0
- package/components/text-button.yaml +64 -0
- package/components/typography.yaml +144 -0
- package/font-size.yaml +37 -0
- package/font-weight.yaml +16 -0
- package/line-height.yaml +37 -0
- package/package.json +17 -0
- package/radius.yaml +40 -0
- package/timing-function.yaml +0 -0
- package/unit.yaml +70 -0
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
# yaml-language-server: $schema=./schema.json
|
|
2
|
+
kind: ComponentSpec
|
|
3
|
+
metadata:
|
|
4
|
+
id: radio
|
|
5
|
+
name: Radio
|
|
6
|
+
data:
|
|
7
|
+
base:
|
|
8
|
+
enabled:
|
|
9
|
+
label:
|
|
10
|
+
color: $color.fg.neutral
|
|
11
|
+
control:
|
|
12
|
+
strokeColor: $color.stroke.control
|
|
13
|
+
strokeWidth: 1px
|
|
14
|
+
cornerRadius: $radius.full
|
|
15
|
+
enabled,selected:
|
|
16
|
+
control:
|
|
17
|
+
color: $color.bg.brand-solid
|
|
18
|
+
icon:
|
|
19
|
+
color: $color.fg.static-white
|
|
20
|
+
pressed:
|
|
21
|
+
control:
|
|
22
|
+
color: $color.bg.layer-default-pressed
|
|
23
|
+
pressed,selected:
|
|
24
|
+
control:
|
|
25
|
+
color: $color.bg.brand-solid-pressed
|
|
26
|
+
icon:
|
|
27
|
+
color: $color.fg.static-white
|
|
28
|
+
disabled:
|
|
29
|
+
label:
|
|
30
|
+
color: $color.fg.disabled
|
|
31
|
+
control:
|
|
32
|
+
color: $color.bg.disabled
|
|
33
|
+
disabled,selected:
|
|
34
|
+
label:
|
|
35
|
+
color: $color.fg.disabled
|
|
36
|
+
icon:
|
|
37
|
+
color: $color.bg.disabled
|
|
38
|
+
size=small:
|
|
39
|
+
enabled:
|
|
40
|
+
root:
|
|
41
|
+
gap: $unit.x2
|
|
42
|
+
minHeight: $unit.x7
|
|
43
|
+
label:
|
|
44
|
+
fontSize: $font-size.t3
|
|
45
|
+
control:
|
|
46
|
+
size: $unit.x4
|
|
47
|
+
icon:
|
|
48
|
+
size: $unit.x2
|
|
49
|
+
disabled:
|
|
50
|
+
icon:
|
|
51
|
+
size: $unit.x2
|
|
52
|
+
size=medium:
|
|
53
|
+
enabled:
|
|
54
|
+
root:
|
|
55
|
+
gap: $unit.x2_5
|
|
56
|
+
minHeight: $unit.x8
|
|
57
|
+
label:
|
|
58
|
+
fontSize: $font-size.t4
|
|
59
|
+
control:
|
|
60
|
+
size: $unit.x5
|
|
61
|
+
icon:
|
|
62
|
+
size: $unit.x2
|
|
63
|
+
disabled:
|
|
64
|
+
icon:
|
|
65
|
+
size: $unit.x2_5
|
|
66
|
+
size=large:
|
|
67
|
+
enabled:
|
|
68
|
+
root:
|
|
69
|
+
gap: $unit.x3
|
|
70
|
+
minHeight: $unit.x9
|
|
71
|
+
label:
|
|
72
|
+
fontSize: $font-size.t5
|
|
73
|
+
control:
|
|
74
|
+
size: $unit.x6
|
|
75
|
+
icon:
|
|
76
|
+
size: $unit.x2_5
|
|
77
|
+
disabled:
|
|
78
|
+
icon:
|
|
79
|
+
size: $unit.x3
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
# yaml-language-server: $schema=./schema.json
|
|
2
|
+
# parts: root, trigger, indicator
|
|
3
|
+
kind: ComponentSpec
|
|
4
|
+
metadata:
|
|
5
|
+
id: segmented-control
|
|
6
|
+
name: Segmented Control
|
|
7
|
+
data:
|
|
8
|
+
base:
|
|
9
|
+
enabled:
|
|
10
|
+
root:
|
|
11
|
+
padding: $unit.x1
|
|
12
|
+
cornerRadius: $radius.full
|
|
13
|
+
color: $color.bg.neutral-weak
|
|
14
|
+
trigger:
|
|
15
|
+
height: $unit.x8
|
|
16
|
+
cornerRadius: $radius.full
|
|
17
|
+
paddingX: $unit.x4
|
|
18
|
+
minWidth: 86px
|
|
19
|
+
fontSize: $font-size.t5
|
|
20
|
+
lineHeight: $line-height.t5
|
|
21
|
+
fontWeight: $font-weight.medium
|
|
22
|
+
color: $color.fg.neutral-muted
|
|
23
|
+
indicator:
|
|
24
|
+
cornerRadius: $radius.full
|
|
25
|
+
color: $color.bg.layer-default
|
|
26
|
+
pressed:
|
|
27
|
+
trigger:
|
|
28
|
+
color: $color.bg.neutral-weak-pressed
|
|
29
|
+
selected:
|
|
30
|
+
trigger:
|
|
31
|
+
color: $color.fg.neutral
|
|
32
|
+
fontWeight: $font-weight.bold
|
|
33
|
+
selected,pressed:
|
|
34
|
+
trigger:
|
|
35
|
+
color: $color.bg.layer-default-pressed
|
|
36
|
+
disabled:
|
|
37
|
+
trigger:
|
|
38
|
+
color: $color.fg.disabled
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
# yaml-language-server: $schema=./schema.json
|
|
2
|
+
# parts: root, control, thumb
|
|
3
|
+
kind: ComponentSpec
|
|
4
|
+
metadata:
|
|
5
|
+
id: switch
|
|
6
|
+
name: Switch
|
|
7
|
+
data:
|
|
8
|
+
base:
|
|
9
|
+
enabled:
|
|
10
|
+
control:
|
|
11
|
+
color: $color.palette.gray-600
|
|
12
|
+
cornerRadius: $radius.full
|
|
13
|
+
thumb:
|
|
14
|
+
color: $color.fg.static-white
|
|
15
|
+
cornerRadius: $radius.full
|
|
16
|
+
enabled,selected:
|
|
17
|
+
control:
|
|
18
|
+
color: $color.bg.brand-solid
|
|
19
|
+
disabled:
|
|
20
|
+
root:
|
|
21
|
+
opacity: 0.38
|
|
22
|
+
size=medium:
|
|
23
|
+
enabled:
|
|
24
|
+
root:
|
|
25
|
+
height: 31px
|
|
26
|
+
width: 51px
|
|
27
|
+
control:
|
|
28
|
+
paddingX: 2px
|
|
29
|
+
paddingY: 2px
|
|
30
|
+
thumb:
|
|
31
|
+
height: 27px
|
|
32
|
+
width: 27px
|
|
33
|
+
shadow:
|
|
34
|
+
type: shadow
|
|
35
|
+
value:
|
|
36
|
+
- offsetX: 0px
|
|
37
|
+
offsetY: 3px
|
|
38
|
+
blur: 8px
|
|
39
|
+
spread: 0px
|
|
40
|
+
color: "#00000026"
|
|
41
|
+
- offsetX: 0px
|
|
42
|
+
offsetY: 1px
|
|
43
|
+
blur: 3px
|
|
44
|
+
spread: 0px
|
|
45
|
+
color: "#0000000f"
|
|
46
|
+
size=small:
|
|
47
|
+
enabled:
|
|
48
|
+
root:
|
|
49
|
+
height: 16px
|
|
50
|
+
width: 26px
|
|
51
|
+
control:
|
|
52
|
+
paddingX: 2px
|
|
53
|
+
paddingY: 2px
|
|
54
|
+
thumb:
|
|
55
|
+
height: 12px
|
|
56
|
+
width: 12px
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
# yaml-language-server: $schema=./schema.json
|
|
2
|
+
kind: ComponentSpec
|
|
3
|
+
metadata:
|
|
4
|
+
id: tab
|
|
5
|
+
name: Tab
|
|
6
|
+
data:
|
|
7
|
+
base:
|
|
8
|
+
enabled:
|
|
9
|
+
label:
|
|
10
|
+
color: $color.fg.neutral-subtle
|
|
11
|
+
notification:
|
|
12
|
+
size: $unit.x1
|
|
13
|
+
cornerRadius: $radius.full
|
|
14
|
+
color: $color.bg.brand-solid
|
|
15
|
+
marginLeft: $unit.x0_5
|
|
16
|
+
selected:
|
|
17
|
+
label:
|
|
18
|
+
color: $color.fg.neutral
|
|
19
|
+
disabled:
|
|
20
|
+
label:
|
|
21
|
+
color: $color.fg.disabled
|
|
22
|
+
size=medium:
|
|
23
|
+
enabled:
|
|
24
|
+
root:
|
|
25
|
+
minHeight: 44px
|
|
26
|
+
paddingX: $unit.x2_5
|
|
27
|
+
paddingY: $unit.x2_5
|
|
28
|
+
label:
|
|
29
|
+
fontSize: $font-size.t5
|
|
30
|
+
fontWeight: $font-weight.bold
|
|
31
|
+
size=small:
|
|
32
|
+
enabled:
|
|
33
|
+
root:
|
|
34
|
+
minHeight: 40px
|
|
35
|
+
paddingX: $unit.x2_5
|
|
36
|
+
paddingY: $unit.x2_5
|
|
37
|
+
label:
|
|
38
|
+
fontSize: $font-size.t4
|
|
39
|
+
fontWeight: $font-weight.bold
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
# yaml-language-server: $schema=./schema.json
|
|
2
|
+
kind: ComponentSpec
|
|
3
|
+
metadata:
|
|
4
|
+
id: tablist
|
|
5
|
+
name: Tablist
|
|
6
|
+
data:
|
|
7
|
+
base:
|
|
8
|
+
enabled:
|
|
9
|
+
root:
|
|
10
|
+
color: $color.bg.layer-default
|
|
11
|
+
strokeBottomWidth: 1px
|
|
12
|
+
strokeColor: $color.stroke.neutral
|
|
13
|
+
indicator:
|
|
14
|
+
height: 2px
|
|
15
|
+
color: $color.fg.neutral
|
|
16
|
+
layout=hug:
|
|
17
|
+
enabled:
|
|
18
|
+
root:
|
|
19
|
+
paddingX: $unit.x4
|
|
20
|
+
layout=fill:
|
|
21
|
+
enabled:
|
|
22
|
+
root:
|
|
23
|
+
paddingX: 0px
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
# yaml-language-server: $schema=./schema.json
|
|
2
|
+
kind: ComponentSpec
|
|
3
|
+
metadata:
|
|
4
|
+
id: text-button
|
|
5
|
+
name: Text Button
|
|
6
|
+
data:
|
|
7
|
+
base:
|
|
8
|
+
enabled:
|
|
9
|
+
root:
|
|
10
|
+
paddingY: $unit.x0_5
|
|
11
|
+
gap: $unit.x0_5
|
|
12
|
+
borderWidth: 0.125rem
|
|
13
|
+
label:
|
|
14
|
+
fontWeight: $font-weight.regular
|
|
15
|
+
pressed:
|
|
16
|
+
root:
|
|
17
|
+
color: $color.palette.gray-200
|
|
18
|
+
borderColor: $color.palette.gray-200
|
|
19
|
+
disabled:
|
|
20
|
+
root:
|
|
21
|
+
color: $color.fg.disabled
|
|
22
|
+
variant=brand:
|
|
23
|
+
enabled:
|
|
24
|
+
root:
|
|
25
|
+
color: $color.fg.brand
|
|
26
|
+
variant=neutral:
|
|
27
|
+
enabled:
|
|
28
|
+
root:
|
|
29
|
+
color: $color.fg.neutral
|
|
30
|
+
variant=neutral subtle:
|
|
31
|
+
enabled:
|
|
32
|
+
root:
|
|
33
|
+
color: $color.fg.neutral-subtle
|
|
34
|
+
variant=danger:
|
|
35
|
+
enabled:
|
|
36
|
+
root:
|
|
37
|
+
color: $color.fg.danger
|
|
38
|
+
size=large:
|
|
39
|
+
enabled:
|
|
40
|
+
root:
|
|
41
|
+
cornerRadius: $radius.x1_5
|
|
42
|
+
icon:
|
|
43
|
+
size: $unit.x4
|
|
44
|
+
label:
|
|
45
|
+
fontSize: $font-size.t6
|
|
46
|
+
lineHeight: $line-height.t6
|
|
47
|
+
size=medium:
|
|
48
|
+
enabled:
|
|
49
|
+
root:
|
|
50
|
+
cornerRadius: $radius.x1_5
|
|
51
|
+
icon:
|
|
52
|
+
size: $unit.x3_5
|
|
53
|
+
label:
|
|
54
|
+
fontSize: $font-size.t5
|
|
55
|
+
lineHeight: $line-height.t5
|
|
56
|
+
size=small:
|
|
57
|
+
enabled:
|
|
58
|
+
root:
|
|
59
|
+
cornerRadius: $radius.x1
|
|
60
|
+
icon:
|
|
61
|
+
size: $unit.x3_5
|
|
62
|
+
label:
|
|
63
|
+
fontSize: $font-size.t4
|
|
64
|
+
lineHeight: $line-height.t4
|
|
@@ -0,0 +1,144 @@
|
|
|
1
|
+
# yaml-language-server: $schema=./schema.json
|
|
2
|
+
kind: ComponentSpec
|
|
3
|
+
metadata:
|
|
4
|
+
id: typography
|
|
5
|
+
name: Typography
|
|
6
|
+
data:
|
|
7
|
+
type=label-small-default:
|
|
8
|
+
enabled:
|
|
9
|
+
root:
|
|
10
|
+
fontSize: $font-size.t1
|
|
11
|
+
lineHeight: $line-height.t1
|
|
12
|
+
fontWeight: $font-weight.regular
|
|
13
|
+
type=label-small-strong:
|
|
14
|
+
enabled:
|
|
15
|
+
root:
|
|
16
|
+
fontSize: $font-size.t1
|
|
17
|
+
lineHeight: $line-height.t1
|
|
18
|
+
fontWeight: $font-weight.medium
|
|
19
|
+
type=label-small-stronger:
|
|
20
|
+
enabled:
|
|
21
|
+
root:
|
|
22
|
+
fontSize: $font-size.t1
|
|
23
|
+
lineHeight: $line-height.t1
|
|
24
|
+
fontWeight: $font-weight.bold
|
|
25
|
+
type=label-medium-default:
|
|
26
|
+
enabled:
|
|
27
|
+
root:
|
|
28
|
+
fontSize: $font-size.t2
|
|
29
|
+
lineHeight: $line-height.t2
|
|
30
|
+
fontWeight: $font-weight.regular
|
|
31
|
+
type=label-medium-strong:
|
|
32
|
+
enabled:
|
|
33
|
+
root:
|
|
34
|
+
fontSize: $font-size.t2
|
|
35
|
+
lineHeight: $line-height.t2
|
|
36
|
+
fontWeight: $font-weight.medium
|
|
37
|
+
type=label-medium-stronger:
|
|
38
|
+
enabled:
|
|
39
|
+
root:
|
|
40
|
+
fontSize: $font-size.t2
|
|
41
|
+
lineHeight: $line-height.t2
|
|
42
|
+
fontWeight: $font-weight.bold
|
|
43
|
+
type=label-large-default:
|
|
44
|
+
enabled:
|
|
45
|
+
root:
|
|
46
|
+
fontSize: $font-size.t3
|
|
47
|
+
lineHeight: $line-height.t3
|
|
48
|
+
fontWeight: $font-weight.regular
|
|
49
|
+
type=label-large-strong:
|
|
50
|
+
enabled:
|
|
51
|
+
root:
|
|
52
|
+
fontSize: $font-size.t3
|
|
53
|
+
lineHeight: $line-height.t3
|
|
54
|
+
fontWeight: $font-weight.medium
|
|
55
|
+
type=label-large-stronger:
|
|
56
|
+
enabled:
|
|
57
|
+
root:
|
|
58
|
+
fontSize: $font-size.t3
|
|
59
|
+
lineHeight: $line-height.t3
|
|
60
|
+
fontWeight: $font-weight.bold
|
|
61
|
+
type=body-small-default:
|
|
62
|
+
enabled:
|
|
63
|
+
root:
|
|
64
|
+
fontSize: $font-size.t4
|
|
65
|
+
lineHeight: $line-height.t4
|
|
66
|
+
fontWeight: $font-weight.regular
|
|
67
|
+
type=body-small-reading-default:
|
|
68
|
+
enabled:
|
|
69
|
+
root:
|
|
70
|
+
fontSize: $font-size.t4
|
|
71
|
+
lineHeight: $line-height.t5
|
|
72
|
+
fontWeight: $font-weight.regular
|
|
73
|
+
type=body-small-strong:
|
|
74
|
+
enabled:
|
|
75
|
+
root:
|
|
76
|
+
fontSize: $font-size.t4
|
|
77
|
+
lineHeight: $line-height.t4
|
|
78
|
+
fontWeight: $font-weight.medium
|
|
79
|
+
type=body-small-stronger:
|
|
80
|
+
enabled:
|
|
81
|
+
root:
|
|
82
|
+
fontSize: $font-size.t4
|
|
83
|
+
lineHeight: $line-height.t4
|
|
84
|
+
fontWeight: $font-weight.bold
|
|
85
|
+
type=body-medium-default:
|
|
86
|
+
enabled:
|
|
87
|
+
root:
|
|
88
|
+
fontSize: $font-size.t5
|
|
89
|
+
lineHeight: $line-height.t5
|
|
90
|
+
fontWeight: $font-weight.regular
|
|
91
|
+
type=body-medium-reading-default:
|
|
92
|
+
enabled:
|
|
93
|
+
root:
|
|
94
|
+
fontSize: $font-size.t5
|
|
95
|
+
lineHeight: $line-height.t6
|
|
96
|
+
fontWeight: $font-weight.regular
|
|
97
|
+
type=body-medium-strong:
|
|
98
|
+
enabled:
|
|
99
|
+
root:
|
|
100
|
+
fontSize: $font-size.t5
|
|
101
|
+
lineHeight: $line-height.t5
|
|
102
|
+
fontWeight: $font-weight.medium
|
|
103
|
+
type=body-medium-stronger:
|
|
104
|
+
enabled:
|
|
105
|
+
root:
|
|
106
|
+
fontSize: $font-size.t5
|
|
107
|
+
lineHeight: $line-height.t5
|
|
108
|
+
fontWeight: $font-weight.bold
|
|
109
|
+
type=title-small-default:
|
|
110
|
+
enabled:
|
|
111
|
+
root:
|
|
112
|
+
fontSize: $font-size.t5
|
|
113
|
+
lineHeight: $line-height.t5
|
|
114
|
+
fontWeight: $font-weight.bold
|
|
115
|
+
type=title-medium-default:
|
|
116
|
+
enabled:
|
|
117
|
+
root:
|
|
118
|
+
fontSize: $font-size.t6
|
|
119
|
+
lineHeight: $line-height.t6
|
|
120
|
+
fontWeight: $font-weight.bold
|
|
121
|
+
type=title-large-default:
|
|
122
|
+
enabled:
|
|
123
|
+
root:
|
|
124
|
+
fontSize: $font-size.t7
|
|
125
|
+
lineHeight: $line-height.t7
|
|
126
|
+
fontWeight: $font-weight.bold
|
|
127
|
+
type=heading-small-default:
|
|
128
|
+
enabled:
|
|
129
|
+
root:
|
|
130
|
+
fontSize: $font-size.t8
|
|
131
|
+
lineHeight: $line-height.t8
|
|
132
|
+
fontWeight: $font-weight.bold
|
|
133
|
+
type=heading-medium-default:
|
|
134
|
+
enabled:
|
|
135
|
+
root:
|
|
136
|
+
fontSize: $font-size.t9
|
|
137
|
+
lineHeight: $line-height.t9
|
|
138
|
+
fontWeight: $font-weight.bold
|
|
139
|
+
type=heading-large-default:
|
|
140
|
+
enabled:
|
|
141
|
+
root:
|
|
142
|
+
fontSize: $font-size.t10
|
|
143
|
+
lineHeight: $line-height.t10
|
|
144
|
+
fontWeight: $font-weight.bold
|
package/font-size.yaml
ADDED
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
kind: Tokens
|
|
2
|
+
metadata:
|
|
3
|
+
id: font-size
|
|
4
|
+
name: Font Size
|
|
5
|
+
data:
|
|
6
|
+
collection: global
|
|
7
|
+
tokens:
|
|
8
|
+
$font-size.t1:
|
|
9
|
+
values:
|
|
10
|
+
default: 0.6875rem # 11px ÷ 16
|
|
11
|
+
$font-size.t2:
|
|
12
|
+
values:
|
|
13
|
+
default: 0.75rem # 12px ÷ 16
|
|
14
|
+
$font-size.t3:
|
|
15
|
+
values:
|
|
16
|
+
default: 0.8125rem # 13px ÷ 16
|
|
17
|
+
$font-size.t4:
|
|
18
|
+
values:
|
|
19
|
+
default: 0.875rem # 14px ÷ 16
|
|
20
|
+
$font-size.t5:
|
|
21
|
+
values:
|
|
22
|
+
default: 1rem # 16px ÷ 16
|
|
23
|
+
$font-size.t6:
|
|
24
|
+
values:
|
|
25
|
+
default: 1.125rem # 18px ÷ 16
|
|
26
|
+
$font-size.t7:
|
|
27
|
+
values:
|
|
28
|
+
default: 1.25rem # 20px ÷ 16
|
|
29
|
+
$font-size.t8:
|
|
30
|
+
values:
|
|
31
|
+
default: 1.375rem # 22px ÷ 16
|
|
32
|
+
$font-size.t9:
|
|
33
|
+
values:
|
|
34
|
+
default: 1.5rem # 24px ÷ 16
|
|
35
|
+
$font-size.t10:
|
|
36
|
+
values:
|
|
37
|
+
default: 1.625rem # 26px ÷ 16
|
package/font-weight.yaml
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
kind: Tokens
|
|
2
|
+
metadata:
|
|
3
|
+
id: font-weight
|
|
4
|
+
name: Font Weight
|
|
5
|
+
data:
|
|
6
|
+
collection: global
|
|
7
|
+
tokens:
|
|
8
|
+
$font-weight.regular:
|
|
9
|
+
values:
|
|
10
|
+
default: 400
|
|
11
|
+
$font-weight.medium:
|
|
12
|
+
values:
|
|
13
|
+
default: 500
|
|
14
|
+
$font-weight.bold:
|
|
15
|
+
values:
|
|
16
|
+
default: 700
|
package/line-height.yaml
ADDED
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
kind: Tokens
|
|
2
|
+
metadata:
|
|
3
|
+
id: line-height
|
|
4
|
+
name: Line Height
|
|
5
|
+
data:
|
|
6
|
+
collection: global
|
|
7
|
+
tokens:
|
|
8
|
+
$line-height.t1:
|
|
9
|
+
values:
|
|
10
|
+
default: 0.8125rem # 13px ÷ 16
|
|
11
|
+
$line-height.t2:
|
|
12
|
+
values:
|
|
13
|
+
default: 1rem # 16px ÷ 16
|
|
14
|
+
$line-height.t3:
|
|
15
|
+
values:
|
|
16
|
+
default: 1.125rem # 18px ÷ 16
|
|
17
|
+
$line-height.t4:
|
|
18
|
+
values:
|
|
19
|
+
default: 1.1875rem # 19px ÷ 16
|
|
20
|
+
$line-height.t5:
|
|
21
|
+
values:
|
|
22
|
+
default: 1.3125rem # 21px ÷ 16
|
|
23
|
+
$line-height.t6:
|
|
24
|
+
values:
|
|
25
|
+
default: 1.5rem # 24px ÷ 16
|
|
26
|
+
$line-height.t7:
|
|
27
|
+
values:
|
|
28
|
+
default: 1.5625rem # 25px ÷ 16
|
|
29
|
+
$line-height.t8:
|
|
30
|
+
values:
|
|
31
|
+
default: 1.875rem # 30px ÷ 16
|
|
32
|
+
$line-height.t9:
|
|
33
|
+
values:
|
|
34
|
+
default: 2rem # 32px ÷ 16
|
|
35
|
+
$line-height.t10:
|
|
36
|
+
values:
|
|
37
|
+
default: 2.125rem # 34px ÷ 16
|
package/package.json
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@seed-design/rootage-artifacts",
|
|
3
|
+
"version": "0.0.0",
|
|
4
|
+
"repository": {
|
|
5
|
+
"type": "git",
|
|
6
|
+
"url": "git+https://github.com/daangn/seed-design.git",
|
|
7
|
+
"directory": "packages/rootage/artifacts"
|
|
8
|
+
},
|
|
9
|
+
"main": "package.json",
|
|
10
|
+
"files": [
|
|
11
|
+
"*.yaml",
|
|
12
|
+
"components/*.yaml"
|
|
13
|
+
],
|
|
14
|
+
"publishConfig": {
|
|
15
|
+
"access": "public"
|
|
16
|
+
}
|
|
17
|
+
}
|
package/radius.yaml
ADDED
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
kind: Tokens
|
|
2
|
+
metadata:
|
|
3
|
+
id: radius
|
|
4
|
+
name: Radius
|
|
5
|
+
data:
|
|
6
|
+
collection: global
|
|
7
|
+
tokens:
|
|
8
|
+
$radius.x0_5:
|
|
9
|
+
values:
|
|
10
|
+
default: 2px
|
|
11
|
+
$radius.x1:
|
|
12
|
+
values:
|
|
13
|
+
default: 4px
|
|
14
|
+
$radius.x1_5:
|
|
15
|
+
values:
|
|
16
|
+
default: 6px
|
|
17
|
+
$radius.x2:
|
|
18
|
+
values:
|
|
19
|
+
default: 8px
|
|
20
|
+
$radius.x2_5:
|
|
21
|
+
values:
|
|
22
|
+
default: 10px
|
|
23
|
+
$radius.x3:
|
|
24
|
+
values:
|
|
25
|
+
default: 12px
|
|
26
|
+
$radius.x3_5:
|
|
27
|
+
values:
|
|
28
|
+
default: 14px
|
|
29
|
+
$radius.x4:
|
|
30
|
+
values:
|
|
31
|
+
default: 16px
|
|
32
|
+
$radius.x5:
|
|
33
|
+
values:
|
|
34
|
+
default: 20px
|
|
35
|
+
$radius.x6:
|
|
36
|
+
values:
|
|
37
|
+
default: 24px
|
|
38
|
+
$radius.full:
|
|
39
|
+
values:
|
|
40
|
+
default: 9999px
|
|
File without changes
|
package/unit.yaml
ADDED
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
kind: Tokens
|
|
2
|
+
metadata:
|
|
3
|
+
id: unit
|
|
4
|
+
name: Unit
|
|
5
|
+
data:
|
|
6
|
+
collection: global
|
|
7
|
+
tokens:
|
|
8
|
+
$unit.x0_5:
|
|
9
|
+
values:
|
|
10
|
+
default: 2px
|
|
11
|
+
$unit.x1:
|
|
12
|
+
values:
|
|
13
|
+
default: 4px
|
|
14
|
+
$unit.x1_5:
|
|
15
|
+
values:
|
|
16
|
+
default: 6px
|
|
17
|
+
$unit.x2:
|
|
18
|
+
values:
|
|
19
|
+
default: 8px
|
|
20
|
+
$unit.x2_5:
|
|
21
|
+
values:
|
|
22
|
+
default: 10px
|
|
23
|
+
$unit.x3:
|
|
24
|
+
values:
|
|
25
|
+
default: 12px
|
|
26
|
+
$unit.x3_5:
|
|
27
|
+
values:
|
|
28
|
+
default: 14px
|
|
29
|
+
$unit.x4:
|
|
30
|
+
values:
|
|
31
|
+
default: 16px
|
|
32
|
+
$unit.x4_5:
|
|
33
|
+
values:
|
|
34
|
+
default: 18px
|
|
35
|
+
$unit.x5:
|
|
36
|
+
values:
|
|
37
|
+
default: 20px
|
|
38
|
+
$unit.x6:
|
|
39
|
+
values:
|
|
40
|
+
default: 24px
|
|
41
|
+
$unit.x7:
|
|
42
|
+
values:
|
|
43
|
+
default: 28px
|
|
44
|
+
$unit.x8:
|
|
45
|
+
values:
|
|
46
|
+
default: 32px
|
|
47
|
+
$unit.x9:
|
|
48
|
+
values:
|
|
49
|
+
default: 36px
|
|
50
|
+
$unit.x10:
|
|
51
|
+
values:
|
|
52
|
+
default: 40px
|
|
53
|
+
$unit.x12:
|
|
54
|
+
values:
|
|
55
|
+
default: 48px
|
|
56
|
+
$unit.x13:
|
|
57
|
+
values:
|
|
58
|
+
default: 52px
|
|
59
|
+
$unit.x14:
|
|
60
|
+
values:
|
|
61
|
+
default: 56px
|
|
62
|
+
$unit.x16:
|
|
63
|
+
values:
|
|
64
|
+
default: 64px
|
|
65
|
+
$horizontal-spacing.between-chips:
|
|
66
|
+
values:
|
|
67
|
+
default: $unit.x2
|
|
68
|
+
$horizontal-spacing.global-gutter:
|
|
69
|
+
values:
|
|
70
|
+
default: $unit.x4
|