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
Hi, thanks for this preset!
This daisy's toggle propertie
box-shadow: calc(var(--handleoffset) / 2) 0 0 2px var(--tglbg) inset, calc(var(--handleoffset) / -2) 0 0 2px var(--tglbg) inset, 0 0 0 2px var(--tglbg) inset
is being replaced with
box-shadow: calc(var(--handleoffset), 2) 0 0 2px var(--tglbg) inset, calc(var(--handleoffset), -2) 0 0 2px var(--tglbg) inset, 0 0 0 2px var(--tglbg) inset
I've tried changing your replaceSlash function and it worked:
// var(--foo) / 0.1 -> var(--foo) const replaceSlash = (css: string) => css.replace(/\) \/ /g, '), ')
into
// var(--foo) / 0.1 -> var(--foo), 0.1 // but not calc(var(--foo) / 0.1) const replaceSlash = (css: string) => css.replace(/(?<!calc\([^)]*)\) \/ (?![^(]*\))/g, '), ');
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hi, thanks for this preset!
This daisy's toggle propertie
is being replaced with
I've tried changing your replaceSlash function and it worked:
into
The text was updated successfully, but these errors were encountered: