diff --git a/README.md b/README.md index cf724e5..9c390a9 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,6 @@ ## Other my plugins/themes * 🪓 [Awesome UI](https://github.com/yoyurec/logseq-awesome-ui) +* 📝 [Awesome Content](https://github.com/yoyurec/logseq-awesome-content) * 📋 [Awesome Props](https://github.com/yoyurec/logseq-awesome-props) * ⭐ [Awesome Links](https://github.com/yoyurec/logseq-awesome-links) * ✨ [Tabler picker](https://github.com/yoyurec/logseq-tabler-picker) diff --git a/src/modules/content/content.css b/src/modules/content/content.css index b463afb..7b8735a 100644 --- a/src/modules/content/content.css +++ b/src/modules/content/content.css @@ -170,25 +170,11 @@ td { */ :not(pre):not(mark)>code { padding: 2px 5px !important; - border: 2px dotted var(--ls-border-color); + border: 1px solid var(--ls-border-color); font-family: var(--awSt-code-font); font-size: calc(var(--awSt-content-font-size) - 2px); font-variant-ligatures: contextual; } -.CodeMirror { - font-family: var(--awSt-code-font); - line-height: 1.4em; -} -.cm-s-solarized.cm-s-light, -.cm-s-solarized.cm-s-dark { - text-shadow: none; -} -.extensions__code { - border: 1px dashed var(--ls-border-color); -} -.extensions__code .code-editor { - margin-top: 0; -} .cm-s-solarized.cm-s-light, .cm-s-solarized.cm-s-dark { color: var(--ls-page-inline-code-color); @@ -209,10 +195,8 @@ td { <<<< END: Code */ +/* TODO: add flashcard vars */ div[data-refs-self*='"card"'] { background-color: var(--awSt-flashcard-bg); } -.mermaid svg { - border: 2px dotted var(--ls-border-color); -} diff --git a/src/settings/modalObserver.ts b/src/settings/modalObserver.ts index 0c6575c..55edef4 100644 --- a/src/settings/modalObserver.ts +++ b/src/settings/modalObserver.ts @@ -43,7 +43,7 @@ const modalCallback: MutationCallback = (mutationsList) => { body.dataset[globals.isAwStSettingsPopupOpenedAttr] = ''; setTimeout(() => { tweakPluginSettings(); - }, 1000); + }, 500); } } if (removedNode && removedNode.childNodes.length) { @@ -88,7 +88,7 @@ const subModalCallback: MutationCallback = (mutationsList) => { // "Settings -> Plugins -> AwesomeStyler" OR "Plugins -> AwesomeStyler -> Settings" setTimeout(() => { tweakPluginSettings(); - }, 1000); + }, 500); } } }