Skip to content

Commit

Permalink
Add dark mode support for visualizer canvas
Browse files Browse the repository at this point in the history
  • Loading branch information
Tamas Gemes authored and sgenoud committed Jan 31, 2025
1 parent 2780baf commit 6c3684f
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions packages/studio/src/GlobalStyles.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,13 @@ export default createGlobalStyle`
--bg-color: #f2f3f4;
}
@media (prefers-color-scheme: dark) {
:root {
--bg-color: #1e1e1e;
}
}
a {
color: var(--color-primary);
}
Expand Down

0 comments on commit 6c3684f

Please sign in to comment.