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

Alternative approach to font-sizing #726

Merged
merged 2 commits into from
Apr 30, 2020

Conversation

yanfali
Copy link
Collaborator

@yanfali yanfali commented Apr 30, 2020

This approach uses CSS Custom Properties.

I recently discovered you can use this dynamically by injecting them as
styles in the parent div overriding any defaults.

Apply styles to all keymaps

This approach uses CSS Custom Properties.

I recently discovered you can use this dynamically by injecting them as
styles in the parent div overriding any defaults.

 - use a newer css technology to avoid adding a style per key
 - see https://developer.mozilla.org/en-US/docs/Web/CSS/--*

Apply styles to all keymaps
@yanfali yanfali requested a review from noroadsleft April 30, 2020 13:25
@yanfali yanfali merged commit f4f3665 into qmk:master Apr 30, 2020
@yanfali yanfali deleted the yanfali-smaller-fonts branch April 30, 2020 16:35
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.

2 participants