Color on Bullets

Hi everyone, Im trying to put the same color on bullet lists, but it only appears on collapsed bullet lists

ol > li::marker,
ol > li.is-collapsed::marker,
.cm-s-obsidian .cm-formatting-list,
.cm-s-obsidian .is-collapsed ~ .cm-formatting-list {
    color: #00D0FF;
}


.markdown-preview-view ul li::marker {
    color: #00d0ff;
}


.markdown-preview-view ol li::marker {
    color: #00d0ff;
}


.markdown-preview-view input[type="checkbox"] {
    accent-color: #00d0ff; /* Cambia el color de la casilla de verificación en navegadores que soportan accent-color */
}


.cm-s-obsidian .cm-formatting-task.cm-meta {
    color: #00d0ff;
}


.cm-s-obsidian .cm-bullet {
    color: #00D0FF;
}

.cm-s-obsidian .cm-number {
    color: #00d0ff;
}

I have this pls anyone help me

The content is on spanish bc is my primary language but I hope my problem has been well explained despite my limitations in language

image

With a quick look, it seems you want ordered and unordered list markers to have the same #00D0FF color? There are variables to cover this:

  --list-marker-color: var(--text-faint);
  --list-marker-color-hover: var(--text-muted);
  --list-marker-color-collapsed: var(--text-accent);

You can get rid of a lot of the other CSS simply using:

body {
    --list-marker-color: #00D0FF;
    --list-marker-color-hover: #00D0FF;
    --list-marker-color-collapsed: #00D0FF;
}


It works!!

Thanks again :slight_smile:

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