maximevaillancourt / digital-garden-jekyll-template

Start your own digital garden using this Jekyll template 🌱
https://digital-garden-jekyll-template.netlify.app/
Other
922 stars 732 forks source link

[Feature Request] Dark Mode Support #35

Closed phibr0 closed 3 years ago

phibr0 commented 3 years ago

Would it be possible to add a Dark Mode Toggle somewhere?

phibr0 commented 3 years ago

I tried to change the SCSS File but i cant change the background color

maximevaillancourt commented 3 years ago

Hi Phillip - in your garden, try adding a background: #black; property to the body selector:

https://github.com/maximevaillancourt/digital-garden-jekyll-template/blob/becf9f381c86186b832b4cb8624ead3ea0669e23/_sass/_style.scss#L10-L24

From there, feel free to look at this commit to add a dark mode toggle to your garden.

To keep this template simple and efficient, I won't add a dark mode toggle. The goal of this template is to be a starting point for others to pick up and tweak as they desire, so I'll keep it as bare as possible. 🙂

phibr0 commented 3 years ago

Thank you!