|
1 | 1 | @use "sass:map"; |
2 | 2 |
|
3 | | -@import "bootstrap/scss/functions"; |
4 | | - |
5 | | -// Enable negative margin classes. |
6 | | -$enable-negative-margins: true; |
7 | | - |
8 | | -// Don't add carets to dropdowns by default. |
9 | | -// $enable-caret: false; |
10 | | - |
11 | | -$popover-max-width: 100%; |
12 | | - |
13 | | -// Override default fonts |
14 | | - |
15 | | -$font-family-sans-serif: "Inter", |
16 | | -system-ui, |
17 | | --apple-system, |
18 | | -"Segoe UI", |
19 | | -Roboto, |
20 | | -"Helvetica Neue", |
21 | | -"Noto Sans", |
22 | | -"Liberation Sans", |
23 | | -Arial, |
24 | | -sans-serif, |
25 | | -"Apple Color Emoji", |
26 | | -"Segoe UI Emoji", |
27 | | -"Segoe UI Symbol", |
28 | | -"Noto Color Emoji"; |
29 | | -$font-family-monospace: "Noto Sans Mono", |
30 | | -SFMono-Regular, |
31 | | -Menlo, |
32 | | -Monaco, |
33 | | -Consolas, |
34 | | -"Liberation Mono", |
35 | | -"Courier New", |
36 | | -monospace; |
37 | | - |
38 | | -// Enable color modes |
39 | | -$color-mode-type: data; |
40 | | - |
41 | | -// Only import what we need: |
42 | | - |
43 | | -@import "bootstrap/scss/variables"; |
44 | | -@import "bootstrap/scss/variables-dark"; |
45 | | - |
46 | | -$h1-font-size: $font-size-base * 2.2; |
47 | | -$h2-font-size: $font-size-base * 1.8; |
48 | | -$h3-font-size: $font-size-base * 1.6; |
49 | | -$h4-font-size: $font-size-base * 1.4; |
50 | | -$h5-font-size: $font-size-base * 1.2; |
51 | | -$h6-font-size: $font-size-base; |
52 | | - |
53 | | -@import "bootstrap/scss/maps"; |
54 | | -@import "bootstrap/scss/mixins"; |
55 | | -@import "bootstrap/scss/utilities"; |
56 | | -@import "bootstrap/scss/root"; |
| 3 | +@import "custom-bs-import"; |
57 | 4 |
|
58 | 5 | // Layout & components |
| 6 | +// Only import what we need: |
59 | 7 | @import "bootstrap/scss/reboot"; |
60 | 8 | @import "bootstrap/scss/type"; |
61 | 9 | @import "bootstrap/scss/images"; |
@@ -205,8 +153,8 @@ pre { |
205 | 153 | --#{$prefix}dropdown-divider-bg: #{$dropdown-divider-bg}; |
206 | 154 | --#{$prefix}dropdown-divider-margin-y: #{$dropdown-divider-margin-y}; |
207 | 155 | --#{$prefix}dropdown-box-shadow: #{$dropdown-box-shadow}; |
208 | | - --#{$prefix}dropdown-link-color: #{$dropdown-link-color}; |
209 | | - --#{$prefix}dropdown-link-hover-color: #{$dropdown-link-hover-color}; |
| 156 | + --#{$prefix}dropdown-link-color: #{$nav-link-color}; |
| 157 | + --#{$prefix}dropdown-link-hover-color: #{$nav-link-hover-color}; |
210 | 158 | --#{$prefix}dropdown-link-hover-bg: #{$dropdown-link-hover-bg}; |
211 | 159 | --#{$prefix}dropdown-link-active-color: #{$dropdown-link-active-color}; |
212 | 160 | --#{$prefix}dropdown-link-active-bg: #{$dropdown-link-active-bg}; |
|
351 | 299 | .axis path, |
352 | 300 | .axis line { |
353 | 301 | fill: none; |
354 | | - stroke: black; |
| 302 | + stroke: var(--bs-body-color); |
355 | 303 | } |
356 | 304 |
|
357 | 305 | .axis.y path, |
|
368 | 316 | } |
369 | 317 |
|
370 | 318 | .bar text { |
371 | | - fill: black; |
| 319 | + fill: var(--bs-body-color); |
372 | 320 | dominant-baseline: central; |
373 | 321 | pointer-events: none; |
374 | 322 | } |
|
407 | 355 | } |
408 | 356 |
|
409 | 357 | .ballot-icon table .my { |
410 | | - border: calc(2 * $table-border-width) solid #000; |
| 358 | + border: calc(2 * $table-border-width) solid var(--bs-emphasis-color); |
411 | 359 | } |
412 | 360 |
|
413 | 361 | // See https://getbootstrap.com/docs/5.1/customize/color/#all-colors |
|
0 commit comments