@withlayers/components.text-control 0.7.2 → 0.8.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/dist/index.css +1 -1
- package/dist/mixins.css +78 -105
- package/package.json +4 -5
- package/dist/tokens.json +0 -317
package/dist/index.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.text-control{--color--background: var(--l--theme--color--
|
|
1
|
+
.text-control{--color--background: var(--l--theme--color--input--background--on-default--rest);--color--border: var(--l--theme--color--input--border--on-default--rest);--color--content: var(--l--theme--color--input--content--on-default--rest);--color--placeholder: var(--l--theme--color--input--placeholder--on-default--rest);background-color:var(--color--background);border-color:var(--color--border);color:var(--color--content);border-radius:var(--l--theme--border--text-control--radius--md);border-style:var(--l--theme--border--text-control--style);border-width:var(--l--theme--border--text-control--width--md);padding-block:var(--l--theme--space--text-control--inset--block--md);padding-inline:var(--l--theme--space--text-control--inset--inline--md);font-family:var(--l--theme--typography--text-control--font-family--md);font-size:var(--l--theme--typography--text-control--font-size--md);font-style:var(--l--theme--typography--text-control--font-style--md);font-variant-caps:var(--l--theme--typography--text-control--font-variant-caps--md);font-weight:var(--l--theme--typography--text-control--font-weight--md);letter-spacing:var(--l--theme--typography--text-control--letter-spacing--md);line-height:var(--l--theme--typography--text-control--line-height--md);text-transform:var(--l--theme--typography--text-control--text-transform--md)}.text-control::placeholder,.text-control::-webkit-datetime-edit{color:var(--color--placeholder)}.text-control:where(textarea){resize:vertical}.text-control:focus-visible{--color--background: var(--l--theme--color--input--background--on-default--focus);--color--border: var(--l--theme--color--input--border--on-default--focus);--color--content: var(--l--theme--color--input--content--on-default--focus);--color--placeholder: var(--l--theme--color--input--placeholder--on-default--focus)}.text-control:hover{--color--background: var(--l--theme--color--input--background--on-default--hover);--color--border: var(--l--theme--color--input--border--on-default--hover);--color--content: var(--l--theme--color--input--content--on-default--hover);--color--placeholder: var(--l--theme--color--input--placeholder--on-default--hover)}.text-control[aria-invalid=true]{--color--background: var(--l--theme--color--input--background--on-default--invalid--rest);--color--border: var(--l--theme--color--input--border--on-default--invalid--rest);--color--content: var(--l--theme--color--input--content--on-default--invalid--rest);--color--placeholder: var(--l--theme--color--input--placeholder--on-default--invalid--rest)}.text-control[aria-invalid=true]:focus-visible{--color--background: var(--l--theme--color--input--background--on-default--invalid--focus);--color--border: var(--l--theme--color--input--border--on-default--invalid--focus);--color--content: var(--l--theme--color--input--content--on-default--invalid--focus);--color--placeholder: var(--l--theme--color--input--placeholder--on-default--invalid--focus)}.text-control[aria-invalid=true]:hover{--color--background: var(--l--theme--color--input--background--on-default--invalid--hover);--color--border: var(--l--theme--color--input--border--on-default--invalid--hover);--color--content: var(--l--theme--color--input--content--on-default--invalid--hover);--color--placeholder: var(--l--theme--color--input--placeholder--on-default--invalid--hover)}.text-control:disabled,.text-control[disabled]:hover{--color--background: var(--l--theme--color--input--background--on-default--disabled);--color--border: var(--l--theme--color--input--border--on-default--disabled);--color--content: var(--l--theme--color--input--content--on-default--disabled);--color--placeholder: var(--l--theme--color--input--placeholder--on-default--disabled)}.text-control--lg{border-radius:var(--l--theme--border--text-control--radius--lg);border-style:var(--l--theme--border--text-control--style);border-width:var(--l--theme--border--text-control--width--lg);padding-block:var(--l--theme--space--text-control--inset--block--lg);padding-inline:var(--l--theme--space--text-control--inset--inline--lg);font-family:var(--l--theme--typography--text-control--font-family--lg);font-size:var(--l--theme--typography--text-control--font-size--lg);font-style:var(--l--theme--typography--text-control--font-style--lg);font-variant-caps:var(--l--theme--typography--text-control--font-variant-caps--lg);font-weight:var(--l--theme--typography--text-control--font-weight--lg);letter-spacing:var(--l--theme--typography--text-control--letter-spacing--lg);line-height:var(--l--theme--typography--text-control--line-height--lg);text-transform:var(--l--theme--typography--text-control--text-transform--lg)}.text-control--md{border-radius:var(--l--theme--border--text-control--radius--md);border-style:var(--l--theme--border--text-control--style);border-width:var(--l--theme--border--text-control--width--md);padding-block:var(--l--theme--space--text-control--inset--block--md);padding-inline:var(--l--theme--space--text-control--inset--inline--md);font-family:var(--l--theme--typography--text-control--font-family--md);font-size:var(--l--theme--typography--text-control--font-size--md);font-style:var(--l--theme--typography--text-control--font-style--md);font-variant-caps:var(--l--theme--typography--text-control--font-variant-caps--md);font-weight:var(--l--theme--typography--text-control--font-weight--md);letter-spacing:var(--l--theme--typography--text-control--letter-spacing--md);line-height:var(--l--theme--typography--text-control--line-height--md);text-transform:var(--l--theme--typography--text-control--text-transform--md)}.text-control--sm{border-radius:var(--l--theme--border--text-control--radius--sm);border-style:var(--l--theme--border--text-control--style);border-width:var(--l--theme--border--text-control--width--sm);padding-block:var(--l--theme--space--text-control--inset--block--sm);padding-inline:var(--l--theme--space--text-control--inset--inline--sm);font-family:var(--l--theme--typography--text-control--font-family--sm);font-size:var(--l--theme--typography--text-control--font-size--sm);font-style:var(--l--theme--typography--text-control--font-style--sm);font-variant-caps:var(--l--theme--typography--text-control--font-variant-caps--sm);font-weight:var(--l--theme--typography--text-control--font-weight--sm);letter-spacing:var(--l--theme--typography--text-control--letter-spacing--sm);line-height:var(--l--theme--typography--text-control--line-height--sm);text-transform:var(--l--theme--typography--text-control--text-transform--sm)}.text-control--xs{border-radius:var(--l--theme--border--text-control--radius--xs);border-style:var(--l--theme--border--text-control--style);border-width:var(--l--theme--border--text-control--width--xs);padding-block:var(--l--theme--space--text-control--inset--block--xs);padding-inline:var(--l--theme--space--text-control--inset--inline--xs);font-family:var(--l--theme--typography--text-control--font-family--xs);font-size:var(--l--theme--typography--text-control--font-size--xs);font-style:var(--l--theme--typography--text-control--font-style--xs);font-variant-caps:var(--l--theme--typography--text-control--font-variant-caps--xs);font-weight:var(--l--theme--typography--text-control--font-weight--xs);letter-spacing:var(--l--theme--typography--text-control--letter-spacing--xs);line-height:var(--l--theme--typography--text-control--line-height--xs);text-transform:var(--l--theme--typography--text-control--text-transform--xs)}
|
package/dist/mixins.css
CHANGED
|
@@ -1,140 +1,113 @@
|
|
|
1
|
-
@
|
|
2
|
-
border-style: var(--l--theme--text-control--border--style);
|
|
3
|
-
}
|
|
4
|
-
|
|
5
|
-
@define-mixin text-control-shape-xs {
|
|
6
|
-
border-radius: var(--l--theme--text-control--border--radius--xs);
|
|
7
|
-
border-width: var(--l--theme--text-control--border--width--xs);
|
|
8
|
-
padding-block: var(--l--theme--text-control--space--inset--block--xs);
|
|
9
|
-
padding-inline: var(--l--theme--text-control--space--inset--inline--xs);
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
@define-mixin text-control-shape-sm {
|
|
13
|
-
border-radius: var(--l--theme--text-control--border--radius--sm);
|
|
14
|
-
border-width: var(--l--theme--text-control--border--width--sm);
|
|
15
|
-
padding-block: var(--l--theme--text-control--space--inset--block--sm);
|
|
16
|
-
padding-inline: var(--l--theme--text-control--space--inset--inline--sm);
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
@define-mixin text-control-shape-md {
|
|
20
|
-
border-radius: var(--l--theme--text-control--border--radius--md);
|
|
21
|
-
border-width: var(--l--theme--text-control--border--width--md);
|
|
22
|
-
padding-block: var(--l--theme--text-control--space--inset--block--md);
|
|
23
|
-
padding-inline: var(--l--theme--text-control--space--inset--inline--md);
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
@define-mixin text-control-shape-lg {
|
|
27
|
-
border-radius: var(--l--theme--text-control--border--radius--lg);
|
|
28
|
-
border-width: var(--l--theme--text-control--border--width--lg);
|
|
29
|
-
padding-block: var(--l--theme--text-control--space--inset--block--lg);
|
|
30
|
-
padding-inline: var(--l--theme--text-control--space--inset--inline--lg);
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
@define-mixin text-control-typography-xs {
|
|
34
|
-
font-family: var(--l--theme--text-control--typography--font-family--xs);
|
|
35
|
-
font-size: var(--l--theme--text-control--typography--font-size--xs);
|
|
36
|
-
font-style: var(--l--theme--text-control--typography--font-style--xs);
|
|
37
|
-
font-variant-caps: var(--l--theme--text-control--typography--font-variant-caps--xs);
|
|
38
|
-
font-weight: var(--l--theme--text-control--typography--font-weight--xs);
|
|
39
|
-
letter-spacing: var(--l--theme--text-control--typography--letter-spacing--xs);
|
|
40
|
-
line-height: var(--l--theme--text-control--typography--line-height--xs);
|
|
41
|
-
text-transform: var(--l--theme--text-control--typography--text-transform--xs);
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
@define-mixin text-control-typography-sm {
|
|
45
|
-
font-family: var(--l--theme--text-control--typography--font-family--sm);
|
|
46
|
-
font-size: var(--l--theme--text-control--typography--font-size--sm);
|
|
47
|
-
font-style: var(--l--theme--text-control--typography--font-style--sm);
|
|
48
|
-
font-variant-caps: var(--l--theme--text-control--typography--font-variant-caps--sm);
|
|
49
|
-
font-weight: var(--l--theme--text-control--typography--font-weight--sm);
|
|
50
|
-
letter-spacing: var(--l--theme--text-control--typography--letter-spacing--sm);
|
|
51
|
-
line-height: var(--l--theme--text-control--typography--line-height--sm);
|
|
52
|
-
text-transform: var(--l--theme--text-control--typography--text-transform--sm);
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
@define-mixin text-control-typography-md {
|
|
56
|
-
font-family: var(--l--theme--text-control--typography--font-family--md);
|
|
57
|
-
font-size: var(--l--theme--text-control--typography--font-size--md);
|
|
58
|
-
font-style: var(--l--theme--text-control--typography--font-style--md);
|
|
59
|
-
font-variant-caps: var(--l--theme--text-control--typography--font-variant-caps--md);
|
|
60
|
-
font-weight: var(--l--theme--text-control--typography--font-weight--md);
|
|
61
|
-
letter-spacing: var(--l--theme--text-control--typography--letter-spacing--md);
|
|
62
|
-
line-height: var(--l--theme--text-control--typography--line-height--md);
|
|
63
|
-
text-transform: var(--l--theme--text-control--typography--text-transform--md);
|
|
64
|
-
}
|
|
65
|
-
|
|
66
|
-
@define-mixin text-control-typography-lg {
|
|
67
|
-
font-family: var(--l--theme--text-control--typography--font-family--lg);
|
|
68
|
-
font-size: var(--l--theme--text-control--typography--font-size--lg);
|
|
69
|
-
font-style: var(--l--theme--text-control--typography--font-style--lg);
|
|
70
|
-
font-variant-caps: var(--l--theme--text-control--typography--font-variant-caps--lg);
|
|
71
|
-
font-weight: var(--l--theme--text-control--typography--font-weight--lg);
|
|
72
|
-
letter-spacing: var(--l--theme--text-control--typography--letter-spacing--lg);
|
|
73
|
-
line-height: var(--l--theme--text-control--typography--line-height--lg);
|
|
74
|
-
text-transform: var(--l--theme--text-control--typography--text-transform--lg);
|
|
75
|
-
}
|
|
1
|
+
@import url('@withlayers/mixins/dist/index.css');
|
|
76
2
|
|
|
77
|
-
@define-mixin text-control
|
|
78
|
-
--color--background: var(--l--theme--color--
|
|
79
|
-
--color--border: var(--l--theme--color--
|
|
80
|
-
--color--content: var(--l--theme--color--
|
|
81
|
-
--color--placeholder: var(--l--theme--color--
|
|
3
|
+
@define-mixin text-control {
|
|
4
|
+
--color--background: var(--l--theme--color--input--background--on-default--rest);
|
|
5
|
+
--color--border: var(--l--theme--color--input--border--on-default--rest);
|
|
6
|
+
--color--content: var(--l--theme--color--input--content--on-default--rest);
|
|
7
|
+
--color--placeholder: var(--l--theme--color--input--placeholder--on-default--rest);
|
|
82
8
|
|
|
83
9
|
/* Rest */
|
|
84
10
|
background-color: var(--color--background);
|
|
85
11
|
border-color: var(--color--border);
|
|
86
12
|
color: var(--color--content);
|
|
87
13
|
|
|
14
|
+
@mixin text-control--md;
|
|
15
|
+
|
|
88
16
|
&::placeholder,
|
|
89
17
|
&::-webkit-datetime-edit {
|
|
90
18
|
color: var(--color--placeholder);
|
|
91
19
|
}
|
|
92
20
|
|
|
21
|
+
&:where(textarea) {
|
|
22
|
+
resize: vertical;
|
|
23
|
+
}
|
|
24
|
+
|
|
93
25
|
/* Focus */
|
|
94
26
|
&:focus-visible {
|
|
95
|
-
--color--background: var(--l--theme--color--
|
|
96
|
-
--color--border: var(--l--theme--color--
|
|
97
|
-
--color--content: var(--l--theme--color--
|
|
98
|
-
--color--placeholder: var(--l--theme--color--
|
|
27
|
+
--color--background: var(--l--theme--color--input--background--on-default--focus);
|
|
28
|
+
--color--border: var(--l--theme--color--input--border--on-default--focus);
|
|
29
|
+
--color--content: var(--l--theme--color--input--content--on-default--focus);
|
|
30
|
+
--color--placeholder: var(--l--theme--color--input--placeholder--on-default--focus);
|
|
99
31
|
}
|
|
100
32
|
|
|
101
33
|
/* Hover */
|
|
102
34
|
&:hover {
|
|
103
|
-
--color--background: var(--l--theme--color--
|
|
104
|
-
--color--border: var(--l--theme--color--
|
|
105
|
-
--color--content: var(--l--theme--color--
|
|
106
|
-
--color--placeholder: var(--l--theme--color--
|
|
35
|
+
--color--background: var(--l--theme--color--input--background--on-default--hover);
|
|
36
|
+
--color--border: var(--l--theme--color--input--border--on-default--hover);
|
|
37
|
+
--color--content: var(--l--theme--color--input--content--on-default--hover);
|
|
38
|
+
--color--placeholder: var(--l--theme--color--input--placeholder--on-default--hover);
|
|
107
39
|
}
|
|
108
40
|
|
|
109
41
|
/* Invalid: Rest */
|
|
110
42
|
&[aria-invalid='true'] {
|
|
111
|
-
--color--background: var(--l--theme--color--
|
|
112
|
-
--color--border: var(--l--theme--color--
|
|
113
|
-
--color--content: var(--l--theme--color--
|
|
114
|
-
--color--placeholder: var(--l--theme--color--
|
|
43
|
+
--color--background: var(--l--theme--color--input--background--on-default--invalid--rest);
|
|
44
|
+
--color--border: var(--l--theme--color--input--border--on-default--invalid--rest);
|
|
45
|
+
--color--content: var(--l--theme--color--input--content--on-default--invalid--rest);
|
|
46
|
+
--color--placeholder: var(--l--theme--color--input--placeholder--on-default--invalid--rest);
|
|
115
47
|
}
|
|
116
48
|
|
|
117
49
|
/* Invalid: Focus */
|
|
118
50
|
&[aria-invalid='true']:focus-visible {
|
|
119
|
-
--color--background: var(--l--theme--color--
|
|
120
|
-
--color--border: var(--l--theme--color--
|
|
121
|
-
--color--content: var(--l--theme--color--
|
|
122
|
-
--color--placeholder: var(--l--theme--color--
|
|
51
|
+
--color--background: var(--l--theme--color--input--background--on-default--invalid--focus);
|
|
52
|
+
--color--border: var(--l--theme--color--input--border--on-default--invalid--focus);
|
|
53
|
+
--color--content: var(--l--theme--color--input--content--on-default--invalid--focus);
|
|
54
|
+
--color--placeholder: var(--l--theme--color--input--placeholder--on-default--invalid--focus);
|
|
123
55
|
}
|
|
124
56
|
|
|
125
57
|
/* Invalid: Hover */
|
|
126
58
|
&[aria-invalid='true']:hover {
|
|
127
|
-
--color--background: var(--l--theme--color--
|
|
128
|
-
--color--border: var(--l--theme--color--
|
|
129
|
-
--color--content: var(--l--theme--color--
|
|
130
|
-
--color--placeholder: var(--l--theme--color--
|
|
59
|
+
--color--background: var(--l--theme--color--input--background--on-default--invalid--hover);
|
|
60
|
+
--color--border: var(--l--theme--color--input--border--on-default--invalid--hover);
|
|
61
|
+
--color--content: var(--l--theme--color--input--content--on-default--invalid--hover);
|
|
62
|
+
--color--placeholder: var(--l--theme--color--input--placeholder--on-default--invalid--hover);
|
|
131
63
|
}
|
|
132
64
|
|
|
133
65
|
/* Disabled */
|
|
134
|
-
&:disabled
|
|
135
|
-
|
|
136
|
-
--color--
|
|
137
|
-
--color--
|
|
138
|
-
--color--
|
|
66
|
+
&:disabled,
|
|
67
|
+
&[disabled]:hover {
|
|
68
|
+
--color--background: var(--l--theme--color--input--background--on-default--disabled);
|
|
69
|
+
--color--border: var(--l--theme--color--input--border--on-default--disabled);
|
|
70
|
+
--color--content: var(--l--theme--color--input--content--on-default--disabled);
|
|
71
|
+
--color--placeholder: var(--l--theme--color--input--placeholder--on-default--disabled);
|
|
139
72
|
}
|
|
140
73
|
}
|
|
74
|
+
|
|
75
|
+
@define-mixin text-control--lg {
|
|
76
|
+
border-radius: var(--l--theme--border--text-control--radius--lg);
|
|
77
|
+
border-style: var(--l--theme--border--text-control--style);
|
|
78
|
+
border-width: var(--l--theme--border--text-control--width--lg);
|
|
79
|
+
padding-block: var(--l--theme--space--text-control--inset--block--lg);
|
|
80
|
+
padding-inline: var(--l--theme--space--text-control--inset--inline--lg);
|
|
81
|
+
|
|
82
|
+
@mixin is-typography-text-control-lg;
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
@define-mixin text-control--md {
|
|
86
|
+
border-radius: var(--l--theme--border--text-control--radius--md);
|
|
87
|
+
border-style: var(--l--theme--border--text-control--style);
|
|
88
|
+
border-width: var(--l--theme--border--text-control--width--md);
|
|
89
|
+
padding-block: var(--l--theme--space--text-control--inset--block--md);
|
|
90
|
+
padding-inline: var(--l--theme--space--text-control--inset--inline--md);
|
|
91
|
+
|
|
92
|
+
@mixin is-typography-text-control-md;
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
@define-mixin text-control--sm {
|
|
96
|
+
border-radius: var(--l--theme--border--text-control--radius--sm);
|
|
97
|
+
border-style: var(--l--theme--border--text-control--style);
|
|
98
|
+
border-width: var(--l--theme--border--text-control--width--sm);
|
|
99
|
+
padding-block: var(--l--theme--space--text-control--inset--block--sm);
|
|
100
|
+
padding-inline: var(--l--theme--space--text-control--inset--inline--sm);
|
|
101
|
+
|
|
102
|
+
@mixin is-typography-text-control-sm;
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
@define-mixin text-control--xs {
|
|
106
|
+
border-radius: var(--l--theme--border--text-control--radius--xs);
|
|
107
|
+
border-style: var(--l--theme--border--text-control--style);
|
|
108
|
+
border-width: var(--l--theme--border--text-control--width--xs);
|
|
109
|
+
padding-block: var(--l--theme--space--text-control--inset--block--xs);
|
|
110
|
+
padding-inline: var(--l--theme--space--text-control--inset--inline--xs);
|
|
111
|
+
|
|
112
|
+
@mixin is-typography-text-control-xs;
|
|
113
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@withlayers/components.text-control",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.8.0",
|
|
4
4
|
"description": "Text control component",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "Dmitry Mayorov",
|
|
@@ -8,8 +8,7 @@
|
|
|
8
8
|
"main": "dist/index.css",
|
|
9
9
|
"exports": {
|
|
10
10
|
".": "./dist/index.css",
|
|
11
|
-
"./mixins": "./dist/mixins.css"
|
|
12
|
-
"./tokens": "./dist/tokens.json"
|
|
11
|
+
"./mixins": "./dist/mixins.css"
|
|
13
12
|
},
|
|
14
13
|
"files": [
|
|
15
14
|
"dist"
|
|
@@ -21,8 +20,8 @@
|
|
|
21
20
|
"lint:css:fix": "stylelint \"src/**/*.css\" --fix"
|
|
22
21
|
},
|
|
23
22
|
"dependencies": {
|
|
24
|
-
"@withlayers/mixins": "0.
|
|
25
|
-
"@withlayers/tokens": "0.
|
|
23
|
+
"@withlayers/mixins": "0.15.0",
|
|
24
|
+
"@withlayers/tokens": "0.23.0"
|
|
26
25
|
},
|
|
27
26
|
"devDependencies": {
|
|
28
27
|
"clsx": "^2.1.1",
|
package/dist/tokens.json
DELETED
|
@@ -1,317 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"text-control": {
|
|
3
|
-
"$level": "component",
|
|
4
|
-
"border": {
|
|
5
|
-
"$level": "category",
|
|
6
|
-
"style": {
|
|
7
|
-
"$level": "property",
|
|
8
|
-
"value": "{border.style.solid}"
|
|
9
|
-
},
|
|
10
|
-
"width": {
|
|
11
|
-
"$level": "property",
|
|
12
|
-
"xs": {
|
|
13
|
-
"$level": "scale",
|
|
14
|
-
"value": "{border.width.sm}"
|
|
15
|
-
},
|
|
16
|
-
"sm": {
|
|
17
|
-
"$level": "scale",
|
|
18
|
-
"value": "{border.width.sm}"
|
|
19
|
-
},
|
|
20
|
-
"md": {
|
|
21
|
-
"$level": "scale",
|
|
22
|
-
"value": "{border.width.sm}"
|
|
23
|
-
},
|
|
24
|
-
"lg": {
|
|
25
|
-
"$level": "scale",
|
|
26
|
-
"value": "{border.width.sm}"
|
|
27
|
-
}
|
|
28
|
-
},
|
|
29
|
-
"radius": {
|
|
30
|
-
"$level": "property",
|
|
31
|
-
"xs": {
|
|
32
|
-
"$level": "scale",
|
|
33
|
-
"value": "{border.radius.md}"
|
|
34
|
-
},
|
|
35
|
-
"sm": {
|
|
36
|
-
"$level": "scale",
|
|
37
|
-
"value": "{border.radius.md}"
|
|
38
|
-
},
|
|
39
|
-
"md": {
|
|
40
|
-
"$level": "scale",
|
|
41
|
-
"value": "{border.radius.md}"
|
|
42
|
-
},
|
|
43
|
-
"lg": {
|
|
44
|
-
"$level": "scale",
|
|
45
|
-
"value": "{border.radius.md}"
|
|
46
|
-
}
|
|
47
|
-
}
|
|
48
|
-
},
|
|
49
|
-
"space": {
|
|
50
|
-
"$level": "category",
|
|
51
|
-
"inset": {
|
|
52
|
-
"$level": "property",
|
|
53
|
-
"block": {
|
|
54
|
-
"$level": "subproperty",
|
|
55
|
-
"xs": {
|
|
56
|
-
"$level": "scale",
|
|
57
|
-
"value": "{space.20}"
|
|
58
|
-
},
|
|
59
|
-
"sm": {
|
|
60
|
-
"$level": "scale",
|
|
61
|
-
"value": "{space.30}"
|
|
62
|
-
},
|
|
63
|
-
"md": {
|
|
64
|
-
"$level": "scale",
|
|
65
|
-
"value": "{space.40}"
|
|
66
|
-
},
|
|
67
|
-
"lg": {
|
|
68
|
-
"$level": "scale",
|
|
69
|
-
"value": "{space.50}"
|
|
70
|
-
}
|
|
71
|
-
},
|
|
72
|
-
"inline": {
|
|
73
|
-
"$level": "subproperty",
|
|
74
|
-
"xs": {
|
|
75
|
-
"$level": "scale",
|
|
76
|
-
"value": "{space.30}"
|
|
77
|
-
},
|
|
78
|
-
"sm": {
|
|
79
|
-
"$level": "scale",
|
|
80
|
-
"value": "{space.40}"
|
|
81
|
-
},
|
|
82
|
-
"md": {
|
|
83
|
-
"$level": "scale",
|
|
84
|
-
"value": "{space.50}"
|
|
85
|
-
},
|
|
86
|
-
"lg": {
|
|
87
|
-
"$level": "scale",
|
|
88
|
-
"value": "{space.60}"
|
|
89
|
-
}
|
|
90
|
-
}
|
|
91
|
-
}
|
|
92
|
-
},
|
|
93
|
-
"typography": {
|
|
94
|
-
"$level": "category",
|
|
95
|
-
"font-family": {
|
|
96
|
-
"$level": "property",
|
|
97
|
-
"xs": {
|
|
98
|
-
"$level": "scale",
|
|
99
|
-
"value": "{typography.font-family.secondary}"
|
|
100
|
-
},
|
|
101
|
-
"sm": {
|
|
102
|
-
"$level": "scale",
|
|
103
|
-
"value": "{typography.font-family.secondary}"
|
|
104
|
-
},
|
|
105
|
-
"md": {
|
|
106
|
-
"$level": "scale",
|
|
107
|
-
"value": "{typography.font-family.secondary}"
|
|
108
|
-
},
|
|
109
|
-
"lg": {
|
|
110
|
-
"$level": "scale",
|
|
111
|
-
"value": "{typography.font-family.secondary}"
|
|
112
|
-
}
|
|
113
|
-
},
|
|
114
|
-
"font-size": {
|
|
115
|
-
"$level": "property",
|
|
116
|
-
"xs": {
|
|
117
|
-
"$level": "scale",
|
|
118
|
-
"value": {
|
|
119
|
-
"type": "fluid",
|
|
120
|
-
"min": {
|
|
121
|
-
"value": "{typography.font-size.12}",
|
|
122
|
-
"breakpoint": {
|
|
123
|
-
"value": "{breakpoint.xs}"
|
|
124
|
-
}
|
|
125
|
-
},
|
|
126
|
-
"max": {
|
|
127
|
-
"value": "{typography.font-size.14}",
|
|
128
|
-
"breakpoint": {
|
|
129
|
-
"value": "{breakpoint.xl}"
|
|
130
|
-
}
|
|
131
|
-
},
|
|
132
|
-
"root": {
|
|
133
|
-
"value": "{typography.font-size.root}"
|
|
134
|
-
}
|
|
135
|
-
}
|
|
136
|
-
},
|
|
137
|
-
"sm": {
|
|
138
|
-
"$level": "scale",
|
|
139
|
-
"value": {
|
|
140
|
-
"type": "fluid",
|
|
141
|
-
"min": {
|
|
142
|
-
"value": "{typography.font-size.12}",
|
|
143
|
-
"breakpoint": {
|
|
144
|
-
"value": "{breakpoint.xs}"
|
|
145
|
-
}
|
|
146
|
-
},
|
|
147
|
-
"max": {
|
|
148
|
-
"value": "{typography.font-size.14}",
|
|
149
|
-
"breakpoint": {
|
|
150
|
-
"value": "{breakpoint.xl}"
|
|
151
|
-
}
|
|
152
|
-
},
|
|
153
|
-
"root": {
|
|
154
|
-
"value": "{typography.font-size.root}"
|
|
155
|
-
}
|
|
156
|
-
}
|
|
157
|
-
},
|
|
158
|
-
"md": {
|
|
159
|
-
"$level": "scale",
|
|
160
|
-
"value": {
|
|
161
|
-
"type": "fluid",
|
|
162
|
-
"min": {
|
|
163
|
-
"value": "{typography.font-size.14}",
|
|
164
|
-
"breakpoint": {
|
|
165
|
-
"value": "{breakpoint.xs}"
|
|
166
|
-
}
|
|
167
|
-
},
|
|
168
|
-
"max": {
|
|
169
|
-
"value": "{typography.font-size.16}",
|
|
170
|
-
"breakpoint": {
|
|
171
|
-
"value": "{breakpoint.xl}"
|
|
172
|
-
}
|
|
173
|
-
},
|
|
174
|
-
"root": {
|
|
175
|
-
"value": "{typography.font-size.root}"
|
|
176
|
-
}
|
|
177
|
-
}
|
|
178
|
-
},
|
|
179
|
-
"lg": {
|
|
180
|
-
"$level": "scale",
|
|
181
|
-
"value": {
|
|
182
|
-
"type": "fluid",
|
|
183
|
-
"min": {
|
|
184
|
-
"value": "{typography.font-size.16}",
|
|
185
|
-
"breakpoint": {
|
|
186
|
-
"value": "{breakpoint.xs}"
|
|
187
|
-
}
|
|
188
|
-
},
|
|
189
|
-
"max": {
|
|
190
|
-
"value": "{typography.font-size.18}",
|
|
191
|
-
"breakpoint": {
|
|
192
|
-
"value": "{breakpoint.xl}"
|
|
193
|
-
}
|
|
194
|
-
},
|
|
195
|
-
"root": {
|
|
196
|
-
"value": "{typography.font-size.root}"
|
|
197
|
-
}
|
|
198
|
-
}
|
|
199
|
-
}
|
|
200
|
-
},
|
|
201
|
-
"font-style": {
|
|
202
|
-
"$level": "property",
|
|
203
|
-
"xs": {
|
|
204
|
-
"$level": "scale",
|
|
205
|
-
"value": "{typography.font-style.normal}"
|
|
206
|
-
},
|
|
207
|
-
"sm": {
|
|
208
|
-
"$level": "scale",
|
|
209
|
-
"value": "{typography.font-style.normal}"
|
|
210
|
-
},
|
|
211
|
-
"md": {
|
|
212
|
-
"$level": "scale",
|
|
213
|
-
"value": "{typography.font-style.normal}"
|
|
214
|
-
},
|
|
215
|
-
"lg": {
|
|
216
|
-
"$level": "scale",
|
|
217
|
-
"value": "{typography.font-style.normal}"
|
|
218
|
-
}
|
|
219
|
-
},
|
|
220
|
-
"font-variant-caps": {
|
|
221
|
-
"$level": "property",
|
|
222
|
-
"xs": {
|
|
223
|
-
"$level": "scale",
|
|
224
|
-
"value": "{typography.font-variant-caps.normal}"
|
|
225
|
-
},
|
|
226
|
-
"sm": {
|
|
227
|
-
"$level": "scale",
|
|
228
|
-
"value": "{typography.font-variant-caps.normal}"
|
|
229
|
-
},
|
|
230
|
-
"md": {
|
|
231
|
-
"$level": "scale",
|
|
232
|
-
"value": "{typography.font-variant-caps.normal}"
|
|
233
|
-
},
|
|
234
|
-
"lg": {
|
|
235
|
-
"$level": "scale",
|
|
236
|
-
"value": "{typography.font-variant-caps.normal}"
|
|
237
|
-
}
|
|
238
|
-
},
|
|
239
|
-
"font-weight": {
|
|
240
|
-
"$level": "property",
|
|
241
|
-
"xs": {
|
|
242
|
-
"$level": "scale",
|
|
243
|
-
"value": "{typography.font-weight.medium}"
|
|
244
|
-
},
|
|
245
|
-
"sm": {
|
|
246
|
-
"$level": "scale",
|
|
247
|
-
"value": "{typography.font-weight.medium}"
|
|
248
|
-
},
|
|
249
|
-
"md": {
|
|
250
|
-
"$level": "scale",
|
|
251
|
-
"value": "{typography.font-weight.medium}"
|
|
252
|
-
},
|
|
253
|
-
"lg": {
|
|
254
|
-
"$level": "scale",
|
|
255
|
-
"value": "{typography.font-weight.medium}"
|
|
256
|
-
}
|
|
257
|
-
},
|
|
258
|
-
"letter-spacing": {
|
|
259
|
-
"$level": "property",
|
|
260
|
-
"xs": {
|
|
261
|
-
"$level": "scale",
|
|
262
|
-
"value": "{typography.letter-spacing.normal}"
|
|
263
|
-
},
|
|
264
|
-
"sm": {
|
|
265
|
-
"$level": "scale",
|
|
266
|
-
"value": "{typography.letter-spacing.normal}"
|
|
267
|
-
},
|
|
268
|
-
"md": {
|
|
269
|
-
"$level": "scale",
|
|
270
|
-
"value": "{typography.letter-spacing.normal}"
|
|
271
|
-
},
|
|
272
|
-
"lg": {
|
|
273
|
-
"$level": "scale",
|
|
274
|
-
"value": "{typography.letter-spacing.normal}"
|
|
275
|
-
}
|
|
276
|
-
},
|
|
277
|
-
"line-height": {
|
|
278
|
-
"$level": "property",
|
|
279
|
-
"xs": {
|
|
280
|
-
"$level": "scale",
|
|
281
|
-
"value": "{typography.line-height.1250}"
|
|
282
|
-
},
|
|
283
|
-
"sm": {
|
|
284
|
-
"$level": "scale",
|
|
285
|
-
"value": "{typography.line-height.1250}"
|
|
286
|
-
},
|
|
287
|
-
"md": {
|
|
288
|
-
"$level": "scale",
|
|
289
|
-
"value": "{typography.line-height.1375}"
|
|
290
|
-
},
|
|
291
|
-
"lg": {
|
|
292
|
-
"$level": "scale",
|
|
293
|
-
"value": "{typography.line-height.1500}"
|
|
294
|
-
}
|
|
295
|
-
},
|
|
296
|
-
"text-transform": {
|
|
297
|
-
"$level": "property",
|
|
298
|
-
"xs": {
|
|
299
|
-
"$level": "scale",
|
|
300
|
-
"value": "{typography.text-transform.none}"
|
|
301
|
-
},
|
|
302
|
-
"sm": {
|
|
303
|
-
"$level": "scale",
|
|
304
|
-
"value": "{typography.text-transform.none}"
|
|
305
|
-
},
|
|
306
|
-
"md": {
|
|
307
|
-
"$level": "scale",
|
|
308
|
-
"value": "{typography.text-transform.none}"
|
|
309
|
-
},
|
|
310
|
-
"lg": {
|
|
311
|
-
"$level": "scale",
|
|
312
|
-
"value": "{typography.text-transform.none}"
|
|
313
|
-
}
|
|
314
|
-
}
|
|
315
|
-
}
|
|
316
|
-
}
|
|
317
|
-
}
|