Skip to content

Improve contrast for dark mode phpinfo #8893

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

Merged
merged 2 commits into from
Jul 6, 2022

Conversation

morrisonlevi
Copy link
Contributor

@morrisonlevi morrisonlevi commented Jun 29, 2022

Also use CSS variable names; all browsers I can find that support
the prefers-color-scheme media query also support CSS variables.

Also do some minor updates like the background texture.

Before:
phpinfo_1

After:
phpinfo_2

Base work for dark mode was done in #7626.

Verified

This commit was signed with the committer’s verified signature.
morrisonlevi Levi Morrison
Also use CSS variable names; all browsers I can find that support
the prefers-color-scheme media query also support CSS variables.

Also do some minor updates like the background texture.
@javiereguiluz
Copy link
Contributor

👍 I like it. Thanks for contributing this improvement. I hope it gets merged.

@kamil-tekiela
Copy link
Member

I would prefer without the SVG image as a background. Everything else seems to be fine.

Verified

This commit was signed with the committer’s verified signature.
morrisonlevi Levi Morrison
@morrisonlevi morrisonlevi merged commit d9c49ae into php:master Jul 6, 2022
@morrisonlevi morrisonlevi deleted the phpinfo-dark branch July 6, 2022 20:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants