@kamen/create-webapp 1.0.56 → 1.0.58
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/css/color-wheel.css +21 -0
- package/css/input.css +14 -0
- package/css/reset.css +20 -35
- package/package.json +1 -1
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
@layer color-wheel {
|
|
2
|
+
@property --color-wheel-angle {
|
|
3
|
+
syntax: "<angle>";
|
|
4
|
+
inherits: false;
|
|
5
|
+
initial-value: 0turn;
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
@keyframes color-wheel-rotation {
|
|
9
|
+
to {
|
|
10
|
+
--color-wheel-angle: 1turn;
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
.color-wheel {
|
|
15
|
+
background-image: conic-gradient(from var(--color-wheel-angle) at center in oklch longer hue, oklch(0.7 0.3 0 / 0.4), oklch(0.7 0.3 0 / 0.4));
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
.color-wheel-rotating {
|
|
19
|
+
animation: var(--color-wheel-duration, 60s) linear infinite color-wheel-rotation;
|
|
20
|
+
}
|
|
21
|
+
}
|
package/css/input.css
ADDED
package/css/reset.css
CHANGED
|
@@ -1,39 +1,24 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
*::
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
:root {
|
|
8
|
-
color-scheme: light dark;
|
|
9
|
-
box-sizing: border-box;
|
|
10
|
-
font-family: system-ui, monospace, sans-serif;
|
|
11
|
-
interpolate-size: allow-keywords;
|
|
12
|
-
@media (prefers-reduced-motion: no-preference) {
|
|
13
|
-
scroll-behavior: smooth;
|
|
1
|
+
@layer reset {
|
|
2
|
+
*,
|
|
3
|
+
*::before,
|
|
4
|
+
*::after {
|
|
5
|
+
box-sizing: inherit;
|
|
14
6
|
}
|
|
15
|
-
--accent-color: gray;
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
button,
|
|
19
|
-
input,
|
|
20
|
-
optgroup,
|
|
21
|
-
select,
|
|
22
|
-
textarea {
|
|
23
|
-
font: inherit;
|
|
24
|
-
accent-color: var(--accent-color);
|
|
25
|
-
}
|
|
26
7
|
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
8
|
+
:root {
|
|
9
|
+
color-scheme: light dark;
|
|
10
|
+
box-sizing: border-box;
|
|
11
|
+
font-family: system-ui, monospace, sans-serif;
|
|
12
|
+
interpolate-size: allow-keywords;
|
|
13
|
+
}
|
|
30
14
|
|
|
31
|
-
canvas,
|
|
32
|
-
iframe,
|
|
33
|
-
img,
|
|
34
|
-
picture,
|
|
35
|
-
svg,
|
|
36
|
-
video {
|
|
37
|
-
|
|
38
|
-
|
|
15
|
+
canvas,
|
|
16
|
+
iframe,
|
|
17
|
+
img,
|
|
18
|
+
picture,
|
|
19
|
+
svg,
|
|
20
|
+
video {
|
|
21
|
+
display: block;
|
|
22
|
+
max-width: 100%;
|
|
23
|
+
}
|
|
39
24
|
}
|