@warp-ds/uno
Advanced tools
Comparing version 1.0.0-alpha.55 to 1.0.0-alpha.56
{ | ||
"name": "@warp-ds/uno", | ||
"repository": "git@github.com:warp-ds/drive.git", | ||
"version": "1.0.0-alpha.55", | ||
"version": "1.0.0-alpha.56", | ||
"type": "module", | ||
@@ -6,0 +6,0 @@ "exports": { |
@@ -1,14 +0,3 @@ | ||
// TODO: Handle dynamic rgba colors instead of constant colors | ||
const defaultColor = 'rgba(0, 0, 0, .2)'; | ||
const boxShadowDefaults = { | ||
s: `0 1px 6px ${defaultColor}, 0 1px 1px ${defaultColor}`, | ||
m: `0 3px 8px ${defaultColor}, 0 3px 6px ${defaultColor}`, | ||
l: `0 6px 8px ${defaultColor}, 0 10px 20px ${defaultColor}`, | ||
xl: `0 9px 12px ${defaultColor}, 0 14px 28px ${defaultColor}`, | ||
}; | ||
export const shadows = [ | ||
[/^shadow-(s|m|l|xl)$/, ([, size]) => ({ 'box-shadow': `var(--w-shadow-${size}, ${boxShadowDefaults[size]})` })], | ||
[/^shadow-(s|m|l|xl)$/, ([, size]) => ({ 'box-shadow': `var(--w-shadow-${size})` })], | ||
]; | ||
@@ -15,0 +4,0 @@ |
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
221288
5518