Skip to content

Make A Dark Mode Theme #4314

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

Open
dev-ricardoneud opened this issue Jan 22, 2025 · 8 comments
Open

Make A Dark Mode Theme #4314

dev-ricardoneud opened this issue Jan 22, 2025 · 8 comments

Comments

@dev-ricardoneud
Copy link

Is your feature request related to a problem? Please describe.

Describe the solution you'd like

Describe alternatives you've considered

Additional context

@anthonyrom
Copy link

Duplicate of #707 (and #2859 which should also be closed, but I don't want to comment there since it would un-stale the issue)

@lastsamurai26
Copy link

lastsamurai26 commented Jan 29, 2025

i using Theme.Park (:
this is what i use

services:
  theme-park:
    image: ghcr.io/themepark-dev/theme.park
    container_name: theme-park
    environment:
      - PUID=1000
      - PGID=1000
      - TZ=Europe/Berlin
      - TP_URLBASE=themes #optional
    volumes:
      - /opt/containers/themepark:/config #optional
    restart: unless-stopped
    networks:
        proxy:
networks:
  proxy:
   external: true

Add this to your NPM docker compose file to the env'S
TP_THEME: dark
TP_DOMAIN: npmdomain.de/themes
this to the volumes
- /opt/containers/nginxproxy/themes/98-themepark:/etc/cont-init.d/98-themepark

download this file
https://raw.githubusercontent.com/themepark-dev/theme.park/refs/heads/master/docker-mods/nginx-proxy-manager/root/etc/cont-init.d/98-themepark
put it into the folder Above

start booth Containers

add this to your npm domain as custom location

Image

same like here
#707 (comment)

@dev-ricardoneud
Copy link
Author

dev-ricardoneud commented Jan 29, 2025 via email

@kllngtme
Copy link

kllngtme commented Jan 29, 2025

The themepark addition is cool and all but requires effort to setup and an additional service. Is there a reason why darkmode can't be added to NPM? 4 year old links for people asking the same thing to just save our eyes only to be told to use a workaround? Pardon the ignorance. I'm trying to understand a little why it can't be added

This was referenced Jan 29, 2025
@lastsamurai26
Copy link

I honestly can't say, but I live with this workaround.
I was ready to switch to Zoraxy, but it doesn't support wildcard certificates, let alone automatically renewing them

@OfficialMuffin
Copy link

Couldn't we just use Dark Reader extension in our browsers?

@lastsamurai26
Copy link

Couldn't we just use Dark Reader extension in our browsers?

It is up to you, but this extension only works where it is installed, but Theme-Park always runs independently of the device

@op4lat
Copy link

op4lat commented May 18, 2025

@lastsamurai26 Thanks! Although I didn't do it your way #4314 (comment) , I combined your referred #707 (comment) way with yours.

  1. Download the mod
  2. chmod +x it
  3. Mount it to /etc/cont-init.d/98-themepark
  4. Used the env var TP_THEME: dark instead of "editing line 45"
  5. ???
  6. PROFIT!

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

No branches or pull requests

6 participants