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

Do not override a user's font as set under Appearance #33

Open
dgailer opened this issue Aug 18, 2023 · 2 comments
Open

Do not override a user's font as set under Appearance #33

dgailer opened this issue Aug 18, 2023 · 2 comments

Comments

@dgailer
Copy link

dgailer commented Aug 18, 2023

I just did a fresh install of the Solarized Theme and the font in edit mode used the mono spaced font instead of the font I selected.

I found a work around by changing line 219 in theme.css. I added the font I wanted to use (which I had also selected in the Obsidian Appearance Menu) before monospace.

font-family: var(--font-'MS Reference Sans Serif', monospace); }

From reading some of the other issues this doesn't seem to be the intended behavior. Other themes work as intended with the selected font showing in edit mode.

Let me know if you need any more details.

Thanks!

@harmtemolder
Copy link
Owner

Thanks for submitting this issue.

I prefer to use a monospace in editing mode, so that's how that ended up in this theme. Since then, Obsidian have added the option for users to override fonts, so I've removed that part from the theme.

v1.0.9-beta should now respect the font you set in the appearance menu. Could you test this by uninstalling and reinstalling the theme?

@harmtemolder harmtemolder changed the title Font Issue Do not override a user's font as set under Appearance Sep 5, 2023
@dgailer
Copy link
Author

dgailer commented Sep 7, 2023

I have uninstalled and reinstalled the theme and it looks to be working correctly.

Thanks for looking into the issue.

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