@w-iris/themes 0.1.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/base.css +38 -0
- package/light.css +31 -0
- package/package.json +13 -0
package/base.css
ADDED
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
* {
|
|
2
|
+
box-sizing: border-box;
|
|
3
|
+
}
|
|
4
|
+
|
|
5
|
+
:where(html) {
|
|
6
|
+
color-scheme: light;
|
|
7
|
+
font-family: var(--wi-font-sans);
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
:where(body) {
|
|
11
|
+
margin: 0;
|
|
12
|
+
background: var(--wi-color-page);
|
|
13
|
+
color: var(--wi-color-text);
|
|
14
|
+
min-height: 100vh;
|
|
15
|
+
-webkit-font-smoothing: antialiased;
|
|
16
|
+
-moz-osx-font-smoothing: grayscale;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
:where(button, input, textarea, select) {
|
|
20
|
+
font: inherit;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
:where(a) {
|
|
24
|
+
color: inherit;
|
|
25
|
+
text-decoration: none;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
.wi-sr-only {
|
|
29
|
+
position: absolute;
|
|
30
|
+
width: 1px;
|
|
31
|
+
height: 1px;
|
|
32
|
+
padding: 0;
|
|
33
|
+
margin: -1px;
|
|
34
|
+
overflow: hidden;
|
|
35
|
+
clip: rect(0, 0, 0, 0);
|
|
36
|
+
white-space: nowrap;
|
|
37
|
+
border: 0;
|
|
38
|
+
}
|
package/light.css
ADDED
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
:root {
|
|
2
|
+
--wi-font-sans: Inter, "Segoe UI", Arial, sans-serif;
|
|
3
|
+
--wi-font-mono: Consolas, "Courier New", monospace;
|
|
4
|
+
|
|
5
|
+
--wi-color-primary: #10b981;
|
|
6
|
+
--wi-color-primary-hover: #059669;
|
|
7
|
+
--wi-color-secondary: #64748b;
|
|
8
|
+
--wi-color-success: #16a34a;
|
|
9
|
+
--wi-color-warning: #f59e0b;
|
|
10
|
+
--wi-color-danger: #dc2626;
|
|
11
|
+
--wi-color-page: #eff3f8;
|
|
12
|
+
--wi-color-surface: #ffffff;
|
|
13
|
+
--wi-color-surface-muted: #f8f9fa;
|
|
14
|
+
--wi-color-border: #dee2e6;
|
|
15
|
+
--wi-color-border-strong: #ced4da;
|
|
16
|
+
--wi-color-text: #495057;
|
|
17
|
+
--wi-color-heading: #343a40;
|
|
18
|
+
--wi-color-muted: #6c757d;
|
|
19
|
+
--wi-color-focus: rgba(59, 130, 246, 0.22);
|
|
20
|
+
|
|
21
|
+
--wi-radius-sm: 0.375rem;
|
|
22
|
+
--wi-radius-md: 0.75rem;
|
|
23
|
+
--wi-radius-lg: 0.75rem;
|
|
24
|
+
--wi-radius-full: 999px;
|
|
25
|
+
|
|
26
|
+
--wi-shadow-sm: 0 3px 5px rgba(0, 0, 0, 0.02), 0 0 2px rgba(0, 0, 0, 0.05), 0 1px 4px rgba(0, 0, 0, 0.08);
|
|
27
|
+
--wi-shadow-md: 0 20px 45px rgba(15, 23, 42, 0.14);
|
|
28
|
+
|
|
29
|
+
--wi-motion-fast: 120ms;
|
|
30
|
+
--wi-motion-normal: 180ms;
|
|
31
|
+
}
|