@dheme/react 2.9.0 → 2.10.0
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.js +1 -1
- package/dist/index.mjs +1 -1
- package/dist/utils.js +1 -1
- package/dist/utils.mjs +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -111,7 +111,7 @@ var TOKEN_TO_CSS_VAR = {
|
|
|
111
111
|
|
|
112
112
|
// src/utils/cssVariables.ts
|
|
113
113
|
function formatHSL(color) {
|
|
114
|
-
return
|
|
114
|
+
return `hsl(${color.h} ${color.s}% ${color.l}%)`;
|
|
115
115
|
}
|
|
116
116
|
function themeToCSS(theme, mode) {
|
|
117
117
|
const colors = theme.colors[mode];
|
package/dist/index.mjs
CHANGED
|
@@ -61,7 +61,7 @@ var TOKEN_TO_CSS_VAR = {
|
|
|
61
61
|
|
|
62
62
|
// src/utils/cssVariables.ts
|
|
63
63
|
function formatHSL(color) {
|
|
64
|
-
return
|
|
64
|
+
return `hsl(${color.h} ${color.s}% ${color.l}%)`;
|
|
65
65
|
}
|
|
66
66
|
function themeToCSS(theme, mode) {
|
|
67
67
|
const colors = theme.colors[mode];
|
package/dist/utils.js
CHANGED
|
@@ -76,7 +76,7 @@ var TOKEN_TO_CSS_VAR = {
|
|
|
76
76
|
|
|
77
77
|
// src/utils/cssVariables.ts
|
|
78
78
|
function formatHSL(color) {
|
|
79
|
-
return
|
|
79
|
+
return `hsl(${color.h} ${color.s}% ${color.l}%)`;
|
|
80
80
|
}
|
|
81
81
|
function themeToCSS(theme, mode) {
|
|
82
82
|
const colors = theme.colors[mode];
|
package/dist/utils.mjs
CHANGED
|
@@ -44,7 +44,7 @@ var TOKEN_TO_CSS_VAR = {
|
|
|
44
44
|
|
|
45
45
|
// src/utils/cssVariables.ts
|
|
46
46
|
function formatHSL(color) {
|
|
47
|
-
return
|
|
47
|
+
return `hsl(${color.h} ${color.s}% ${color.l}%)`;
|
|
48
48
|
}
|
|
49
49
|
function themeToCSS(theme, mode) {
|
|
50
50
|
const colors = theme.colors[mode];
|