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
852 stars 38 forks source link

Checkboxes background #95

Closed Gnopps closed 2 years ago

Gnopps commented 2 years ago

I think if checkboxes were to have a brighter background would look absolutely fabulous. Currently they look like this:

image

And I would suggest something like this (I don't know what looks good at all, just example colour): image

Would it be possible to add a setting or change to make checkbox-backgrounds white(r)?

Gnopps commented 2 years ago

I created this CSS-snippet that makes checkboxes stand out more.

miharekar commented 2 years ago

I took border color (var(--text-faint)) and made it 98% light.

CleanShot 2022-03-30 at 10 17 45

and 10% in dark mode

CleanShot 2022-03-30 at 10 19 30

Here's a quick-n-dirty snippet:

.task-list-item-checkbox {
  background: hsl(34, 37%, 98%);
}

.theme-dark .task-list-item-checkbox {
  background: hsl(34, 24%, 10%);
}

I think it would look much better out of the box.

ceciliamay commented 2 years ago

Hey there folks! I added this change natively instead of adding it as customization. Thank you so much for this suggestion because although I initially thought I like the "transparent-like" background checkboxes - I actually liked this more. I really appreciate this!! Thank you guys.💖 Changelog is here