Skip to content

Commit

Permalink
fix: adjust colors for dark color scheme (#138)
Browse files Browse the repository at this point in the history
  • Loading branch information
web-padawan committed Jan 3, 2022
1 parent 24ada26 commit 8f1df74
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/metal-games-tie.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@api-viewer/common': patch
---

Adjust colors for dark color scheme
7 changes: 7 additions & 0 deletions packages/api-common/src/shared-styles.ts
Original file line number Diff line number Diff line change
Expand Up @@ -72,4 +72,11 @@ export default css`
margin-top: 0.5rem;
}
}
@media (prefers-color-scheme: dark) {
:host {
background: #fff;
color: #000;
}
}
`;

0 comments on commit 8f1df74

Please sign in to comment.