diff --git a/docs/.vitepress/assets/log.json b/docs/.vitepress/assets/log.json index c6acbbb0..8704209e 100644 --- a/docs/.vitepress/assets/log.json +++ b/docs/.vitepress/assets/log.json @@ -2,6 +2,24 @@ { "large_version": "v1.2.x", "children": [ + { + "version": "1.2.6", + "date": "2022-12-09", + "logs": [ + { + "type": "feat", + "text": "封面日期添加格式化配置" + }, + { + "type": "perf", + "text": "优化移动端中banner、文章详情里svg样式" + }, + { + "type": "fix", + "text": "文章目录显示全部" + } + ] + }, { "version": "1.2.5", "date": "2022-11-26", diff --git a/docs/.vitepress/components/ChangeLog.vue b/docs/.vitepress/components/ChangeLog.vue index 7e2f46d7..d4e6af43 100644 --- a/docs/.vitepress/components/ChangeLog.vue +++ b/docs/.vitepress/components/ChangeLog.vue @@ -1,4 +1,12 @@ diff --git a/docs/.vitepress/theme/styles/index.less b/docs/.vitepress/theme/styles/index.less index 77ad33bb..81f3dbec 100644 --- a/docs/.vitepress/theme/styles/index.less +++ b/docs/.vitepress/theme/styles/index.less @@ -35,6 +35,17 @@ --vp-c-brand-lighter: #0077e7cb; --vp-button-brand-bg: @brand; --content-width : 1000px; + + --vp-home-hero-name-background : linear-gradient(135deg, #43CBFF 10%, #9708CC 100%); + --vp-home-hero-name-color : transparent; + /* --vp-home-hero-image-background-image: linear-gradient(-45deg, #bd34fe 50%, #47caff 50%); + --vp-home-hero-image-filter : blur(80px); */ + + &.dark { + .VPImage.image-src{ + filter: invert(1); + } + } } .VPSidebar { diff --git a/docs/index.md b/docs/index.md index e47fbe30..54d5e1de 100644 --- a/docs/index.md +++ b/docs/index.md @@ -3,24 +3,26 @@ title: 主页 layout: home hero: - text: Hexo-Theme-Async + name: Hexo-Theme-Async image: src: /logo.gif tagline: 🎈 A simple & lightweight theme for Hexo. actions: - - text: 快速上手 + - text: 🚀 快速上手 link: /guide/ - - text: 示例站点 + - text: 💻 示例站点 link: /demo/ - color: green theme: alt features: - title: 简洁 + icon: 🌸 details: 简洁、优雅、轻量、美观的用户界面。 - title: 多端 + icon: ⚡️ details: 响应式界面,支持手机、平板、PC 多种平台。 - title: PWA + icon: 🛠️ details: 支持PWA,提升访问速度,可离线使用。 footer: