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 = { const style = {
'--color-theme': background, '--color-theme': background,
'--color-theme-dark': background,
'--color-back': color, '--color-back': color,
backgroundImage: backgroundImage ? `url(${backgroundImage})` : null, backgroundImage: backgroundImage ? `url(${backgroundImage})` : null,
} }

View File

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

View File

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