mirror of
https://github.com/twbs/bootstrap.git
synced 2025-01-10 03:46:13 +01:00
b46f05a948
This commit includes all the needed workarounds and most changes from the main branch for everything to work, like: * removing empty lines in raw HTML that break output * read .browserslistrc, CSS variables from disk instead of duplicating it * using Hugo mounts * using Hugo for the docs CSS/JS * move ToC Sass code to a separate file while adapting it for Hugo Thus, this patch makes our npm scripts faster since lint runs on one step and there's no separate docs assets processing.
16 lines
780 B
SCSS
16 lines
780 B
SCSS
// Local docs variables
|
|
$bd-purple: #563d7c;
|
|
$bd-purple-bright: lighten(saturate($bd-purple, 5%), 15%);
|
|
$bd-purple-light: lighten(saturate($bd-purple, 5%), 45%);
|
|
$bd-dark: #2a2730;
|
|
$bd-download: #ffe484;
|
|
$bd-info: #5bc0de;
|
|
$bd-warning: #f0ad4e;
|
|
$bd-danger: #d9534f;
|
|
$dropdown-active-icon: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'><path fill='#292b2c' d='M2.3 6.73L.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4 4.6c-.43.5-.8.4-1.1.1z'/></svg>");
|
|
|
|
// Enable responsive font sizes for font sizes defined in the docs
|
|
// The weird if test is made as a workaround to prevent a false fusv error.
|
|
//
|
|
$enable-responsive-font-sizes: if($enable-responsive-font-sizes, true, true);
|