Skip to content

Commit

Permalink
fix(admin-ui): Fix dark mode layout
Browse files Browse the repository at this point in the history
Fixes #2745
  • Loading branch information
michaelbromley committed Mar 18, 2024
1 parent 771885d commit 893a913
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/admin-ui/src/lib/static/styles/theme/dark.scss
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// Vendure dark theme
// Based on this dark theme example from Scott Mathis:
// https://github.com/mathisscott/clarity-theming-starter/blob/20f4680b43a9a7fd3d43a6ba36f717fdafc6e570/src/_dark-theme.scss
[data-theme="dark"][cds-theme] {
:root [data-theme="dark"] {
--color-grey-100: hsl(211, 10%, 90%);
--color-grey-200: hsl(211, 10%, 67%);
--color-grey-300: hsl(211, 10%, 47%);
Expand Down
2 changes: 1 addition & 1 deletion packages/admin-ui/src/lib/static/styles/theme/default.scss
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

// Default Vendure light theme. The Clarity component custom properties
// are left as their defaults.
:root [cds-theme="light"] {
:root [cds-theme] {
// Colors
--color-grey-100: #fafafa;
--color-grey-200: #f2f3f5;
Expand Down

0 comments on commit 893a913

Please sign in to comment.