Skip to content

Commit

Permalink
Merge pull request #2722 from shawnrivers/feature/add-color-scheme
Browse files Browse the repository at this point in the history
Add `color-scheme` to adapt OS UI to the color scheme
  • Loading branch information
shawnrivers authored Oct 19, 2022
2 parents 59efe2d + 57deecf commit ddd9f0f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/client/store/emotion/provider.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -246,6 +246,10 @@ export const EmotionThemeProvider: React.FC<{
);
}
html {
color-scheme: light dark;
}
h1,
h2,
h3,
Expand Down

1 comment on commit ddd9f0f

@vercel
Copy link

@vercel vercel bot commented on ddd9f0f Oct 19, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.