Skip to content

Commit

Permalink
Skins: Fix hard to read link color in CRATE and PLAYLIST pages of the…
Browse files Browse the repository at this point in the history
  • Loading branch information
esbrandt committed Feb 21, 2018
1 parent cc7d8ae commit 9f10e47
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/library/crate/cratefeature.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -153,6 +153,10 @@ QString CrateFeature::formatRootViewHtml() const {
html.append("<img src=\"qrc:/images/library/crates_art.png\">");
html.append("</td></tr>");
html.append(QString("<tr><td><a href=\"create\">%1</a>")
//Colorize links in lighter blue, instead of QT default dark blue.
//Links are still different from regular text, but readable on dark/light backgrounds.
//https://bugs.launchpad.net/mixxx/+bug/1744816
html.append(QString("<a style=\"color:#0850D0;\" href=\"create\">%1</a>")
.arg(createCrateLink));
html.append("</td></tr></table>");
return html;
Expand Down
4 changes: 4 additions & 0 deletions src/library/playlistfeature.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -248,6 +248,10 @@ QString PlaylistFeature::getRootViewHtml() const {
playlistsSummary4));
html.append("</td></tr>");
html.append(QString("<tr><td><a href=\"create\">%1</a>")
//Colorize links in lighter blue, instead of QT default dark blue.
//Links are still different from regular text, but readable on dark/light backgrounds.
//https://bugs.launchpad.net/mixxx/+bug/1744816
html.append(QString("<a style=\"color:#0850D0;\" href=\"create\">%1</a>")
.arg(createPlaylistLink));
html.append("</td></tr></table>");
return html;
Expand Down

0 comments on commit 9f10e47

Please sign in to comment.