Skip to content

Commit

Permalink
fix: some dark mode style problems
Browse files Browse the repository at this point in the history
  • Loading branch information
ineo6 committed Dec 16, 2021
1 parent bf8131b commit a79ea93
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions src/ContentScript/theme/app.less
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,11 @@

.gm-default-theme-github,
.gm-default-theme-gist {
--color-page-header-bg: @bg-color !important;
--color-canvas-default: @block-bg !important;
--color-canvas-inset: @bg-color !important;
--color-canvas-subtle: @block-bg !important;

@import '@{theme-path}/layout.less';
@import '@{theme-path}/elements.less';
@import '@{theme-path}/code.less';
Expand All @@ -24,6 +29,11 @@
@import '@{theme-path}/alert.less';
@import '@{theme-path}/license.less';
@import '@{theme-path}/override.less';

//fix
.hx_page-header-bg {
background-color: @bg-color !important;
}
}

.gm-default-theme-for-sidebar {
Expand Down

0 comments on commit a79ea93

Please sign in to comment.