Implement Web Assets' theme system and selection, and add 'light' theme #118

Merged
Márton Lente merged 97 commits from martonlente/extensions-website:ui/theme-light into main 2024-05-08 14:20:07 +02:00
4 changed files with 14 additions and 0 deletions
Showing only changes of commit 21c8b1b823 - Show all commits

View File

@ -0,0 +1,3 @@
.card
@extend .box

View File

@ -95,6 +95,7 @@
dt dt
color: var(--color-text-secondary) color: var(--color-text-secondary)
font-size: var(--fs-sm) font-size: var(--fs-sm)
line-height: calc(24 / 14)
dd dd
font-family: var(--font-family-body) font-family: var(--font-family-body)

View File

@ -1,6 +1,15 @@
.dl-col
margin-bottom: -.1rem // Compensate border-bottom height
.dl-col-2 .dl-col-2
flex-grow: 2 flex-grow: 2
.dl-row
+padding(2, bottom)
&:first-child
+padding(0, top)
.list-filters .list-filters
+box-card +box-card
background-color: var(--color-bg-tertiary) background-color: var(--color-bg-tertiary)

View File

@ -18,6 +18,7 @@ $container-width: map-get($container-max-widths, 'xl')
@import '_alert.sass' @import '_alert.sass'
@import '_badge.sass' @import '_badge.sass'
@import '_box.sass' @import '_box.sass'
@import '_cards.sass'
@import '_code.sass' @import '_code.sass'
@import '_comments.sass' @import '_comments.sass'
@import '_extension.sass' @import '_extension.sass'