Switch to CSS vars for variables

This commit is contained in:
Michał Gdula 2023-03-25 16:22:32 +00:00
parent 5dab4fb53d
commit b862c74bbe
22 changed files with 263 additions and 181 deletions

View file

@ -4,8 +4,8 @@
position: relative
background-color: $black
color: $white
background-color: RGB($bg-300)
color: RGB($fg-white)
overflow: hidden
transition: opacity 0.3s ease-in-out
@ -18,7 +18,7 @@
width: 100%
height: 100%
background-color: $black2
background-color: RGB($bg-200)
object-fit: cover
object-position: center center
@ -31,7 +31,7 @@
width: 100%
height: 100%
background: linear-gradient(to right, rgba($primary, 1), rgba($primary, 0))
background: linear-gradient(to right, RGB($primary), transparent)
z-index: +1
@ -57,7 +57,7 @@
font-weight: 800
text-align: left
color: $primary
color: RGB($primary)
p
margin: 0