Skip to content

Commit

Permalink
Update to bootstrap v5 google#470
Browse files Browse the repository at this point in the history
  • Loading branch information
chalin committed Aug 19, 2022
1 parent e61480d commit 8436f96
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion assets/scss/_boxes.scss
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

// box-variant creates the main style for a colored section used on the site.
@mixin box-variant($parent, $color-name, $color-value) {
$text-color: color-yiq($color-value);
$text-color: color-contrast($color-value);
$link-color: mix($blue, $text-color, lightness($color-value));
$link-hover-color: rgba($link-color, 0.5) !default;

Expand Down
2 changes: 1 addition & 1 deletion assets/scss/_colors.scss
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// Add some local palette classes so you can do -bg-warning -text-warning etc. Even -bg-1 if you want to paint by numbers.
@mixin palette-variant($color-name, $color-value) {
$text-color: color-yiq($color-value);
$text-color: color-contrast($color-value);
$link-color: mix($blue, $text-color, lightness($color-value));

$link-hover-color: rgba($link-color, .5) !default;
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,15 +14,15 @@
"get:submodule": "set -x && git submodule update --init ${DEPTH:- --depth 1}",
"serve": "npm run cd:docs serve",
"update:pkg:hugo": "npm install --save-exact -D hugo-extended@latest",
"update:pkg:dep": "npm install --save-exact @fortawesome/fontawesome-free@6 bootstrap@4"
"update:pkg:dep": "npm install --save-exact @fortawesome/fontawesome-free@6 bootstrap@5"
},
"cspell": "cSpell:ignore docsy userguide fortawesome fontawesome ",
"prettier": {
"proseWrap": "always"
},
"dependencies": {
"@fortawesome/fontawesome-free": "6.1.2",
"bootstrap": "4.6.2"
"bootstrap": "5.2.0"
},
"devDependencies": {
"hugo-extended": "0.101.0"
Expand Down

0 comments on commit 8436f96

Please sign in to comment.