Skip to content
This repository has been archived by the owner on Sep 8, 2020. It is now read-only.

Prefers-color-scheme Fix #15

Merged
merged 2 commits into from
Nov 11, 2019
Merged

Prefers-color-scheme Fix #15

merged 2 commits into from
Nov 11, 2019

Conversation

walsquared
Copy link
Contributor

We had an issue where on some browsers, many elements wouldn't appear.
This was because when we used prefers-color-scheme, we were checking for
both light and dark themes specifically. If a device didn't support it,
then neither would be chosen.

The solution was to only use prefers-color-scheme when checking for a
dark theme, and providing the light theme as default.

We had an issue where on some browsers, many elements wouldn't appear.
This was because when we used prefers-color-scheme, we were checking for
both light and dark themes specifically. If a device didn't support it,
then neither would be chosen.

The solution was to only use prefers-color-scheme when checking for a
dark theme, and providing the light theme as default.
@walsquared walsquared self-assigned this Nov 11, 2019
@vercel
Copy link

vercel bot commented Nov 11, 2019

This pull request is being automatically deployed with ZEIT Now (learn more).
To see the status of your deployment, click below or on the icon next to each commit.

🔍 Inspect: https://zeit.co/cuhacking/cuhacking-website/o2btnof1y
🌍 Preview: https://cuhacking-website-git-master.cuhacking.now.sh

Copy link
Contributor

@MrNickCasey MrNickCasey left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good across Chrome, Edge, Firefox, and Opera. Nice!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants