Skip to content

Commit

Permalink
Update to latest bootstrap version (5.0.0-beta3) google#470
Browse files Browse the repository at this point in the history
  • Loading branch information
deining authored and chalin committed Aug 19, 2022
1 parent 10fae88 commit 01a00a6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 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

0 comments on commit 01a00a6

Please sign in to comment.