From ed307425b51f06427c02b3e6bf6b24b50c9f0443 Mon Sep 17 00:00:00 2001 From: Adam Kudrna Date: Tue, 20 Dec 2022 19:30:51 +0100 Subject: [PATCH] Chore: Improve file name of the CSS theme map --- src/scss/index.scss | 2 +- src/scss/theme/_default-to-vanilla.scss | 6 ++++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/src/scss/index.scss b/src/scss/index.scss index a1f3b37c..c9a672f8 100644 --- a/src/scss/index.scss +++ b/src/scss/index.scss @@ -1,7 +1,7 @@ // Order matters, do not alter. @forward 'theme/default'; -@forward 'theme/vanilla'; +@forward 'theme/default-to-vanilla'; @forward 'style/typography'; @forward 'style/links'; @forward 'style/buttons'; diff --git a/src/scss/theme/_default-to-vanilla.scss b/src/scss/theme/_default-to-vanilla.scss index e512cabd..58d5d109 100644 --- a/src/scss/theme/_default-to-vanilla.scss +++ b/src/scss/theme/_default-to-vanilla.scss @@ -3,6 +3,8 @@ // // Assignment below is applied through `.cc_div` instead of `:root`, so it works for both light and // dark theme. +// +// 1. We don't want to style scrollbars at this moment, but let's keep the options here to know they are still available. .cc_div { --cc-bg: var(--lmcccm-p-bg); @@ -24,6 +26,6 @@ --cc-section-border: var(--lmcccm-p-modal-section-border); --cc-cookie-table-border: var(--lmcccm-p-cookie-table-border); --cc-overlay-bg: var(--lmcccm-p-backdrop-color); - //--cc-webkit-scrollbar-bg: #cfd5db; - //--cc-webkit-scrollbar-bg-hover: #9199a0; + // --cc-webkit-scrollbar-bg: #cfd5db; // 1. + // --cc-webkit-scrollbar-bg-hover: #9199a0; // 1. }