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

How to rescue the old styles (DejaVu Sans and Monokai) #154

Open
badlydrawnrob opened this issue Aug 29, 2024 · 0 comments
Open

How to rescue the old styles (DejaVu Sans and Monokai) #154

badlydrawnrob opened this issue Aug 29, 2024 · 0 comments

Comments

@badlydrawnrob
Copy link
Owner

badlydrawnrob commented Aug 29, 2024

We're using Recursive font for latest theme's main body and code text.
If you want to revert back to the old styles, you can almost do that:

  1. Use body { font-family: var(--font-family-old); } for body text
  2. And h1, h2, h3, h4, h5, h6 { font-family: var(--font-family-header-old); } for the headers
  3. Copy monokai.less and add as :root { } styles
    • Paste in the Manage Note Types -> APF: ... -> Cards ... -> Styling (at the bottom)
    • Do the same for all Anki Programming Flashcards (APF) card note types!

Or if you're using the compiler in a forked version just change the variables for the text, and:

  1. @import '../variables/monokai'; in style/base/html/_root.less
  2. Comment out breezedark-modified)

The original Breeze Dark theme

There's also a breezedark.less file that Pandoc uses if you want to use that instead. The modified version is better overall, in my opinion. Just copy the variables in that file and add in :root { } as above with Monokai.

preview-breeze-dark-original
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

1 participant