From 508eb2c2801e9592c1cf9841970138bd9fc9e89e Mon Sep 17 00:00:00 2001 From: Sam Gleske Date: Wed, 21 May 2025 19:54:54 -0400 Subject: [PATCH 1/2] Fix tagsinput styles for darkmode --- Makefile | 5 +++++ custom/css/darkmode.css | 7 +++++++ init.sh | 2 +- 3 files changed, 13 insertions(+), 1 deletion(-) create mode 100644 Makefile diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..096d6f1 --- /dev/null +++ b/Makefile @@ -0,0 +1,5 @@ +.PHONY: serve build +serve: build + docker run --name wgui -v "$(PWD)/db:/app/db" -it --rm -p5000:5000 wgui -disable-login +build: + docker build -t wgui . diff --git a/custom/css/darkmode.css b/custom/css/darkmode.css index 6c36fce..422ca53 100644 --- a/custom/css/darkmode.css +++ b/custom/css/darkmode.css @@ -92,4 +92,11 @@ .table-success { color: #000000; } + /* Customize Server Interface Addresses */ + div.tagsinput input:focus { + color: #bfbfbf !important; + } + div.tagsinput input { + color: #cde69c !important; + } } diff --git a/init.sh b/init.sh index a66e157..25e363a 100755 --- a/init.sh +++ b/init.sh @@ -18,6 +18,6 @@ case $WGUI_MANAGE_RESTART in (1|t|T|true|True|TRUE) done & esac -./wg-ui & trap 'kill 0; exit 0;' SIGTERM INT EXIT +./wg-ui "$@" & wait $! From 9b0ad608086d6e491710856f0455787131f5ab5f Mon Sep 17 00:00:00 2001 From: Sam Gleske Date: Wed, 21 May 2025 21:43:18 -0400 Subject: [PATCH 2/2] White text is better --- custom/css/darkmode.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/custom/css/darkmode.css b/custom/css/darkmode.css index 422ca53..d8c5427 100644 --- a/custom/css/darkmode.css +++ b/custom/css/darkmode.css @@ -94,7 +94,7 @@ } /* Customize Server Interface Addresses */ div.tagsinput input:focus { - color: #bfbfbf !important; + color: #ffffff !important; } div.tagsinput input { color: #cde69c !important;