Skip to content

WIP Theme support #1089

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from
Closed

Conversation

flying-sheep
Copy link
Contributor

@flying-sheep flying-sheep commented Nov 28, 2019

Needs work to support links and code, but first I wanted to know if the approach is OK:

Since this is a dynamic property, I use CSS variables to avoid having to duplicate all rules using a variable inside of a @media block. I renamed the dynamic colors to a more semantic gradient of 5 greys and a brand color.

Honestly we can probably leave the brand color static, or we reuse it for links. Also the primary button doesn’t seem to use the brand color at all anyway?

I also added some code to make it work with Python 3 (which lacks cssmin) and newer Pelican versions.

grafik

@nasa42
Copy link
Member

nasa42 commented Dec 5, 2019

Thanks! I'm happy to accept this. There is already a dark-mode for newsletter theme. Probably best to use same colours here?

@nasa42
Copy link
Member

nasa42 commented Dec 5, 2019

Link to dark-mode PR: #1035.

@flying-sheep
Copy link
Contributor Author

Ah, sorry for not replying: I don’t really like the complete white-on-black there. It works for small OLED screens, but even then, I’m not a fan of that white headerbar.

Do we have any other precedent? Any dark theme done by a designer instead of me or @dvogt23?

@nellshamrell
Copy link
Contributor

Going to go ahead and close this due to age of the issue. Feel free to open this again if you wish to update it :)

@ndd7xv ndd7xv mentioned this pull request Dec 6, 2022
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.

3 participants