In logseq/src/main/frontend/block.css
If a user wants to customize the color of the bullet by setting --ls-block-bullet-color
, It won’t ever show, since the first value is picked. -lx-gray-08
is set by the tailwind config to -rx-gray-08
and I’m not sure under what circumstances that wouldn’t be defined when styling the bullets.
To make my custom css work, I needed to do this:
.dark, html[data-theme=dark] {
--ls-block-bullet-color: white;
}
.dark, html[data-theme=dark] {
.bullet-container:not(.typed-list) .bullet {
background-color: var(--ls-block-bullet-color, var(--rx-gray-04-alpha));
}
}
which feels like needing to know too much about the structure of logseq’s block formatting.