primary-theme / obsidian

Comfy, playful but productive theme for Obsidian. "Primary instantly puts you in a relaxed state that opens the door to creativity and exploration. Wonderfully executed down to the smallest details,"
GNU General Public License v3.0
846 stars 38 forks source link

Bullets - purely cosmetic #167

Open TShby opened 1 year ago

TShby commented 1 year ago

After the Obsidian update, all of my bullets have a little line (or maybe a dot) below them in the editor preview mode.

image

Purely a cosmetic problem - no functionality issues.

jesugq commented 1 year ago

Locate and remove these declaration blocks in themes/Primary/theme.css:

.markdown-source-view.mod-cm6 .list-bullet:after {
  content: "-";
  font-family: var(--font-monospace-theme);
  font-size: 1.25em;
}
.markdown-source-view.mod-cm6 .cm-list-2 .list-bullet:after {
  content: "•";
}
.markdown-source-view.mod-cm6 .cm-list-3 .list-bullet:after {
  content: "◦";
}
gabb0z commented 1 year ago

Thank you @jesugq !!

pckc commented 1 year ago

Locate and remove these declaration blocks in themes/Primary/theme.css:

.markdown-source-view.mod-cm6 .list-bullet:after {
  content: "-";
  font-family: var(--font-monospace-theme);
  font-size: 1.25em;
}
.markdown-source-view.mod-cm6 .cm-list-2 .list-bullet:after {
  content: "•";
}
.markdown-source-view.mod-cm6 .cm-list-3 .list-bullet:after {
  content: "◦";
}

after doing this I ended with a bullet point crossed by a line. Is that the intended pattern of theme?

image

pckc commented 1 year ago

Tried the @jesugq solution on v1.1.15 and still have the crossed bullet points and doubles on nested bullets.

Obsidian_rmafIaYQGc

ceciliamay commented 2 months ago

Thanks for the input guys - especially @jesugq ! I'm thinking this is probably fixed with the new Obsidian update, I just need to update the theme so that it doesn't override the Obsidian code. Mockup is done. Coding it now.