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

Changing font size #37

Closed
frios opened this issue Aug 11, 2021 · 1 comment
Closed

Changing font size #37

frios opened this issue Aug 11, 2021 · 1 comment

Comments

@frios
Copy link

frios commented Aug 11, 2021

If I want to change the default font size, what is the best way to do that? I tried to create a new theme with a different font size to pass into the CodeEditor call, but I get

'Theme' initializer is inaccessible due to 'internal' protection level

I don't see any other obvious way to make that change.

Thanks

@mchakravarty
Copy link
Owner

Sorry for the late response. I have now made the components of Theme public (it was an oversight that I didn't do that right away). The properties are now also mutable; i.e., you can simply change the font size of an existing theme if that is what you want (or you create a new one). I hope this helps.

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

No branches or pull requests

2 participants