0
0
mirror of https://github.com/twbs/bootstrap.git synced 2024-11-29 11:24:18 +01:00

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

View File

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