From c1d59b437624e405c8ece390a21127460b900feb Mon Sep 17 00:00:00 2001 From: "stanislava.kopalova" Date: Fri, 28 Jun 2024 00:06:45 +0200 Subject: [PATCH 1/2] adding better dark theme --- website/src/css/custom.css | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/website/src/css/custom.css b/website/src/css/custom.css index 97b2064645..fae90b3ae8 100755 --- a/website/src/css/custom.css +++ b/website/src/css/custom.css @@ -66,7 +66,7 @@ --ifm-color-primary-lighter: #cc8ffc; --ifm-color-primary-lightest: #fcf2ff; - --ifm-blockquote-color: #ecf4f9; + --ifm-blockquote-color: #b4b8bd; --ifm-blockquote-color-dark: #6d1cac; --blockquote-text-color: black; } @@ -119,7 +119,7 @@ div[class*='codeBlockTitle'] { code { background-color: var(--ifm-color-emphasis-300); border-radius: 0.2rem; - color: var(--ifm-color-content); + color: var(--ifm-blockquote-color); } a code, From f58e04d4710da2e3b6947abb081238cafd3f1773 Mon Sep 17 00:00:00 2001 From: "stanislava.kopalova" Date: Fri, 28 Jun 2024 07:23:07 +0200 Subject: [PATCH 2/2] fix light theme --- website/src/css/custom.css | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/website/src/css/custom.css b/website/src/css/custom.css index fae90b3ae8..6efb7bee99 100755 --- a/website/src/css/custom.css +++ b/website/src/css/custom.css @@ -27,6 +27,7 @@ --ifm-tabs-padding-horizontal: 0.4rem; --ifm-pre-background: rgb(39, 40, 34); + --ifm-color-content: black; --ifm-alert-color: black; --ra-admonition-color: #ecf4f9; @@ -65,8 +66,8 @@ --ifm-color-primary-light: #b97cfd; --ifm-color-primary-lighter: #cc8ffc; --ifm-color-primary-lightest: #fcf2ff; - - --ifm-blockquote-color: #b4b8bd; + --ifm-color-content: #c4c9ce; + --ifm-blockquote-color: #c4c9ce; --ifm-blockquote-color-dark: #6d1cac; --blockquote-text-color: black; } @@ -119,7 +120,7 @@ div[class*='codeBlockTitle'] { code { background-color: var(--ifm-color-emphasis-300); border-radius: 0.2rem; - color: var(--ifm-blockquote-color); + color: var(--ifm-color-content); } a code,