Skip to content

Commit

Permalink
Fix secondary color for widget
Browse files Browse the repository at this point in the history
  • Loading branch information
rik-rosseel authored Jul 21, 2022
1 parent b6b5e85 commit 310646e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions LaunchSchedule.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ const statusFont = Font.blackMonospacedSystemFont(15);
// COLORS.
// Font Colors.
const primaryTextColor = Color.dynamic(new Color("#000000"), new Color("#FFFFFF"));
const secondaryTextColor = Color.dynamic(new Color("#4C4E52"), new Color("#999999"));
const secondaryTextColor = Color.dynamic(new Color("#666666"), new Color("#999999"));
// Status Colors.
// Status | Abbr. | ID
// Go for launch | Go | 1
Expand Down Expand Up @@ -106,7 +106,7 @@ function createWidget() {

// First launch time and date.
const launchTimeText = infoStack.addText(launchTimeFormatter(data.results[firstLaunchIndex].net));
launchTimeText.textColor = Color.lightGray();
launchTimeText.textColor = secondaryTextColor;
launchTimeText.font = new Font("SF Pro", 15);

w.addSpacer(10);
Expand Down

0 comments on commit 310646e

Please sign in to comment.