@shift-css/core 0.0.1
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/reset.css +140 -0
- package/dist/shift.css +2912 -0
- package/dist/shift.css.map +1 -0
- package/dist/shift.min.css +1 -0
- package/dist/tokens.css +210 -0
- package/package.json +64 -0
package/dist/reset.css
ADDED
|
@@ -0,0 +1,140 @@
|
|
|
1
|
+
*, :before, :after {
|
|
2
|
+
box-sizing: border-box;
|
|
3
|
+
}
|
|
4
|
+
|
|
5
|
+
* {
|
|
6
|
+
margin: 0;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
html {
|
|
10
|
+
color-scheme: light dark;
|
|
11
|
+
font-size: clamp(.9375rem, .875rem + .25vi, 1rem);
|
|
12
|
+
|
|
13
|
+
@media (prefers-reduced-motion: no-preference) {
|
|
14
|
+
scroll-behavior: smooth;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
-webkit-font-smoothing: antialiased;
|
|
18
|
+
-moz-osx-font-smoothing: grayscale;
|
|
19
|
+
text-rendering: optimizeLegibility;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
body {
|
|
23
|
+
min-height: 100dvh;
|
|
24
|
+
line-height: 1.5;
|
|
25
|
+
font-family: var(--s-font-sans, ui-sans-serif, system-ui, sans-serif);
|
|
26
|
+
background-color: var(--s-surface-base);
|
|
27
|
+
color: var(--s-text-primary);
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
img, picture, video, canvas, svg {
|
|
31
|
+
max-width: 100%;
|
|
32
|
+
height: auto;
|
|
33
|
+
display: block;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
input, button, textarea, select {
|
|
37
|
+
font: inherit;
|
|
38
|
+
color: inherit;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
button {
|
|
42
|
+
cursor: pointer;
|
|
43
|
+
background: none;
|
|
44
|
+
border: none;
|
|
45
|
+
padding: 0;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
p, h1, h2, h3, h4, h5, h6 {
|
|
49
|
+
overflow-wrap: break-word;
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
h1, h2, h3, h4, h5, h6 {
|
|
53
|
+
text-wrap: balance;
|
|
54
|
+
line-height: 1.2;
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
p {
|
|
58
|
+
text-wrap: pretty;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
ul, ol {
|
|
62
|
+
padding: 0;
|
|
63
|
+
list-style: none;
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
a {
|
|
67
|
+
color: var(--s-interactive-primary);
|
|
68
|
+
text-decoration: none;
|
|
69
|
+
|
|
70
|
+
&:hover {
|
|
71
|
+
text-decoration: underline;
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
:focus-visible {
|
|
76
|
+
outline: 2px solid var(--s-focus-ring);
|
|
77
|
+
outline-offset: 2px;
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
:focus:not(:focus-visible) {
|
|
81
|
+
outline: none;
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
#root, #__next, #app {
|
|
85
|
+
isolation: isolate;
|
|
86
|
+
min-height: 100dvh;
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
table {
|
|
90
|
+
border-collapse: collapse;
|
|
91
|
+
border-spacing: 0;
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
pre, code {
|
|
95
|
+
font-family: var(--s-font-mono, ui-monospace, monospace);
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
pre {
|
|
99
|
+
overflow-x: auto;
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
@media (prefers-reduced-motion: reduce) {
|
|
103
|
+
*, :before, :after {
|
|
104
|
+
scroll-behavior: auto !important;
|
|
105
|
+
transition-duration: .01ms !important;
|
|
106
|
+
animation-duration: .01ms !important;
|
|
107
|
+
animation-iteration-count: 1 !important;
|
|
108
|
+
}
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
@media (prefers-contrast: more) {
|
|
112
|
+
* {
|
|
113
|
+
border-color: currentColor !important;
|
|
114
|
+
}
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
@media print {
|
|
118
|
+
*, :before, :after {
|
|
119
|
+
color: #000 !important;
|
|
120
|
+
box-shadow: none !important;
|
|
121
|
+
text-shadow: none !important;
|
|
122
|
+
background: none !important;
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
a, a:visited {
|
|
126
|
+
text-decoration: underline;
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
a[href]:after {
|
|
130
|
+
content: " (" attr(href) ")";
|
|
131
|
+
}
|
|
132
|
+
|
|
133
|
+
pre {
|
|
134
|
+
white-space: pre-wrap !important;
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
@page {
|
|
138
|
+
margin: 2cm;
|
|
139
|
+
}
|
|
140
|
+
}
|