tinywidgets 1.3.0 → 1.3.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/package.json +1 -1
- package/src/css/colors.css.ts +8 -0
package/package.json
CHANGED
package/src/css/colors.css.ts
CHANGED
|
@@ -20,9 +20,11 @@ import {
|
|
|
20
20
|
* - `background2`
|
|
21
21
|
* - `backgroundHaze`
|
|
22
22
|
* - `backgroundHover`
|
|
23
|
+
* - `backgroundExtreme`
|
|
23
24
|
* - `foreground`
|
|
24
25
|
* - `foregroundBright`
|
|
25
26
|
* - `foregroundDim`
|
|
27
|
+
* - `foregroundExtreme`
|
|
26
28
|
* - `border`
|
|
27
29
|
* - `shadow`
|
|
28
30
|
*
|
|
@@ -72,9 +74,11 @@ export const colors = createThemeContract({
|
|
|
72
74
|
background2: null,
|
|
73
75
|
backgroundHaze: null,
|
|
74
76
|
backgroundHover: null,
|
|
77
|
+
backgroundExtreme: null,
|
|
75
78
|
foreground: null,
|
|
76
79
|
foregroundBright: null,
|
|
77
80
|
foregroundDim: null,
|
|
81
|
+
foregroundExtreme: null,
|
|
78
82
|
border: null,
|
|
79
83
|
shadow: null,
|
|
80
84
|
});
|
|
@@ -97,9 +101,11 @@ export const colorsLight = createTheme(colors, {
|
|
|
97
101
|
background2: `oklch(95% .01 ${colors.backgroundHue})`,
|
|
98
102
|
backgroundHaze: `oklch(99% .01 ${colors.backgroundHue} / .5)`,
|
|
99
103
|
backgroundHover: `oklch(90% .01 ${colors.backgroundHue})`,
|
|
104
|
+
backgroundExtreme: '#fff',
|
|
100
105
|
foreground: `oklch(50% .01 ${colors.accentHue})`,
|
|
101
106
|
foregroundBright: `oklch(10% .01 ${colors.accentHue})`,
|
|
102
107
|
foregroundDim: `oklch(60% .01 ${colors.accentHue})`,
|
|
108
|
+
foregroundExtreme: '#000',
|
|
103
109
|
border: `1px solid oklch(90% .01 ${colors.backgroundHue})`,
|
|
104
110
|
shadow: '0 1px 4px 0 hsl(0 0 20 / .1)',
|
|
105
111
|
});
|
|
@@ -113,9 +119,11 @@ export const colorsDark = createTheme(colors, {
|
|
|
113
119
|
background2: `oklch(15% .01 ${colors.backgroundHue})`,
|
|
114
120
|
backgroundHaze: `oklch(21% 0% ${colors.backgroundHue} / .5)`,
|
|
115
121
|
backgroundHover: `oklch(25% .01 ${colors.backgroundHue})`,
|
|
122
|
+
backgroundExtreme: '#000',
|
|
116
123
|
foreground: `oklch(85% .01 ${colors.accentHue})`,
|
|
117
124
|
foregroundBright: `oklch(95% .01 ${colors.accentHue})`,
|
|
118
125
|
foregroundDim: `oklch(60% .01 ${colors.accentHue})`,
|
|
126
|
+
foregroundExtreme: '#fff',
|
|
119
127
|
border: `1px solid oklch(30% .01 ${colors.backgroundHue})`,
|
|
120
128
|
shadow: '0 1px 4px 0 #000',
|
|
121
129
|
});
|