From 1cf3dd7a25d393eeb3fb79a570ee071e7c9e4a68 Mon Sep 17 00:00:00 2001 From: Gleb Voitenko Date: Tue, 29 Oct 2024 13:54:05 +0300 Subject: [PATCH] feat: add dark theme overides --- src/scss/_dark.scss | 9 +++++++++ src/scss/base.scss | 1 + 2 files changed, 10 insertions(+) create mode 100644 src/scss/_dark.scss diff --git a/src/scss/_dark.scss b/src/scss/_dark.scss new file mode 100644 index 00000000..31efc887 --- /dev/null +++ b/src/scss/_dark.scss @@ -0,0 +1,9 @@ +.g-root_theme_dark .dc-doc-page .yfm { + .yfm-cut-title:before { + background-image: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxNiAxNiI+PHBhdGggc3Ryb2tlPSJyZ2JhKDI1NSwgMjU1LCAyNTUsIDAuNykiIGZpbGw9Im5vbmUiIGQ9Ik0zIDZsNSA1IDUtNSI+PC9wYXRoPjwvc3ZnPg=='); + } + + .yfm-tabs-dropdown-select:after { + background-image: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxNiAxNiI+PHBhdGggc3Ryb2tlPSJyZ2JhKDI1NSwgMjU1LCAyNTUsIDAuNykiIGZpbGw9Im5vbmUiIGQ9Ik0zIDZsNSA1IDUtNSI+PC9wYXRoPjwvc3ZnPg=='); + } +} diff --git a/src/scss/base.scss b/src/scss/base.scss index d865c1fc..7c1e74a2 100644 --- a/src/scss/base.scss +++ b/src/scss/base.scss @@ -2,3 +2,4 @@ @import 'anchor'; @import 'highlight'; @import 'code'; +@import '_dark';