Skip to content

Commit

Permalink
feat: embed maple mono update & font feature
Browse files Browse the repository at this point in the history
  • Loading branch information
subframe7536 committed Jan 7, 2023
1 parent e712c4d commit 3af4364
Show file tree
Hide file tree
Showing 7 changed files with 571 additions and 102 deletions.
2 changes: 1 addition & 1 deletion manifest.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "Maple",
"version": "0.3.1",
"version": "0.3.2",
"minAppVersion": "1.0.0",
"author": "subframe7536",
"authorUrl": "https://github.com/subframe7536"
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "maple",
"version": "0.3.1",
"version": "0.3.2",
"description": "Maple —— A Obsidian Theme",
"scripts": {
"dev": "sass --watch snippets:vault/.obsidian/snippets --no-source-map --update",
Expand Down
6 changes: 2 additions & 4 deletions snippets/css/fonts.css

Large diffs are not rendered by default.

11 changes: 9 additions & 2 deletions snippets/css/style-setting.css
Original file line number Diff line number Diff line change
Expand Up @@ -256,7 +256,6 @@ settings:
description.zh: 显示会过长
type: class-toggle
default: true
-
id: tab
title: tab
Expand Down Expand Up @@ -359,7 +358,7 @@ settings:
title: set modal header title
title.zh: 设置面板标题
type: variable-text
default: "'maple 0.3.1'"
default: "'maple 0.3.2'"
-
id: setting-group-title
title: add style for left navigation group title
Expand Down Expand Up @@ -490,6 +489,14 @@ settings:
description.zh: https://github.com/subframe7536/Maple-font
type: class-toggle
default: true
-
id: seting-font-feature
title: monospace font feature
description: https://github.com/subframe7536/Maple-font
title.zh: 等宽字体字体特性
description.zh: https://github.com/subframe7536/Maple-font
type: variable-text
default: "'calt'"
-
id: font-fix-latex
title: fix latex italic absent
Expand Down
1 change: 1 addition & 0 deletions snippets/editor/base.scss
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ body.font-maple {

code {
font-family: var(--font-monospace);
font-feature-settings: var(--setting-font-feature, "calt");
}

/* ====== 光标 ====== */
Expand Down
2 changes: 1 addition & 1 deletion snippets/workspace/modal.scss
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ body.modal-header .modal-container {
container-type: inline-size;

&::before {
content: var(--setting-header-title, 'maple 0.3.1');
content: var(--setting-header-title, 'maple 0.3.2');
position: absolute;
left: 50%;
top: var(--size-4-6);
Expand Down
649 changes: 556 additions & 93 deletions theme.css

Large diffs are not rendered by default.

0 comments on commit 3af4364

Please sign in to comment.