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
Support for custom fonts #257
Comments
@zadam btw, just realized the css customization which is super awesome for us tech folks! However, for mass adoption, I still think it'd be necessary for a more non-techie friendly way to customize the fonts. |
Hi, I plan to work a bit on the design in the next iteration and I can think about letting users choose fonts as well. |
@zadam btw, what's the css tag for the note titles on the left side nav panel? Everything under >> root? I'd like to make just those fonts a bit bigger & couldn't find it in the source code. Thanks! |
You can use following code to use the same font size as the rest of the app which is a bit larger:
You can also press CTRL-SHIFT-I to open dev tools and look into the HTML structure. |
Ah, the CTRL SHIFT I is perfect. Thanks! |
If I want code block to use 'Fira Code', how can I do that? I tried: code {
-webkit-font-feature-settings: "liga" on, "calt" on;
-webkit-font-smoothing: antialiased;
text-rendering: optimizeLegibility;
font-family: 'Fira Code';
} But it's not working. |
First thing is that code block isn't actually in element "code", but in div with class .CodeMirror. Also it would make sense to use !important directive. Something like this: .CodeMirror {
-webkit-font-feature-settings: "liga" on, "calt" on !important;
-webkit-font-smoothing: antialiased !important;
text-rendering: optimizeLegibility !important;
font-family: 'Fira Code' !important;
} |
Dev tools are enabled in production builds, just press CTRL+SHIFT+I to open them. |
It is possible to define custom fonts in the theme - example is in "Steel Blue" theme provided in the demo document. |
It'd be great if users can choose the font of choice.
P.S. This is so great. Really would love to see this become the "VS Code" of note taking! Keep going!
The text was updated successfully, but these errors were encountered: