Skip to content

Commit 8f1df74

Browse files
authored
fix: adjust colors for dark color scheme (#138)
1 parent 24ada26 commit 8f1df74

File tree

2 files changed

+12
-0
lines changed

2 files changed

+12
-0
lines changed

.changeset/metal-games-tie.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@api-viewer/common': patch
3+
---
4+
5+
Adjust colors for dark color scheme

packages/api-common/src/shared-styles.ts

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,4 +72,11 @@ export default css`
7272
margin-top: 0.5rem;
7373
}
7474
}
75+
76+
@media (prefers-color-scheme: dark) {
77+
:host {
78+
background: #fff;
79+
color: #000;
80+
}
81+
}
7582
`;

0 commit comments

Comments
 (0)