Skip to content

Commit

Permalink
chore(theme-default): tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
Mister-Hope committed Feb 20, 2024
1 parent 3a6e00b commit 08e25dd
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 7 deletions.
7 changes: 7 additions & 0 deletions themes/theme-default/src/client/styles/vars-dark.scss
Original file line number Diff line number Diff line change
Expand Up @@ -66,3 +66,10 @@ html.dark .DocSearch {
--docsearch-footer-shadow: inset 0 1px 0 0 rgba(73, 76, 106, 0.5),
0 -4px 8px 0 rgba(0, 0, 0, 0.2);
}

// plugin-pwa
html.dark body {
--pwa-shadow-color: rgb(0 0 0 / 30%);
--pwa-content-color: #ccc;
--pwa-content-light-color: #999;
}
8 changes: 1 addition & 7 deletions themes/theme-default/src/client/styles/vars.scss
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ body {
}

// plugin-pwa-popup
html {
body {
--pwa-text-color: var(--c-text);
--pwa-bg-color: var(--c-bg);
--pwa-border-color: var(--c-brand);
Expand All @@ -158,12 +158,6 @@ html {
--pwa-btn-hover-bg-color: var(--c-brand-light);
}

html.dark {
--pwa-shadow-color: rgb(0 0 0 / 30%);
--pwa-content-color: #ccc;
--pwa-content-light-color: #999;
}

// plugin-redirect
.language-modal-mask {
--redirect-bg-color: var(--c-bg);
Expand Down

0 comments on commit 08e25dd

Please sign in to comment.