kepano / obsidian-minimal

A distraction-free and highly customizable theme for Obsidian.
https://minimal.guide
MIT License
3.74k stars 186 forks source link

Match outline heading colors in colorful headings mode #807

Open JigenDD opened 8 hours ago

JigenDD commented 8 hours ago

Considering that the right sidebar in the Minimal theme is the same background color as the page, it is my understanding that the devs want to convey that it is a part of the working area, and an extension of the main page. However, one feature which I have always found lacking is the fact the outline uses such muted colors and a small font to identify headings. In longer notes, it gets way too convoluted to navigate

I would like to have the Minimal theme have an option for the outline to inherit the same colors (and possibly fonts, scaled down to a smaller size) of the colored headings we see on the page. That way the visual identification of headings and sections becomes much snappier.

I found this piece of custom CSS in Sascha D. Kasper's YouTube channel which I found very useful and I've further expanded/customized (in a very amateur-ish way, with the hover underline of the outline no longer working at 100%), in order to output these different sized/colored outline headings, using the same custom fonts I had attributed to the headings in content page. The result is as follows:

image

Personally I find this like such a natural addition to Minimal's possibilities (and something rather, huh, "minimal", in terms of offering increasing visual coherence) that I could not help but leave the suggestion here: A native implementation of this (in style settings or minimal's settings plugin) where the user would just press and on/off button in order for the outline to inherit the font, size (in a scaled down fashion) and color of its headings.