Skip to content

Commit

Permalink
Slightly lighten the general site font
Browse files Browse the repository at this point in the history
This puts us in AA compliance for contrast over most of the site
  • Loading branch information
BobChao87 committed Dec 9, 2021
1 parent 632bed2 commit c7142ec
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
5 changes: 5 additions & 0 deletions assets/global.scss
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,11 @@ a {
}
}

.navbar-item,
.navbar-link {
color: inherit;
}

.title {
word-break: normal;
// Line break is kinda like word break, but for languages without spaces, like Chinese, Japanese, or Korean
Expand Down
4 changes: 4 additions & 0 deletions assets/themes/default.scss
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
@import 'bulmaswatch/solar/variables';

// Improve text contrast for accessibility (this is just solar's color with 5 percentage points extra luminance)
$text: #91a0a1;

@import 'bulma';
@import 'bulmaswatch/solar/overrides';

0 comments on commit c7142ec

Please sign in to comment.