mirror of
https://github.com/documize/community.git
synced 2025-07-25 16:19:46 +02:00
Standardize text color for PRE & CODE blocks
This commit is contained in:
parent
fc17ea5225
commit
3fd1d793a3
2 changed files with 5 additions and 2 deletions
4
gui/app/styles/core/vendor/prismjs.scss
vendored
4
gui/app/styles/core/vendor/prismjs.scss
vendored
|
@ -32,7 +32,7 @@ green #859900
|
||||||
|
|
||||||
code[class*="language-"],
|
code[class*="language-"],
|
||||||
pre[class*="language-"] {
|
pre[class*="language-"] {
|
||||||
color: #657b83; /* base00 */
|
color: map-get($gray-shades, 800); /* base00 */
|
||||||
font-family: Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace;
|
font-family: Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace;
|
||||||
text-align: left;
|
text-align: left;
|
||||||
white-space: pre;
|
white-space: pre;
|
||||||
|
@ -117,7 +117,7 @@ pre[class*="language-"] {
|
||||||
}
|
}
|
||||||
|
|
||||||
.token.entity {
|
.token.entity {
|
||||||
color: #657b83; /* base00 */
|
color: $color-black-light-1; /* base00 */
|
||||||
background: #eee8d5; /* base2 */
|
background: #eee8d5; /* base2 */
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -69,6 +69,7 @@
|
||||||
border: 1px solid map-get($yellow-shades, 300);
|
border: 1px solid map-get($yellow-shades, 300);
|
||||||
@include border-radius(3px);
|
@include border-radius(3px);
|
||||||
font-family: Consolas, Monaco, "Andale Mono", "Ubuntu Mono", monospace;
|
font-family: Consolas, Monaco, "Andale Mono", "Ubuntu Mono", monospace;
|
||||||
|
color: map-get($gray-shades, 800);
|
||||||
}
|
}
|
||||||
|
|
||||||
pre {
|
pre {
|
||||||
|
@ -77,6 +78,7 @@
|
||||||
border: 1px solid map-get($yellow-shades, 300);
|
border: 1px solid map-get($yellow-shades, 300);
|
||||||
@include border-radius(3px);
|
@include border-radius(3px);
|
||||||
font-family: Consolas, Monaco, "Andale Mono", "Ubuntu Mono", monospace;
|
font-family: Consolas, Monaco, "Andale Mono", "Ubuntu Mono", monospace;
|
||||||
|
color: map-get($gray-shades, 800);
|
||||||
|
|
||||||
> code {
|
> code {
|
||||||
background-color: transparent;
|
background-color: transparent;
|
||||||
|
@ -85,6 +87,7 @@
|
||||||
@include border-radius(0px);
|
@include border-radius(0px);
|
||||||
font-size: 1rem;
|
font-size: 1rem;
|
||||||
font-family: Consolas, Monaco, "Andale Mono", "Ubuntu Mono", monospace;
|
font-family: Consolas, Monaco, "Andale Mono", "Ubuntu Mono", monospace;
|
||||||
|
color: map-get($gray-shades, 800);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue