From f0685e5a61c694324f2761e866b9564374dd2ac1 Mon Sep 17 00:00:00 2001 From: Jerel Miller Date: Tue, 30 Jun 2020 16:08:48 -0700 Subject: [PATCH] feat: Update deprecation notice for dark mode --- src/components/PropList.module.scss | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/src/components/PropList.module.scss b/src/components/PropList.module.scss index 18c979d98..b2bdf477f 100644 --- a/src/components/PropList.module.scss +++ b/src/components/PropList.module.scss @@ -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 { @@ -47,6 +52,10 @@ code { background: var(--color-red-200); + + :global(.dark-mode) & { + background: var(--color-red-700); + } } }