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

Styles: Add HiDPI / Retina Mode #105

Open
ItsJonQ opened this issue Nov 13, 2020 · 0 comments
Open

Styles: Add HiDPI / Retina Mode #105

ItsJonQ opened this issue Nov 13, 2020 · 0 comments

Comments

@ItsJonQ
Copy link
Owner

ItsJonQ commented Nov 13, 2020

In collaborating with @jasmussen , I realized that we needed to fine tune values for hidpi/retina displays - specifically, adjusting a value from 2px (default) to 1.5px.

We can add support for this by adding a hiDpiMode to the Style System, just like how we handle the other modes (e.g. dark, high contrast).

These styles may need to render slightly differently, using a hi-dpi CSS media query rather than relying on an HTML attribute.

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

No branches or pull requests

1 participant