Skip to content

Conversation

ashawley
Copy link
Collaborator

@ashawley ashawley commented Mar 19, 2019

This is a first pass at this. It can be enabled by a config option. Once it stabilizes we can publicize and document it.

I considered having Jekyll produce two CSS files, one for default and one for dark mode: A conditional in the HTML templates would choose the right one. However, Sass is slow, so it was better to just produce only one CSS file. This required creating a copy of _variables.scss and conditionally including these variables for dark mode. Should the _variables.scss be renamed to _default.scss or some or other?

Fixes #285.

Screen Shot 2019-03-18 at 10 42 04 PM

@ashawley ashawley added this to the 3.0 milestone Mar 19, 2019
@swaathi
Copy link

swaathi commented Oct 2, 2021

Is this PR going to get merged? I'd love to use it!

akhyarrh added a commit to akhyarrh/apropixyll that referenced this pull request Oct 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add a dark theme option

2 participants