Skip to content

Commit

Permalink
Add advertisement_color param
Browse files Browse the repository at this point in the history
  • Loading branch information
irdkwmnsb committed Apr 17, 2024
1 parent 716ebc9 commit 6eeda3c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ const AdvertisementWrap = styled.div`
font-family: Urbanist, Passageway, serif;
font-size: 24pt;
font-weight: ${c.GLOBAL_DEFAULT_FONT_WEIGHT_BOLD};
color: black;
color: ${c.ADVERTISEMENT_COLOR};
background-color: ${c.ADVERTISEMENT_BACKGROUND};
border-radius: 12px;
Expand Down
3 changes: 2 additions & 1 deletion src/frontend/overlay/src/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,8 @@ config.FULL_SCREEN_CLOCK_FONT_SIZE = "400px";
config.FULL_SCREEN_CLOCK_COLOR = "#eeeeee";
config.FULL_SCREEN_CLOCK_FONT_FAMILY = "Helvetica; monospace";

config.ADVERTISEMENT_BACKGROUND = "white";
config.ADVERTISEMENT_BACKGROUND = "#FFFFFF"; // hex value.
config.ADVERTISEMENT_COLOR = isShouldUseDarkColor(config.ADVERTISEMENT_BACKGROUND) ? "black" : "white";

config.STAR_SIZE = 33; // px

Expand Down

0 comments on commit 6eeda3c

Please sign in to comment.