-
Notifications
You must be signed in to change notification settings - Fork 54
/
_variables.scss
61 lines (52 loc) · 2.4 KB
/
_variables.scss
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
// stylelint-disable scss/dollar-variable-default
// Local docs variables
$bd-purple: $primary; // Boosted mod
$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
// Boosted mod: no $bd-accent
$dropdown-active-icon: $form-check-input-checked-bg-image; // Boosted mod
$bd-gutter-x: .625rem; // Boosted mod
$bd-callout-variants: info, warning, danger !default;
:root {
--bd-purple: #{$bd-purple};
--bd-violet: #{$bd-violet};
// Boosted mod: no --bd-accent
--bd-violet-rgb: #{to-rgb($bd-violet)};
// Boosted mod: no --bd-accent-rgb
--bd-pink-rgb: #{to-rgb($pink-500)};
--bd-teal-rgb: #{to-rgb($teal-500)};
// Boosted mod: all available CSS vars and specific modifications for Boosted
--docsearch-primary-color: #{$primary};
--docsearch-text-color: #{$black};
// --docsearch-spacing
// --docsearch-icon-stroke-width
--docsearch-highlight-color: var(--docsearch-primary-color);
--docsearch-muted-color: #{$text-muted};
// --docsearch-container-background
// --docsearch-logo-color
// --docsearch-modal-width
// --docsearch-modal-height
--docsearch-modal-background: #{$modal-content-bg};
// --docsearch-modal-shadow;
// --docsearch-searchbox-height;
// --docsearch-searchbox-background;
// --docsearch-searchbox-focus-background;
--docsearch-searchbox-shadow: inset 0 0 0 2px var(--docsearch-text-color);
// --docsearch-hit-height;
--docsearch-hit-color: #{$gray-700};
// --docsearch-hit-active-color;
// --docsearch-hit-background;
// --docsearch-hit-shadow;
--docsearch-key-gradient: null;
--docsearch-key-shadow: null;
// --docsearch-footer-height;
--docsearch-footer-background: #{$modal-footer-bg};
--docsearch-footer-shadow: 0 -1px #{$black};
// End mod
}
$zindex-skippy: 1080;
$offset-top: 7rem;
$sidebar-height: subtract(100vh, $offset-top);
$documentation-link-color: shade-color($info, 20%);
$documentation-link-bg-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'><path fill='#{$documentation-link-color}' fill-rule='evenodd' d='M9.26 25a1.77 1.77 0 0 1-1.76-1.76V6.76A1.77 1.77 0 0 1 9.26 5h12.36v2.35h1.17V25M20.44 6.18H9.26a.59.59 0 0 0-.58.58.59.59 0 0 0 .58.6h1.18V15l1.77-1.76L13.97 15V7.35h6.47z'/></svg>");
$tac-prefix: "tarteaucitron";