Allow configuration of text size#23
Open
MilesMcBain wants to merge 4 commits intomattbierner:masterfrom
Open
Conversation
Was trying to get the no content text to respond to size changes live, but I see that's not possible without more rework.
mattbierner
requested changes
Feb 4, 2021
| }, | ||
| "docsView.documentationView.fontSize": { | ||
| "type": "integer", | ||
| "default": 12, |
Owner
There was a problem hiding this comment.
Should the default be based on the user's editor font size instead?
Author
There was a problem hiding this comment.
I don't know a nice way to do this. If I use type integer it's not possible to have undefined default. It defaults to 0.
I could use editor font size if this is 0, but that feels off.
Any ideas on clean ways to do this?
|
@mattbierner what is needed to close this PR? it would be very nice to be able to configure the font size. |
|
Also asking if we could merge this one out! |
|
Waiting for the feature to be accepted, you can simply change the text size in the css of the extension : ~/.vscode/extensions/bierner.docs-view-0.0.11/media/main.css |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Hey there
Thanks for the very cool extension!
I see multiple issues about font size (edit: e.g. #17, #22). I'm no TS/JS developer, but here is a sketch of a way that could be done that would also scale easily to other configurable style elements, e.g. font family and weight.
Thanks!