mirror of
https://github.com/explosion/spaCy.git
synced 2025-01-12 18:26:30 +03:00
Fix text color in docs (#12183)
* Fix text color on landing page * Fix code color
This commit is contained in:
parent
8ea15240ca
commit
5a6000fb8b
|
@ -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,
|
||||||
}
|
}
|
||||||
|
|
|
@ -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%
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue
Block a user