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

Checkboxes are tiny #107

Closed Pummelfisch closed 2 years ago

Pummelfisch commented 2 years ago

Hey first I wanted to tell you that I realy love the clean yet useful design of the theme. So first of all thank you very much for all your work. Since the newest update the checkboxes seem to be realy tiny. Not quite sure if thats a bug or intentionaly, but judging from the images on the main-page here on git a assume they are not supposed to be that way. Added a picture with the two last checkboxes marked in red so you can understand what i mean. Platform is Windows and I'm running Obsidian Version v0.14.4

tiny checkboxes issue

corinnekaryiu commented 2 years ago

Hey @Pummelfisch. I had the same issue.

This seems to be because the Obsidian insider version released today changed the variable --editor-font-size to --font-text-size. The checkboxes used the old variable name for sizing. It also affects icons inserted via the Icon Shortcodes plugin.

I've managed to fix it for now by adding this into a CSS snippet.

/* Fix font sizes */
* {
  --editor-font-size: var(--font-text-size);
}

Hopefully the Primary theme will be updated to account for the new variable name soon!

ceciliamay commented 2 years ago

Just finished pushing an update!! Should be working now 👍 Thanks for reporting!! Thank you for offering a quick fix for this, @corinnekaryiu !!

spcbfr commented 2 years ago

The checkboxes are still tiny even after using @corinnekaryiu 's snippet, I am on Obsidian V0.14.2

WebInspectInc commented 2 years ago

Still broken for me too, but only on iPhone. iPhone version is v1.1.1 (API v0.13.33)

I added this CSS snippet, which seems to fix it:

:root {
    --editor-font-size: 20px;
    --font-text-size: 20px;
}

Seems like something that may be fixed once the iPhone app updates to the latest version, perhaps.

Edit: just got the iOS update (v0.14.2) and that did indeed fix the issue on my end! Above hack no longer needed.