@timlassiter11/yatl 1.2.2 → 1.2.4
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/index.d.mts +11 -2
- package/dist/index.d.ts +11 -2
- package/dist/index.js +55 -11
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +55 -11
- package/dist/index.mjs.map +1 -1
- package/dist/theme.css +51 -35
- package/dist/yatl.min.global.js +42 -32
- package/dist/yatl.min.global.js.map +1 -1
- package/package.json +3 -2
package/dist/theme.css
CHANGED
|
@@ -1,48 +1,62 @@
|
|
|
1
|
+
@import "open-props/style";
|
|
2
|
+
|
|
1
3
|
/* src/theme.css */
|
|
2
4
|
:root {
|
|
3
5
|
color-scheme: light dark;
|
|
4
|
-
--yatl-font-
|
|
5
|
-
--yatl-font-size: var(--
|
|
6
|
-
--yatl-
|
|
7
|
-
--yatl-
|
|
8
|
-
--yatl-
|
|
9
|
-
--yatl-spacing-
|
|
10
|
-
--yatl-spacing-
|
|
11
|
-
--yatl-
|
|
12
|
-
--yatl-
|
|
13
|
-
--yatl-
|
|
14
|
-
--yatl-radius-
|
|
15
|
-
--yatl-
|
|
16
|
-
--yatl-
|
|
17
|
-
--yatl-
|
|
18
|
-
--yatl-
|
|
19
|
-
--yatl-color
|
|
20
|
-
--yatl-color-
|
|
21
|
-
--yatl-color-
|
|
22
|
-
--yatl-color-
|
|
23
|
-
--yatl-color-
|
|
24
|
-
--yatl-color-
|
|
6
|
+
--yatl-font-size: var(--font-size-2);
|
|
7
|
+
--yatl-font-size-s: var(--font-size-1);
|
|
8
|
+
--yatl-font-size-l: var(--font-size-3);
|
|
9
|
+
--yatl-font-family: var(--font-sans);
|
|
10
|
+
--yatl-line-height: var(--font-lineheight-2);
|
|
11
|
+
--yatl-spacing-xs: 4px;
|
|
12
|
+
--yatl-spacing-s: 8px;
|
|
13
|
+
--yatl-spacing-m: 12px;
|
|
14
|
+
--yatl-spacing-l: 16px;
|
|
15
|
+
--yatl-spacing-xl: 20px;
|
|
16
|
+
--yatl-radius-xs: 2px;
|
|
17
|
+
--yatl-radius-s: 4px;
|
|
18
|
+
--yatl-radius-m: 8px;
|
|
19
|
+
--yatl-radius-l: 12px;
|
|
20
|
+
--yatl-radius-xl: 16px;
|
|
21
|
+
--yatl-border-color: light-dark(rgba(0, 0, 0, 0.1), rgba(255, 255, 255, 0.1));
|
|
22
|
+
--yatl-border-color-subtle: light-dark( rgba(0, 0, 0, 0.05), rgba(255, 255, 255, 0.05) );
|
|
23
|
+
--yatl-border-color-strong: light-dark( rgba(0, 0, 0, 0.25), rgba(255, 255, 255, 0.25) );
|
|
24
|
+
--yatl-color-brand: #7531ae;
|
|
25
|
+
--yatl-color-danger: var(--red-4);
|
|
26
|
+
--yatl-color-warning: var(--yellow-4);
|
|
27
|
+
--yatl-color-success: var(--green-4);
|
|
28
|
+
--yatl-color-neutral-light: rgba(0, 0, 0, 0.15);
|
|
29
|
+
--yatl-color-neutral-dark: rgba(255, 255, 255, 0.25);
|
|
30
|
+
--yatl-color-neutral: light-dark( var(--yatl-color-neutral-light), var(--yatl-color-neutral-dark) );
|
|
25
31
|
--yatl-color-mix: light-dark(black, white);
|
|
26
|
-
--yatl-surface-1-light:
|
|
27
|
-
--yatl-surface-1-dark:
|
|
32
|
+
--yatl-surface-1-light: var(--gray-1);
|
|
33
|
+
--yatl-surface-1-dark: var(--gray-10);
|
|
28
34
|
--yatl-surface-1: light-dark( var(--yatl-surface-1-light), var(--yatl-surface-1-dark) );
|
|
29
|
-
--yatl-surface-2-light: #
|
|
30
|
-
--yatl-surface-2-dark:
|
|
35
|
+
--yatl-surface-2-light: #fff;
|
|
36
|
+
--yatl-surface-2-dark: var(--gray-9);
|
|
31
37
|
--yatl-surface-2: light-dark( var(--yatl-surface-2-light), var(--yatl-surface-2-dark) );
|
|
32
|
-
--yatl-surface-3-light: #
|
|
33
|
-
--yatl-surface-3-dark:
|
|
38
|
+
--yatl-surface-3-light: #fff;
|
|
39
|
+
--yatl-surface-3-dark: var(--gray-8);
|
|
34
40
|
--yatl-surface-3: light-dark( var(--yatl-surface-3-light), var(--yatl-surface-3-dark) );
|
|
35
|
-
--yatl-surface-4-light: #
|
|
36
|
-
--yatl-surface-4-dark:
|
|
41
|
+
--yatl-surface-4-light: #fff;
|
|
42
|
+
--yatl-surface-4-dark: var(--gray-7);
|
|
37
43
|
--yatl-surface-4: light-dark( var(--yatl-surface-4-light), var(--yatl-surface-4-dark) );
|
|
38
|
-
--yatl-
|
|
39
|
-
--yatl-
|
|
44
|
+
--yatl-surface-lowered-light: color-mix(in oklab, black 5%, transparent);
|
|
45
|
+
--yatl-surface-lowered-dark: color-mix(in oklab, black 15%, transparent);
|
|
46
|
+
--yatl-surface-lowered: light-dark( var(--yatl-surface-lowered-light), var(--yatl-surface-lowered-dark) );
|
|
47
|
+
--yatl-surface-raised-1-light: #fff;
|
|
48
|
+
--yatl-surface-raised-1-dark: color-mix(in oklab, white 6%, transparent);
|
|
49
|
+
--yatl-surface-raised-1: light-dark( var(--yatl-surface-raised-1-light), var(--yatl-surface-raised-1-dark) );
|
|
50
|
+
--yatl-surface-raised-2: color-mix( in oklab, white 10%, var(--yatl-surface-raised-1) );
|
|
51
|
+
--yatl-surface-raised-3: color-mix( in oklab, white 10%, var(--yatl-surface-raised-2) );
|
|
52
|
+
--yatl-text-1-light: var(--gray-10);
|
|
53
|
+
--yatl-text-1-dark: var(--gray-2);
|
|
40
54
|
--yatl-text-1: light-dark(var(--yatl-text-1-light), var(--yatl-text-1-dark));
|
|
41
|
-
--yatl-text-2-light:
|
|
42
|
-
--yatl-text-2-dark:
|
|
55
|
+
--yatl-text-2-light: var(--gray-7);
|
|
56
|
+
--yatl-text-2-dark: var(--gray-5);
|
|
43
57
|
--yatl-text-2: light-dark(var(--yatl-text-2-light), var(--yatl-text-2-dark));
|
|
44
|
-
--yatl-text-3-light:
|
|
45
|
-
--yatl-text-3-dark:
|
|
58
|
+
--yatl-text-3-light: var(--gray-6);
|
|
59
|
+
--yatl-text-3-dark: var(--gray-6);
|
|
46
60
|
--yatl-text-3: light-dark(var(--yatl-text-3-light), var(--yatl-text-3-dark));
|
|
47
61
|
--yatl-text-inverse: light-dark(white, black);
|
|
48
62
|
--yatl-text-brand: white;
|
|
@@ -50,6 +64,8 @@
|
|
|
50
64
|
font-size: var(--yatl-font-size);
|
|
51
65
|
color: var(--yatl-text-1);
|
|
52
66
|
background-color: var(--yatl-surface-1);
|
|
67
|
+
-webkit-font-smoothing: antialiased;
|
|
68
|
+
-moz-osx-font-smoothing: grayscale;
|
|
53
69
|
}
|
|
54
70
|
:root.light {
|
|
55
71
|
color-scheme: light;
|