Fix text color in docs (#12183)

* Fix text color on landing page

* Fix code color
This commit is contained in:
Marcus Blättermann 2023-01-25 13:14:32 +01:00 committed by GitHub
parent 8ea15240ca
commit 5a6000fb8b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 2 deletions

View File

@ -110,6 +110,7 @@ export const LandingBanner = ({
})
const style = {
'--color-theme': background,
'--color-theme-dark': background,
'--color-back': color,
backgroundImage: backgroundImage ? `url(${backgroundImage})` : null,
}

View File

@ -1,7 +1,7 @@
.pre
position: relative
background: var(--color-front)
color: var(--color-subtle)
color: var(--color-subtle-on-dark)
border-radius: var(--border-radius)
overflow: auto
width: 100%

View File

@ -41,7 +41,7 @@
border-radius: 1em
padding: 0 1rem 0.15rem
background: var(--color-back)
color: var(--color-theme-dark)
color: var(--color-theme)
.subtitle
margin-top: 1rem