From 67284d1f6a44b3ac3d21c36d9272f890199b5491 Mon Sep 17 00:00:00 2001 From: eikek Date: Sun, 10 Mar 2024 21:24:44 +0100 Subject: [PATCH] Fix tailwindcss warnings --- .../src/main/styles/custom-utilities.css | 61 +++++++++---------- modules/webapp/tailwind.config.js | 6 -- 2 files changed, 28 insertions(+), 39 deletions(-) diff --git a/modules/webapp/src/main/styles/custom-utilities.css b/modules/webapp/src/main/styles/custom-utilities.css index 0da52b61..b1390228 100644 --- a/modules/webapp/src/main/styles/custom-utilities.css +++ b/modules/webapp/src/main/styles/custom-utilities.css @@ -24,11 +24,8 @@ z-index: 35; } - @variants responsive { - .min-h-7 { - min-height: 1.75rem; - } - + .min-h-7 { + min-height: 1.75rem; } .scrollbar-none { @@ -47,37 +44,35 @@ width: 8px; } - @variants dark { - .scrollbar-dark-sidebar { - scrollbar-color: rgba(15,23,42,0.9) rgba(15,23,42,0.3); - } - .scrollbar-light-sidebar { - scrollbar-color: rgba(219, 234, 254, 1.0) rgba(219, 234, 254,0.3); - } - .scrollbar-main { - scrollbar-color: rgba(156, 163, 175,0.9) rgba(156, 163, 175,0.3); - } + .scrollbar-dark-sidebar { + scrollbar-color: rgba(15,23,42,0.9) rgba(15,23,42,0.3); + } + .scrollbar-light-sidebar { + scrollbar-color: rgba(219, 234, 254, 1.0) rgba(219, 234, 254,0.3); + } + .scrollbar-main { + scrollbar-color: rgba(156, 163, 175,0.9) rgba(156, 163, 175,0.3); + } - .scrollbar-dark-sidebar::-webkit-scrollbar { - background-color: rgba(15,23,42,0.3); - } - .scrollbar-dark-sidebar::-webkit-scrollbar-thumb { - background: rgba(15,23,42,0.9); - } + .scrollbar-dark-sidebar::-webkit-scrollbar { + background-color: rgba(15,23,42,0.3); + } + .scrollbar-dark-sidebar::-webkit-scrollbar-thumb { + background: rgba(15,23,42,0.9); + } - .scrollbar-light-sidebar::-webkit-scrollbar { - background-color: rgba(219, 234, 254, 0.3); - } - .scrollbar-light-sidebar::-webkit-scrollbar-thumb { - background: rgba(219, 234, 254, 1.0); - } + .scrollbar-light-sidebar::-webkit-scrollbar { + background-color: rgba(219, 234, 254, 0.3); + } + .scrollbar-light-sidebar::-webkit-scrollbar-thumb { + background: rgba(219, 234, 254, 1.0); + } - .scrollbar-main::-webkit-scrollbar { - background-color: rgba(156, 163, 175, 0.3); - } - .scrollbar-main::-webkit-scrollbar-thumb { - background: rgba(156, 163, 175, 0.9); - } + .scrollbar-main::-webkit-scrollbar { + background-color: rgba(156, 163, 175, 0.3); + } + .scrollbar-main::-webkit-scrollbar-thumb { + background: rgba(156, 163, 175, 0.9); } .ds-card-search-hl strong { diff --git a/modules/webapp/tailwind.config.js b/modules/webapp/tailwind.config.js index e9306ac6..5ab402fa 100644 --- a/modules/webapp/tailwind.config.js +++ b/modules/webapp/tailwind.config.js @@ -19,12 +19,6 @@ module.exports = { } } }, - variants: { - extend: { - backgroundOpacity: ['dark'] - } - }, - purge: false, plugins: [ require('@tailwindcss/forms') ]