Heading 5 is the same color as heading 6

Steps to reproduce

Write and apply the following CSS snippet.

:root {
    --h5-color: red;
    --h6-color: blue;

Expected result

In editing view, the colors of h5 and h6 are changed as specified, respectively.

editing view

Actual result

In reading view, the color of h6 is the same as that of h5.


  • Operating system: macOS Monterey
  • Debug info:
    Obsidian version: v0.15.9
    Installer version: v0.15.9
    Operating system: Darwin Kernel Version 21.4.0: Fri Mar 18 00:47:26 PDT 2022; root:xnu-8020.101.4~15/RELEASE_ARM64_T8101 21.4.0
    Login status: logged in
    Catalyst license: none
    Insider build toggle: off
    Live preview: on
    Legacy editor: off
    Base theme: dark
    Community theme: none
    Snippets enabled: 1
    Restricted mode: on

Additional information

I think it is due to the typo in line 5,193 of app.css.

As a result, the second .markdown-rendered h5 is applied.

1 Like

will be fixed in v0.16

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.