1
0
mirror of https://github.com/Rnhmjoj/solarized-dark-ui synced 2025-03-17 18:48:37 +01:00

Make highlight-colors look less crazy on the dark background.

This commit is contained in:
Ben Ogle 2013-12-17 16:51:27 -08:00
parent 183529e7d3
commit 535054ed7f

View File

@ -65,17 +65,17 @@ code {
padding: 1px 3px;
}
.highlight-color(@name, @color) {
.highlight-color(@name, @color, @text-color) {
.highlight-@{name} {
color: @text-color-highlight;
color: lighten(saturate(@text-color, 0%), 30%);
font-weight: bold;
text-shadow: none;
background-color: @color;
background-color: fadeout(@color, 60%);
border-radius: @component-border-radius;
padding: 1px 3px;
}
}
.highlight-color(info, @background-color-info);
.highlight-color(warning, @background-color-warning);
.highlight-color(error, @background-color-error);
.highlight-color(success, @background-color-success);
.highlight-color(info, @background-color-info, @text-color-info);
.highlight-color(warning, @background-color-warning, @text-color-warning);
.highlight-color(error, @background-color-error, @text-color-error);
.highlight-color(success, @background-color-success, @text-color-success);