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

use standard text and background colors #55

Merged
merged 1 commit into from
Jan 13, 2023

Conversation

nuxodin
Copy link
Contributor

@nuxodin nuxodin commented Jan 12, 2023

The system colors are supported in every recent browser version: canvastext canvas

I don't know if we still need the fallbacks, or which browsers the polyfill supports. Otherwise we could do without the media-query.

Steps to test/reproduce

Please explain how to best reproduce the issue and/or test the changes locally (including the pages/URLs/views/states to review).

Show me

Provide screenshots/animated gifs/videos if necessary.

REMEMBER: Attach this PR to the Trello card

The system colors are supported in every recent browser version
`canvastext`
`canvas`

I don't know if we still need the fallbacks, or which browsers the polyfill supports. Otherwise we could do without the media-query.
Copy link
Collaborator

@keithamus keithamus left a comment

Choose a reason for hiding this comment

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

Cool I never knew about these properties! According to MDN they've been supported since forever so I'd be happy to drop the media query too!

@jgerigmeyer jgerigmeyer changed the base branch from main to system-colors January 13, 2023 15:10
@jgerigmeyer jgerigmeyer merged commit e8733de into oddbird:system-colors Jan 13, 2023
@jgerigmeyer jgerigmeyer mentioned this pull request Jan 13, 2023
@nuxodin nuxodin deleted the patch-1 branch January 15, 2023 17:10
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.

3 participants