From 069b54ca57d069434b3c1dec55c7dd5f9a0f3cdc Mon Sep 17 00:00:00 2001 From: semantic-release-bot Date: Tue, 20 Jul 2021 08:41:29 +0000 Subject: [PATCH] chore(release): 1.10.0 [skip ci] # [1.10.0](https://github.com/pengx17/logseq-dev-theme/compare/v1.9.2...v1.10.0) (2021-07-20) ### Features * use Noto fonts globally ([45c84b7](https://github.com/pengx17/logseq-dev-theme/commit/45c84b7ddf3c3ed70a68dfc77b9a981cb567ab72)) --- CHANGELOG.md | 7 +++++++ custom.css | 25 +++++++++++++------------ package.json | 2 +- 3 files changed, 21 insertions(+), 13 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index ea9468a..0750a10 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,10 @@ +# [1.10.0](https://github.com/pengx17/logseq-dev-theme/compare/v1.9.2...v1.10.0) (2021-07-20) + + +### Features + +* use Noto fonts globally ([45c84b7](https://github.com/pengx17/logseq-dev-theme/commit/45c84b7ddf3c3ed70a68dfc77b9a981cb567ab72)) + ## [1.9.2](https://github.com/pengx17/logseq-dev-theme/compare/v1.9.1...v1.9.2) (2021-07-20) diff --git a/custom.css b/custom.css index edf22fc..59f3129 100644 --- a/custom.css +++ b/custom.css @@ -1,16 +1,17 @@ @charset "UTF-8"; -@import url("https://cdn.jsdelivr.net/gh/tonsky/FiraCode@5.2/distr/fira_code.css"); -@import url(https://fonts.googleapis.com/css2?family=Overpass:ital,wght@0,100;0,200;0,300;0,400;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,600;1,700;1,800;1,900&display=swap); -@import url("https://fonts.googleapis.com/css2?family=Asap:ital,wght@0,100;0,200;0,300;0,400;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,600;1,700;1,800;1,900&display=swap"); -@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+SC:wght@100;300;400;500;700;900&display=swap"); +@import url("https://fonts.googleapis.com/css2?family=Fira+Code:wght@300;400;500;600;700&family=Noto+Sans+SC:wght@100;300;400;500;700;900&family=Noto+Serif+SC:wght@200;300;400;500;600;700;900&display=swap"); :root { - --ct-page-title-font-family: Asap, "Noto Sans SC", sans-serif; --ct-text-size: 16px; --ct-line-height: 1.5; - --ls-font-family: "Noto Sans SC", sans-serif; + --ct-page-title-font-family: "Noto Serif SC", ui-serif, Georgia, Cambria, + "Times New Roman", Times, serif; + --ls-font-family: "Noto Sans SC", ui-sans-serif, system-ui, -apple-system, + BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", + sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", + "Noto Color Emoji"; + --ct-code-font-family: "Fira Code", ui-monospace, SFMono-Regular, Menlo, + Monaco, Consolas, "Liberation Mono", "Courier New", monospace; --ct-background: var(--ls-primary-background-color); - --ct-code-font-family: "Fira Code", Monaco, Menlo, Consolas, "COURIER NEW", - monospace; --ct-inline-code-font-size: 0.8em; --ct-inline-code-font-style: inherit; --ct-inline-code-border-radius: 2px; @@ -48,10 +49,6 @@ body { -webkit-font-smoothing: auto; } -:root.is-mac { - --ls-font-family: Overpass, "Noto Sans SC", sans-serif; -} - :root.is-mac.is-electron { --ct-header-height: 48px; } @@ -118,6 +115,10 @@ body { background: var(--ls-primary-background-color); } +#main-content-container { + margin-top: var(--ct-header-height) !important; +} + .page { margin-top: 0; } diff --git a/package.json b/package.json index d4939d6..877944c 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "logseq-dev-theme", "author": "pengx17", - "version": "1.9.2", + "version": "1.10.0", "description": "A custom theme for dev", "logseq": { "themes": [