Skip to content

Commit

Permalink
Chore: Improve file name of the CSS theme map
Browse files Browse the repository at this point in the history
  • Loading branch information
adamkudrna authored and OndraM committed Dec 22, 2022
1 parent e23431a commit ed30742
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/scss/index.scss
Original file line number Diff line number Diff line change
@@ -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';
Expand Down
6 changes: 4 additions & 2 deletions src/scss/theme/_default-to-vanilla.scss
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand All @@ -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.
}

0 comments on commit ed30742

Please sign in to comment.