mirror of
https://github.com/twbs/bootstrap.git
synced 2024-12-04 16:24:22 +01:00
6b49d26b21
* Migrate to DocSearch v3 Fixes #33338 * initialize `siteDocsVersion` const after the proper check * Update site/layouts/partials/stylesheet.html Co-authored-by: GeoSot <geo.sotis@gmail.com> * Update header.html * code review changes * Update search.js * Fix contrast issue, tweak some styles * Fix some navbar changes * temporary safari fix for docsearch3 Co-authored-by: GeoSot <geo.sotis@gmail.com> Co-authored-by: XhmikosR <xhmikosr@gmail.com>
24 lines
1.0 KiB
SCSS
24 lines
1.0 KiB
SCSS
// stylelint-disable scss/dollar-variable-default
|
|
|
|
// Local docs variables
|
|
$bd-purple: #4c0bce;
|
|
$bd-violet: lighten(saturate($bd-purple, 5%), 15%); // stylelint-disable-line function-disallowed-list
|
|
$bd-purple-light: lighten(saturate($bd-purple, 5%), 45%); // stylelint-disable-line function-disallowed-list
|
|
$bd-accent: #ffe484;
|
|
$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>");
|
|
|
|
$bd-gutter-x: 3rem;
|
|
$bd-callout-variants: info, warning, danger !default;
|
|
|
|
:root {
|
|
--bd-purple: #{$bd-purple};
|
|
--bd-violet: #{$bd-violet};
|
|
--bd-accent: #{$bd-accent};
|
|
--bd-violet-rgb: #{to-rgb($bd-violet)};
|
|
--bd-accent-rgb: #{to-rgb($bd-accent)};
|
|
--bd-pink-rgb: #{to-rgb($pink-500)};
|
|
--bd-teal-rgb: #{to-rgb($teal-500)};
|
|
--docsearch-primary-color: var(--bd-violet);
|
|
--docsearch-logo-color: var(--bd-violet);
|
|
}
|