damiankorcz / Prism-Theme

A Comprehensive, Highly-Customisable and Elegant Light/Dark Theme for Obsidian.md
https://www.buymeacoffee.com/DamianKorcz
MIT License
369 stars 13 forks source link

Undo bold text in headings? #147

Closed jeagar52 closed 9 months ago

jeagar52 commented 9 months ago

I'm new to Obsidian and your excellent theme. However, I can't figure out how to unbold the text in selected headings.

I have the Style Settings plugin enabled, but can't seem to find an option to unbold headings.

I'm probably looking in the wrong places??

damiankorcz commented 9 months ago

Hi @jeagar52, I don't have an option to change the font weight for Headings in Style Settings but you could revert it back to what the default theme uses with this CSS snippet:

body {
    --h1-weight: 700;
    --h2-weight: 600;
    --h3-weight: 600;
    --h4-weight: 600;
    --h5-weight: 600;
    --h6-weight: 600;
}

You can change those vaules to your preference. If you never used CSS snippets here is how they work: https://help.obsidian.md/Extending+Obsidian/CSS+snippets

For reference: 100 – Thin 200 – Extra Light (Ultra Light) 300 – Light 400 – Normal 500 – Medium 600 – Semi Bold (Demi Bold) 700 – Bold 800 – Extra Bold (Ultra Bold) 900 – Black (Heavy)

jeagar52 commented 9 months ago

Thank you for your response. I tried putting a css snippet in the snippet folder and reloaded, but it didn’t seem to make any difference.

Instead, I just adjusted the heading font sizes down.

Jim

On Nov 12, 2023, at 9:36 AM, Damian Korcz @.***> wrote:

Hi @jeagar52 https://github.com/jeagar52, I don't have an option to change the font weight for Headings in Style Settings but you could revert it back to what the default theme uses with this CSS snippet:

body { --h1-weight: 700; --h2-weight: 600; --h3-weight: 600; --h4-weight: 600; --h5-weight: 600; --h6-weight: 600; } You can change those vaules to your preference. If you never used CSS snippets here is how they work: https://help.obsidian.md/Extending+Obsidian/CSS+snippets

For reference: 100 – Thin 200 – Extra Light (Ultra Light) 300 – Light 400 – Normal 500 – Medium 600 – Semi Bold (Demi Bold) 700 – Bold 800 – Extra Bold (Ultra Bold) 900 – Black (Heavy)

— Reply to this email directly, view it on GitHub https://github.com/damiankorcz/Prism-Theme/issues/147#issuecomment-1807177820, or unsubscribe https://github.com/notifications/unsubscribe-auth/BDVNR3MJHBUV2G5NTGTYTSDYED3IBAVCNFSM6AAAAAA7IDTTACVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQMBXGE3TOOBSGA. You are receiving this because you were mentioned.

damiankorcz commented 9 months ago

Hi @jeagar52, Just to be sure the file you saved in the snippet folder was .css and you enabled the snippet in the Apperance tab in Obsidian Settings after you reloaded?

jeagar52 commented 9 months ago

Yes, I did all those steps. But, I know next to nothing about CSS and using it in Obsidian, so I probably screwed it up somehow.

I copied the sample you gave me into text editor, and saved it as a .css file. Then put it in the snippet folder, reloaded, and enabled.

On Nov 12, 2023, at 12:51 PM, Damian Korcz @.***> wrote:

Hi @jeagar52 https://github.com/jeagar52, Just to be sure the file you saved in the snippet folder was .css and you enabled the snippet in the Apperance tab in Obsidian Settings after you reloaded?

— Reply to this email directly, view it on GitHub https://github.com/damiankorcz/Prism-Theme/issues/147#issuecomment-1807222255, or unsubscribe https://github.com/notifications/unsubscribe-auth/BDVNR3P7PX5TSKCU56H2PATYEESEHAVCNFSM6AAAAAA7IDTTACVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQMBXGIZDEMRVGU. You are receiving this because you were mentioned.

damiankorcz commented 9 months ago

It appears to work on my end. Possibly another Plugin that might be impacting it or another CSS snippet?

jeagar52 commented 9 months ago

I appreciate your help, but my workaround is fine. 🙂

Thanks for a great theme, with tons of options to customize.

On Nov 12, 2023, at 12:58 PM, Damian Korcz @.***> wrote:

It appears to work on my end. Possibly another Plugin that might be impacting it or another CSS snippet?

— Reply to this email directly, view it on GitHub https://github.com/damiankorcz/Prism-Theme/issues/147#issuecomment-1807223620, or unsubscribe https://github.com/notifications/unsubscribe-auth/BDVNR3KJJRCIXXJARS43RNTYEES5RAVCNFSM6AAAAAA7IDTTACVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQMBXGIZDGNRSGA. You are receiving this because you were mentioned.