Revert "Added transition to theme switch."

This reverts commit 5d467622f4.
This commit is contained in:
2020-04-02 03:19:45 +02:00
parent 5d467622f4
commit 0ad1a5e049
14 changed files with 44 additions and 39 deletions

View File

@@ -1,9 +1,3 @@
$breakpoint0: 540px;
$breakpoint: 720px;
$breakpoint2: 900px;
$breakpoint3: 1200px;
$breakpoint4: 1500px;
.noselect {
user-select: none;
-webkit-user-select: none;
@@ -20,6 +14,7 @@ $breakpoint4: 1500px;
li {
display: inline-block;
padding: 0;
margin: 0;
}
}

View File

@@ -1,6 +1,9 @@
@import 'states';
/* $primary: #ff886c; */
$breakpoint0: 540px;
$breakpoint: 720px;
$breakpoint2: 900px;
$breakpoint3: 1200px;
$breakpoint4: 1500px;
$primary: #ff6c88;
$background: #fff;
@@ -33,8 +36,6 @@ $male: #0af;
$female: #f0a;
:root {
--theme-transition: .5s ease;
--primary: #ff6c88;
--text-dark: #222;
@@ -52,8 +53,8 @@ $female: #f0a;
--lighten-weak: rgba(255, 255, 255, .2);
--lighten-hint: rgba(255, 255, 255, .1);
--logo-shadow: drop-darken(1px 0 0 $darken-weak) drop-darken(-1px 0 0 $darken-weak) drop-darken(0 1px 0 $darken-weak) drop-darken(0 -1px 0 $darken-weak);
--logo-highlight: drop-shadow(0 0 1px $lighten);
--logo-shadow: drop-shadow(1px 0 0 $shadow-weak) drop-shadow(-1px 0 0 $shadow-weak) drop-shadow(0 1px 0 $shadow-weak) drop-shadow(0 -1px 0 $shadow-weak);
--logo-highlight: drop-shadow(0 0 1px $highlight);
--alert: #f00;
--warn: #fa0;

View File

@@ -1,5 +1,6 @@
@import 'theme';
@import 'inputs';
@import 'states';
@import 'tooltip';
html,
@@ -27,7 +28,6 @@ body {
padding: 0;
margin: 0 0 1rem 0;
font-size: 1.5rem;
transition: color var(--theme-transition);
}
.icon.icon-href {