ds-site/Resources/Private/Sass/components/_codeHighlighting.scss

54 lines
679 B
SCSS
Raw Normal View History

2019-11-15 00:27:23 +01:00
code {
background: $black-dark;
color: $white-dark;
padding: {
left: 0.5em;
right: 0.5em;
}
2019-12-13 16:29:34 +01:00
white-space: pre-line;
2019-11-15 00:27:23 +01:00
}
pre code {
display: block;
overflow-x: auto;
padding: 0.5em;
white-space: pre;
2019-12-13 13:52:27 +01:00
color: $white;
.meta {
color: $blue;
}
2019-11-15 00:27:23 +01:00
.tag {
color: $white;
.name {
color: $blue;
}
}
.attr {
color: $blue;
}
.string {
color: $white-dark;
}
.function {
color: $white;
}
.keyword {
color: $green;
}
.params {
2019-12-13 13:52:27 +01:00
color: $blue;
}
.comment {
color: $white-dark;
2019-11-15 00:27:23 +01:00
}
}