@master/css-preset 2.0.0-rc.84 → 2.0.0-rc.86
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 +2 -2
- package/src/base.css +220 -218
- package/src/default-manifest.json +1 -1
- package/src/default-native.css +4 -2
- package/src/theme.css +736 -736
- package/src/utilities.css +678 -678
- package/src/variants.css +52 -196
package/package.json
CHANGED
|
@@ -49,12 +49,12 @@
|
|
|
49
49
|
"provenance": true
|
|
50
50
|
},
|
|
51
51
|
"dependencies": {
|
|
52
|
-
"@master/css-schema": "^2.0.0-rc.
|
|
52
|
+
"@master/css-schema": "^2.0.0-rc.86"
|
|
53
53
|
},
|
|
54
54
|
"devDependencies": {
|
|
55
55
|
"tsx": "^4.22.4"
|
|
56
56
|
},
|
|
57
|
-
"version": "2.0.0-rc.
|
|
57
|
+
"version": "2.0.0-rc.86",
|
|
58
58
|
"scripts": {
|
|
59
59
|
"build": "pnpm generate",
|
|
60
60
|
"generate": "node --import tsx scripts/generate-default-manifest.ts",
|
package/src/base.css
CHANGED
|
@@ -1,221 +1,223 @@
|
|
|
1
1
|
@layer theme, base, defaults, components, utilities;
|
|
2
2
|
|
|
3
3
|
@layer base {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
4
|
+
/* Improve text rendering precision across browsers. */
|
|
5
|
+
* {
|
|
6
|
+
text-rendering: geometricPrecision;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
/* Normalize body text metrics and font smoothing. */
|
|
10
|
+
body {
|
|
11
|
+
line-height: 1.2;
|
|
12
|
+
text-size-adjust: 100%;
|
|
13
|
+
-webkit-text-size-adjust: 100%;
|
|
14
|
+
-moz-text-size-adjust: 100%;
|
|
15
|
+
-ms-text-size-adjust: 100%;
|
|
16
|
+
-moz-osx-font-smoothing: grayscale;
|
|
17
|
+
-webkit-font-smoothing: antialiased;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
/* Remove touch delay from common interactive elements. */
|
|
21
|
+
a, button {
|
|
22
|
+
touch-action: manipulation;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
/* Prevent accidental text selection on button-like controls. */
|
|
26
|
+
[role=button], summary,
|
|
27
|
+
button, [type=button] {
|
|
28
|
+
-webkit-user-select: none;
|
|
29
|
+
user-select: none;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
/* Use border-box sizing for all elements and pseudo-elements. */
|
|
33
|
+
*, ::before, ::after {
|
|
34
|
+
box-sizing: border-box;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
/* Normalize tab width for readable preformatted text. */
|
|
38
|
+
body {
|
|
39
|
+
-moz-tab-size: 2;
|
|
40
|
+
tab-size: 2;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
/* Make embedded media responsive and block-level by default. */
|
|
44
|
+
img, svg, video, canvas, audio, iframe, embed, object {
|
|
45
|
+
max-width: 100%;
|
|
46
|
+
display: block;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
/* consistent */
|
|
50
|
+
|
|
51
|
+
/* Keep the root viewport height consistent on modern and WebKit browsers. */
|
|
52
|
+
html, body {
|
|
53
|
+
height: 100dvh;
|
|
54
|
+
height: -webkit-fill-available;
|
|
55
|
+
height: -moz-available;
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
/* Ensure abbreviated text with titles has a consistent underline style. */
|
|
59
|
+
abbr[title] {
|
|
60
|
+
text-decoration: underline dotted;
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
/* Keep bold text semantically stronger than surrounding text. */
|
|
64
|
+
b, strong {
|
|
65
|
+
font-weight: bolder;
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
/* Normalize monospace-related element sizing. */
|
|
69
|
+
pre,
|
|
70
|
+
code,
|
|
71
|
+
kbd,
|
|
72
|
+
samp {
|
|
73
|
+
font-size: 1em;
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
/* Remove Firefox inner focus padding and border from controls. */
|
|
77
|
+
::-moz-focus-inner {
|
|
78
|
+
border-style: none;
|
|
79
|
+
padding: 0;
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
/* Remove Firefox invalid field shadows. */
|
|
83
|
+
:-moz-ui-invalid {
|
|
84
|
+
box-shadow: none;
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
/* Align progress elements consistently with surrounding text. */
|
|
88
|
+
progress {
|
|
89
|
+
vertical-align: baseline;
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
/* Normalize search input appearance and outline offset. */
|
|
93
|
+
[type="search"] {
|
|
94
|
+
appearance: textfield;
|
|
95
|
+
outline-offset: -2px;
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
/* Keep WebKit number input spin buttons at their native height. */
|
|
99
|
+
::-webkit-inner-spin-button, ::-webkit-outer-spin-button {
|
|
100
|
+
height: auto;
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
/* Remove WebKit search input decoration. */
|
|
104
|
+
::-webkit-search-decoration {
|
|
105
|
+
-webkit-appearance: none;
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
/* Normalize WebKit file upload button appearance and font. */
|
|
109
|
+
::-webkit-file-upload-button {
|
|
110
|
+
-webkit-appearance: button;
|
|
111
|
+
font: inherit;
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
/* Normalize horizontal rule size and color inheritance. */
|
|
115
|
+
hr {
|
|
116
|
+
height: 0;
|
|
117
|
+
color: inherit;
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
/* Normalize small text sizing. */
|
|
121
|
+
small {
|
|
122
|
+
font-size: 80%;
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
/* Normalize superscript and subscript sizing and positioning context. */
|
|
126
|
+
sub, sup {
|
|
127
|
+
font-size: 75%;
|
|
128
|
+
line-height: 0;
|
|
129
|
+
position: relative;
|
|
130
|
+
vertical-align: baseline;
|
|
131
|
+
}
|
|
132
|
+
|
|
133
|
+
/* Position subscripts consistently below the baseline. */
|
|
134
|
+
sub {
|
|
135
|
+
bottom: -0.25em;
|
|
136
|
+
}
|
|
137
|
+
|
|
138
|
+
/* Position superscripts consistently above the baseline. */
|
|
139
|
+
sup {
|
|
140
|
+
top: -0.5em;
|
|
141
|
+
}
|
|
142
|
+
|
|
143
|
+
/* Normalize table indentation and border color inheritance. */
|
|
144
|
+
table {
|
|
145
|
+
text-indent: 0;
|
|
146
|
+
border-color: inherit;
|
|
147
|
+
}
|
|
148
|
+
|
|
149
|
+
/* Apply the default sans font stack to documents and shadow hosts. */
|
|
150
|
+
body, :host {
|
|
151
|
+
font-family: var(--font-family-sans);
|
|
152
|
+
font-feature-settings: var(--font-feature-sans, normal);
|
|
153
|
+
}
|
|
154
|
+
|
|
155
|
+
/* Apply the default monospace font stack to code-related elements. */
|
|
156
|
+
code, kbd, samp, pre {
|
|
157
|
+
font-family: var(--font-family-mono);
|
|
158
|
+
font-feature-settings: var(--font-feature-mono, normal);
|
|
159
|
+
}
|
|
160
|
+
|
|
161
|
+
/* remove */
|
|
162
|
+
|
|
163
|
+
/* Remove default link color and underline styles. */
|
|
164
|
+
a {
|
|
165
|
+
color: inherit;
|
|
166
|
+
text-decoration: none;
|
|
167
|
+
}
|
|
168
|
+
|
|
169
|
+
/* Reset form control typography, spacing, color, and background. */
|
|
170
|
+
button, input, optgroup, select, textarea {
|
|
171
|
+
font: inherit;
|
|
172
|
+
font-feature-settings: inherit;
|
|
173
|
+
font-variation-settings: inherit;
|
|
174
|
+
font-size: 100%;
|
|
175
|
+
margin: 0;
|
|
176
|
+
padding: 0;
|
|
177
|
+
color: inherit;
|
|
178
|
+
background-color: transparent;
|
|
179
|
+
}
|
|
180
|
+
|
|
181
|
+
/* Remove default borders while keeping solid border style as the baseline. */
|
|
182
|
+
*, ::before, ::after {
|
|
183
|
+
border-width: 0;
|
|
184
|
+
border-style: solid;
|
|
185
|
+
}
|
|
186
|
+
|
|
187
|
+
/* Remove default margins from common block and text elements. */
|
|
188
|
+
body, blockquote, dl, dd, hr, figure, p, pre, h1, h2, h3, h4, h5, h6 {
|
|
189
|
+
margin: 0;
|
|
190
|
+
}
|
|
191
|
+
|
|
192
|
+
/* Remove default padding from table cells and form grouping elements. */
|
|
193
|
+
td, legend, fieldset {
|
|
194
|
+
padding: 0;
|
|
195
|
+
}
|
|
196
|
+
|
|
197
|
+
/* Remove default list spacing. */
|
|
198
|
+
ul, ol {
|
|
199
|
+
margin: 0;
|
|
200
|
+
padding: 0;
|
|
201
|
+
}
|
|
202
|
+
|
|
203
|
+
/* Remove mobile tap highlight color. */
|
|
204
|
+
body {
|
|
205
|
+
-webkit-tap-highlight-color: transparent;
|
|
206
|
+
}
|
|
207
|
+
|
|
208
|
+
/* Remove unordered list markers. */
|
|
209
|
+
ul {
|
|
210
|
+
list-style: none;
|
|
211
|
+
}
|
|
212
|
+
|
|
213
|
+
/* Reset heading typography to inherit from surrounding text. */
|
|
214
|
+
h1, h2, h3, h4, h5, h6 {
|
|
215
|
+
font-size: inherit;
|
|
216
|
+
font-weight: inherit;
|
|
217
|
+
}
|
|
218
|
+
|
|
219
|
+
/* Hide elements marked with the hidden attribute. */
|
|
220
|
+
[hidden] {
|
|
221
|
+
display: none;
|
|
222
|
+
}
|
|
223
|
+
}
|