Skip to content

Commit 9c6cdb3

Browse files
committed
Fix CSS var & tweak theme
1 parent 0541189 commit 9c6cdb3

File tree

6 files changed

+160
-82
lines changed

6 files changed

+160
-82
lines changed

dist/bundle.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/main.css

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/bundle.js

Lines changed: 147 additions & 72 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/main.css

Lines changed: 5 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/ToolbarPlugin.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -524,7 +524,6 @@ export class ToolbarPlugin extends Plugin {
524524
const hasMod = e.metaKey;
525525
const hasShift = e.shiftKey;
526526

527-
console.log('e.key', e.key);
528527
if (hasCtrl && e.key === '.') {
529528
indentListSelection(this.view.state, this.view.dispatch);
530529
return true;

src/styles.css

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,12 @@ body {
1616
--default-item-gap: 5px;
1717
--default-checkbox-gap: 8px;
1818
--text-color: rgba(0, 0, 0, 0.9);
19-
--h3-text-color: rgba(0, 0, 0, 0.7);
20-
color: var(--sn-stylekit-foreground-color, var(--text-color));
19+
--h3-text-color: var(--sn-stylekit-paragraph-text-color, rgba(0, 0, 0, 0.7));
20+
color: var(--sn-stylekit-paragraph-text-color, var(--text-color));
2121
font-size: var(--base-font-size);
2222
font-family: var(--ff-serif), serif;
23+
scrollbar-color: var(--sn-stylekit-scrollbar-color, #ccc)
24+
var(--sn-stylekit-background-color, white);
2325
}
2426

2527
@media only screen and (max-width: 720px) {

0 commit comments

Comments
 (0)