nginx-proxy-manager icon indicating copy to clipboard operation
nginx-proxy-manager copied to clipboard

Add a dark mode

Open Cocolin67 opened this issue 2 years ago • 16 comments

Maybe just add a toggle that can switch the theme to dark, since it use Tabler, i guess it should be easy to create that ! My eyes would be pleased thanks, love the proxy manager :)

Cocolin67 avatar Feb 10 '24 02:02 Cocolin67

#3395

onurmercury avatar Feb 12 '24 17:02 onurmercury

Oh thanks, I didn't see it

Cocolin67 avatar Feb 13 '24 09:02 Cocolin67

That's just for the docs though right? Is there anything in the works for the app UI itself?

EthyMoney avatar Feb 19 '24 14:02 EthyMoney

I have a work around if you're willing to do a bit of css override

here is my blog post about it, but I'll try to give you the short version here

Run the container

spin up the container first and let the app pull down.

Map the CSS volume

now map `/app/frontend/css/main.css' as a volume to your local machine so that your dark mode tweak persists.

version: '3.8'
services:
  app:
    image: 'jc21/nginx-proxy-manager:latest'
    restart: unless-stopped
    ports:
      - '80:80'
      - '81:81'
      - '443:443'
    volumes:
      - ./data:/data
      - ./letsencrypt:/etc/letsencrypt
      - ./css/main.css:/app/frontend/css/main.css

spin up the container again and go to edit that new ./css/main.css file

CSS

here is what I've added at the bottom of that css file. It isn't perfect but I kinda like the plumb color theme

body, .modal-content{
  background-color: #635366;
  color: white;
 }

 .modal-content{
  box-shadow: black 2px 2px 8px;
 }

 .custom-switch-description{
    color: #c3c3c3;
  }

 #header{
  background-color: #323232;
 }
 .navbar-light .navbar-brand{
  color: white;
 }
 #menu{
  background-color: #000;
 }

 .text-default {
    color: white !important;
  }

  .tag{
    background-color: #545454;
    color: white;
  }

 .card{
    background-color: #29292a;
    box-shadow: black 2px 2px 8px;
  }

  .table thead {
    border-bottom: solid black 3px;
  }
  .table th, .text-wrap table th, .table td, .text-wrap table td{
    border-top: 1px solid #000000;
    border-top-width: 1px;
    border-top-style: solid;
    border-top-color: rgb(0, 0, 0);
  }

wchorski avatar Feb 22 '24 21:02 wchorski

#3395

Resolved since update is released

Cocolin67 avatar Apr 18 '24 15:04 Cocolin67

why is this closed when the initial issues was opend regarding dark mod in the proxy manager UI itself, NOT the documentation...

It is outright silly that a project like nginx proxy manager doesn't include darkmode.. Especially when apparently it is using an easy theming solution.

jpeaglesandkatz avatar May 21 '24 08:05 jpeaglesandkatz

is there any update on this? Why did the docs get themed but the the actual dashboard UI?

ramphex avatar Jun 29 '24 18:06 ramphex

Apparently it's still not fixed, i thought it was but it was just the doc that got the dark UI. i'll reopen the issue

Cocolin67 avatar Jul 31 '24 10:07 Cocolin67

sounds like a duplicate of https://github.com/NginxProxyManager/nginx-proxy-manager/issues/707

drummerwolli avatar Aug 19 '24 09:08 drummerwolli