UX: update hljs-builtin-name highlight (#16859)

* update hljs-builtin-name highlight

* Move dark-light function to better file
This commit is contained in:
Chapoi 2022-05-18 15:55:40 +02:00 committed by GitHub
parent 9f246e6969
commit 96d656f450
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 6 additions and 2 deletions

View File

@ -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};

View File

@ -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 {

View File

@ -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;