devdocs/assets/stylesheets/components/_prism.scss

88 lines
1.1 KiB
SCSS
Raw Normal View History

2013-10-24 20:25:52 +02:00
.token.comment,
.token.prolog,
.token.doctype,
.token.cdata,
.token.punctuation {
color: $textColorLight;
}
.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 {
2015-02-08 23:50:03 +01:00
@if $style == 'dark' {
color: #eb8160;
2015-02-08 23:50:03 +01:00
} @else {
color: #905;
}
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 {
2015-02-08 23:50:03 +01:00
@if $style == 'dark' {
color: #ddcf88;
2015-02-08 23:50:03 +01:00
} @else {
color: #5e8e01;
}
2013-10-24 20:25:52 +02:00
}
.token.operator,
.token.entity,
.token.url,
.language-css .token.string,
.style .token.string {
2015-02-08 23:50:03 +01:00
@if $style == 'dark' {
color: #b1c676;
2015-02-08 23:50:03 +01:00
} @else {
color: #a67f59;
}
2013-10-24 20:25:52 +02:00
}
.token.atrule,
.token.attr-value,
.token.keyword {
2015-02-08 23:50:03 +01:00
@if $style == 'dark' {
color: #91b3ed;
2015-02-08 23:50:03 +01:00
} @else {
color: #0070a3;
}
2013-10-24 20:25:52 +02:00
}
2014-11-30 17:09:38 +01:00
.token.function {
2015-02-08 23:50:03 +01:00
@if $style == 'dark' {
2015-02-17 01:06:12 +01:00
color: #c79e6b;
2015-02-08 23:50:03 +01:00
} @else {
color: #dd4a68;
}
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 {
2015-02-08 23:50:03 +01:00
@if $style == 'dark' {
color: #e9c062;
} @else {
color: #e90;
}
2013-10-24 20:25:52 +02:00
}
2017-09-03 19:05:18 +02:00
.token.important,
.token.bold {
2017-02-19 17:15:23 +01:00
font-weight: $boldFontWeight;
2013-10-24 20:25:52 +02:00
}
2017-09-03 19:05:18 +02:00
.token.italic {
font-style: italic;
}