ds-site/Resources/Private/Sass/Frontend/components/_codeHighlighting.scss
2020-01-22 08:07:14 +01:00

53 lines
679 B
SCSS

code {
background: $black-dark;
color: $white-dark;
padding: {
left: 0.5em;
right: 0.5em;
}
white-space: pre-line;
}
pre code {
display: block;
overflow-x: auto;
padding: 0.5em;
white-space: pre;
color: $white;
.meta {
color: $blue;
}
.tag {
color: $white;
.name {
color: $blue;
}
}
.attr {
color: $blue;
}
.string {
color: $white-dark;
}
.function {
color: $white;
}
.keyword {
color: $green;
}
.params {
color: $blue;
}
.comment {
color: $white-dark;
}
}