Skip to content

Commit

Permalink
✨ update waline theme color
Browse files Browse the repository at this point in the history
  • Loading branch information
YunYouJun committed Nov 20, 2021
1 parent bb2657e commit c7db4db
Show file tree
Hide file tree
Showing 9 changed files with 57 additions and 12 deletions.
Empty file added .npmrc
Empty file.
4 changes: 4 additions & 0 deletions _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -225,6 +225,10 @@ js_concator:
# https://github.com/YunYouJun/hexo-tag-common
tag_common:
cdn: false
layout:
- post
- page
# - home

# hexo-widget-tree
# https://github.com/YunYouJun/hexo-widget-tree
Expand Down
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"version": "5.4.0"
},
"dependencies": {
"crypto-js": "^4.0.0",
"crypto-js": "^4.1.1",
"hexo": "^5.4.0",
"hexo-algolia": "^1.3.2",
"hexo-deployer-git": "^3.0.0",
Expand All @@ -22,8 +22,8 @@
"hexo-renderer-marked": "^4.1.0",
"hexo-renderer-stylus": "^2.0.1",
"hexo-tag-aplayer": "^3.0.4",
"hexo-tag-common": "^0.0.3",
"hexo-widget-tree": "^0.2.1",
"hexo-tag-common": "^0.0.5",
"hexo-widget-tree": "^0.2.2",
"hexo-wordcount": "^6.0.1"
},
"devDependencies": {
Expand Down
9 changes: 7 additions & 2 deletions source/_data/yun.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,13 @@ waline:
serverURL: https://waline.yunyoujun.cn
visitor: true
comment: true
placeholder: 填写邮箱,可以收到回复通知哦~
requiredFields: ["nick"]
emoji:
- https://cdn.jsdelivr.net/gh/walinejs/emojis@latest/bilibili/
- https://cdn.jsdelivr.net/gh/walinejs/emojis@latest/weibo/
- https://cdn.jsdelivr.net/gh/walinejs/emojis@latest/qq/
locale:
placeholder: 填写邮箱,可以收到回复通知哦~
requiredMeta: ["nick"]

github_issues:
enable: false
Expand Down
4 changes: 2 additions & 2 deletions source/_posts/posts/how-to-write-a-web-component.md
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ lit 2.0 将 `lit-element` 合并进了 `lit`。

> [src/index.ts | wc-github-corners](https://github.com/YunYouJun/wc-github-corners/blob/main/src/index.ts)
我抽取了我认为的几个重要的属性
我抽取了几个我认为比较重要的属性

- `blank`: boolean,是否打开新的标签页
- `color`: string,字体色彩,即 GitHub Logo 颜色
Expand All @@ -127,7 +127,7 @@ lit 2.0 将 `lit-element` 合并进了 `lit`。
- `url`: string,链接,可以覆盖自动生成的 GitHub 仓库链接
- `label`: string,标签,鼠标悬浮时的标题
- `reverse`: boolean,反转,将 GitHub Logo 色彩与背景色进行交换
- `position`: string,位置,位于左上角还是右上角
- `position`: string位置,位于左上角还是右上角

> 更多可参见 [fields | wc-github-corners](https://github.com/YunYouJun/wc-github-corners#fields)
Expand Down
6 changes: 6 additions & 0 deletions source/yun/katex.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,12 @@ toc: true

### 行内公式

<div>

$\mathcal{X}_{c^*}<1, \mathcal{X}_{q^*}<1$

</div>

$E = mc^2$

$\frac{\partial}{\partial t}$
Expand Down
8 changes: 4 additions & 4 deletions source/yun/markdown.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,9 @@ toc: true
</div>

<div class="base">
<div class="gray">

> Base
> Gray
</div>

Expand Down Expand Up @@ -76,9 +76,9 @@ toc: true

</div>

<div class="base">
<div class="gray">

> Base
> Gray

</div>

Expand Down
30 changes: 30 additions & 0 deletions source/yun/unocss.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
---
title: Yun - UnoCSS Runtime
date: 2021-11-18 22:02:15
updated: 2021-11-18 22:02:15
toc: true
---

Try [unocss](https://github.com/antfu/unocss).

<div h-full text-center flex select-none all:transition-400>
<div ma>
<div text-5xl fw100 animate-bounce animate-count-infinite animate-1s>
unocss
</div>
<div op30 text-lg fw300 m1>
The instant on-demand Atomic CSS engine.
</div>
<div m2 flex justify-center text-2xl op30 hover="op80">
<a
i-carbon-logo-github
text-inherit
href="https://github.com/antfu/unocss"
target="_blank"
></a>
</div>
</div>
</div>
<div absolute bottom-5 right-0 left-0 text-center op30 fw300>
on-demand · instant · fully customizable
</div>

0 comments on commit c7db4db

Please sign in to comment.