Open ujikol opened 3 years ago
Disabling variable pitch should make everything fixed-pitch and flat.
For setting heights to be fixed, customizing poet-theme-variable-headers
to nil should make everything equally sized/disable the different heights, but I'm not sure if that will make text-scale-adjust behave smoothly.
In the worst case you can directly edit the theme to simply remove all height customization; I'll think about making that an explicit option.
(setq poet-theme-variable-headers nil)
does not enable the scaling of headings.
I also tried
(custom-theme-set-faces 'poet
(org-level-1 ((t (:inherit default :foreground "#e0e0e0" :height 98)))))
(set-face-attribute 'org-level-2 t :height 98)
`
Neither worked.
Other ideas?
The height of the face is changed when i put the set-face-attribute in the text-mode-hook.
But again there is no scaling of the headings.
Disable custom heights:
(advice-add 'poet-theme--height :around (lambda (orig-fun multiplier)
(face-attribute 'default :height)))
@tangxinfa this worked for me. Thank you! @kunalb maybe add this to the Readme for resolution?
I like the theme a lot, But the implementation of the different heights brings too many troubles for me:
Is there a way to just use default behavior for heights?
And then I will also disable variable-pitch to avoid further misalignment. What's the best way to set fixed-pitch for all with Iosevka font?
Thanks