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 theme support for Pi-hole #1253

Merged
merged 17 commits into from
May 12, 2020
Merged

Add theme support for Pi-hole #1253

merged 17 commits into from
May 12, 2020

Conversation

DL6ER
Copy link
Member

@DL6ER DL6ER commented May 10, 2020

By submitting this pull request, I confirm the following:

  • I have read and understood the contributors guide, as well as this entire template.
  • I have made only one major change in my proposed changes.
  • I have commented my proposed changes within the code.
  • I have tested my proposed changes, and have included unit tests where possible.
  • I am willing to help maintain this change if there are issues with it later.
  • I give this submission freely and claim no ownership.
  • It is compatible with the EUPL 1.2 license
  • I have squashed any insignificant commits. (git rebase)

What does this PR aim to accomplish?:

Add support for user-defined themes. This makes some wished feature requests, mainly around "dark mode" possible.

Screenshot_2020-05-10 Pi-hole Admin Console
Screenshot_2020-05-10 Pi-hole Admin Console(1)
Screenshot_2020-05-10 Pi-hole Admin Console(2)

How does this PR accomplish the above?:

Remove inline styling. Add possibility for user-defined themes. New themes can easily be added and sent to us for inclusion in the regular Pi-hole releases.

This PR is feature-complete but also meant as a first suggestion for users tweaking colors and submitting them their changes to us.

What documentation changes (if any) are needed to support this PR?:

None

@DL6ER
Copy link
Member Author

DL6ER commented May 10, 2020

Note that the target branch needs to be changed from master to devel once #1252 is merged.

@pralor-bot
Copy link

This pull request has been mentioned on Pi-hole Userspace. There might be relevant details there:

https://discourse.pi-hole.net/t/dark-mode-for-web-interface/29878/90

@DL6ER
Copy link
Member Author

DL6ER commented May 10, 2020

Note that you will need pi-hole/pi-hole#3327 to add the necessary changes for the theme saver.

@DL6ER DL6ER changed the base branch from master to devel May 11, 2020 17:55
@DL6ER DL6ER force-pushed the new/dark branch 4 times, most recently from 5dd0968 to d20f9e0 Compare May 12, 2020 19:47
DL6ER added 13 commits May 12, 2020 22:44
…e new Pi-hole dark theme.

Signed-off-by: DL6ER <dl6er@dl6er.de>
Signed-off-by: DL6ER <dl6er@dl6er.de>
Signed-off-by: DL6ER <dl6er@dl6er.de>
Signed-off-by: DL6ER <dl6er@dl6er.de>
Signed-off-by: DL6ER <dl6er@dl6er.de>
Signed-off-by: DL6ER <dl6er@dl6er.de>
Signed-off-by: DL6ER <dl6er@dl6er.de>
Signed-off-by: DL6ER <dl6er@dl6er.de>
Signed-off-by: DL6ER <dl6er@dl6er.de>
Signed-off-by: DL6ER <dl6er@dl6er.de>
Signed-off-by: DL6ER <dl6er@dl6er.de>
DL6ER added 3 commits May 12, 2020 22:50
Signed-off-by: DL6ER <dl6er@dl6er.de>
Signed-off-by: DL6ER <dl6er@dl6er.de>
…a has been requested).

Signed-off-by: DL6ER <dl6er@dl6er.de>
Signed-off-by: DL6ER <dl6er@dl6er.de>
@pralor-bot
Copy link

This pull request has been mentioned on Pi-hole Userspace. There might be relevant details there:

https://discourse.pi-hole.net/t/dark-black-web-interface/3569/4

@PromoFaux PromoFaux mentioned this pull request Jul 5, 2020
@pralor-bot
Copy link

This pull request has been mentioned on Pi-hole Userspace. There might be relevant details there:

https://discourse.pi-hole.net/t/pi-hole-5-1-released/35577/1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants