Skip to content

Commit

Permalink
[BUGFIX] Replace legacy color-yiq with color-contrast - fixes #1511
Browse files Browse the repository at this point in the history
  • Loading branch information
benjaminkott committed Oct 10, 2024
1 parent b574aca commit 8b51cb7
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion Resources/Public/Css/bootstrap5-rte.css
Original file line number Diff line number Diff line change
Expand Up @@ -16906,7 +16906,7 @@ blockquote footer:before {
.timeline-item-image .caption {
font-size: .8em;
padding: 0.5rem 1.5rem;
color: color-yiq(#f2f2f2);
color: #000000;
background-color: #f2f2f2;
}

Expand Down
2 changes: 1 addition & 1 deletion Resources/Public/Css/bootstrap5-rte.min.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion Resources/Public/Css/bootstrap5-theme.css
Original file line number Diff line number Diff line change
Expand Up @@ -16906,7 +16906,7 @@ blockquote footer:before {
.timeline-item-image .caption {
font-size: .8em;
padding: 0.5rem 1.5rem;
color: color-yiq(#f2f2f2);
color: #000000;
background-color: #f2f2f2;
}

Expand Down
2 changes: 1 addition & 1 deletion Resources/Public/Css/bootstrap5-theme.min.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion Resources/Public/Scss/components/_timeline.scss
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ $timeline-path-opacity: .25 !default;
.caption {
font-size: .8em;
padding: .5rem $timeline-item-padding;
color: color-yiq($timeline-item-caption-bg);
color: color-contrast($timeline-item-caption-bg);
background-color: $timeline-item-caption-bg;
}
}
Expand Down

0 comments on commit 8b51cb7

Please sign in to comment.