-
Notifications
You must be signed in to change notification settings - Fork 545
New issue
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
Output reference replaces partial value #873
Comments
If it is hard to improve the matching, how about allowing transformers to add a |
Hello,
--spacing-56x: 22var(--size-scale);
--spacing-20x: 80px;
--spacing-16x: 6var(--size-scale);
--spacing-7x: 28px;
--spacing-6x: 2var(--size-scale);
--spacing-2x: 8px;
--spacing-1x: var(--size-scale); Since Maybe I'm over engineering it after all 😅 |
Same issue as #819 I guess |
#974 duplicate of this one |
Hey,
I have a custom alpha transformer that applies an alpha value to the hex value, e.g
#000000
→#00000066
if thealpha
property is set to.4
.The problem is, that I also want outputReferences. The output I get is:
I assume the issue is that SD replaces any matching part in a string. This is probably so that partial replaces work, but this creates an issue with value transformations.
Is there a way to solve this without a custom format?
Can I disable references for a token in a transformer?
Or could this be fixed to not replace partial hex values?
CC: @dbanksdesign @chazzmoney
The text was updated successfully, but these errors were encountered: