From 208f0da626018891817c42f918b94245c46b8e14 Mon Sep 17 00:00:00 2001 From: deadit Date: Mon, 26 Sep 2022 11:41:39 +0300 Subject: [PATCH] fix faq colours --- styles/globals.scss | 68 ++++++++++++++++++++++++++++++++++++++++++--- 1 file changed, 64 insertions(+), 4 deletions(-) diff --git a/styles/globals.scss b/styles/globals.scss index f248869..63f925b 100644 --- a/styles/globals.scss +++ b/styles/globals.scss @@ -345,13 +345,73 @@ footer .faq-answer { margin-top: 40px; -} -.faq-answer p { - color: #585858; + color:black; + + h1, + h2, + h3, + h4, + .font-subtitle-1, + .font-subtitle-2, + .font-subtitle-3, + .font-subtitle-3-uppercase, + .font-subtitle-3-bold, + .font-subtitle-3-regular, + .font-subtitle-4, + p, + li, + code, + .font-body-2-bold, + .font-body-2-regular, + .font-button, + .font-button-bold, + .font-button-regular { + color: black; + } + + code { + background-color: rgb(255 94 24 / 1); + color: white; + } + + p { + margin-bottom: 16px; + } + + li { + margin-bottom: 16px; + } + + a { + --tw-text-opacity: 1; + color: rgb(255 94 24 / var(--tw-text-opacity)); + } } .dark .faq-answer { - color: #807e7e; + color: white; + + h1, + h2, + h3, + h4, + .font-subtitle-1, + .font-subtitle-2, + .font-subtitle-3, + .font-subtitle-3-uppercase, + .font-subtitle-3-bold, + .font-subtitle-3-regular, + .font-subtitle-4, + p, + li, + code, + .font-body-2-bold, + .font-body-2-regular, + .font-button, + .font-button-bold, + .font-button-regular { + color: white; + } } @layer utilities {