Fix the chroma fix and use Sass more.

This commit is contained in:
XhmikosR 2019-02-27 13:37:08 +02:00
parent 6e16720b12
commit 6a82a2ebe8
1 changed files with 19 additions and 14 deletions

View File

@ -70,20 +70,25 @@
/* LiteralStringOther */ .chroma .sx { color: #c30; } /* LiteralStringOther */ .chroma .sx { color: #c30; }
/* TextWhitespace */ .chroma .w { color: #bbb; } /* TextWhitespace */ .chroma .w { color: #bbb; }
.chroma .language-bash::before, .chroma {
.chroma .language-sh::before { .language-bash,
.language-sh {
&::before {
color: #009; color: #009;
content: "$ "; content: "$ ";
user-select: none; user-select: none;
} }
.chroma .language-bash .m, // This is just to work around a Chroma bug;
.chroma .language-sh .m { // should be removed when fixed upstream
color: initial; .m {
color: inherit;
}
} }
.chroma .language-powershell::before { .language-powershell::before {
color: #009; color: #009;
content: "PM> "; content: "PM> ";
user-select: none; user-select: none;
} }
}