@warp-ds/uno
Advanced tools
Comparing version 1.0.0-alpha.33 to 1.0.0-alpha.34
{ | ||
"name": "@warp-ds/uno", | ||
"repository": "git@github.com:warp-ds/drive.git", | ||
"version": "1.0.0-alpha.33", | ||
"version": "1.0.0-alpha.34", | ||
"type": "module", | ||
@@ -6,0 +6,0 @@ "exports": { |
@@ -41,3 +41,10 @@ import { positionMap, globalKeywords, makeGlobalStaticRules } from '#utils'; | ||
//arbitrary | ||
[/^bg-\[(.+)\]/, ([, p]) => ({ 'background-image': p })], | ||
[/^bg-\[(.+)\]/, ([, p]) => { | ||
if (p.startsWith('url')) { | ||
return { 'background-image': p }; | ||
} else if (p.startsWith('var')) { | ||
return { 'background-color': p }; | ||
} | ||
return { 'background-color': `var(${p})` }; | ||
}], | ||
]; |
Sorry, the diff of this file is too big to display
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
202350
5729