@cobalt-ui/plugin-css
Advanced tools
Comparing version 0.5.1 to 0.5.2
# @cobalt-ui/plugin-css | ||
## 0.5.2 | ||
### Patch Changes | ||
- 35426a0: Fix P3 media query | ||
## 0.5.1 | ||
@@ -4,0 +10,0 @@ |
@@ -169,3 +169,3 @@ import color from 'better-color-tools'; | ||
code.push(''); | ||
code.push(i.indent(`@media (color-gamut: p3) {`, 0)); | ||
code.push(i.indent(`@supports (color: color(display-p3 1 1 1)) {`, 0)); // note: @media (color-gamut: p3) is problematic in most browsers | ||
code.push(...makeP3(makeVars(tokenVals, 1, true))); | ||
@@ -172,0 +172,0 @@ for (const selector of selectors) { |
{ | ||
"name": "@cobalt-ui/plugin-css", | ||
"description": "Generate CSS from your design tokens schema (requires @cobalt-ui/cli)", | ||
"version": "0.5.1", | ||
"version": "0.5.2", | ||
"author": { | ||
@@ -6,0 +6,0 @@ "name": "Drew Powers", |
@@ -203,3 +203,3 @@ import type { | ||
code.push(''); | ||
code.push(i.indent(`@media (color-gamut: p3) {`, 0)); | ||
code.push(i.indent(`@supports (color: color(display-p3 1 1 1)) {`, 0)); // note: @media (color-gamut: p3) is problematic in most browsers | ||
code.push(...makeP3(makeVars(tokenVals, 1, true))); | ||
@@ -206,0 +206,0 @@ for (const selector of selectors) { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
61603