We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
undefined
css/shadow
When transforming shadows without a color using css/shadow, the color is set to undefined.
color
"custom-shadow-stroke": { "$type": "shadow", "$value": { "offsetX": 0, "offsetY": 0, "spread": "2px", "inset": true } }
This will generate the following CSS:
--custom-shadow-stroke: 0 0 0 2px undefined inset;
The motivation for this empty color is to allow using two different css variables when defining a box-shadow. For example:
box-shadow
box-shadow: var(--custom-shadow-stroke) var(--custom-shadow-color);
The text was updated successfully, but these errors were encountered:
No branches or pull requests
When transforming shadows without a color using
css/shadow
, thecolor
is set toundefined
.This will generate the following CSS:
The motivation for this empty color is to allow using two different css variables when defining a
box-shadow
. For example:The text was updated successfully, but these errors were encountered: