aboutsummaryrefslogtreecommitdiff
path: root/web/style/js-transition.css
diff options
context:
space:
mode:
authormetamuffin <metamuffin@disroot.org>2023-10-27 20:53:47 +0200
committermetamuffin <metamuffin@disroot.org>2023-10-27 20:53:47 +0200
commit3e88163603ceefba6672635973fc9658e53f6a4a (patch)
tree4ad832ab4a034b2a8811aca3c9d1ffdd4d9b14cd /web/style/js-transition.css
parenta1c3e743a79a95cdb30dda79820e1c0a01084d12 (diff)
downloadjellything-3e88163603ceefba6672635973fc9658e53f6a4a.tar
jellything-3e88163603ceefba6672635973fc9658e53f6a4a.tar.bz2
jellything-3e88163603ceefba6672635973fc9658e53f6a4a.tar.zst
dedup some code for themes
Diffstat (limited to 'web/style/js-transition.css')
-rw-r--r--web/style/js-transition.css8
1 files changed, 4 insertions, 4 deletions
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;
}