From 89345aae77b6bb1a73245bcba7dfb8256b92f907 Mon Sep 17 00:00:00 2001 From: Jerel Miller Date: Tue, 23 Jun 2020 01:06:54 -0700 Subject: [PATCH] feat: Update ConstantReference to handle dark mode --- src/components/ConstantReference.module.scss | 2 +- src/components/MethodReference.module.scss | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/src/components/ConstantReference.module.scss b/src/components/ConstantReference.module.scss index 371c3175b..e9d09f331 100644 --- a/src/components/ConstantReference.module.scss +++ b/src/components/ConstantReference.module.scss @@ -1,5 +1,5 @@ .container { - color: var(--color-neutrals-600); + color: var(--secondary-text-color); font-size: 0.875rem; &:not(:last-child) { diff --git a/src/components/MethodReference.module.scss b/src/components/MethodReference.module.scss index 033a471d0..01b6f7e10 100644 --- a/src/components/MethodReference.module.scss +++ b/src/components/MethodReference.module.scss @@ -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 {