Skip to content

Commit

Permalink
Fix for clear color
Browse files Browse the repository at this point in the history
  • Loading branch information
XITRIX committed Oct 28, 2024
1 parent c05d48f commit 81514f9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
4 changes: 2 additions & 2 deletions library/lib/core/theme.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ namespace brls

static ThemeValues lightThemeValues = {
// Generic values
{ "brls/clear", nvgRGB(235, 235, 235) },
{ "brls/clear", nvgRGBA(0, 0, 0, 0) },
{ "brls/background", nvgRGB(235, 235, 235) },
{ "brls/text", nvgRGB(45, 45, 45) },
{ "brls/text_disabled", nvgRGB(140, 140, 140) },
Expand Down Expand Up @@ -83,7 +83,7 @@ static ThemeValues lightThemeValues = {

static ThemeValues darkThemeValues = {
// Generic values
{ "brls/clear", nvgRGB(45, 45, 45) },
{ "brls/clear", nvgRGBA(0, 0, 0, 0) },
{ "brls/background", nvgRGB(45, 45, 45) },
{ "brls/text", nvgRGB(255, 255, 255) },
{ "brls/text_disabled", nvgRGB(80, 80, 80) },
Expand Down
3 changes: 2 additions & 1 deletion library/lib/views/applet_frame.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,8 @@ const std::string appletFrameXML = R"xml(
width="auto"
height="auto"
axis="column"
justifyContent="spaceBetween">
justifyContent="spaceBetween"
backgroundColor="@theme/brls/background">
<!-- Header -->
<brls:Box
Expand Down

0 comments on commit 81514f9

Please sign in to comment.