liamcain / obsidian-lapel

🤵 Dress up your editor. Obsidian plugin to show the heading level in the gutter.
MIT License
101 stars 4 forks source link

how to change the color or something to make it more obvious? #24

Closed RedemptionC closed 2 days ago

RedemptionC commented 4 months ago

.cm-heading-marker[data-level="2"] { --background-color: "red"; }

this doesn't work, removing the -- doesn't work either

liamcain commented 2 days ago

You can try adding !important

.cm-heading-marker {
    color: red !important;
}

This works for me