Skip to content

Commit

Permalink
set body background based on the theme
Browse files Browse the repository at this point in the history
  • Loading branch information
anyuanzheng committed Jul 30, 2024
1 parent c8b6b2f commit 9d54093
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 1 deletion.
3 changes: 3 additions & 0 deletions packages/grafana-ui/src/themes/_variables.dark.scss.tmpl.ts
Original file line number Diff line number Diff line change
Expand Up @@ -401,4 +401,7 @@ $vertical-resize-handle-dots-hover: $gray-2;
// Calendar
$calendar-bg-days: $input-bg;
$calendar-bg-now: $dark-10;
$background-primary: #171717;
`;
2 changes: 2 additions & 0 deletions packages/grafana-ui/src/themes/_variables.light.scss.tmpl.ts
Original file line number Diff line number Diff line change
Expand Up @@ -401,4 +401,6 @@ $vertical-resize-handle-dots-hover: $gray-2;
$calendar-bg-days: $white;
$calendar-bg-now: $gray-6;
$background-primary: #FFFFFF;
`;
2 changes: 1 addition & 1 deletion public/sass/components/_footer.scss
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
}

.page-dashboard {
background: rgb(248, 248, 248) !important;
background: $background-primary !important;
}

.footer {
Expand Down

0 comments on commit 9d54093

Please sign in to comment.