Color Opacity Not Working #636
Unanswered
MuttakinHasib
asked this question in
Q&A
Replies: 1 comment
-
Currently this is output (twin.macro <= v2.8.2): tw`bg-primary/10`
// ↓ ↓ ↓ ↓ ↓ ↓
({
"backgroundColor": "rgb(var(--theme-primary))"
}); The correct output should be: ({
"backgroundColor": "rgb(var(--theme-primary) / 0.1)"
}); Next version ([email protected]) will support this - follow #589 for updates. PS: Try pasting some code next time - this was a bit of a bugger to type out for testing. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Beta Was this translation helpful? Give feedback.
All reactions