Updated
This commit is contained in:
parent
db3736b71f
commit
bbfa0b38ee
8 changed files with 35 additions and 23 deletions
|
|
@ -8,8 +8,8 @@
|
|||
background-color: light-dark(design.$lightBackground, design.$darkBackground)
|
||||
transition: background-color 0.6s ease-out
|
||||
|
||||
.title
|
||||
color: light-dark(color.adjust(design.$lightBackground, $blackness: 70%), color.adjust(design.$darkBackground, $lightness: 70%))
|
||||
.text
|
||||
color: light-dark(color.adjust(design.$lightBackground, $blackness: 90%), color.adjust(design.$darkBackground, $lightness: 90%))
|
||||
transition: background-color 0.6s ease-out
|
||||
|
||||
a
|
||||
|
|
|
|||
5
frontend/src/styles/functions.sass
Normal file
5
frontend/src/styles/functions.sass
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
@function lighten-color($hex, $amount)
|
||||
@return mix(white, $hex, $amount)
|
||||
|
||||
@function darken-color($hex, $amount)
|
||||
@return mix(black, $hex, $amount)
|
||||
|
|
@ -1,4 +1,5 @@
|
|||
@use 'sass:color'
|
||||
@use '../../configs/design.site' as design
|
||||
|
||||
$background: #09111f
|
||||
$textColor: #f0f8ff
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue