From 025cc21bf58ed4f860a2a71249107cf235bf271e Mon Sep 17 00:00:00 2001 From: trean Date: Wed, 4 Dec 2024 15:56:39 +0100 Subject: [PATCH] light theme fix --- .../documentation/_docs-articles-posts.scss | 22 ++++++++++++++++++ .../documentation/_documentation-article.scss | 23 ++++++++++++++++++- .../documentation/_documentation-menu.scss | 11 +++++++++ 3 files changed, 55 insertions(+), 1 deletion(-) diff --git a/qdrant-landing/themes/qdrant-2024/assets/css/partials/documentation/_docs-articles-posts.scss b/qdrant-landing/themes/qdrant-2024/assets/css/partials/documentation/_docs-articles-posts.scss index f9e8a344d..428b0ea2f 100644 --- a/qdrant-landing/themes/qdrant-2024/assets/css/partials/documentation/_docs-articles-posts.scss +++ b/qdrant-landing/themes/qdrant-2024/assets/css/partials/documentation/_docs-articles-posts.scss @@ -73,6 +73,18 @@ line-height: pxToRem(21); color: $neutral-50; } + [data-theme="light"] & { + &-about { + color: $neutral-30; + } + &-title { + color: $neutral-30; + } + &-description { + color: $neutral-50; + font-weight: 400; + } + } } .post-sm { @@ -109,4 +121,14 @@ } } } + + [data-theme="light"] & { + &__title { + color: $neutral-30; + } + &__description { + color: $neutral-50; + font-weight: 400; + } + } } diff --git a/qdrant-landing/themes/qdrant-2024/assets/css/partials/documentation/_documentation-article.scss b/qdrant-landing/themes/qdrant-2024/assets/css/partials/documentation/_documentation-article.scss index 05a141f0e..cae108701 100644 --- a/qdrant-landing/themes/qdrant-2024/assets/css/partials/documentation/_documentation-article.scss +++ b/qdrant-landing/themes/qdrant-2024/assets/css/partials/documentation/_documentation-article.scss @@ -14,7 +14,13 @@ gap: $spacer * 0.5; margin-bottom: $spacer; padding: $spacer * 0.5 0; - color: $neutral-70 + color: $neutral-70; + &:hover { + color: $neutral-90; + svg path { + stroke: $neutral-90; + } + } } .documentation-article__header-title { @@ -138,5 +144,20 @@ @extend .table-light; } } + &__header-link { + color: $neutral-50; + svg path { + stroke: $neutral-50; + } + &:hover { + color: $neutral-30; + svg path { + stroke: $neutral-30; + } + } + } + &__header-about { + color: $neutral-50; + } } } diff --git a/qdrant-landing/themes/qdrant-2024/assets/css/partials/documentation/_documentation-menu.scss b/qdrant-landing/themes/qdrant-2024/assets/css/partials/documentation/_documentation-menu.scss index ad27edf7a..361fe48ca 100644 --- a/qdrant-landing/themes/qdrant-2024/assets/css/partials/documentation/_documentation-menu.scss +++ b/qdrant-landing/themes/qdrant-2024/assets/css/partials/documentation/_documentation-menu.scss @@ -375,5 +375,16 @@ } } } + &__articles-link { + &.active { + background-color: $neutral-90; + border-radius: $spacer * 0.5; + + a { + color: $neutral-30; + font-weight: bold; + } + } + } } }