Skip to content

Commit

Permalink
fix bugs for new version
Browse files Browse the repository at this point in the history
  • Loading branch information
Sansui233 committed May 10, 2022
1 parent 01d92b3 commit ce46224
Show file tree
Hide file tree
Showing 6 changed files with 24 additions and 16 deletions.
18 changes: 11 additions & 7 deletions custom.css
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ html[data-theme=dark] {
--ls-block-bullet-color: #ffffff1c;
--ls-block-highlight-color: #fbfbfb23;
--ls-selection-background-color: #64b4ff81;
--ls-page-checkbox-color: #935c62;
--ls-page-checkbox-color: #588eac;
--ls-page-checkbox-border-color: var(--ls-primary-background-color);
--ls-page-blockquote-border-color: var(--ls-primary-text-color);
--ls-page-inline-code-color: #eb5757;
Expand Down Expand Up @@ -416,6 +416,7 @@ html ::-webkit-scrollbar-thumb:hover {
transform: scale(1.1);
position: relative;
margin-top: unset !important;
margin-left: 0.1em;
}
.content .marker-switch {
opacity: 0.7;
Expand Down Expand Up @@ -633,11 +634,11 @@ svg.add-button > .circle {
border-bottom-color: #53d2d280;
}
.dark-theme .content .marker-switch {
color: #b5a7a7;
background: #52373a;
color: var(--ls-primary-text-color);
background: #545454;
}
.dark-theme .content .marker-switch:hover {
background: #5d3e41;
background: #6e6e6e;
}
.dark-theme .content svg.add-button > .circle {
fill: var(--ls-block-bullet-color, #394b59);
Expand Down Expand Up @@ -675,12 +676,15 @@ svg.add-button > .circle {
display: block;
background-color: var(--ls-codeblock-background-color);
}
.extensions__code > div {
margin-top: 0.3rem;
.extensions__code .code-editor {
margin: 0.5rem 0;
}
.extensions__code .extensions__code-lang {
margin-right: 5px;
margin-right: 7px;
margin-top: 3px;
padding: unset;
background-color: unset;
opacity: 0.6;
}
.extensions__code textarea {
color: var(--ls-primary-text-color);
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "logseq-bonofix-theme",
"version": "3.6.3",
"logseq-version": "v0.6.3",
"version": "3.6.4",
"logseq-version": "v0.6.8",
"author": "Sansui233",
"description": "A clean theme for Logseq, focusing on long time writing experience.",
"main": "source/index.sass",
Expand Down
9 changes: 6 additions & 3 deletions source/codeMirror.scss
Original file line number Diff line number Diff line change
Expand Up @@ -28,12 +28,15 @@
.extensions__code {
display: block;
background-color: var(--ls-codeblock-background-color);
& > div {
margin-top: 0.3rem;
.code-editor {
margin: .5rem 0;
}
.extensions__code-lang {
margin-right: 5px;
margin-right: 7px;
margin-top: 3px;
padding: unset;
background-color: unset;
opacity: .6;
}
textarea {
color: var(--ls-primary-text-color);
Expand Down
2 changes: 1 addition & 1 deletion source/color-scheme.scss
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ html[data-theme="dark"] {
--ls-block-bullet-color: #ffffff1c;
--ls-block-highlight-color: #fbfbfb23;
--ls-selection-background-color: #64b4ff81;
--ls-page-checkbox-color: #935c62;
--ls-page-checkbox-color: #588eac;
--ls-page-checkbox-border-color: var(--ls-primary-background-color);
--ls-page-blockquote-border-color: var(--ls-primary-text-color);
--ls-page-inline-code-color: #eb5757;
Expand Down
6 changes: 3 additions & 3 deletions source/theme-dark.scss
Original file line number Diff line number Diff line change
Expand Up @@ -77,10 +77,10 @@
border-bottom-color: #53d2d280;
}
.marker-switch {
color: #b5a7a7;
background: #52373a;
color: var(--ls-primary-text-color);
background: #545454;
&:hover {
background: #5d3e41;
background: #6e6e6e;
}
}
svg.add-button>.circle {
Expand Down
1 change: 1 addition & 0 deletions source/theme.scss
Original file line number Diff line number Diff line change
Expand Up @@ -318,6 +318,7 @@ html ::-webkit-scrollbar-thumb:hover {
transform: scale(1.1);
position: relative;
margin-top: unset !important;
margin-left: 0.1em;
}
.marker-switch {
opacity: 0.7;
Expand Down

0 comments on commit ce46224

Please sign in to comment.