crashmoney / obsidian-typewriter

Typewriter is an Obsidian theme designed for a focused writing experience.
GNU General Public License v3.0
93 stars 18 forks source link

[BUG] Heading sizes aren't displayed from live preview mode #17

Closed galderna closed 2 years ago

galderna commented 2 years ago

Describe the bug

All headings from h1 to h6 display the same size in live preview mode, and their default size in reading mode.

To Reproduce

Steps to reproduce the behavior:

  1. Write h1, h2, h3, etc. headings
  2. See error

Information

Add other context about the problem here. (Please make sure you've updated the theme before opening an issue.)

Suggestions/Workarounds

Add any suggestions/workarounds on how to resolve the issue here. Don't know much about CSS but this time I haven't seen defined the --h1-live-preview, --h2-live-preview, etc. in the typewriter.css file.

Thank you.

sidshin commented 2 years ago

Please fix this issue. I love your theme but cannot use it now due to this issue.

sidshin commented 2 years ago

found the problem. put } into line 425. This would fix the heading issue