Skip to content

Commit fc46124

Browse files
author
yoghurtlee-thu
committed
initial commit
0 parents  commit fc46124

11 files changed

+1073
-0
lines changed

LICENSE

+21
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
MIT License
2+
3+
Copyright (c) 2024 yoghurtlee-thu
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.

README.md

+67
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,67 @@
1+
<p align="right"> 简体中文</p>
2+
<h1 align="center">Typora Theme - Marble</h1>
3+
<p align="center">一款简约柔和的 Typora 主题</p>
4+
<div align="center">
5+
</div>
6+
7+
## 简介
8+
9+
我一直很喜欢 Typora 的[Lapis主题](https://github.com/YiNNx/typora-theme-lapis),最近闲来无事时打开 Lapis 的 CSS 文件,把字体改成了我最喜欢的霞鹜文楷。突然想到,既然要改,那为什么不改得彻底一点?
10+
11+
于是,鼓捣了一晚上之后,就有了这个主题。
12+
13+
我本身不会 CSS (是的你没听错,我完全不会 CSS),主题 CSS 文件基本上是对 Lapis 的魔改。而我本身很喜欢比较自然的配色,因此参考 Lapis(天青石),将这个主题命名为 Marble(大理石)。
14+
15+
## 预览
16+
17+
这里是一份预览图片。
18+
19+
<img src="imgs/img1.webp" width="80%" />
20+
21+
## 特点
22+
23+
### 字体与配色
24+
25+
Marble 主题支持英文和简体中文,正文字体中文使用[霞鹜文楷](https://github.com/lxgw/LxgwWenKai),英文使用[Cantarell](https://fonts.google.com/specimen/Cantarell)
26+
27+
Marble 主题采用自然柔和的主题配色。背景颜色为大理石色,文字颜色为深灰色,块元素的背景颜色为略深于背景的灰色。
28+
29+
### 代码块
30+
31+
代码字体使用 [Jetbrains Mono](https://www.jetbrains.com/lp/mono/)。代码块配色主要基于 Lapis 主题,使用了一些矿石的颜色进行修改,例如玫瑰石膏、青金石、蓝宝石、白垩石、黄铁矿和绿松石等。由于我并不熟悉前端开发加之审美水平有限,可能不是很好看,欢迎大家提出修改意见。
32+
33+
## 安装
34+
35+
目前主题在 [Github](https://github.com/yoghurtlee-thu/typora-theme-marble)[Gitee](https://gitee.com/yoghurtlee-thu/typora-theme-marble) 均有开源,大家可以自行选择下载源。
36+
37+
1. Clone 此仓库,或从 Latest Release 中下载 `typora-theme-marble.zip`并解压。
38+
2. 打开 Typora 菜单的主题部分,点击“打开主题文件夹”按钮。
39+
3.`marble.css` 文件和 `marble` 文件夹复制到 Typora 的主题文件夹中。
40+
4. 重启 Typora,然后从主题列表中选择 **Marble** 即可。
41+
42+
## To-Do List
43+
44+
- [ ] 黑暗模式支持
45+
- [ ] 优化主题配色,更加真实地做出矿石的感觉
46+
- [ ] 优化代码配色
47+
- [ ] 参考其他优秀主题进行样式改良
48+
- [ ] 将主题提交至 Typora 主题商店
49+
- [ ] ……
50+
51+
## 贡献
52+
53+
本主题最初仅供个人使用,主题样式基于作者个人的喜好进行调整;同时本主题完全基于 Windows 11 23H2 系统编写,未在其他系统进行测试,因此在 MacOS 和 Linux 上可能存在未知的样式问题。
54+
55+
由于作者暂时没有主题维护能力,因此对于出现的问题仅能保证尽力修复。若有社区大佬愿意出手相助,不胜感激(合十)。
56+
57+
欢迎您在 Github/Gitee 提出 Issue/Pull Request。您也可以通过邮件chlorine3545@163.com联系我,感谢您宝贵的意见和建议。
58+
59+
## 致谢
60+
61+
- 样式代码基于[YiNNx](https://github.com/YiNNx)[Lapis主题](https://github.com/YiNNx/typora-theme-lapis)
62+
- 中文字体采用好看的开源字体[霞鹜文楷 LXGW](https://github.com/lxgw/LxgwWenKai)
63+
- 感谢 ChatGPT 和 Github Copilot 的鼎力相助(逃
64+
65+
## 许可
66+
67+
Marble 主题在 MIT License 下开源。[这里](https://github.com/YiNNx/typora-theme-lapis/blob/main/License)是原主题 Lapis 的 MIT License 地址。

imgs/img1.png

827 KB
Loading

imgs/img1.webp

196 KB
Binary file not shown.

0 commit comments

Comments
 (0)