-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathreset.js
More file actions
38 lines (31 loc) · 661 Bytes
/
reset.js
File metadata and controls
38 lines (31 loc) · 661 Bytes
1
2
3
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
import { css } from '@aegisjsproject/parsers/css.js';
export const reset = css`@layer reset.aegisjsproject {
:root {
color-scheme: light dark;
interpolate-size: allow-keywords;
-webkit-text-size-adjust: none;
text-size-adjust: none;
}
body {
margin: 0;
hanging-punctuation: first last;
-webkit-font-smoothing: antialiased;
}
*, ::before, *::after {
box-sizing: border-box;
transition-behavior: allow-discrete;
}
h1, h2, h3, h4, h5, h6 {
text-wrap: balance;
}
p {
text-wrap: pretty;
}
p, h1, h2, h3, h4, h5, h6 {
overflow-wrap: break-word;
}
input, button, textarea, select {
font: inherit;
color: inherit;
}
}`;