mirror of
https://github.com/fish-shell/fish-shell.git
synced 2024-11-25 18:03:37 +08:00
615ea22387
This makes them stand out a bit more
92 lines
5.3 KiB
CSS
92 lines
5.3 KiB
CSS
.highlight .hll { background-color: #ffffcc }
|
|
.highlight .err { color: #a40000; border: 1px solid #ef2929 } /* Error */
|
|
.highlight .k { color: #204a87; font-weight: bold } /* Keyword */
|
|
.highlight .o { color: #00a6b2; } /* Operator */
|
|
.highlight .p { color: #00bfff; } /* Punctuation */
|
|
.highlight .c { color: #777; font-style: italic; } /* Comment */
|
|
.highlight .ch { color: #8f7902; font-style: italic } /* Comment.Hashbang */
|
|
.highlight .cm { color: #8f7902; font-style: italic } /* Comment.Multiline */
|
|
.highlight .cp { color: #8f7902; font-style: italic } /* Comment.Preproc */
|
|
.highlight .cpf { color: #8f7902; font-style: italic } /* Comment.PreprocFile */
|
|
.highlight .c1 { color: #8f7902; font-style: italic } /* Comment.Single */
|
|
.highlight .cs { color: #8f7902; font-style: italic } /* Comment.Special */
|
|
.highlight .gd { color: #a40000 } /* Generic.Deleted */
|
|
.highlight .gr { color: #ef2929 } /* Generic.Error */
|
|
.highlight .gh { color: #000080; font-weight: bold } /* Generic.Heading */
|
|
.highlight .gi { color: #00A000 } /* Generic.Inserted */
|
|
.highlight .gp { color: #8f7902 } /* Generic.Prompt */
|
|
.highlight .gu { color: #800080; font-weight: bold } /* Generic.Subheading */
|
|
.highlight .gt { color: #a40000; font-weight: bold } /* Generic.Traceback */
|
|
.highlight .kc { color: #204a87; font-weight: bold } /* Keyword.Constant */
|
|
.highlight .kd { color: #204a87; font-weight: bold } /* Keyword.Declaration */
|
|
.highlight .kn { color: #204a87; font-weight: bold } /* Keyword.Namespace */
|
|
.highlight .kp { color: #204a87; font-weight: bold } /* Keyword.Pseudo */
|
|
.highlight .kr { color: #204a87; font-weight: bold } /* Keyword.Reserved */
|
|
.highlight .kt { color: #204a87; font-weight: bold } /* Keyword.Type */
|
|
.highlight .m { color: #0000cf; font-weight: bold } /* Literal.Number */
|
|
.highlight .s { color: #4e9a06 } /* Literal.String */
|
|
.highlight .na { color: #c4a000 } /* Name.Attribute */
|
|
.highlight .nb { color: #204a87 } /* Name.Builtin */
|
|
.highlight .no { color: #00bfff } /* Name.Constant */
|
|
.highlight .nd { color: #5c35cc; font-weight: bold } /* Name.Decorator */
|
|
.highlight .ni { color: #ce5c00 } /* Name.Entity */
|
|
.highlight .ne { color: #cc0000; font-weight: bold } /* Name.Exception */
|
|
.highlight .nf { color: #005fd7 } /* Name.Function */
|
|
.highlight .nl { color: #f57900 } /* Name.Label */
|
|
.highlight .nt { color: #204a87; font-weight: bold } /* Name.Tag */
|
|
.highlight .ow { color: #204a87; font-weight: bold } /* Operator.Word */
|
|
.highlight .w { color: #f8f8f8; } /* Text.Whitespace */
|
|
.highlight .mb { color: #0000cf; font-weight: bold } /* Literal.Number.Bin */
|
|
.highlight .mf { color: #0000cf; font-weight: bold } /* Literal.Number.Float */
|
|
.highlight .mh { color: #0000cf; font-weight: bold } /* Literal.Number.Hex */
|
|
.highlight .mi { color: #0000cf; font-weight: bold } /* Literal.Number.Integer */
|
|
.highlight .mo { color: #0000cf; font-weight: bold } /* Literal.Number.Oct */
|
|
.highlight .sa { color: #4e9a06 } /* Literal.String.Affix */
|
|
.highlight .sb { color: #4e9a06 } /* Literal.String.Backtick */
|
|
.highlight .sc { color: #4e9a06 } /* Literal.String.Char */
|
|
.highlight .dl { color: #4e9a06 } /* Literal.String.Delimiter */
|
|
.highlight .sd { color: #8f7902; font-style: italic } /* Literal.String.Doc */
|
|
.highlight .s2 { color: #4daf08 } /* Literal.String.Double */
|
|
.highlight .se { color: #00a6b2 } /* Literal.String.Escape */
|
|
.highlight .sh { color: #4e9a06 } /* Literal.String.Heredoc */
|
|
.highlight .si { color: #4e9a06 } /* Literal.String.Interpol */
|
|
.highlight .sx { color: #4e9a06 } /* Literal.String.Other */
|
|
.highlight .sr { color: #4e9a06 } /* Literal.String.Regex */
|
|
.highlight .s1 { color: #d0d00b } /* Literal.String.Single */
|
|
.highlight .ss { color: #4e9a06 } /* Literal.String.Symbol */
|
|
.highlight .bp { color: #3465a4 } /* Name.Builtin.Pseudo */
|
|
.highlight .il { color: #0000cf; font-weight: bold } /* Literal.Number.Integer.Long */
|
|
|
|
:root {
|
|
/* custom property */
|
|
--contrast: #000000;
|
|
}
|
|
|
|
@media (prefers-color-scheme: dark) {
|
|
:root {
|
|
--contrast: #FFFFFF;
|
|
}
|
|
.highlight .k { color: #507a97; font-weight: bold } /* Keyword */
|
|
.highlight .nf { color: #008fd7 } /* Name.Function */
|
|
.highlight .nb { color: #209a87 } /* Name.Builtin */
|
|
.highlight .s2 { color: #9ce781 } /* Literal.String.Double */
|
|
}
|
|
.highlight .g { color: var(--contrast) } /* Generic */
|
|
.highlight .l { color: var(--contrast) } /* Literal */
|
|
.highlight .n { color: var(--contrast) } /* Name */
|
|
.highlight .x { color: var(--contrast) } /* Other */
|
|
.highlight .ge { color: var(--contrast); font-style: italic } /* Generic.Emph */
|
|
.highlight .go { color: var(--contrast); font-style: italic } /* Generic.Output */
|
|
.highlight .gs { color: var(--contrast); font-weight: bold } /* Generic.Strong */
|
|
.highlight .ld { color: var(--contrast) } /* Literal.Date */
|
|
.highlight .nc { color: var(--contrast) } /* Name.Class */
|
|
.highlight .nn { color: var(--contrast) } /* Name.Namespace */
|
|
.highlight .nx { color: var(--contrast) } /* Name.Other */
|
|
.highlight .py { color: var(--contrast) } /* Name.Property */
|
|
.highlight .nv { color: var(--contrast) } /* Name.Variable */
|
|
.highlight .fm { color: var(--contrast) } /* Name.Function.Magic */
|
|
.highlight .vc { color: var(--contrast) } /* Name.Variable.Class */
|
|
.highlight .vg { color: var(--contrast) } /* Name.Variable.Global */
|
|
.highlight .vi { color: var(--contrast) } /* Name.Variable.Instance */
|
|
.highlight .vm { color: var(--contrast) } /* Name.Variable.Magic */
|