Added variables for code color & background; Dark mode & light mode

This commit is contained in:
David Sevilla Martín 2016-05-08 17:08:32 -04:00
parent ee6aee73b2
commit 249cee3548
2 changed files with 8 additions and 2 deletions

View File

@ -119,8 +119,8 @@
code {
font-family: source-code-pro, Monaco, Consolas, "Courier New", monospace;
padding: 2px 6px;
background: #60646D;
color: #256FC7;
background: @code-bg;
color: @code-color;
font-size: 90%;
border-radius: 4px
}

View File

@ -37,6 +37,9 @@
@control-danger-color: #d66;
@overlay-bg: fade(@secondary-color, 90%);
@code-bg: #F2F7F9;
@code-color: #60646D;
}
.define-colors(true) {
@primary-color: @config-primary-color;
@ -56,6 +59,9 @@
@control-danger-color: #a88;
@overlay-bg: fade(darken(@body-bg, 5%), 90%);
@code-bg: darken(#F2F7F9, 90%);
@code-color: lighten(#60646D, 90%);
}
@hero-bg: @control-bg;