@webstudio-is/css-engine 0.264.0 → 0.266.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/lib/index.js +1 -1
- package/lib/runtime.js +1 -1
- package/package.json +4 -4
package/lib/index.js
CHANGED
|
@@ -115,7 +115,7 @@ var toValue = (styleValue, transformValue) => {
|
|
|
115
115
|
case "oklch":
|
|
116
116
|
return `oklch(${c1} ${c2} ${c3} / ${alpha})`;
|
|
117
117
|
// Fall back to color() function for less common color spaces.
|
|
118
|
-
//
|
|
118
|
+
// colorjs uses internal short names that differ from CSS predefined color space identifiers.
|
|
119
119
|
case "p3":
|
|
120
120
|
return `color(display-p3 ${c1} ${c2} ${c3} / ${alpha})`;
|
|
121
121
|
case "a98rgb":
|
package/lib/runtime.js
CHANGED
|
@@ -88,7 +88,7 @@ var toValue = (styleValue, transformValue) => {
|
|
|
88
88
|
case "oklch":
|
|
89
89
|
return `oklch(${c1} ${c2} ${c3} / ${alpha})`;
|
|
90
90
|
// Fall back to color() function for less common color spaces.
|
|
91
|
-
//
|
|
91
|
+
// colorjs uses internal short names that differ from CSS predefined color space identifiers.
|
|
92
92
|
case "p3":
|
|
93
93
|
return `color(display-p3 ${c1} ${c2} ${c3} / ${alpha})`;
|
|
94
94
|
case "a98rgb":
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@webstudio-is/css-engine",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.266.0",
|
|
4
4
|
"description": "CSS Renderer for Webstudio",
|
|
5
5
|
"author": "Webstudio <github@webstudio.is>",
|
|
6
6
|
"homepage": "https://webstudio.is",
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
"@emotion/hash": "^0.9.2",
|
|
10
10
|
"colorjs.io": "^0.6.1",
|
|
11
11
|
"zod": "^3.24.2",
|
|
12
|
-
"@webstudio-is/fonts": "0.
|
|
12
|
+
"@webstudio-is/fonts": "0.266.0"
|
|
13
13
|
},
|
|
14
14
|
"devDependencies": {
|
|
15
15
|
"@types/react": "^18.2.70",
|
|
@@ -17,8 +17,8 @@
|
|
|
17
17
|
"react": "18.3.0-canary-14898b6a9-20240318",
|
|
18
18
|
"react-dom": "18.3.0-canary-14898b6a9-20240318",
|
|
19
19
|
"vitest": "^3.1.2",
|
|
20
|
-
"@webstudio-is/
|
|
21
|
-
"@webstudio-is/
|
|
20
|
+
"@webstudio-is/tsconfig": "1.0.7",
|
|
21
|
+
"@webstudio-is/design-system": "0.0.0"
|
|
22
22
|
},
|
|
23
23
|
"exports": {
|
|
24
24
|
".": {
|