feat: Move to css variables !

Signed-off-by: Avior <f.bouillon@aptatio.com>
This commit is contained in:
2022-10-03 17:50:46 +02:00
parent c2f6e7e055
commit 81f654e1b2
25 changed files with 450 additions and 285 deletions

View File

@ -4,22 +4,19 @@
border-spacing 0
width 100%
tr
$radius = 16px
th:first-child
border-top-left-radius $radius
border-bottom-left-radius $radius
th:last-child
border-top-right-radius $radius
border-bottom-right-radius $radius
&.horizontalBorders tr:not(:last-child) td
tr:not(:last-child) td
border-bottom 1px solid $darkGrayLight
tr th
border-bottom 2px solid $darkGrayLight
&.verticalBorders tr td:not(:first-child)
tr td:not(:first-child)
tr th:not(:first-child)
border-left 1px solid $darkGrayLight
th
font-weight bold
font-size rem(18)
th
td
padding 16px
@ -27,12 +24,6 @@
color black
@media (prefers-color-scheme dark)
color white
th
background $lightGrayLight
color $darkGrayLight
@media (prefers-color-scheme dark)
background $lightGrayDark
color $darkGrayDark
.parent
overflow-x auto