mirror of
https://github.com/explosion/spaCy.git
synced 2024-12-24 17:06:29 +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 = {
|
||||
'--color-theme': background,
|
||||
'--color-theme-dark': background,
|
||||
'--color-back': color,
|
||||
backgroundImage: backgroundImage ? `url(${backgroundImage})` : null,
|
||||
}
|
||||
|
|
|
@ -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%
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user