2
0
mirror of https://github.com/tenrok/bootstrap.git synced 2026-06-20 20:00:36 +03:00

Use Bootstrap colors in syntax highlighting

This commit is contained in:
Mark Otto
2023-01-02 11:31:28 -08:00
committed by Mark Otto
parent 19d547be3d
commit 3ee2a75495
4 changed files with 28 additions and 26 deletions
+2
View File
@@ -23,6 +23,7 @@ $bd-callout-variants: info, warning, danger !default;
--bd-sidebar-link-bg: rgba(var(--bd-violet-rgb), .1);
--bd-callout-link: #{to-rgb($blue-600)};
--bd-callout-code-color: #{$pink-600};
--bd-pre-bg: var(--bs-tertiary-bg);
}
@include color-mode(dark, true) {
@@ -32,4 +33,5 @@ $bd-callout-variants: info, warning, danger !default;
--bd-sidebar-link-bg: rgba(#{to-rgb(mix($bd-violet, $black, 75%))}, .5);
--bd-callout-link: #{to-rgb($blue-300)};
--bd-callout-code-color: #{$pink-300};
--bd-pre-bg: #{adjust-color($gray-900, $lightness: -2.5%)}; // stylelint-disable-line scss/at-function-named-arguments
}