@zeturn/watercolor-core 1.2.3 → 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/package.json +1 -1
- package/src/styles/base.css +55 -2
- package/src/styles/primitives.css +3 -3
- package/src/styles/semantic.css +1 -1
package/package.json
CHANGED
package/src/styles/base.css
CHANGED
|
@@ -37,9 +37,62 @@ code, pre { font-family: var(--wc-font-mono); }
|
|
|
37
37
|
.wc-radius-full { border-radius: var(--wc-radius-full); }
|
|
38
38
|
|
|
39
39
|
@media (prefers-reduced-motion: reduce) {
|
|
40
|
+
:root {
|
|
41
|
+
--wc-motion-fast: 0ms;
|
|
42
|
+
--wc-motion-normal: 0ms;
|
|
43
|
+
}
|
|
44
|
+
|
|
40
45
|
*, *::before, *::after {
|
|
41
|
-
|
|
46
|
+
scroll-behavior: auto !important;
|
|
47
|
+
animation-delay: 0ms !important;
|
|
48
|
+
animation-duration: 0ms !important;
|
|
42
49
|
animation-iteration-count: 1 !important;
|
|
43
|
-
transition-
|
|
50
|
+
transition-delay: 0ms !important;
|
|
51
|
+
transition-duration: 0ms !important;
|
|
44
52
|
}
|
|
45
53
|
}
|
|
54
|
+
|
|
55
|
+
@media (forced-colors: active) {
|
|
56
|
+
:root {
|
|
57
|
+
--wc-surface-canvas: Canvas;
|
|
58
|
+
--wc-surface-subtle: Canvas;
|
|
59
|
+
--wc-surface-raised: Canvas;
|
|
60
|
+
--wc-surface-overlay: Canvas;
|
|
61
|
+
--wc-action-hover: Highlight;
|
|
62
|
+
--wc-action-active: Highlight;
|
|
63
|
+
--wc-action-selected: Highlight;
|
|
64
|
+
--wc-action-selected-hover: Highlight;
|
|
65
|
+
--wc-action-disabled: GrayText;
|
|
66
|
+
--wc-text-primary: CanvasText;
|
|
67
|
+
--wc-text-secondary: CanvasText;
|
|
68
|
+
--wc-text-tertiary: CanvasText;
|
|
69
|
+
--wc-text-disabled: GrayText;
|
|
70
|
+
--wc-text-inverse: Canvas;
|
|
71
|
+
--wc-text-on-accent: HighlightText;
|
|
72
|
+
--wc-accent: Highlight;
|
|
73
|
+
--wc-accent-hover: Highlight;
|
|
74
|
+
--wc-accent-active: Highlight;
|
|
75
|
+
--wc-accent-subtle: Canvas;
|
|
76
|
+
--wc-danger: Mark;
|
|
77
|
+
--wc-danger-hover: Mark;
|
|
78
|
+
--wc-danger-subtle: Canvas;
|
|
79
|
+
--wc-border-default: CanvasText;
|
|
80
|
+
--wc-border-strong: CanvasText;
|
|
81
|
+
--wc-border-subtle: CanvasText;
|
|
82
|
+
--wc-focus-ring: Highlight;
|
|
83
|
+
--wc-shadow-sm: none;
|
|
84
|
+
--wc-shadow-md: none;
|
|
85
|
+
--wc-shadow-lg: none;
|
|
86
|
+
--wc-shadow-xl: none;
|
|
87
|
+
}
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
[dir='rtl'] .wc-banner-content,
|
|
91
|
+
[dir='rtl'] .wc-alert,
|
|
92
|
+
[dir='rtl'] .wc-snackbar,
|
|
93
|
+
[dir='rtl'] .wc-breadcrumb,
|
|
94
|
+
[dir='rtl'] .wc-menu-item,
|
|
95
|
+
[dir='rtl'] .wc-select-option,
|
|
96
|
+
[dir='rtl'] .wc-autocomplete-option {
|
|
97
|
+
direction: rtl;
|
|
98
|
+
}
|
|
@@ -11,10 +11,10 @@
|
|
|
11
11
|
--wc-font-weight-regular: 400; --wc-font-weight-medium: 500; --wc-font-weight-semibold: 600; --wc-font-weight-bold: 700;
|
|
12
12
|
|
|
13
13
|
--wc-primary-50: #f8faff; --wc-primary-100: #edf5ff; --wc-primary-200: #d7e9ff;
|
|
14
|
-
--wc-primary-300: #b8d8ff; --wc-primary-400: #
|
|
15
|
-
--wc-primary-600: #
|
|
14
|
+
--wc-primary-300: #b8d8ff; --wc-primary-400: #7fb4ff; --wc-primary-500: #3f8cff;
|
|
15
|
+
--wc-primary-600: #0b6bdc; --wc-primary-700: #075fc4; --wc-primary-800: #0b4f9f;
|
|
16
16
|
--wc-primary-900: #164e9e; --wc-primary-950: #123e7d;
|
|
17
|
-
--wc-primary-500-rgb:
|
|
17
|
+
--wc-primary-500-rgb: 63, 140, 255; --wc-primary-600-rgb: 11, 107, 220;
|
|
18
18
|
|
|
19
19
|
--wc-secondary-50: #f6ffed; --wc-secondary-100: #d9f7be; --wc-secondary-200: #b7eb8f;
|
|
20
20
|
--wc-secondary-300: #95de64; --wc-secondary-400: #73d13d; --wc-secondary-500: #52c41a;
|
package/src/styles/semantic.css
CHANGED
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
--wc-mode-disabled: var(--wc-theme-light-action-disabled, var(--wc-neutral-100));
|
|
12
12
|
--wc-mode-text: var(--wc-theme-light-text-primary, var(--wc-neutral-950));
|
|
13
13
|
--wc-mode-text-secondary: var(--wc-theme-light-text-secondary, var(--wc-neutral-600));
|
|
14
|
-
--wc-mode-text-tertiary: var(--wc-theme-light-text-tertiary, var(--wc-neutral-
|
|
14
|
+
--wc-mode-text-tertiary: var(--wc-theme-light-text-tertiary, var(--wc-neutral-600));
|
|
15
15
|
--wc-mode-text-disabled: var(--wc-theme-light-text-disabled, var(--wc-neutral-400));
|
|
16
16
|
--wc-mode-text-inverse: var(--wc-theme-light-text-inverse, var(--wc-neutral-0));
|
|
17
17
|
--wc-mode-border: var(--wc-theme-light-border-default, var(--wc-neutral-200));
|