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

[website] Replace initial value with theme white #34822

Merged
merged 1 commit into from Oct 19, 2022

Conversation

siriwatknp
Copy link
Member

@siriwatknp siriwatknp commented Oct 19, 2022

From #33545 (comment).

Root cause

I guess this is a bug on Safari and Firefox because the color: initial should use the system CanvasText color but somehow it returns black (even though the color-scheme: dark).

Reference: https://www.w3.org/TR/css-color-4/#changes-from-20191105

Fix

Force color to theme.common.white to make the color consistent across browsers.
Screen Shot 2565-10-19 at 14 12 43


I will merge the PR once the CIs are green and make a hotfix deployment.

@siriwatknp siriwatknp added docs Improvements or additions to the documentation regression A bug, but worse labels Oct 19, 2022
@mui-bot
Copy link

mui-bot commented Oct 19, 2022

Messages
📖 Netlify deploy preview: https://deploy-preview-34822--material-ui.netlify.app/

No bundle size changes

Generated by 🚫 dangerJS against 008810e

@siriwatknp siriwatknp merged commit 95d1707 into mui:master Oct 19, 2022
@siriwatknp siriwatknp changed the title [docs] Replace initial value with theme white [website] Replace initial value with theme white Oct 19, 2022
@oliviertassinari oliviertassinari added bug 🐛 Something doesn't work website Pages that are not documentation-related, marketing-focused. and removed docs Improvements or additions to the documentation labels Oct 19, 2022
@oliviertassinari
Copy link
Member

Nice 👌

daniel-rabe pushed a commit to daniel-rabe/material-ui that referenced this pull request Nov 29, 2022
feliperli pushed a commit to jesrodri/material-ui that referenced this pull request Dec 6, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug 🐛 Something doesn't work regression A bug, but worse website Pages that are not documentation-related, marketing-focused.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants