Skip to content

Commit

Permalink
feat: update palette color
Browse files Browse the repository at this point in the history
  • Loading branch information
simon1uo committed May 5, 2022
1 parent fbf69bb commit fcc4cc7
Show file tree
Hide file tree
Showing 11 changed files with 108 additions and 192 deletions.
22 changes: 8 additions & 14 deletions .idea/codeStyles/Project.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 0 additions & 7 deletions .idea/prettier.xml

This file was deleted.

80 changes: 16 additions & 64 deletions .idea/workspace.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ currentDate=$(date +%Y-%m-%d-%H:%M)
npm run build

# 进入生成的文件夹
cd docs/.vuepress/dist
cd dist

# deploy to github pages
#echo 'simon1uo.github.io' >CNAME
Expand Down
2 changes: 1 addition & 1 deletion docs/.vuepress/config/head.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ export default <HeadTags>[
'个人学习笔记,前端学习笔记,前端学习,前端学习资源,前端学习路线,HTML,CSS,JavaScript,Vue,React'
}
],
['meta', { name: 'theme-color', content: '#11a8cd' }],
['meta', { name: 'theme-color', content: '#204A7A' }],
[
'link',
{
Expand Down
6 changes: 1 addition & 5 deletions docs/.vuepress/config/nav.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,6 @@ export default <Array<NavItem>>[
},
{
text: '🔖 关于',
link: '/about/',
items: [
{ text: '🔭 关于本笔记', link: '/about/vutebook/' },
{ text: '😇 关于我', link: '/about/me/' }
]
link: '/about/'
}
]
16 changes: 8 additions & 8 deletions docs/.vuepress/config/plugins.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,14 @@ import type { SmPlayerPluginOption } from 'vuepress-plugin-smplayer/types'

// 配置插件,推荐使用 Babel 式, 根据自己插件情况修改插件配置
export default <UserPlugins>[
[
'sitemap',
{
hostname: `https://${fs.readFileSync(
resolve(__dirname, '../public', 'CNAME')
)}`
}
],
// [
// 'sitemap',
// {
// hostname: `https://${fs.readFileSync(
// resolve(__dirname, '../public', 'CNAME')
// )}`
// }
// ],
['pangu'],
[
'one-click-copy',
Expand Down
26 changes: 11 additions & 15 deletions docs/10. 🪧 关于/index.md
Original file line number Diff line number Diff line change
@@ -1,19 +1,15 @@
---
pageComponent:
name: Catalogue
data:
key: 10. 🪧 关于
imgUrl: null
description: 🔦 about information.
title: 🪧 关于
date: 2020-03-11 21:50:55
permalink: /about
sidebar: false
article: false
comment: false
editLink: false
author:
name: Simon
link: https://github.com/simon1uo
date: 2022-05-05 21:37:42
permalink: /about/
categories:
- 🪧 关于
tags:
-
---


### **关于本笔记的排版**

除少数久远待 review 的文章,全数参考 [中文文案排版指北(简体中文版) — 码志 (mazhuang.org)](https://mazhuang.org/wiki/chinese-copywriting-guidelines/)

16 changes: 0 additions & 16 deletions docs/index.md
Original file line number Diff line number Diff line change
@@ -1,21 +1,5 @@
---
home: true
bannerBg: none # auto => 网格纹背景(有bodyBgImg时无背景),默认 | none => 无 | '大图地址' | background: 自定义背景样式 提示:如发现文本颜色不适应你的背景时可以到palette.styl修改$bannerTextColor变量

features: # 可选的
- title: 开始
details: 快速开始使用主题
link: /start/ # 可选
imgUrl: /assets/img/web.png # 可选
- title: 部署
details: 不同部署平台的CI配置方法
link: /deploy/
imgUrl: /assets/img/other.png
- title: 更多参考
details: 更多参考示例
link: /more/
imgUrl: /assets/img/more.png

postList: simple
simplePostListLength: 15 # 简约版文章列表显示的文章数量,默认10。(仅在postList设置为simple时生效)
---
Loading

0 comments on commit fcc4cc7

Please sign in to comment.