Carbonateb / obsidian-encore-theme

The Encore theme aims to freshen up the UI of Obsidian.md with modern design, loosely based off Material 3.
MIT License
71 stars 5 forks source link

[BUG] Header text does not Control+Scroll Wheel zoom, along with plain text #20

Open mossadacity opened 11 months ago

mossadacity commented 11 months ago

Describe the Bug

Zoom using Control+Mouse Scroll Wheel (up/down) does not resize header text for any of the tested Encore themes. It resizes the regular text only.

Zoom with Control+Mouse Scroll Wheel behaves differently than the normal zoom, being used to resize just the contents of the open markdown, rather than the entire application interface. The ability to resize content on screen independently of the entire interface is very useful.

Bug occurs with all Encore themes I tested, using latest version of theme and Style plugin. Bug does not occur when running either the default theme or other themes I have installed.

Relevant Screenshots

Pictured theme: Encore + Blackout

At minimum control-scroll zoom

Encore Theme - minimum control-scroll zoom

At maximum control-scroll zoom

Encore theme - maximum control-scroll zoom

At default zoom, header font sizes have the expected relationship to regular text size.

To Reproduce Steps to reproduce the behavior, e.g.

  1. Open any markdown file in your vault.
  2. Hold Control+scroll your mouse wheel up until fully zoomed in, and release control.
  3. Hold Control+scroll your mouse wheel down until fully zoomed out, and release control.

In which mode does the bug occur?

Which editor are you using?

Which version of Obsidian are you using?

Checklist

Appreciation Thank you for an excellent set of themes @Carbonateb , Encore is really fantastic - and Blackout looks great on my OLED!

mossadacity commented 11 months ago

What I am calling "Control + Scroll zoom" is referred to as "Quick font size adjustment" under Obsidian: Options -> Appearance -> Font.

Carbonateb commented 11 months ago

Thanks for the report! I have an idea on what's causing it, I'll test it out in the near future.

dont-doubt commented 4 months ago

Hello! Can you review this, please? It would really be nice if the font size will be responsive