aglio-theme-olio
Version:
Default theme for the Aglio API Blueprint renderer
59 lines (47 loc) • 2.99 kB
text/less
/* Basic page-wide colors */
@background-color: white;
@text-color: black;
@link-color: #18bc9c;
/* HTTP method-specific colors */
@group-background-color: contrast(@background-color,
darken(@background-color, 7%),
lighten(@background-color, 7%));
@group-border-color: contrast(@background-color,
darken(@background-color, 7%),
lighten(@background-color, 7%));
@group-text-color: contrast(@group-background-color);
/* HTTP GET */
@get-color: white;
@get-background-color: #3498db;
@get-text-color: contrast(@get-background-color);
@get-border-color: @get-background-color;
/* HTTP PUT */
@put-color: white;
@put-background-color: #f39c12;
@put-text-color: contrast(@put-background-color);
@put-border-color: @put-background-color;
/* HTTP POST */
@post-color: white;
@post-background-color: #18bc9c;
@post-text-color: contrast(@post-background-color);
@post-border-color: @post-background-color;
/* HTTP DELETE */
@delete-color: white;
@delete-background-color: #e74c3c;
@delete-text-color: contrast(@delete-background-color);
@delete-border-color: @delete-background-color;
/* Code colors */
@inline-code-background-color: #ddd;
@inline-code-text-color: #444;
@code-block-background-color: #f5f5f5;
@code-block-border-color: contrast(@code-block-background-color,
darken(@code-block-background-color, 15%),
lighten(@code-block-background-color, 15%));
@title-code-background-color: rgba(255, 255, 255, 0.7);
@title-code-text-color: @inline-code-text-color;
@title-code-border-color: transparent;
@quote-border-color: contrast(@code-block-background-color,
darken(@code-block-background-color, 5%),
lighten(@code-block-background-color, 5%));
/* Highlight.js Theme Tomorrow */
.hljs-comment,.hljs-title{color:#8e908c}.hljs-variable,.hljs-attribute,.hljs-tag,.hljs-regexp,.ruby .hljs-constant,.xml .hljs-tag .hljs-title,.xml .hljs-pi,.xml .hljs-doctype,.html .hljs-doctype,.css .hljs-id,.css .hljs-class,.css .hljs-pseudo{color:#c82829}.hljs-number,.hljs-preprocessor,.hljs-pragma,.hljs-built_in,.hljs-literal,.hljs-params,.hljs-constant{color:#f5871f}.ruby .hljs-class .hljs-title,.css .hljs-rules .hljs-attribute{color:#eab700}.hljs-string,.hljs-value,.hljs-inheritance,.hljs-header,.ruby .hljs-symbol,.xml .hljs-cdata{color:#718c00}.css .hljs-hexcolor{color:#3e999f}.hljs-function,.python .hljs-decorator,.python .hljs-title,.ruby .hljs-function .hljs-title,.ruby .hljs-title .hljs-keyword,.perl .hljs-sub,.javascript .hljs-title,.coffeescript .hljs-title{color:#4271ae}.hljs-keyword,.javascript .hljs-function{color:#8959a8}.hljs{display:block;background:white;color:#4d4d4c;padding:.5em}.coffeescript .javascript,.javascript .xml,.tex .hljs-formula,.xml .javascript,.xml .vbscript,.xml .css,.xml .hljs-cdata{opacity:.5}