diff options
Diffstat (limited to 'vendor/twbs/bootstrap/site/assets/scss/_syntax.scss')
-rw-r--r-- | vendor/twbs/bootstrap/site/assets/scss/_syntax.scss | 26 |
1 files changed, 23 insertions, 3 deletions
diff --git a/vendor/twbs/bootstrap/site/assets/scss/_syntax.scss b/vendor/twbs/bootstrap/site/assets/scss/_syntax.scss index 106032c07..092307e05 100644 --- a/vendor/twbs/bootstrap/site/assets/scss/_syntax.scss +++ b/vendor/twbs/bootstrap/site/assets/scss/_syntax.scss @@ -1,4 +1,5 @@ -:root { +:root, +[data-bs-theme="light"] { --base00: #fff; --base01: #f5f5f5; --base02: #c8c8fa; @@ -17,6 +18,25 @@ --base0F: #333; } +@include color-mode(dark, true) { + --base00: #282c34; + --base01: #353b45; + --base02: #3e4451; + --base03: #868e96; + --base04: #565c64; + --base05: #abb2bf; + --base06: #b6bdca; + --base07: #d19a66; + --base08: #e06c75; + --base09: #d19a66; + --base0A: #e5c07b; + --base0B: #98c379; + --base0C: #56b6c2; + --base0D: #61afef; + --base0E: #c678dd; + --base0F: #be5046; +} + .hl { background-color: var(--base02); } .c { color: var(--base03); } .err { color: var(--base08); } @@ -101,14 +121,14 @@ .language-bash, .language-sh { .line::before { - color: #777; + color: var(--base03); content: "$ "; user-select: none; } } .language-powershell::before { - color: #009; + color: var(--base0C); content: "PM> "; user-select: none; } |