nashamri / spacemacs-theme

Light and dark theme for spacemacs that supports GUI and terminal
GNU General Public License v3.0
600 stars 113 forks source link

org-mode: Large text-sizes repeating in dark-mode #131

Closed Jonta closed 5 years ago

Jonta commented 5 years ago

Reproduce:

Put this into an org-file, in org-mode, with spacemacs-dark (current default) as theme:

* 1
** 2
*** 3
**** 4
***** 5
****** 6
******* 7
******** 8
********* 9
********** 10

Actual result: The largest text-size repeats from level 9

Desired result: Size shrinks from the start, but then stops at some point

Screenshot with numbers on different levels:

screen shot 2018-12-24 at 13 57 16

nashamri commented 5 years ago

Hmm, well org-mode defines 8 levels of org-levels-{1-8} https://code.orgmode.org/bzg/org-mode/src/master/lisp/org-faces.el#L48 After the 8th level, it cycles back to the settings of the first level. I'm not sure there's a way to fix this in the theme only.

As a workaround, that might work for you @Jonta, is to remove the varying sizes of org headers by setting this var to nil:

(setq spacemacs-theme-org-height nil)

Hope this helps!

nashamri commented 5 years ago

As I was suspecting, this is an org-mode issue that should be reported upstream. Several well-known themes suffer from the same issue. screenshot_20190116_222113 screenshot_20190116_222300

Therefore, I'm going to close this issue.