fix: code block color to improve contrast (#37162)
* Fix: Code block color to improve contrast * Update client/src/components/layouts/prism.css Co-Authored-By: mrugesh <1884376+raisedadead@users.noreply.github.com> * Pull request updates
This commit is contained in:
@ -57,6 +57,10 @@ th {
|
|||||||
margin: 0 0 1.2rem;
|
margin: 0 0 1.2rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
p {
|
||||||
|
line-height: 1.5rem;
|
||||||
|
}
|
||||||
|
|
||||||
.big-heading {
|
.big-heading {
|
||||||
font-size: 2.5rem !important;
|
font-size: 2.5rem !important;
|
||||||
}
|
}
|
||||||
|
@ -1,3 +1,12 @@
|
|||||||
code .token.operator {
|
code .token.operator {
|
||||||
background: none;
|
background: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
:not(pre) > code[class*='language-'],
|
||||||
|
pre[class*='language-'] {
|
||||||
|
background: var(--primary-background);
|
||||||
|
}
|
||||||
|
|
||||||
|
* {
|
||||||
|
text-shadow: none !important;
|
||||||
|
}
|
||||||
|
Reference in New Issue
Block a user