UX: update hljs-builtin-name highlight (#16859)
* update hljs-builtin-name highlight * Move dark-light function to better file
This commit is contained in:
parent
9f246e6969
commit
96d656f450
|
@ -111,7 +111,7 @@
|
|||
--hljs-attribute: #{$hljs-attribute};
|
||||
--hljs-symbol: #{$hljs-symbol};
|
||||
--hljs-bg: #{$hljs-bg};
|
||||
|
||||
--hljs-builtin-name: #{$hljs-builtin-name};
|
||||
--google: #{$google};
|
||||
--google-hover: #{$google-hover};
|
||||
--instagram: #{$instagram};
|
||||
|
|
|
@ -90,7 +90,7 @@ github.com style (c) Vasily Polovnyov <vast@whiteants.net>
|
|||
.lisp .hljs-title,
|
||||
.clojure .hljs-built_in,
|
||||
.hljs-builtin-name {
|
||||
color: var(--tertiary-high);
|
||||
color: var(--hljs-builtin-name);
|
||||
}
|
||||
|
||||
.meta {
|
||||
|
|
|
@ -154,3 +154,7 @@ $hljs-attribute: dark-light-choose(
|
|||
) !default;
|
||||
$hljs-symbol: dark-light-choose(unquote("#990073"), unquote("#fbe")) !default;
|
||||
$hljs-bg: dark-light-choose(unquote("#f8f8f8"), unquote("#333")) !default;
|
||||
$hljs-builtin-name: dark-light-choose(
|
||||
$tertiary-high,
|
||||
unquote("#65b9db")
|
||||
) !default;
|
||||
|
|
Loading…
Reference in New Issue