Skip to content

Commit 62a1a70

Browse files
committed
Enhance color contrast of docs titles
1 parent 3b2516e commit 62a1a70

File tree

4 files changed

+8
-4
lines changed

4 files changed

+8
-4
lines changed

public/build/assets/app-BkMpQiPe.css renamed to public/build/assets/app-B05H5L3z.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

public/build/manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
"src": "public/img/ui/warning.svg"
1313
},
1414
"resources/css/app.scss": {
15-
"file": "assets/app-BkMpQiPe.css",
15+
"file": "assets/app-B05H5L3z.css",
1616
"src": "resources/css/app.scss",
1717
"isEntry": true
1818
},

resources/css/app.scss

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
@import 'bootstrap/scss/functions';
22

3+
$variable-prefix: bs- !default; // Deprecated in v5.2.0 for the shorter `$prefix`
4+
$prefix: $variable-prefix !default;
5+
36
// scss-docs-start theme-color-variables
47
$primary: #f9322c;
58
$dark: #212529;
@@ -19,7 +22,7 @@ $body-bg-dark: #161822; //#171923;
1922
$body-color: #222;
2023

2124
$headings-color: #272531;
22-
$headings-color-dark: #dee2e6;
25+
$headings-color-dark: #f2f2f2;
2326

2427
$body-emphasis-color-dark: #dee2e6;
2528

resources/css/docs.scss

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -219,9 +219,10 @@ main,
219219
h5,
220220
h6 {
221221
a {
222-
@extend .link-body-emphasis;
222+
color: var(--#{$prefix}heading-color) !important;
223223
text-decoration: none;
224224
position: relative;
225+
font-weight: 550;
225226
}
226227
}
227228

0 commit comments

Comments
 (0)