Skip to content
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

fix: put the color class name on the icon and not the container #115

Merged
merged 1 commit into from
Jun 2, 2023

Conversation

mbezard
Copy link
Contributor

@mbezard mbezard commented May 31, 2023

I don't why but it seems that the classnames from MUI was overriding the classname from tailwind on the parent. But when putting the tailwind classname on the icon itself it's not overridden 🙃

So, to remember : the dev should be always putting the fill-color-00 or stroke-color-00 on the svg itself (as low as possible)

I still don't know why it was working here but not in flashlight-cloud

@netlify
Copy link

netlify bot commented May 31, 2023

Deploy Preview for flashlight-docs canceled.

Name Link
🔨 Latest commit ebd5f71
🔍 Latest deploy log https://app.netlify.com/sites/flashlight-docs/deploys/6478633f214ec10008bb253c

@flashlight-bot
Copy link
Contributor

Flashlight Automated Report 🔦

@mbezard mbezard force-pushed the fix/more-icon-color-should-be-white branch from 5beaf32 to ebd5f71 Compare June 1, 2023 09:22
@flashlight-bot
Copy link
Contributor

Flashlight Automated Report 🔦

@Almouro Almouro merged commit fd45757 into main Jun 2, 2023
5 checks passed
@Almouro Almouro deleted the fix/more-icon-color-should-be-white branch June 2, 2023 07:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants