From ac257e7e1bfb84e0d765c1b6298076e7692e960c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=81ukasz=20Mierzwa?= Date: Mon, 28 Oct 2019 17:56:04 +0000 Subject: [PATCH] chore(project): remove dark.css - dark mode is now built in --- Dockerfile | 1 - docs/CONFIGURATION.md | 8 -------- docs/dark.css | 43 ------------------------------------------- 3 files changed, 52 deletions(-) delete mode 100644 docs/dark.css diff --git a/Dockerfile b/Dockerfile index f8bf469e3f..1b13066fe6 100644 --- a/Dockerfile +++ b/Dockerfile @@ -18,7 +18,6 @@ ARG VERSION RUN CGO_ENABLED=0 make -C /src VERSION="${VERSION:-dev}" karma FROM gcr.io/distroless/base -COPY ./docs/dark.css /themes/dark.css COPY --from=go-builder /src/karma /karma EXPOSE 8080 ENTRYPOINT ["/karma"] diff --git a/docs/CONFIGURATION.md b/docs/CONFIGURATION.md index d044653c70..6d529915a5 100644 --- a/docs/CONFIGURATION.md +++ b/docs/CONFIGURATION.md @@ -836,14 +836,6 @@ custom: Use at your own risk and be aware that used CSS class names might change without warning. This feature is provided as is without any guarantees. -There is an example `dark.css` file providing a dark theme. It's included in the -docker image as `/themes/dark.css` and can be enabled by passing environment -variable via docker: - -```shell --e CUSTOM_CSS=/themes/dark.css -``` - ## Command line flags Config file options are mapped to command line flags, so `alertmanager:interval` diff --git a/docs/dark.css b/docs/dark.css deleted file mode 100644 index 572954638e..0000000000 --- a/docs/dark.css +++ /dev/null @@ -1,43 +0,0 @@ -/* Example dark theme */ - -body, -.bg-primary-transparent { - background-color: #2e2727 !important; -} - -.card, -.list-group-item, -.dropdown-menu, -.modal-content { - background-color: #455a64 !important; -} - -.input-group-text, -.components-filterinput { - background-color: #455a64 !important; -} - -.components-grid-annotation { - background-color: #95a5a6 !important; -} - -.badge:not(.components-label-bright), -.form-group > label, -.nav-link { - color: #ccc !important; -} - -.nav > .nav-link { - color: #ccc !important; -} - -.nav > .nav-link.active, -.nav-item > .nav-link.active { - color: #fff !important; - background-color: #455a64 !important; -} - -.badge.badge-light { - color: #666; - background-color: #444; -}