Skip to content

Commit

Permalink
add background_hover to Base style, and some small fixes (surge-synth…
Browse files Browse the repository at this point in the history
  • Loading branch information
luismrguimaraes authored Aug 12, 2024
1 parent ac7f807 commit 206610d
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src-ui/components/WelcomeScreen.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ auto txt =

"\n"
"We love early testers, documenters, and designers on all our projects. The best way to "
"chat with the Surge Synth Team devs about ShortcircutiXT is to join the Surge Synth Team "
"chat with the Surge Synth Team devs about ShortcircuitXT is to join the Surge Synth Team "
"discord and hop into the #using-shortcircuit or #sc-development channels.\n\n"
"Finally, we love developers too! If you want to join the team and help sling some code on the "
"project, please get in touch.\n\n"
Expand Down
3 changes: 2 additions & 1 deletion src-ui/theme/ThemeApplier.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -283,12 +283,13 @@ void applyColors(const sheet_t::ptr_t &base, const ColorMap &cols)
* Set up base classes
*/
base->setColour(Base::styleClass, Base::background, cols.get(ColorMap::bg_2));
base->setColour(Base::styleClass, Base::background_hover, cols.getHover(ColorMap::bg_2));

base->setFont(BaseLabel::styleClass, BaseLabel::labelfont, juce::Font(11, juce::Font::plain));
base->setColour(BaseLabel::styleClass, jcmp::NamedPanel::Styles::labelcolor,
cols.get(ColorMap::generic_content_medium));
base->setColour(BaseLabel::styleClass, jcmp::NamedPanel::Styles::labelcolor_hover,
cols.get(ColorMap::generic_content_medium).brighter(0.1));
cols.getHover(ColorMap::generic_content_medium));

base->setColour(Outlined::styleClass, Outlined::outline, cols.get(ColorMap::bg_1));
base->setColour(Outlined::styleClass, Outlined::brightoutline,
Expand Down

0 comments on commit 206610d

Please sign in to comment.