Skip to content

Commit

Permalink
feat: Update deprecation notice for dark mode
Browse files Browse the repository at this point in the history
  • Loading branch information
jerelmiller committed Jun 30, 2020
1 parent 2f0e1d5 commit f0685e5
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion src/components/PropList.module.scss
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,14 @@
}

.deprecation {
padding: 0.5rem;
padding: 1rem;
background: var(--color-red-100);
color: var(--color-neutrals-900);

:global(.dark-mode) & {
color: var(--color-white);
background: var(--color-red-900);
}
}

.deprecationDate {
Expand All @@ -47,6 +52,10 @@

code {
background: var(--color-red-200);

:global(.dark-mode) & {
background: var(--color-red-700);
}
}
}

Expand Down

0 comments on commit f0685e5

Please sign in to comment.