Skip to content

Commit

Permalink
feat: Update ConstantReference to handle dark mode
Browse files Browse the repository at this point in the history
  • Loading branch information
jerelmiller committed Jun 23, 2020
1 parent c1efaec commit 89345aa
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/ConstantReference.module.scss
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
.container {
color: var(--color-neutrals-600);
color: var(--secondary-text-color);
font-size: 0.875rem;

&:not(:last-child) {
Expand Down
4 changes: 4 additions & 0 deletions src/components/MethodReference.module.scss
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@
color: var(--color-teal-500);
background: var(--color-teal-050);
margin-bottom: 1rem;

:global(.dark-mode) & {
background: var(--color-teal-100);
}
}

.description {
Expand Down

0 comments on commit 89345aa

Please sign in to comment.