How can I change the color of numbered lists in preview mode?

This is how numbered lists look in preview mode, by default:

image

This is what I’m trying to replicate:

image

I know it is possible, it has been done in a theme called “Obsidianite”. But I have zero experience with css and wanted to replicate it in “Yin Yang”. (another community theme, which is the one I’m using right now)

Could try this CSS snippet:

/* << color of numbers used in lists in PREVIEW MODE >> */

ol li::marker {
  color: #499dce;
}

Angel

1 Like

Ty! Works like a charm :slight_smile:

Good to hear it works for your needs.

Angel

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