Revert "Convert $light-background to CSS custom property"

This reverts commit dd942428e3.
This commit is contained in:
Adrian Simmons 2021-09-16 13:20:36 +01:00
parent a689eee01c
commit ad232b7d29
7 changed files with 8 additions and 9 deletions

View File

@ -2,7 +2,7 @@
// This is a workaround to hide the llama background from the top on the task detail page
margin-top: -1.5rem;
padding: 1rem;
background-color: var(--light-background);
background-color: $light-background;
@media screen and (max-width: $desktop) {
padding-bottom: 0;
@ -225,7 +225,7 @@
border-radius: $radius;
padding: 1rem;
color: $text;
background-color: var(--light-background) !important;
background-color: $light-background !important;
@media screen and (max-width: 800px) {
border-radius: 0;

View File

@ -6,7 +6,7 @@
min-height: 100vh;
.pagination-link:not(.is-current) {
background: var(--light-background);
background: $light-background;
}
.box,

View File

@ -35,7 +35,7 @@
}
.no-auth-wrapper {
background: url('/images/llama.svg') no-repeat bottom left fixed var(--light-background);
background: url('/images/llama.svg') no-repeat bottom left fixed $light-background;
min-height: 100vh;
.noauth-container {

View File

@ -19,7 +19,7 @@
}
.navbar.main-theme {
background: var(--light-background);
background: $light-background;
z-index: 5 !important;
justify-content: space-between;
align-items: center;

View File

@ -25,7 +25,7 @@
}
body {
background: var(--light-background);
background: $light-background;
min-height: 100vh;
}

View File

@ -14,8 +14,6 @@
--white: hsl(0, 0%, 100%);
--black: hsl(0, 0%, 4%);
--light-background: var(--grey-100);
}
$grey-50: #F9FAFB;

View File

@ -8,13 +8,14 @@ $navbar-item-active-color: $primary;
$dropdown-content-shadow: none;
$navbar-dropdown-boxed-shadow: $dropdown-content-shadow;
$bulmaswatch-import-font: false !default;
$light-background: var(--grey-100);
$transition-duration: 100ms;
$flash-background-duration: 750ms;
$vikunja-font: 'Quicksand', sans-serif;
$navbar-padding: 2rem;
$vikunja-nav-background: var(--light-background);
$vikunja-nav-background: $light-background;
$vikunja-nav-color: var(--grey-700);
$vikunja-nav-selected-width: 0.4rem;
$vikunja-nav-logo-full-width: 164px;