-
Notifications
You must be signed in to change notification settings - Fork 13
Fix disabled:
Tailwind variant
#2302
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
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
plugin(({ addVariant, addUtilities, variants }) => { | ||
// imitation of the twin.macro svg: variant. svg:text-green-500 puts green | ||
// on an SVG that's an immediate child of the element | ||
addVariant('svg', '& > svg') |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think when we added this, you couldn't do it inline as an arbitrary value. Now you can.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Flipped through this locally, and didn't come across anything looking broken. Looks good.
Thanks, will merge after we cut v9. |
oxidecomputer/console@4377d01...17ae890 * [17ae890c](oxidecomputer/console@17ae890c) oxidecomputer/console#2331 * [3a25f287](oxidecomputer/console@3a25f287) oxidecomputer/console#2330 * [d7e92f65](oxidecomputer/console@d7e92f65) oxidecomputer/console#2250 * [d7712f1c](oxidecomputer/console@d7712f1c) oxidecomputer/console#2313 * [81bd2abd](oxidecomputer/console@81bd2abd) oxidecomputer/console#2302 * [de7e443f](oxidecomputer/console@de7e443f) link to images doc from the image upload form * [c2e7ca1c](oxidecomputer/console@c2e7ca1c) oxidecomputer/console#2323 * [4147221c](oxidecomputer/console@4147221c) oxidecomputer/console#2319 * [636fed3e](oxidecomputer/console@636fed3e) oxidecomputer/console#2318 * [acce4fdd](oxidecomputer/console@acce4fdd) update silos guide title
oxidecomputer/console@4377d01...17ae890 * [17ae890c](oxidecomputer/console@17ae890c) oxidecomputer/console#2331 * [3a25f287](oxidecomputer/console@3a25f287) oxidecomputer/console#2330 * [d7e92f65](oxidecomputer/console@d7e92f65) oxidecomputer/console#2250 * [d7712f1c](oxidecomputer/console@d7712f1c) oxidecomputer/console#2313 * [81bd2abd](oxidecomputer/console@81bd2abd) oxidecomputer/console#2302 * [de7e443f](oxidecomputer/console@de7e443f) link to images doc from the image upload form * [c2e7ca1c](oxidecomputer/console@c2e7ca1c) oxidecomputer/console#2323 * [4147221c](oxidecomputer/console@4147221c) oxidecomputer/console#2319 * [636fed3e](oxidecomputer/console@636fed3e) oxidecomputer/console#2318 * [acce4fdd](oxidecomputer/console@acce4fdd) update silos guide title
Closes #2268. I also cleaned up a couple of other variants.
I wasn't able to find any spots where we were relying on the bad setup, but we should give it a bit more testing.