2021-03-14 20:49:58 +00:00
|
|
|
/*
|
|
|
|
Inserts a CSS expression with one or more custom variables.
|
|
|
|
You can provide an arbitrary number of strings in the second
|
|
|
|
argument, separated by spaces. Any strings corresponding to
|
|
|
|
variable names will be replaced by the correct values, while
|
|
|
|
other strings are left untouched.
|
|
|
|
|
|
|
|
Example usage:
|
|
|
|
|
|
|
|
@include usevar(border-color, dimmer-color);
|
|
|
|
@include usevar(background, "linear-gradient(" dim-background-transparent "," dim-background ")");
|
|
|
|
|
|
|
|
For clarity and to avoid syntax issues, you are encouraged to
|
|
|
|
use unquoted strings for variables and quoted strings for
|
|
|
|
everything else.
|
|
|
|
|
|
|
|
For convenience in common cases, if only a single argument
|
|
|
|
is provided and it does not match an existing variable, this
|
|
|
|
will throw an error.
|
|
|
|
*/
|
2021-06-23 03:52:04 +00:00
|
|
|
.hmn-code, .codeblock {
|
|
|
|
/* Comment */
|
|
|
|
/* Error */
|
|
|
|
/* Keyword */
|
|
|
|
/* Literal */
|
|
|
|
/* Name */
|
|
|
|
/* Operator */
|
|
|
|
/* Punctuation */
|
|
|
|
/* Comment.Multiline */
|
|
|
|
/* Comment.Preproc */
|
|
|
|
/* Comment.Single */
|
|
|
|
/* Comment.Special */
|
|
|
|
/* Generic.Emph */
|
|
|
|
/* Generic.Strong */
|
|
|
|
/* Keyword.Constant */
|
|
|
|
/* Keyword.Declaration */
|
|
|
|
/* Keyword.Namespace */
|
|
|
|
/* Keyword.Pseudo */
|
|
|
|
/* Keyword.Reserved */
|
|
|
|
/* Keyword.Type */
|
|
|
|
/* Literal.Date */
|
|
|
|
/* Literal.Number */
|
|
|
|
/* Literal.String */
|
|
|
|
/* Name.Attribute */
|
|
|
|
/* Name.Builtin */
|
|
|
|
/* Name.Class */
|
|
|
|
/* Name.Constant */
|
|
|
|
/* Name.Decorator */
|
|
|
|
/* Name.Entity */
|
|
|
|
/* Name.Exception */
|
|
|
|
/* Name.Function */
|
|
|
|
/* Name.Label */
|
|
|
|
/* Name.Namespace */
|
|
|
|
/* Name.Other */
|
|
|
|
/* Name.Property */
|
|
|
|
/* Name.Tag */
|
|
|
|
/* Name.Variable */
|
|
|
|
/* Operator.Word */
|
|
|
|
/* Text.Whitespace */
|
|
|
|
/* Literal.Number.Float */
|
|
|
|
/* Literal.Number.Hex */
|
|
|
|
/* Literal.Number.Integer */
|
|
|
|
/* Literal.Number.Oct */
|
|
|
|
/* Literal.String.Backtick */
|
|
|
|
/* Literal.String.Char */
|
|
|
|
/* Literal.String.Doc */
|
|
|
|
/* Literal.String.Double */
|
|
|
|
/* Literal.String.Escape */
|
|
|
|
/* Literal.String.Heredoc */
|
|
|
|
/* Literal.String.Interpol */
|
|
|
|
/* Literal.String.Other */
|
|
|
|
/* Literal.String.Regex */
|
|
|
|
/* Literal.String.Single */
|
|
|
|
/* Literal.String.Symbol */
|
|
|
|
/* Name.Builtin.Pseudo */
|
|
|
|
/* Name.Variable.Class */
|
|
|
|
/* Name.Variable.Global */
|
|
|
|
/* Name.Variable.Instance */
|
|
|
|
/* Literal.Number.Integer.Long */
|
|
|
|
/* Generic Heading & Diff Header */
|
|
|
|
/* Generic.Subheading & Diff Unified/Comment? */
|
|
|
|
/* Generic.Deleted & Diff Deleted */
|
|
|
|
/* Generic.Inserted & Diff Inserted */ }
|
|
|
|
.hmn-code .hll, .codeblock .hll {
|
|
|
|
background-color: #49483e; }
|
|
|
|
.hmn-code .c, .codeblock .c {
|
|
|
|
color: #75715e; }
|
|
|
|
.hmn-code .err, .codeblock .err {
|
|
|
|
color: #ff0000; }
|
|
|
|
.hmn-code .k, .codeblock .k {
|
|
|
|
color: #66d9ef; }
|
|
|
|
.hmn-code .l, .codeblock .l {
|
|
|
|
color: #ae81ff; }
|
|
|
|
.hmn-code .n, .codeblock .n {
|
|
|
|
color: #f8f8f2; }
|
|
|
|
.hmn-code .o, .codeblock .o {
|
|
|
|
color: #f92672; }
|
|
|
|
.hmn-code .p, .codeblock .p {
|
|
|
|
color: #f8f8f2; }
|
|
|
|
.hmn-code .cm, .codeblock .cm {
|
|
|
|
color: #75715e; }
|
|
|
|
.hmn-code .cp, .codeblock .cp {
|
|
|
|
color: #75715e; }
|
|
|
|
.hmn-code .c1, .codeblock .c1 {
|
|
|
|
color: #75715e; }
|
|
|
|
.hmn-code .cs, .codeblock .cs {
|
|
|
|
color: #75715e; }
|
|
|
|
.hmn-code .ge, .codeblock .ge {
|
|
|
|
font-style: italic; }
|
|
|
|
.hmn-code .gs, .codeblock .gs {
|
|
|
|
font-weight: bold; }
|
|
|
|
.hmn-code .kc, .codeblock .kc {
|
|
|
|
color: #66d9ef; }
|
|
|
|
.hmn-code .kd, .codeblock .kd {
|
|
|
|
color: #66d9ef; }
|
|
|
|
.hmn-code .kn, .codeblock .kn {
|
|
|
|
color: #f92672; }
|
|
|
|
.hmn-code .kp, .codeblock .kp {
|
|
|
|
color: #66d9ef; }
|
|
|
|
.hmn-code .kr, .codeblock .kr {
|
|
|
|
color: #66d9ef; }
|
|
|
|
.hmn-code .kt, .codeblock .kt {
|
|
|
|
color: #66d9ef; }
|
|
|
|
.hmn-code .ld, .codeblock .ld {
|
|
|
|
color: #e6db74; }
|
|
|
|
.hmn-code .m, .codeblock .m {
|
|
|
|
color: #ae81ff; }
|
|
|
|
.hmn-code .s, .codeblock .s {
|
|
|
|
color: #e6db74; }
|
|
|
|
.hmn-code .na, .codeblock .na {
|
|
|
|
color: #a6e22e; }
|
|
|
|
.hmn-code .nb, .codeblock .nb {
|
|
|
|
color: #f8f8f2; }
|
|
|
|
.hmn-code .nc, .codeblock .nc {
|
|
|
|
color: #a6e22e; }
|
|
|
|
.hmn-code .no, .codeblock .no {
|
|
|
|
color: #66d9ef; }
|
|
|
|
.hmn-code .nd, .codeblock .nd {
|
|
|
|
color: #a6e22e; }
|
|
|
|
.hmn-code .ni, .codeblock .ni {
|
|
|
|
color: #f8f8f2; }
|
|
|
|
.hmn-code .ne, .codeblock .ne {
|
|
|
|
color: #a6e22e; }
|
|
|
|
.hmn-code .nf, .codeblock .nf {
|
|
|
|
color: #a6e22e; }
|
|
|
|
.hmn-code .nl, .codeblock .nl {
|
|
|
|
color: #f8f8f2; }
|
|
|
|
.hmn-code .nn, .codeblock .nn {
|
|
|
|
color: #f8f8f2; }
|
|
|
|
.hmn-code .nx, .codeblock .nx {
|
|
|
|
color: #a6e22e; }
|
|
|
|
.hmn-code .py, .codeblock .py {
|
|
|
|
color: #f8f8f2; }
|
|
|
|
.hmn-code .nt, .codeblock .nt {
|
|
|
|
color: #f92672; }
|
|
|
|
.hmn-code .nv, .codeblock .nv {
|
|
|
|
color: #f8f8f2; }
|
|
|
|
.hmn-code .ow, .codeblock .ow {
|
|
|
|
color: #f92672; }
|
|
|
|
.hmn-code .w, .codeblock .w {
|
|
|
|
color: #f8f8f2; }
|
|
|
|
.hmn-code .mf, .codeblock .mf {
|
|
|
|
color: #ae81ff; }
|
|
|
|
.hmn-code .mh, .codeblock .mh {
|
|
|
|
color: #ae81ff; }
|
|
|
|
.hmn-code .mi, .codeblock .mi {
|
|
|
|
color: #ae81ff; }
|
|
|
|
.hmn-code .mo, .codeblock .mo {
|
|
|
|
color: #ae81ff; }
|
|
|
|
.hmn-code .sb, .codeblock .sb {
|
|
|
|
color: #e6db74; }
|
|
|
|
.hmn-code .sc, .codeblock .sc {
|
|
|
|
color: #e6db74; }
|
|
|
|
.hmn-code .sd, .codeblock .sd {
|
|
|
|
color: #e6db74; }
|
|
|
|
.hmn-code .s2, .codeblock .s2 {
|
|
|
|
color: #e6db74; }
|
|
|
|
.hmn-code .se, .codeblock .se {
|
|
|
|
color: #ae81ff; }
|
|
|
|
.hmn-code .sh, .codeblock .sh {
|
|
|
|
color: #e6db74; }
|
|
|
|
.hmn-code .si, .codeblock .si {
|
|
|
|
color: #e6db74; }
|
|
|
|
.hmn-code .sx, .codeblock .sx {
|
|
|
|
color: #e6db74; }
|
|
|
|
.hmn-code .sr, .codeblock .sr {
|
|
|
|
color: #e6db74; }
|
|
|
|
.hmn-code .s1, .codeblock .s1 {
|
|
|
|
color: #e6db74; }
|
|
|
|
.hmn-code .ss, .codeblock .ss {
|
|
|
|
color: #e6db74; }
|
|
|
|
.hmn-code .bp, .codeblock .bp {
|
|
|
|
color: #f8f8f2; }
|
|
|
|
.hmn-code .vc, .codeblock .vc {
|
|
|
|
color: #f8f8f2; }
|
|
|
|
.hmn-code .vg, .codeblock .vg {
|
|
|
|
color: #f8f8f2; }
|
|
|
|
.hmn-code .vi, .codeblock .vi {
|
|
|
|
color: #f8f8f2; }
|
|
|
|
.hmn-code .il, .codeblock .il {
|
|
|
|
color: #ae81ff; }
|
|
|
|
.hmn-code .gu, .codeblock .gu {
|
|
|
|
color: #75715e; }
|
|
|
|
.hmn-code .gd, .codeblock .gd {
|
|
|
|
color: #f92672; }
|
|
|
|
.hmn-code .gi, .codeblock .gi {
|
|
|
|
color: #a6e22e; }
|
2021-03-14 20:49:58 +00:00
|
|
|
|
|
|
|
.light {
|
|
|
|
background-color: #fff;
|
|
|
|
color: #000; }
|
|
|
|
|
|
|
|
:root {
|
|
|
|
--fg-font-color: #eee;
|
|
|
|
--theme-color: #666;
|
|
|
|
--theme-color-dim: #444;
|
|
|
|
--theme-color-dimmer: #383838;
|
|
|
|
--theme-color-dimmest: #333;
|
|
|
|
--link-color: #aaa;
|
|
|
|
--link-border-color: #aaa;
|
|
|
|
--table-border-color: #aaa;
|
|
|
|
--hr-color: #aaa;
|
|
|
|
--main-background-color: #202020;
|
|
|
|
--main-color: #eee;
|
|
|
|
--dim-color: #bbb;
|
|
|
|
--dimmer-color: #999;
|
|
|
|
--dimmest-color: #777;
|
|
|
|
--menu-bottom-border-color: #444;
|
|
|
|
--login-popup-background: #181818;
|
|
|
|
--content-background: #202020;
|
|
|
|
--content-background-transparent: rgba(32, 32, 32, 0);
|
|
|
|
--dim-background: #252525;
|
|
|
|
--dim-background-transparent: rgba(37, 37, 37, 0);
|
|
|
|
--text-background: #181818;
|
|
|
|
--spoiler-border: #777;
|
|
|
|
--background-even-background: #242424;
|
|
|
|
--project-card-border-color: #333;
|
|
|
|
--project-user-suggestions-background: #222;
|
|
|
|
--project-user-suggestions-border-color: #444;
|
|
|
|
--project-edit-logo-previw-border-color: #444;
|
|
|
|
--project-edit-quota-bar-border-color: #444;
|
|
|
|
--project-edit-quota-bar-filled-background: #888;
|
2021-07-23 03:09:46 +00:00
|
|
|
--notice-text-color: #eee;
|
2021-03-14 20:49:58 +00:00
|
|
|
--notice-unapproved-color: #7a2020;
|
|
|
|
--notice-hidden-color: #494949;
|
|
|
|
--notice-hiatus-color: #876327;
|
|
|
|
--notice-dead-color: #7a2020;
|
|
|
|
--notice-lts-color: #2a681d;
|
|
|
|
--notice-lts-reqd-color: #876327;
|
2021-07-23 03:09:46 +00:00
|
|
|
--notice-success-color: #2a681d;
|
2021-03-14 20:49:58 +00:00
|
|
|
--optionbar-border-color: #333;
|
|
|
|
--tab-background: #181818;
|
|
|
|
--tab-border-color: #3f3f3f;
|
|
|
|
--tab-button-background: #303030;
|
|
|
|
--tab-button-background-hover: #383838;
|
|
|
|
--tab-button-background-current: #181818;
|
|
|
|
--form-check-background: #252527;
|
|
|
|
--form-check-border-color: #666;
|
|
|
|
--form-check-border-color-hover: #084068;
|
|
|
|
--form-text-background: #181818;
|
|
|
|
--form-text-background-active: #252527;
|
|
|
|
--form-text-border-color: #444;
|
|
|
|
--form-text-border-color-active: #084068;
|
|
|
|
--form-button-color: #999;
|
|
|
|
--form-button-color-active: #4c9ed9;
|
|
|
|
--form-button-background: #383838;
|
|
|
|
--form-button-background-active: #303840;
|
|
|
|
--form-button-border-color: transparent;
|
|
|
|
--form-button-inline-border-color: transparent;
|
|
|
|
--landing-search-background: #282828;
|
|
|
|
--landing-search-background-hover: #181818;
|
|
|
|
--editor-toolbar-background: #282828;
|
|
|
|
--editor-toolbar-border-color: #333;
|
|
|
|
--editor-toolbar-button-background: 282828;
|
|
|
|
--editor-toolbar-button-background-hover: #333;
|
|
|
|
--editor-toolbar-button-border-color: #333;
|
|
|
|
--post-blockquote-border-color: #555;
|
|
|
|
--forum-even-background: #242424;
|
|
|
|
--forum-thread-read-color: #777;
|
|
|
|
--forum-thread-read-link-color: #999;
|
|
|
|
--forum-post-author-color: #999;
|
|
|
|
--forum-diff-source-background: #181818;
|
|
|
|
--forum-diff-source-border-color: #444;
|
|
|
|
--forum-diff-replace-background: #18283a;
|
|
|
|
--forum-diff-replace-border-color: #223d5b;
|
|
|
|
--forum-diff-delete-background: #3a1818;
|
|
|
|
--forum-diff-delete-border-color: #6b1e1c;
|
|
|
|
--forum-diff-insert-background: #233a18;
|
|
|
|
--forum-diff-insert-border-color: #30591b;
|
|
|
|
--card-background: #222;
|
|
|
|
--card-background-hover: #282828;
|
|
|
|
--irc-border-color: #333;
|
|
|
|
--irc-tab-current-shadow: 0px 0px 5px #000 inset;
|
|
|
|
--irc-tab-close-button-color: #bbb;
|
|
|
|
--irc-tab-close-button-background: #444;
|
|
|
|
--irc-nick-border-color: #444;
|
|
|
|
--irc-users-color: #aaa;
|
|
|
|
--irc-users-background: #181818;
|
|
|
|
--irc-users-border-color: transparent;
|
|
|
|
--irc-users-popout-background: #181818;
|
|
|
|
--irc-users-popout-border-color-left: #444;
|
|
|
|
--irc-users-popout-border-color-right: #333;
|
|
|
|
--code-line-number-color: #444;
|
|
|
|
--library-star-btn-background: #252525;
|
|
|
|
--library-star-btn-border-color: #bbb;
|
|
|
|
--library-star-btn-a-border-color: #999;
|
|
|
|
--library-star-btn-a-hover-background: #333; }
|