Skip to content

Commit

Permalink
Darker background colors in dark mode for increased contrast.
Browse files Browse the repository at this point in the history
  • Loading branch information
isoos committed Jan 22, 2025
1 parent 5027967 commit d178338
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions pkg/web_css/lib/src/_variables.scss
Original file line number Diff line number Diff line change
Expand Up @@ -149,15 +149,15 @@
@include dash_variables.dark-theme;

--pub-color-eerieBlack: #1b1b1b;
--pub-color-gmDarkGray: #292929;
--pub-color-shadowBlack: #373737;
--pub-color-anchorBlack: #41424c;
--pub-color-nipponUltraBlue: #23607f;

--pub-neutral-bgColor: var(--pub-color-eerieBlack);
--pub-neutral-borderColor: var(--pub-color-anchorBlack);
--pub-neutral-borderColor: var(--pub-color-shadowBlack);
--pub-neutral-textColor: var(--dash-surface-fgColor);
--pub-neutral-hover-bgColor: var(--pub-color-shadowBlack);
--pub-inset-bgColor: var(--pub-color-anchorBlack);
--pub-neutral-hover-bgColor: var(--pub-color-gmDarkGray);
--pub-inset-bgColor: var(--pub-color-shadowBlack);
--pub-selected-bgColor: var(--pub-color-nipponUltraBlue);

// Note: these colors are copied from GitHub styles
Expand All @@ -178,7 +178,7 @@
--pub-detail_tab-admin-color: #e03030;
--pub-home_title-text-color: #31b0fc;
--pub-weekly-chart-main-color: var(--pub-link-text-color);
--pub-weekly-chart-tooltip-text-color: var(--pub-color-anchorBlack);
--pub-weekly-chart-tooltip-text-color: var(--pub-color-shadowBlack);
--pub-home_card-box_shadow-color: rgba(255, 255, 255, 0.2);
--pub-home_card_title-text-color: var(--pub-home_title-text-color);
--pub-home_card_hover-box_shadow-color: rgba(255, 255, 255, 0.3);
Expand Down

0 comments on commit d178338

Please sign in to comment.