From a26b86a2f5c54f24a15db422c7985a95d3819412 Mon Sep 17 00:00:00 2001 From: semantic-release-bot Date: Wed, 21 Jul 2021 15:47:18 +0000 Subject: [PATCH] chore(release): 1.12.0 [skip ci] # [1.12.0](https://github.com/pengx17/logseq-dev-theme/compare/v1.11.0...v1.12.0) (2021-07-21) ### Features * use source sans instead of noto for default fonts ([46463c8](https://github.com/pengx17/logseq-dev-theme/commit/46463c8348bb561c7662fa2609565e73bfde30a3)) --- CHANGELOG.md | 7 +++++++ custom.css | 29 +++++++++++++++++------------ package.json | 2 +- 3 files changed, 25 insertions(+), 13 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 8ca48a2..9e8af11 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,10 @@ +# [1.12.0](https://github.com/pengx17/logseq-dev-theme/compare/v1.11.0...v1.12.0) (2021-07-21) + + +### Features + +* use source sans instead of noto for default fonts ([46463c8](https://github.com/pengx17/logseq-dev-theme/commit/46463c8348bb561c7662fa2609565e73bfde30a3)) + # [1.11.0](https://github.com/pengx17/logseq-dev-theme/compare/v1.10.12...v1.11.0) (2021-07-21) diff --git a/custom.css b/custom.css index ac4876c..0c75ca9 100644 --- a/custom.css +++ b/custom.css @@ -1,16 +1,21 @@ @charset "UTF-8"; -@import url("https://fonts.googleapis.com/css2?family=Fira+Code&family=Noto+Sans+SC:wght@400;500;700;900&family=Noto+Sans:ital,wght@0,400;0,700;1,400;1,700&display=swap"); +@import url("https://fonts.googleapis.com/css2?family=Fira+Code"); +@import url("https://cdn.jsdelivr.net/gh/adobe-fonts/source-sans@3.046R/source-sans-3VF.css"); +@font-face { + font-family: "Source Han Sans VF"; + font-weight: 200 900; + font-style: normal; + font-stretch: normal; + src: url("https://cdn.jsdelivr.net/gh/adobe-fonts/source-han-sans@2.003R/Variable/Subset/SourceHanSansCN-VF.otf"); +} :root { - --ct-text-size: 15px; + --ct-text-size: 16px; --ct-line-height: 1.5; - --ls-font-family: "Noto Sans", "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-page-title-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"; + --ls-font-family: "Source Sans 3 VF", "Source Han Sans VF", 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-page-title-font-family: var(--ls-font-family); --ct-code-font-family: "Fira Code", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace; } @@ -515,7 +520,7 @@ div.items-center::after, content: ""; top: 1em; bottom: 0; - left: -16px; + left: -17px; position: absolute; border-left: 2px solid transparent; } @@ -596,7 +601,6 @@ div.items-center::after, /* lists */ ol > li::marker { - font-family: Asap; font-weight: 600; font-variant-numeric: tabular-nums; } @@ -617,6 +621,7 @@ ol > li::marker { b, strong { color: var(--ct-bold-color); + font-weight: 600; } /* External links */ diff --git a/package.json b/package.json index d8e72e6..8bca757 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "logseq-dev-theme", "author": "pengx17", - "version": "1.11.0", + "version": "1.12.0", "description": "A custom theme for dev", "logseq": { "themes": [