-
Notifications
You must be signed in to change notification settings - Fork 62
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Change-Id: Ie44f0786aec1b61a498147d822a2b330bfe07a67
- Loading branch information
elonz
committed
Nov 21, 2021
1 parent
5588153
commit 1115ba8
Showing
5 changed files
with
128 additions
and
32 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,83 @@ | ||
/** | ||
* 每次新增一个 typora 主题文件,都需要在这里新增一项,字段包括: | ||
* - file: 文件名 | ||
* - mode(可选): "dark",是否是深色主题 | ||
*/ | ||
|
||
const themes = { | ||
ayu: { file: "typora-ayu.scss" }, | ||
"ayu-mirage": { | ||
file: "typora-ayu-mirage.scss", | ||
mode: "dark", | ||
}, | ||
charcoal: { | ||
file: "typora-charcoal.scss", | ||
mode: "dark", | ||
}, // Night Text Theme | ||
cobalt: { | ||
file: "typora-cobalt.scss", | ||
mode: "dark", | ||
}, | ||
contrast: { file: "typora-contrast.scss" }, | ||
"d-boring": { | ||
file: "typora-d-boring.scss", | ||
}, | ||
"dark-graphite": { | ||
file: "typora-dark-graphite.scss", | ||
mode: "dark", | ||
}, | ||
dieci: { | ||
file: "typora-dieci.scss", | ||
mode: "dark", | ||
}, | ||
dracula: { | ||
file: "typora-dracula.scss", | ||
mode: "dark", | ||
}, | ||
"duotone-heat": { | ||
file: "typora-duotone-heat.scss", | ||
}, | ||
"duotone-light": { | ||
file: "typora-duotone-light.scss", | ||
}, | ||
gandalf: { file: "typora-gandalf.scss" }, | ||
gotham: { | ||
file: "typora-gotham.scss", | ||
mode: "dark", | ||
}, | ||
lighthouse: { | ||
file: "mweb-lighthouse.scss", | ||
mode: "dark", | ||
}, | ||
lark: { file: "typora-lark.scss" }, | ||
"lark-bold-color": { | ||
file: "typora-lark-bold-color.scss", | ||
}, | ||
nord: { | ||
file: "typora-nord.scss", | ||
mode: "dark", | ||
}, | ||
"olive-dunk": { | ||
file: "typora-olive-dunk.scss", | ||
}, | ||
panic: { | ||
file: "typora-panic.scss", | ||
mode: "dark", | ||
}, | ||
"red-graphite": { | ||
file: "typora-red-graphite.scss", | ||
}, | ||
"solarized-dark": { | ||
file: "typora-solarized-dark.scss", | ||
mode: "dark", | ||
}, | ||
"solarized-light": { | ||
file: "typora-solarized-light.scss", | ||
}, | ||
toothpaste: { | ||
file: "typora-toothpaste.scss", | ||
mode: "dark", | ||
}, | ||
}; | ||
|
||
module.exports = themes; |