From 3e88163603ceefba6672635973fc9658e53f6a4a Mon Sep 17 00:00:00 2001 From: metamuffin Date: Fri, 27 Oct 2023 20:53:47 +0200 Subject: dedup some code for themes --- web/style/js-transition.css | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'web/style/js-transition.css') diff --git a/web/style/js-transition.css b/web/style/js-transition.css index dbb80f0..648b177 100644 --- a/web/style/js-transition.css +++ b/web/style/js-transition.css @@ -3,12 +3,12 @@ background-color: transparent; } to { - background-color: black; + background-color: var(--c-fade); } } @keyframes jst-fadeout { from { - background-color: black; + background-color: var(--c-fade); } to { background-color: transparent; @@ -28,7 +28,7 @@ top: 50vh; left: 50vw; transform: translate(-50%, -50%); - color: rgb(247, 69, 69); + color: var(--c-error); font-size: large; z-index: 11; } @@ -37,7 +37,7 @@ top: 50vh; left: 50vw; transform: translate(-50%, -50%); - color: rgb(252, 255, 78); + color: var(--c-warn); font-size: large; z-index: 11; } -- cgit v1.2.3-70-g09d2