From 6aefcdbef0a3dd31a653e0fb3a16a4a99bc6efc0 Mon Sep 17 00:00:00 2001 From: Greg Newman Date: Fri, 30 Jun 2023 09:03:33 -0400 Subject: [PATCH] :bug: fixes dark mode issue with alert --- static/css/styles.css | 22 +++++++++++++++++++ .../libraries/includes/version_alert.html | 2 +- 2 files changed, 23 insertions(+), 1 deletion(-) diff --git a/static/css/styles.css b/static/css/styles.css index 36af79b7..802ee55f 100644 --- a/static/css/styles.css +++ b/static/css/styles.css @@ -2757,6 +2757,28 @@ input[type=file] { background-color: rgb(49 74 87 / var(--tw-bg-opacity)); } +.dark .dark\:bg-yellow-300 { + --tw-bg-opacity: 1; + background-color: rgb(253 224 71 / var(--tw-bg-opacity)); +} + +.dark .dark\:bg-yellow-300\/70 { + background-color: rgb(253 224 71 / 0.7); +} + +.dark .dark\:bg-yellow-300\/50 { + background-color: rgb(253 224 71 / 0.5); +} + +.dark .dark\:bg-yellow-200 { + --tw-bg-opacity: 1; + background-color: rgb(254 240 138 / var(--tw-bg-opacity)); +} + +.dark .dark\:bg-yellow-200\/80 { + background-color: rgb(254 240 138 / 0.8); +} + .dark .dark\:font-medium { font-weight: 500; } diff --git a/templates/libraries/includes/version_alert.html b/templates/libraries/includes/version_alert.html index 7cddb2d5..6fdc3e3a 100644 --- a/templates/libraries/includes/version_alert.html +++ b/templates/libraries/includes/version_alert.html @@ -7,7 +7,7 @@ {% if latest_library_version %} {% else %} - + {% endif %} {{ latest_version.display_name }}