devdocs/assets/stylesheets/components/_prism.scss

81 lines
1.2 KiB
SCSS
Raw Normal View History

html {
--prismValue: #905;
--prismText: #5e8e01;
--prismOperator: #a67f59;
--prismKeyword: #0070a3;
--prismFunction: #dd4a68;
--prismVariable: #e90;
}
2018-10-09 00:08:02 +02:00
html._theme-dark {
--prismValue: #eb8160;
--prismText: #ddcf88;
--prismOperator: #b1c676;
--prismKeyword: #91b3ed;
--prismFunction: #c79e6b;
--prismVariable: #e9c062;
}
2013-10-24 20:25:52 +02:00
.token.comment,
.token.prolog,
.token.doctype,
.token.cdata,
.token.punctuation {
color: var(--textColorLight);
2013-10-24 20:25:52 +02:00
}
.namespace {
opacity: .7;
}
.token.property,
.token.tag,
.token.boolean,
2014-11-30 17:09:38 +01:00
.token.number,
.token.constant,
.token.symbol,
.token.deleted {
color: var(--prismValue);
2013-10-24 20:25:52 +02:00
}
.token.selector,
.token.attr-name,
2014-11-30 17:09:38 +01:00
.token.string,
.token.char,
.token.builtin,
.token.inserted {
color: var(--prismText);
2013-10-24 20:25:52 +02:00
}
.token.operator,
.token.entity,
.token.url,
.language-css .token.string,
.style .token.string {
color: var(--prismOperator);
2013-10-24 20:25:52 +02:00
}
.token.atrule,
.token.attr-value,
.token.keyword {
color: var(--prismKeyword);
2013-10-24 20:25:52 +02:00
}
2014-11-30 17:09:38 +01:00
.token.function {
color: var(--prismFunction);
2014-11-30 17:09:38 +01:00
}
2013-10-24 20:25:52 +02:00
.token.regex,
2014-11-30 17:09:38 +01:00
.token.important,
.token.variable {
color: var(--prismVariable);
2013-10-24 20:25:52 +02:00
}
2017-09-03 19:05:18 +02:00
.token.important,
.token.bold {
font-weight: var(--boldFontWeight);
2013-10-24 20:25:52 +02:00
}
2017-09-03 19:05:18 +02:00
.token.italic {
font-style: italic;
}