feat: add no animations setting back, text shadow/border option

This commit is contained in:
David Ralph
2021-08-25 12:01:48 +01:00
parent 3ed2171a34
commit 4a4e4604e8
8 changed files with 42 additions and 0 deletions

View File

@@ -35,3 +35,9 @@ $modal-link-dark: map-get($modal, 'modal-link-dark');
--photo-info: #{$photo-info-dark};
--modal-link: #{$modal-link-dark};
}
.no-animations {
.ReactModal__Content, button, svg, input[type=text], .MuiSwitch-switchBase {
transition: none !important;
}
}

View File

@@ -34,6 +34,10 @@ body {
text-shadow: 0 0 25px rgba(0, 0, 0, 0.3);
}
.textBorder {
filter: drop-shadow(var(--shadow-shift) var(--shadow-shift) 0 #111111CC);
}
::placeholder {
color: map-get($theme-colours, 'main');
opacity: 1;