Skip to content
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

Add dark/light theme switch button #4

Open
wants to merge 9 commits into
base: master
Choose a base branch
from

Conversation

nr072
Copy link
Contributor

@nr072 nr072 commented Sep 8, 2019

No description provided.

…user selection

Adding this JS file to an HTML page will create a way to toggle between
light and dark themes. Now, in its minimal form, only two radio buttons
will appear, the first of which is  for the "light" theme and the other
one is for "dark". Selecting the button will apply the corresponding
theme to the current page. The change of theme is consistent across pages
- which means that after selesting "dark" and then going to another page
will not reset the theme to its defualt "light".
@nr072 nr072 force-pushed the add-dark-light-theme-switch-button branch from 3e1f99a to 669715a Compare September 8, 2019 13:58
@nr072 nr072 force-pushed the add-dark-light-theme-switch-button branch from 2ca98fd to bd73dd4 Compare September 8, 2019 17:44
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.

1 participant