├── .github └── ISSUE_TEMPLATE │ ├── bug_report.md │ ├── custom.md │ └── feature_request.md ├── .gitignore ├── Aurora-plugin ├── vuepress-plugin-archive │ ├── README.md │ ├── lib │ │ ├── client │ │ │ ├── clientAppEnhance.d.ts │ │ │ ├── clientAppEnhance.js │ │ │ ├── components │ │ │ │ ├── ArchiveItem.vue │ │ │ │ └── AuroraArchive.vue │ │ │ └── style │ │ │ │ └── aurora-archive.css │ │ └── node │ │ │ ├── index.d.ts │ │ │ ├── index.js │ │ │ ├── vuepress-plugin-archive.d.ts │ │ │ └── vuepress-plugin-archive.js │ └── package.json ├── vuepress-plugin-bubble │ ├── README.md │ ├── lib │ │ ├── AuroraBubble.vue │ │ ├── bubble.js │ │ ├── clientAppEnhance.d.ts │ │ ├── clientAppEnhance.js │ │ └── node │ │ │ ├── index.d.ts │ │ │ ├── index.js │ │ │ ├── vuepress-plugin-bubble.d.ts │ │ │ └── vuepress-plugin-bubble.js │ └── package.json ├── vuepress-plugin-coze │ ├── README.md │ ├── lib │ │ ├── client │ │ │ ├── clientAppEnhance.d.ts │ │ │ ├── clientAppEnhance.js │ │ │ ├── clientAppSetup.d.ts │ │ │ ├── clientAppSetup.js │ │ │ ├── components │ │ │ │ ├── AddMood.vue │ │ │ │ ├── AuroraCozeMood.vue │ │ │ │ ├── CozeLogin.vue │ │ │ │ ├── CozeMood.vue │ │ │ │ ├── CozePhoto.vue │ │ │ │ ├── MoodItem.vue │ │ │ │ ├── RegisterUser.vue │ │ │ │ └── SlideCozeMoodItem.vue │ │ │ ├── composables │ │ │ │ ├── index.d.ts │ │ │ │ ├── index.js │ │ │ │ ├── useThemeData.d.ts │ │ │ │ └── useThemeData.js │ │ │ ├── public │ │ │ │ ├── font │ │ │ │ │ ├── demo.css │ │ │ │ │ ├── demo_index.html │ │ │ │ │ ├── download.zip │ │ │ │ │ ├── iconfont.css │ │ │ │ │ ├── iconfont.js │ │ │ │ │ ├── iconfont.json │ │ │ │ │ ├── iconfont.ttf │ │ │ │ │ ├── iconfont.woff │ │ │ │ │ └── iconfont.woff2 │ │ │ │ └── js │ │ │ │ │ └── flowers.js │ │ │ └── style │ │ │ │ └── coze-plugin.css │ │ ├── node │ │ │ ├── index.d.ts │ │ │ ├── index.js │ │ │ ├── vuepress-plugin-coze.d.ts │ │ │ └── vuepress-plugin-coze.js │ │ └── shared │ │ │ ├── index.d.ts │ │ │ ├── index.js │ │ │ ├── options.d.ts │ │ │ └── options.js │ └── package.json └── vuepress-plugin-player │ ├── README.md │ ├── lib │ ├── client │ │ ├── clientAppEnhance.d.ts │ │ ├── clientAppEnhance.js │ │ ├── components │ │ │ └── AuroraMusic.vue │ │ ├── network.js │ │ └── style │ │ │ ├── aurora.music.css │ │ │ └── music-font │ │ │ ├── iconfont.css │ │ │ ├── iconfont.ttf │ │ │ ├── iconfont.woff │ │ │ └── iconfont.woff2 │ └── node │ │ ├── index.d.ts │ │ ├── index.js │ │ ├── vuepress-plugin-player.d.ts │ │ └── vuepress-plugin-player.js │ ├── package.json │ └── serverUrl.md ├── Aurora-theme ├── README.md ├── lib │ ├── client │ │ ├── clientAppEnhance.d.ts │ │ ├── clientAppEnhance.js │ │ ├── clientAppSetup.d.ts │ │ ├── clientAppSetup.js │ │ ├── components │ │ │ ├── About.vue │ │ │ ├── Archive.vue │ │ │ ├── DropdownLink.vue │ │ │ ├── DropdownTransition.vue │ │ │ ├── Home.vue │ │ │ ├── HomeBottom.vue │ │ │ ├── Link.vue │ │ │ ├── Mood.vue │ │ │ ├── NavLink.vue │ │ │ ├── Navbar.vue │ │ │ ├── NavbarLinks.vue │ │ │ ├── Page.vue │ │ │ ├── PageMeta.vue │ │ │ ├── PageNav.vue │ │ │ ├── Pagination.vue │ │ │ ├── RecommendPage.vue │ │ │ ├── SocialSpin.vue │ │ │ ├── Tag.vue │ │ │ ├── ToggleDarkModeButton.vue │ │ │ ├── ToggleSidebarButton.vue │ │ │ ├── child │ │ │ │ ├── AddMood.vue │ │ │ │ ├── Catalog.vue │ │ │ │ ├── FooterItem.vue │ │ │ │ ├── LinkItem.vue │ │ │ │ ├── MoodItem.vue │ │ │ │ ├── PosterImg.vue │ │ │ │ ├── RecommendItem.vue │ │ │ │ ├── home │ │ │ │ │ ├── HomePageItem.vue │ │ │ │ │ ├── HomeSocial.vue │ │ │ │ │ ├── HomeSocialItem.vue │ │ │ │ │ └── StyleMenu.vue │ │ │ │ ├── page │ │ │ │ │ └── PageNext.vue │ │ │ │ ├── side │ │ │ │ │ ├── HomeSidebar.vue │ │ │ │ │ ├── HomeSidebarSocialItem.vue │ │ │ │ │ ├── MobileSidebar.vue │ │ │ │ │ └── MobileSidebarNav.vue │ │ │ │ └── tag │ │ │ │ │ ├── TagCloud.vue │ │ │ │ │ ├── TagItem.vue │ │ │ │ │ └── TagPage.vue │ │ │ └── global │ │ │ │ ├── AuroraGlobal.vue │ │ │ │ ├── BCenter.vue │ │ │ │ ├── Badge.vue │ │ │ │ ├── CodeGroup.d.ts │ │ │ │ ├── CodeGroup.js │ │ │ │ ├── CodeGroupItem.vue │ │ │ │ ├── Comment.vue │ │ │ │ ├── Common.vue │ │ │ │ ├── Donate.vue │ │ │ │ ├── Footer.vue │ │ │ │ ├── Message.vue │ │ │ │ ├── Poster.vue │ │ │ │ ├── TopImage.vue │ │ │ │ └── inner │ │ │ │ ├── AuroraBubble.vue │ │ │ │ └── Pins.vue │ │ ├── composables │ │ │ ├── index.d.ts │ │ │ ├── index.js │ │ │ ├── useDarkMode.d.ts │ │ │ ├── useDarkMode.js │ │ │ ├── useNavLink.d.ts │ │ │ ├── useNavLink.js │ │ │ ├── useResolveRouteWithRedirect.d.ts │ │ │ ├── useResolveRouteWithRedirect.js │ │ │ ├── useScrollPromise.d.ts │ │ │ ├── useScrollPromise.js │ │ │ ├── useSidebarItems.d.ts │ │ │ ├── useSidebarItems.js │ │ │ ├── useThemeData.d.ts │ │ │ └── useThemeData.js │ │ ├── index.d.ts │ │ ├── index.js │ │ ├── layouts │ │ │ ├── 404.vue │ │ │ └── Layout.vue │ │ ├── public │ │ │ ├── fonts │ │ │ │ ├── DS-DIGIT.TTF │ │ │ │ ├── Lobster-Regular.ttf │ │ │ │ ├── aurora-iconfont.ttf │ │ │ │ ├── aurora-iconfont.woff │ │ │ │ ├── aurora-iconfont.woff2 │ │ │ │ └── style-menu │ │ │ │ │ ├── cgt.ttf │ │ │ │ │ ├── color-filling.svg │ │ │ │ │ ├── hlt.ttf │ │ │ │ │ ├── lf.ttf │ │ │ │ │ ├── lsf.ttf │ │ │ │ │ ├── sst.ttf │ │ │ │ │ ├── tzt.ttf │ │ │ │ │ └── xsf.ttf │ │ │ ├── js │ │ │ │ ├── bubble.js │ │ │ │ ├── flowers.js │ │ │ │ ├── network.js │ │ │ │ ├── sakura.js │ │ │ │ ├── store │ │ │ │ │ ├── actions.js │ │ │ │ │ ├── index.js │ │ │ │ │ ├── mutations.js │ │ │ │ │ └── state.js │ │ │ │ ├── tag.js │ │ │ │ └── wave.js │ │ │ └── svg │ │ │ │ └── cat.svg │ │ ├── shim.d.ts │ │ ├── styles │ │ │ ├── 404.scss │ │ │ ├── _variables.scss │ │ │ ├── _wrapper.scss │ │ │ ├── arrow.scss │ │ │ ├── badge.scss │ │ │ ├── code-group.scss │ │ │ ├── code.scss │ │ │ ├── coverStyle.css │ │ │ ├── custom-container.scss │ │ │ ├── dropdown.scss │ │ │ ├── home.scss │ │ │ ├── index.scss │ │ │ ├── layout.scss │ │ │ ├── navbar.scss │ │ │ ├── normalize.scss │ │ │ ├── page.scss │ │ │ ├── photo.scss │ │ │ ├── sidebar.scss │ │ │ ├── sr-only.scss │ │ │ ├── theme.style.css │ │ │ ├── toc.scss │ │ │ ├── transitions.scss │ │ │ ├── vars-dark.scss │ │ │ └── vars.scss │ │ └── utils │ │ │ ├── index.d.ts │ │ │ ├── index.js │ │ │ ├── resolveEditLink.d.ts │ │ │ ├── resolveEditLink.js │ │ │ ├── resolveRepoType.d.ts │ │ │ └── resolveRepoType.js │ ├── node │ │ ├── auroraTheme.js │ │ ├── auroraTheme.ts │ │ ├── index.d.ts │ │ ├── index.js │ │ └── utils │ │ │ ├── assignDefaultLocaleOptions.d.ts │ │ │ ├── assignDefaultLocaleOptions.js │ │ │ ├── index.d.ts │ │ │ ├── index.js │ │ │ ├── resolveActiveHeaderLinksPluginOptions.d.ts │ │ │ ├── resolveActiveHeaderLinksPluginOptions.js │ │ │ ├── resolveContainerPluginOptions.d.ts │ │ │ ├── resolveContainerPluginOptions.js │ │ │ ├── resolveGitPluginOptions.d.ts │ │ │ ├── resolveGitPluginOptions.js │ │ │ ├── resolveMediumZoomPluginOptions.d.ts │ │ │ └── resolveMediumZoomPluginOptions.js │ └── shared │ │ ├── index.d.ts │ │ ├── index.js │ │ ├── nav.d.ts │ │ ├── nav.js │ │ ├── options.d.ts │ │ ├── options.js │ │ ├── page.d.ts │ │ └── page.js ├── package.json ├── 结构.txt └── 这个文件是主题配置文件,将此文件复制到.vuepress目录下,修改文件名为config即可.js ├── CODE_OF_CONDUCT.md ├── CONTRIBUTING.md ├── LICENSE ├── docs ├── .vuepress │ ├── clientAppEnhance.js │ ├── components │ │ └── UseBlog.vue │ ├── config.js │ ├── donate.js │ ├── friendLinks.js │ ├── message.js │ ├── navbar.js │ ├── new.js │ ├── public │ │ ├── aa bb-11.png │ │ ├── aurora-loading.gif │ │ ├── aurora │ │ │ ├── image-20210911233612031.png │ │ │ ├── nc.jpeg │ │ │ ├── wechat.jpg │ │ │ ├── wxpay.png │ │ │ └── zfbpay.jpg │ │ ├── avatar.jpg │ │ ├── avatar.png │ │ ├── bg │ │ │ ├── 1.jpg │ │ │ ├── 2.jpg │ │ │ ├── 3.jpg │ │ │ ├── 4.jpg │ │ │ ├── 404901.png │ │ │ ├── 5.jpg │ │ │ ├── 5332.png │ │ │ ├── 555260.png │ │ │ ├── 5849.png │ │ │ ├── 669.png │ │ │ ├── 734386.png │ │ │ ├── 763311.png │ │ │ └── about.jpg │ │ ├── friendImg │ │ │ ├── image-20211106100009647.png │ │ │ ├── image-20211106100103898.png │ │ │ ├── image-20211106100344348.png │ │ │ ├── image-20211106100424035.png │ │ │ ├── image-20211106100502873.png │ │ │ ├── image-20211106100608395.png │ │ │ └── image-20211106101057042.png │ │ ├── icon │ │ │ ├── demo.css │ │ │ ├── demo_index.html │ │ │ ├── download (3).zip │ │ │ ├── iconfont.css │ │ │ ├── iconfont.js │ │ │ ├── iconfont.json │ │ │ ├── iconfont.ttf │ │ │ ├── iconfont.woff │ │ │ └── iconfont.woff2 │ │ ├── ljz.gif │ │ ├── my-cover.png │ │ ├── song │ │ │ ├── 1.mp3 │ │ │ ├── 2.mp3 │ │ │ └── 3.mp3 │ │ ├── user.js │ │ └── wechat.jpg │ ├── randomColor.js │ ├── siteInformation.js │ ├── socials.js │ └── styles │ │ ├── index.css │ │ └── palette.css ├── base │ ├── admin.md │ ├── command.md │ ├── docs.md │ ├── plugin.md │ ├── public.md │ └── vite-webpack.md ├── comment │ └── README.md ├── feature │ ├── donate.md │ ├── feature-config.md │ ├── image.md │ ├── poster.md │ ├── recommend.md │ ├── registercom.md │ ├── search.md │ ├── seo.md │ └── social.md ├── footer.md ├── home │ ├── config.md │ ├── deploy.md │ └── directory-structure.md ├── homePage.md ├── homeconfig.md ├── issue │ ├── CHANGELOG.md │ ├── README.md │ ├── bug.md │ ├── cli-issue.md │ ├── common.md │ ├── taobao.md │ ├── update-12.7.md │ └── 代码块不规范解决.md ├── learn │ ├── frontmatter.md │ └── markdown.md ├── message.md ├── node.md ├── page │ ├── README.md │ ├── about.md │ ├── friendlink.md │ ├── page.md │ ├── photo.md │ └── tag.md ├── plugin │ ├── archive │ │ └── README.md │ ├── bubble │ │ └── README.md │ ├── coze │ │ ├── README.md │ │ ├── component.md │ │ ├── config.md │ │ └── style.md │ └── player │ │ ├── README.md │ │ └── serverUrl.md ├── readme │ ├── README.md │ └── cmd.md ├── style │ ├── code-style.md │ ├── icon.md │ ├── live2d.md │ ├── style.md │ └── 社交图标配置.md ├── tool.md └── use.md ├── index.html ├── npm-shrinkwrap.json ├── package.json ├── readme.md └── script └── deploy-dist.sh /.github/ISSUE_TEMPLATE/bug_report.md: -------------------------------------------------------------------------------- 1 | --- 2 | name: Bug report 3 | about: Create a report to help us improve 4 | title: '' 5 | labels: '' 6 | assignees: '' 7 | 8 | --- 9 | 10 | **Describe the bug** 11 | A clear and concise description of what the bug is. 12 | 13 | **To Reproduce** 14 | Steps to reproduce the behavior: 15 | 1. Go to '...' 16 | 2. Click on '....' 17 | 3. Scroll down to '....' 18 | 4. See error 19 | 20 | **Expected behavior** 21 | A clear and concise description of what you expected to happen. 22 | 23 | **Screenshots** 24 | If applicable, add screenshots to help explain your problem. 25 | 26 | **Desktop (please complete the following information):** 27 | - OS: [e.g. iOS] 28 | - Browser [e.g. chrome, safari] 29 | - Version [e.g. 22] 30 | 31 | **Smartphone (please complete the following information):** 32 | - Device: [e.g. iPhone6] 33 | - OS: [e.g. iOS8.1] 34 | - Browser [e.g. stock browser, safari] 35 | - Version [e.g. 22] 36 | 37 | **Additional context** 38 | Add any other context about the problem here. 39 | -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/custom.md: -------------------------------------------------------------------------------- 1 | --- 2 | name: Custom issue template 3 | about: Describe this issue template's purpose here. 4 | title: '' 5 | labels: '' 6 | assignees: '' 7 | 8 | --- 9 | 10 | 11 | -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/feature_request.md: -------------------------------------------------------------------------------- 1 | --- 2 | name: Feature request 3 | about: Suggest an idea for this project 4 | title: '' 5 | labels: '' 6 | assignees: '' 7 | 8 | --- 9 | 10 | **Is your feature request related to a problem? Please describe.** 11 | A clear and concise description of what the problem is. Ex. I'm always frustrated when [...] 12 | 13 | **Describe the solution you'd like** 14 | A clear and concise description of what you want to happen. 15 | 16 | **Describe alternatives you've considered** 17 | A clear and concise description of any alternative solutions or features you've considered. 18 | 19 | **Additional context** 20 | Add any other context or screenshots about the feature request here. 21 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | /node_modules 2 | /.idea 3 | **/.cache 4 | docs/.vuepress/dist 5 | **/.temp 6 | deploy.sh 7 | /package-lock.json 8 | /Aurora-plugin/**/.git 9 | /Aurora-plugin/**/node_modules -------------------------------------------------------------------------------- /Aurora-plugin/vuepress-plugin-archive/README.md: -------------------------------------------------------------------------------- 1 | # vuepress-plugin-archive 2 | 3 | ::: tip 4 | 5 | 这是vuepress2的一个文章归档时间轴的一个插件 6 | 7 | ::: 8 | 9 | 10 | 11 | ![image-20211122003904803](https://ooszy.cco.vin/img/blog-note/image-20211122003904803.png?x-oss-process=style/pictureProcess1) 12 | 13 | 14 | 15 | 16 | 17 | ## 安装 18 | 19 | ```sh 20 | npm i vuepress-plugin-archive 21 | ``` 22 | 23 | 24 | 25 | ```js 26 | //docs/.vuepress/config.js 27 | 28 | const { path } = require("@vuepress/utils"); 29 | 30 | module.exports = { 31 | //在这里配置插件 32 | plugins: [ 33 | [ 34 | 'archive', 35 | { 36 | //需要排除的页面url,在该数组里面的路径,都不会被统计 37 | excludes: ['/footer.html','/404.html','/about/','/mood/','/link/','/tag/','/photo/'], 38 | //当某篇文章没有标题时,将使用下面值进行替换 39 | noTitle: '暂时没有标题配置' 40 | } 41 | ], 42 | } 43 | ``` 44 | 45 | 当你配置好之后,该插件会注册一个全局组件``,你可以在任何地方使用该组件,从而在你网站中,开启文章归档功能,同时该插件会默认注册一个路由,你可以直接在浏览器中,打开该路由,查看归档页面`/aurora-archive` 46 | 47 | 48 | 49 | 如果你使用的不是`vuepress-theme-aurora`主题,那么你可以像下面这样为你网站添加归档功能 50 | 51 | 1. 创建`archive.md`文件,在`docs`目录下,创建一个`archive.md`文件 52 | 53 | 2. 在该md文件中,加入下面内容就可以了 54 | 55 | ```md 56 | --- 57 | layout: AuroraArchive 58 | --- 59 | ``` 60 | 61 | 3. 打开浏览器,输入`localhost:[8080]/archive.html`,你就可以看到该归档页面了 62 | 63 | 64 | 65 | 66 | 67 | 68 | 69 | ## 配置 70 | 71 | ### noTitle 72 | 73 | - String 74 | 75 | > 暂时没有标题配置 76 | 77 | ### excludes 78 | 79 | - Array 80 | 81 | > 需要排除的页面url,在该数组里面的路径,都不会被统计 82 | 83 | 84 | 85 | ```js 86 | excludes: ['/footer.html','message.html','/v1.3.0/'] 87 | ``` 88 | 89 | ![image-20211122004613835](https://ooszy.cco.vin/img/blog-note/image-20211122004613835.png?x-oss-process=style/pictureProcess1) 90 | 91 | 92 | 93 | 94 | 95 | ## css样式 96 | 97 | 你可以在`docs/.vuepress/styles/index.css`文件中,设置下面样式变量 98 | 99 | ::: tip 100 | 101 | 如果你使用的不是`vuepress-theme-aurora`主题,那么请先看[vuepress官方关于palette的介绍](https://v2.vuepress.vuejs.org/zh/reference/plugin/palette.html#palette),官方默认使用的就是`SASS `,对应的你需要在`docs/.vuepress/styles/index.sass`中,覆盖下面的样式变量 102 | 103 | ::: 104 | 105 | ```css 106 | :root { 107 | /* 时间线颜色 */ 108 | --archive-timeline: rgba(144, 241, 239, 0.35); 109 | 110 | /* 鼠标移动到某个标题上,时间线上的圆点颜色 */ 111 | --archive-timeline-active: pink; 112 | 113 | /* 鼠标移动到某个标题上,标题颜色 */ 114 | --archive-timeline-active-title: pink; 115 | 116 | /* 归档页面的宽度 */ 117 | --archive-box-width: 80%; 118 | } 119 | ``` 120 | 121 | 122 | 123 | 如果你想设置背景颜色,请自行f12查看对应类名,然后在`docs/.vuepress/styles/index.css`文件中,设置对应类名的css样式 124 | 125 | 126 | 127 | -------------------------------------------------------------------------------- /Aurora-plugin/vuepress-plugin-archive/lib/client/clientAppEnhance.d.ts: -------------------------------------------------------------------------------- 1 | declare const _default: import("@vuepress/client").ClientAppEnhance; 2 | export default _default; 3 | 4 | -------------------------------------------------------------------------------- /Aurora-plugin/vuepress-plugin-archive/lib/client/clientAppEnhance.js: -------------------------------------------------------------------------------- 1 | import { defineClientAppEnhance } from '@vuepress/client'; 2 | import AuroraArchive from "./components/AuroraArchive.vue"; 3 | import './style/aurora-archive.css' 4 | 5 | export default defineClientAppEnhance(({ app, router }) => { 6 | app.component("AuroraArchive",AuroraArchive) 7 | }); 8 | -------------------------------------------------------------------------------- /Aurora-plugin/vuepress-plugin-archive/lib/client/components/ArchiveItem.vue: -------------------------------------------------------------------------------- 1 | 31 | 32 | -------------------------------------------------------------------------------- /Aurora-plugin/vuepress-plugin-archive/lib/node/index.d.ts: -------------------------------------------------------------------------------- 1 | import { ArchivePluginOptions } from './vuepress-plugin-archive'; 2 | export * from './vuepress-plugin-archive'; 3 | export default ArchivePluginOptions; 4 | -------------------------------------------------------------------------------- /Aurora-plugin/vuepress-plugin-archive/lib/node/index.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { 3 | if (k2 === undefined) k2 = k; 4 | Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } }); 5 | }) : (function(o, m, k, k2) { 6 | if (k2 === undefined) k2 = k; 7 | o[k2] = m[k]; 8 | })); 9 | var __exportStar = (this && this.__exportStar) || function(m, exports) { 10 | for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p); 11 | }; 12 | Object.defineProperty(exports, "__esModule", { value: true }); 13 | const archivePlugin_1 = require("./vuepress-plugin-archive"); 14 | __exportStar(require("./vuepress-plugin-archive"), exports); 15 | exports.default = archivePlugin_1.archivePlugin; 16 | -------------------------------------------------------------------------------- /Aurora-plugin/vuepress-plugin-archive/lib/node/vuepress-plugin-archive.d.ts: -------------------------------------------------------------------------------- 1 | import type { Plugin } from '@vuepress/core'; 2 | export declare type ArchivePluginOptions = Record; 3 | export declare const ArchivePluginOptions: Plugin; 4 | -------------------------------------------------------------------------------- /Aurora-plugin/vuepress-plugin-archive/lib/node/vuepress-plugin-archive.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | Object.defineProperty(exports, "__esModule", { value: true }); 3 | exports.cozePlugin = void 0; 4 | const { createPage } = require('@vuepress/core'); 5 | const utils_1 = require("@vuepress/utils"); 6 | const vuepressPluginArchive = ({ excludes,noTitle }) => { 7 | return { 8 | define: { 9 | __EXCLUDES__: excludes, 10 | __NO_TITLE__: noTitle 11 | }, 12 | onInitialized: async (app) => { 13 | // 如果主页不存在 14 | const timeline = await createPage(app, { 15 | path: '/aurora-archive', 16 | // 设置 frontmatter 17 | frontmatter: { 18 | layout: 'AuroraArchive', 19 | slug: 'aurora-plugin-archive', 20 | }, 21 | permalink: '/aurora-archive', 22 | // 设置 markdown 内容 23 | content: "", 24 | }) 25 | 26 | // 把它添加到 `app.pages` 27 | app.pages.push(timeline) 28 | }, 29 | onPrepared: async (app) => { 30 | const pageData = app.pages.map((page) => { 31 | return page; 32 | }); 33 | await app.writeTemp( 34 | "page-data.js", 35 | `export default ${JSON.stringify(pageData)}` 36 | ); 37 | }, 38 | name: 'vuepress-plugin-archive', 39 | multiple: false, 40 | clientAppEnhanceFiles: utils_1.path.resolve(__dirname, '../client/clientAppEnhance.js') 41 | }; 42 | }; 43 | exports.archivePlugin = vuepressPluginArchive; 44 | -------------------------------------------------------------------------------- /Aurora-plugin/vuepress-plugin-archive/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "vuepress-plugin-archive", 3 | "version": "1.1.3", 4 | "description": "为Vuepress静态站点提供在线发布,编辑说说功能,支持图片上传,点赞,评论,用户登录,注册等功能 Provide online publishing, editing and talking functions for Vuepress static sites, support image upload, like, comment, user login, registration and other functions", 5 | "main": "./lib/node/index.js", 6 | "directories": { 7 | "lib": "lib" 8 | }, 9 | "scripts": { 10 | "test": "echo \"Error: no test specified\" && exit 1", 11 | "commit": "git add . && git cz" 12 | }, 13 | "repository": { 14 | "type": "git", 15 | "url": "https://github.com/vuepress-aurora/vuepress-plugin-archive" 16 | }, 17 | "keywords": [ 18 | "vuepress-theme", 19 | "plugin", 20 | "vue", 21 | "vuepress-plugin", 22 | "vuepress archive", 23 | "vuepress2", 24 | "archive", 25 | "vuepress-plugin-timeline", 26 | "vuepress timeline" 27 | ], 28 | "author": "qsyyke", 29 | "license": "ISC", 30 | "bugs": { 31 | "url": "https://github.com/vuepress-aurora/vuepress-plugin-archive/issues" 32 | }, 33 | "homepage": "https://aurora.xcye.xyz/plugin/archive/index.html" 34 | } 35 | -------------------------------------------------------------------------------- /Aurora-plugin/vuepress-plugin-bubble/README.md: -------------------------------------------------------------------------------- 1 | # vuepress-plugin-bubble 2 | 3 | ::: tip 4 | 5 | 这是vuepress的一个浪漫气泡特效插件 6 | 7 | ::: 8 | 9 | - 使用效果 10 | 11 | ![image-20211122002556797](https://ooszy.cco.vin/img/blog-note/image-20211122002556797.png?x-oss-process=style/pictureProcess1) 12 | 13 | 14 | 15 | 16 | 17 | ## 安装 18 | 19 | ```sh 20 | npm i vuepress-plugin-bubble 21 | ``` 22 | 23 | ```js 24 | //docs/.vuepress/config.js 25 | 26 | const { path } = require("@vuepress/utils"); 27 | 28 | module.exports = { 29 | //在这里配置插件 30 | plugins: [ 31 | [ 32 | 'bubble', 33 | { 34 | //气泡数量 推荐0(不包括)到1之前的小数, 35 | bubbleNumber: 0.14, 36 | 37 | //气泡透明度 0到1之间的小数 38 | bubbleAlpha: 0.6, 39 | 40 | //透明度变化速度,越接近于0越好 41 | alphaChangeSpeed: 0.00001, 42 | 43 | //气泡大小,推荐0到1之间的值 44 | size: 0.4, 45 | 46 | //气泡大小变化速度 越小越好 47 | sizeChangeSpeed: 0.0002, 48 | 49 | //气泡上升速度 50 | riseSpeed: 0.4, 51 | 52 | //气泡颜色,白色rgb(255,255,255) 请传入255,255,255 53 | color: '255,255,255', 54 | 55 | //该气泡盒子的z-index值,请根据你自己主题,传入适当的值,否则可能不会显示 56 | zIndex: -2 57 | } 58 | ], 59 | } 60 | ``` 61 | 62 | 63 | 64 | 65 | 66 | 当你在`config.js`文件中,使用该插件后,该插件会自动在便会自动显示 67 | 68 | ![image-20211122003330518](https://ooszy.cco.vin/img/blog-note/image-20211122003330518.png?x-oss-process=style/pictureProcess1) 69 | 70 | 71 | 72 | 图中红框内的dom节点,便是该插件自动添加的,如果你确实配置了该插件,但是在首页中,并没有显示的话,那么请f12看一下你网站的css样式,并且传入正确,合适的`zIndex`值 73 | 74 | 75 | 76 | ::: tip 77 | 78 | 该插件所在节点的`z-index`是通过插件配置项中的`zIndex`进行配置的 79 | 80 | ::: 81 | 82 | 83 | 84 | -------------------------------------------------------------------------------- /Aurora-plugin/vuepress-plugin-bubble/lib/AuroraBubble.vue: -------------------------------------------------------------------------------- 1 | 7 | 8 | 62 | 63 | -------------------------------------------------------------------------------- /Aurora-plugin/vuepress-plugin-bubble/lib/bubble.js: -------------------------------------------------------------------------------- 1 | /* 这个气泡特效是收集于网络,作者为一为忆, http://www.iowen.cn */ 2 | let canvas, ctx, width, height, bubbles, animateHeader = true; 3 | let bubbleNumber,bubbleAlpha,alphaChangeSpeed,size,sizeChangeSpeed,riseSpeed,color; 4 | function initHeader() { 5 | canvas = document.getElementById('aurora-bubble-canvas'); 6 | window_resize(); 7 | ctx = canvas.getContext('2d'); 8 | //建立泡泡 9 | bubbles = []; 10 | let num = width * bubbleNumber;//气泡数量 11 | for (let i = 0; i < num; i++) { 12 | let c = new Bubble(); 13 | bubbles.push(c); 14 | } 15 | animate(); 16 | } 17 | 18 | function animate() { 19 | if (animateHeader) { 20 | ctx.clearRect(0, 0, width, height); 21 | for (let i in bubbles) { 22 | bubbles[i].draw(); 23 | } 24 | } 25 | requestAnimationFrame(animate); 26 | } 27 | 28 | function window_resize() { 29 | //canvas铺满窗口 30 | width = window.innerWidth; 31 | height = window.innerHeight; 32 | 33 | //如果需要铺满内容可以换下面这个 34 | let panel = document.getElementById('aurora-bubble-box'); 35 | width=panel.offsetWidth; 36 | height=panel.offsetHeight; 37 | 38 | canvas.width = width; 39 | canvas.height = height; 40 | } 41 | 42 | function Bubble() { 43 | let _this = this; 44 | (function() { 45 | _this.pos = {}; 46 | init(); 47 | })(); 48 | function init() { 49 | _this.pos.x = Math.random() * width; 50 | _this.pos.y = height + Math.random() * 100; 51 | _this.alpha = 0.1 + Math.random() * bubbleAlpha;//气泡透明度 52 | _this.alpha_change = 0.0002 + Math.random() * alphaChangeSpeed;//气泡透明度变化速度 53 | _this.scale = 0.2 + Math.random() * size;//气泡大小 54 | _this.scale_change = Math.random() * sizeChangeSpeed;//气泡大小变化速度 55 | _this.speed = 0.1 + Math.random() * riseSpeed;//气泡上升速度 56 | } 57 | //气泡 58 | this.draw = function() { 59 | if (_this.alpha <= 0) { 60 | init(); 61 | } 62 | _this.pos.y -= _this.speed; 63 | _this.alpha -= _this.alpha_change; 64 | _this.scale += _this.scale_change; 65 | ctx.beginPath(); 66 | ctx.arc(_this.pos.x, _this.pos.y, _this.scale * 10, 0, 2 * Math.PI, false); 67 | ctx.fillStyle = 'rgba(' + color + ',' + _this.alpha + ')'; 68 | ctx.fill(); 69 | }; 70 | } 71 | 72 | export function bubble(aurora_bubbleNumber,aurora_bubbleAlpha,aurora_alphaChangeSpeed,aurora_size,aurora_sizeChangeSpeed,aurora_riseSpeed,aurora_color) { 73 | bubbleNumber = aurora_bubbleNumber 74 | bubbleAlpha = aurora_bubbleAlpha 75 | alphaChangeSpeed = aurora_alphaChangeSpeed 76 | size = aurora_size 77 | sizeChangeSpeed = aurora_sizeChangeSpeed 78 | riseSpeed = aurora_riseSpeed 79 | color = aurora_color 80 | initHeader(); 81 | } 82 | -------------------------------------------------------------------------------- /Aurora-plugin/vuepress-plugin-bubble/lib/clientAppEnhance.d.ts: -------------------------------------------------------------------------------- 1 | declare const _default: import("@vuepress/client").ClientAppEnhance; 2 | export default _default; 3 | 4 | -------------------------------------------------------------------------------- /Aurora-plugin/vuepress-plugin-bubble/lib/clientAppEnhance.js: -------------------------------------------------------------------------------- 1 | import { defineClientAppEnhance } from '@vuepress/client'; 2 | export default defineClientAppEnhance(({ app, router }) => { 3 | 4 | }); 5 | -------------------------------------------------------------------------------- /Aurora-plugin/vuepress-plugin-bubble/lib/node/index.d.ts: -------------------------------------------------------------------------------- 1 | import { BubblePluginOptions } from './vuepress-plugin-bubble'; 2 | export * from './vuepress-plugin-bubble'; 3 | export default BubblePluginOptions; 4 | -------------------------------------------------------------------------------- /Aurora-plugin/vuepress-plugin-bubble/lib/node/index.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { 3 | if (k2 === undefined) k2 = k; 4 | Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } }); 5 | }) : (function(o, m, k, k2) { 6 | if (k2 === undefined) k2 = k; 7 | o[k2] = m[k]; 8 | })); 9 | var __exportStar = (this && this.__exportStar) || function(m, exports) { 10 | for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p); 11 | }; 12 | Object.defineProperty(exports, "__esModule", { value: true }); 13 | const bubblePlugin_1 = require("./vuepress-plugin-bubble"); 14 | __exportStar(require("./vuepress-plugin-bubble"), exports); 15 | exports.default = bubblePlugin_1.bubblePlugin; 16 | -------------------------------------------------------------------------------- /Aurora-plugin/vuepress-plugin-bubble/lib/node/vuepress-plugin-bubble.d.ts: -------------------------------------------------------------------------------- 1 | import type { Plugin } from '@vuepress/core'; 2 | export declare type BubblePluginOptions = Record; 3 | export declare const BubblePluginOptions: Plugin; 4 | -------------------------------------------------------------------------------- /Aurora-plugin/vuepress-plugin-bubble/lib/node/vuepress-plugin-bubble.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | Object.defineProperty(exports, "__esModule", { value: true }); 3 | exports.cozePlugin = void 0; 4 | const { path } = require('@vuepress/utils') 5 | const utils_1 = require("@vuepress/utils"); 6 | const vuepressPluginBubble = ({bubbleNumber,bubbleAlpha,alphaChangeSpeed,size,sizeChangeSpeed,riseSpeed,color,zIndex}) => { 7 | return { 8 | onInitialized: (app) => { 9 | 10 | }, 11 | name: 'vuepress-plugin-bubble', 12 | define: { 13 | __BUBBLE_NUMBER__: bubbleNumber, 14 | __BUBBLE_ALPHA__: bubbleAlpha, 15 | __ALPHA_CHANGE_SPEED__: alphaChangeSpeed, 16 | __SIZE__: size, 17 | __SIZE_CHANGE_SPEED__: sizeChangeSpeed, 18 | __RISE_SPEED__: riseSpeed, 19 | __COLOR__: color, 20 | __Z_INDEX__: zIndex 21 | }, 22 | multiple: false, 23 | clientAppEnhanceFiles: utils_1.path.resolve(__dirname, '../clientAppEnhance.js'), 24 | clientAppRootComponentFiles: path.resolve(__dirname, '../AuroraBubble.vue'), 25 | }; 26 | }; 27 | exports.bubblePlugin = vuepressPluginBubble; 28 | -------------------------------------------------------------------------------- /Aurora-plugin/vuepress-plugin-bubble/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "vuepress-plugin-bubble", 3 | "version": "1.0.4", 4 | "description": "A vuepress-based animation blog theme, simple, beautiful, multi-color, multiple custom functions, providing article poster sharing, talk, photo album, comment and other features 一个基于vuepress的动漫类博客主题,简洁,漂亮,多色彩,多种自定义功能,提供文章海报分享,说说,相册,评论等特色功�?", 5 | "main": "./lib/node/index.js", 6 | "directories": { 7 | "lib": "lib" 8 | }, 9 | "scripts": { 10 | "test": "echo \"Error: no test specified\" && exit 1" 11 | }, 12 | "repository": { 13 | "type": "git", 14 | "url": "https://github.com/vuepress-aurora/vuepress-plugin-bubble" 15 | }, 16 | "keywords": [ 17 | "vuepress-theme", 18 | "vuepress-plugin", 19 | "vuepress-plugin-bubble", 20 | "vuepress-plugin-player", 21 | "romantic bubble", 22 | "vuepress", 23 | "vuepress romantic" 24 | ], 25 | "author": "qsyyke", 26 | "license": "ISC", 27 | "bugs": { 28 | "url": "https://github.com/vuepress-aurora/vuepress-plugin-music-bubble/issues" 29 | }, 30 | "homepage": "https://aurora.xcye.xyz/plugin/music-bubble" 31 | } 32 | -------------------------------------------------------------------------------- /Aurora-plugin/vuepress-plugin-coze/lib/client/clientAppEnhance.d.ts: -------------------------------------------------------------------------------- 1 | declare const _default: import("@vuepress/client").ClientAppEnhance; 2 | export default _default; 3 | 4 | -------------------------------------------------------------------------------- /Aurora-plugin/vuepress-plugin-coze/lib/client/clientAppEnhance.js: -------------------------------------------------------------------------------- 1 | import { defineClientAppEnhance } from '@vuepress/client'; 2 | import CozeMood from './components/CozeMood.vue' 3 | import RegisterUser from './components/RegisterUser.vue' 4 | import CozeLogin from "./components/CozeLogin.vue"; 5 | import CozePhoto from "./components/CozePhoto.vue"; 6 | import AuroraCozeMood from "./components/AuroraCozeMood.vue"; 7 | 8 | import './style/coze-plugin.css' 9 | 10 | import { init } from "leancloud-storage"; 11 | 12 | let appId = '' 13 | let appKey = '' 14 | let masterKey = '' 15 | let onlyAdministrator = true; 16 | let avatar = 'https://ooszy.cco.vin/img/blog-note/avatar-aurora.png' 17 | try { 18 | appId = __APP_ID__; 19 | appKey = __APP_KEY__; 20 | masterKey = __Master_Key__; 21 | avatar = __AVATAR_PATH__; 22 | onlyAdministrator = __ONLY_ADMINISTRATOR 23 | }catch (e) { 24 | console.warn("你必须在插件中传入appId,appKey,masterKey配置项") 25 | } 26 | 27 | export default defineClientAppEnhance(({ app, router }) => { 28 | app.component("CozeMood",CozeMood) 29 | app.component("RegisterUser",RegisterUser) 30 | app.component("CozeLogin",CozeLogin) 31 | app.component("CozePhoto",CozePhoto) 32 | app.component("AuroraCozeMood",AuroraCozeMood) 33 | 34 | router.addRoute({ 35 | path: '/login', 36 | component: CozePhoto 37 | }) 38 | 39 | try { 40 | init({ 41 | appId: appId, 42 | appKey: appKey 43 | }); 44 | }catch (e) { 45 | console.warn(e) 46 | } 47 | }); 48 | -------------------------------------------------------------------------------- /Aurora-plugin/vuepress-plugin-coze/lib/client/clientAppSetup.d.ts: -------------------------------------------------------------------------------- 1 | declare const _default: import("@vuepress/client").ClientAppSetup; 2 | export default _default; 3 | -------------------------------------------------------------------------------- /Aurora-plugin/vuepress-plugin-coze/lib/client/clientAppSetup.js: -------------------------------------------------------------------------------- 1 | import { computed, provide } from 'vue'; 2 | import { defineClientAppSetup, usePageFrontmatter } from '@vuepress/client'; 3 | export default defineClientAppSetup(() => { 4 | 5 | }); 6 | -------------------------------------------------------------------------------- /Aurora-plugin/vuepress-plugin-coze/lib/client/composables/index.d.ts: -------------------------------------------------------------------------------- 1 | // @ts-ignore 2 | export * from './useThemeData'; 3 | -------------------------------------------------------------------------------- /Aurora-plugin/vuepress-plugin-coze/lib/client/composables/index.js: -------------------------------------------------------------------------------- 1 | export * from './useThemeData'; 2 | -------------------------------------------------------------------------------- /Aurora-plugin/vuepress-plugin-coze/lib/client/composables/useThemeData.d.ts: -------------------------------------------------------------------------------- 1 | import type { ThemeDataRef, ThemeLocaleDataRef } from '@vuepress/plugin-theme-data/lib/client'; 2 | import type { DefaultThemeData } from '../../shared'; 3 | export declare const useThemeData: () => ThemeDataRef; 4 | export declare const useThemeLocaleData: () => ThemeLocaleDataRef; 5 | -------------------------------------------------------------------------------- /Aurora-plugin/vuepress-plugin-coze/lib/client/composables/useThemeData.js: -------------------------------------------------------------------------------- 1 | import { useThemeData as _useThemeData, useThemeLocaleData as _useThemeLocaleData, } from '@vuepress/plugin-theme-data/lib/client'; 2 | export const useThemeData = () => _useThemeData(); 3 | export const useThemeLocaleData = () => _useThemeLocaleData(); 4 | -------------------------------------------------------------------------------- /Aurora-plugin/vuepress-plugin-coze/lib/client/public/font/download.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blog-aurora/vuepress-theme-aurora/710a3c584f6e82341108a8f18fd2a18eff75dda5/Aurora-plugin/vuepress-plugin-coze/lib/client/public/font/download.zip -------------------------------------------------------------------------------- /Aurora-plugin/vuepress-plugin-coze/lib/client/public/font/iconfont.css: -------------------------------------------------------------------------------- 1 | @font-face { 2 | font-family: "aurora-coze-font"; /* Project id 2919721 */ 3 | src: url('iconfont.woff2?t=1636197186346') format('woff2'), 4 | url('iconfont.woff?t=1636197186346') format('woff'), 5 | url('iconfont.ttf?t=1636197186346') format('truetype'); 6 | } 7 | 8 | .aurora-coze-font { 9 | font-family: "aurora-coze-font" !important; 10 | font-size: 16px; 11 | font-style: normal; 12 | -webkit-font-smoothing: antialiased; 13 | -moz-osx-font-smoothing: grayscale; 14 | } 15 | 16 | .aurora-coze-commentfill:before { 17 | content: "\e666"; 18 | } 19 | 20 | .aurora-coze-love:before { 21 | content: "\e665"; 22 | } 23 | 24 | .aurora-coze-dianzan:before { 25 | content: "\e656"; 26 | } 27 | 28 | .aurora-coze-edit:before { 29 | content: "\e60b"; 30 | } 31 | 32 | .aurora-coze-comment:before { 33 | content: "\e611"; 34 | } 35 | 36 | .aurora-coze-cancel:before { 37 | content: "\e600"; 38 | } 39 | 40 | .aurora-coze-love1:before { 41 | content: "\e667"; 42 | } 43 | 44 | .aurora-coze-edit1:before { 45 | content: "\e7a0"; 46 | } 47 | 48 | .aurora-coze-dianzan1:before { 49 | content: "\ec7f"; 50 | } 51 | 52 | .aurora-coze-comments:before { 53 | content: "\e6e7"; 54 | } 55 | 56 | .aurora-coze-zhiding:before { 57 | content: "\e601"; 58 | } 59 | 60 | .aurora-coze-cancel-2:before { 61 | content: "\e6a4"; 62 | } 63 | 64 | .aurora-coze-edit2:before { 65 | content: "\e66e"; 66 | } 67 | 68 | .aurora-coze-zhiding1:before { 69 | content: "\e607"; 70 | } 71 | 72 | .aurora-coze-love2:before { 73 | content: "\e638"; 74 | } 75 | 76 | .aurora-coze-ic_cancel:before { 77 | content: "\e6b6"; 78 | } 79 | 80 | -------------------------------------------------------------------------------- /Aurora-plugin/vuepress-plugin-coze/lib/client/public/font/iconfont.json: -------------------------------------------------------------------------------- 1 | { 2 | "id": "2919721", 3 | "name": "coze-plugin", 4 | "font_family": "aurora-coze-font", 5 | "css_prefix_text": "aurora-coze-", 6 | "description": "", 7 | "glyphs": [ 8 | { 9 | "icon_id": "30415", 10 | "name": "comment_fill", 11 | "font_class": "commentfill", 12 | "unicode": "e666", 13 | "unicode_decimal": 58982 14 | }, 15 | { 16 | "icon_id": "800879", 17 | "name": "love", 18 | "font_class": "love", 19 | "unicode": "e665", 20 | "unicode_decimal": 58981 21 | }, 22 | { 23 | "icon_id": "809963", 24 | "name": "点赞", 25 | "font_class": "dianzan", 26 | "unicode": "e656", 27 | "unicode_decimal": 58966 28 | }, 29 | { 30 | "icon_id": "1061038", 31 | "name": "edit", 32 | "font_class": "edit", 33 | "unicode": "e60b", 34 | "unicode_decimal": 58891 35 | }, 36 | { 37 | "icon_id": "1061044", 38 | "name": "comment", 39 | "font_class": "comment", 40 | "unicode": "e611", 41 | "unicode_decimal": 58897 42 | }, 43 | { 44 | "icon_id": "1857383", 45 | "name": "cancel", 46 | "font_class": "cancel", 47 | "unicode": "e600", 48 | "unicode_decimal": 58880 49 | }, 50 | { 51 | "icon_id": "3889116", 52 | "name": "love ", 53 | "font_class": "love1", 54 | "unicode": "e667", 55 | "unicode_decimal": 58983 56 | }, 57 | { 58 | "icon_id": "6151070", 59 | "name": "edit", 60 | "font_class": "edit1", 61 | "unicode": "e7a0", 62 | "unicode_decimal": 59296 63 | }, 64 | { 65 | "icon_id": "6337455", 66 | "name": "点赞", 67 | "font_class": "dianzan1", 68 | "unicode": "ec7f", 69 | "unicode_decimal": 60543 70 | }, 71 | { 72 | "icon_id": "7685038", 73 | "name": "comments", 74 | "font_class": "comments", 75 | "unicode": "e6e7", 76 | "unicode_decimal": 59111 77 | }, 78 | { 79 | "icon_id": "15007626", 80 | "name": "置顶", 81 | "font_class": "zhiding", 82 | "unicode": "e601", 83 | "unicode_decimal": 58881 84 | }, 85 | { 86 | "icon_id": "15066904", 87 | "name": "cancel-2", 88 | "font_class": "cancel-2", 89 | "unicode": "e6a4", 90 | "unicode_decimal": 59044 91 | }, 92 | { 93 | "icon_id": "15838470", 94 | "name": "edit", 95 | "font_class": "edit2", 96 | "unicode": "e66e", 97 | "unicode_decimal": 58990 98 | }, 99 | { 100 | "icon_id": "20288404", 101 | "name": "置顶", 102 | "font_class": "zhiding1", 103 | "unicode": "e607", 104 | "unicode_decimal": 58887 105 | }, 106 | { 107 | "icon_id": "21916296", 108 | "name": "love", 109 | "font_class": "love2", 110 | "unicode": "e638", 111 | "unicode_decimal": 58936 112 | }, 113 | { 114 | "icon_id": "21937631", 115 | "name": "ic_cancel", 116 | "font_class": "ic_cancel", 117 | "unicode": "e6b6", 118 | "unicode_decimal": 59062 119 | } 120 | ] 121 | } 122 | -------------------------------------------------------------------------------- /Aurora-plugin/vuepress-plugin-coze/lib/client/public/font/iconfont.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blog-aurora/vuepress-theme-aurora/710a3c584f6e82341108a8f18fd2a18eff75dda5/Aurora-plugin/vuepress-plugin-coze/lib/client/public/font/iconfont.ttf -------------------------------------------------------------------------------- /Aurora-plugin/vuepress-plugin-coze/lib/client/public/font/iconfont.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blog-aurora/vuepress-theme-aurora/710a3c584f6e82341108a8f18fd2a18eff75dda5/Aurora-plugin/vuepress-plugin-coze/lib/client/public/font/iconfont.woff -------------------------------------------------------------------------------- /Aurora-plugin/vuepress-plugin-coze/lib/client/public/font/iconfont.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blog-aurora/vuepress-theme-aurora/710a3c584f6e82341108a8f18fd2a18eff75dda5/Aurora-plugin/vuepress-plugin-coze/lib/client/public/font/iconfont.woff2 -------------------------------------------------------------------------------- /Aurora-plugin/vuepress-plugin-coze/lib/node/index.d.ts: -------------------------------------------------------------------------------- 1 | import { CozePluginOptions } from './vuepress-plugin-coze'; 2 | export * from './vuepress-plugin-coze'; 3 | export default CozePluginOptions; 4 | -------------------------------------------------------------------------------- /Aurora-plugin/vuepress-plugin-coze/lib/node/index.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { 3 | if (k2 === undefined) k2 = k; 4 | Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } }); 5 | }) : (function(o, m, k, k2) { 6 | if (k2 === undefined) k2 = k; 7 | o[k2] = m[k]; 8 | })); 9 | var __exportStar = (this && this.__exportStar) || function(m, exports) { 10 | for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p); 11 | }; 12 | Object.defineProperty(exports, "__esModule", { value: true }); 13 | const cozePlugin_1 = require("./vuepress-plugin-coze"); 14 | __exportStar(require("./vuepress-plugin-coze"), exports); 15 | exports.default = cozePlugin_1.cozePlugin; 16 | -------------------------------------------------------------------------------- /Aurora-plugin/vuepress-plugin-coze/lib/node/vuepress-plugin-coze.d.ts: -------------------------------------------------------------------------------- 1 | import type { Plugin } from '@vuepress/core'; 2 | export declare type CozePluginOptions = Record; 3 | export declare const CozePluginOptions: Plugin; 4 | -------------------------------------------------------------------------------- /Aurora-plugin/vuepress-plugin-coze/lib/node/vuepress-plugin-coze.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | Object.defineProperty(exports, "__esModule", { value: true }); 3 | exports.cozePlugin = void 0; 4 | const { createPage } = require('@vuepress/core'); 5 | const utils_1 = require("@vuepress/utils"); 6 | const AV = require('leancloud-storage'); 7 | const vuepressPluginCoze = ({appId,appKey,masterKey,avatarPath,registerPath,onlyAdministrator }) => { 8 | return { 9 | onInitialized: async (app) => { 10 | if (registerPath === undefined || registerPath === null) { 11 | registerPath = "/aurora-register" 12 | } 13 | 14 | const AuroraCozePage = await createPage(app, { 15 | //说说页面,默认 16 | path: '/aurora-coze', 17 | frontmatter: { 18 | layout: 'CozeMood', 19 | slug: 'aurora-coze-mood', 20 | }, 21 | // 设置 markdown 内容 22 | content: "", 23 | }) 24 | 25 | const photoPage = await createPage(app, { 26 | path: '/photo', 27 | // 设置 frontmatter 28 | frontmatter: { 29 | layout: 'CozePhoto', 30 | slug: 'aurora-photo', 31 | }, 32 | // 设置 markdown 内容 33 | content: "", 34 | }) 35 | 36 | const AuroraCozeMood = await createPage(app, { 37 | path: '/next-mood', 38 | // 设置 frontmatter 39 | frontmatter: { 40 | layout: 'AuroraCozeMood', 41 | slug: 'aurora-AuroraCozeMood', 42 | }, 43 | // 设置 markdown 内容 44 | content: "", 45 | }) 46 | 47 | const RegisterUserPage = await createPage(app, { 48 | //说说页面,默认 49 | path: registerPath, 50 | frontmatter: { 51 | layout: 'RegisterUser', 52 | slug: 'aurora-coze-register', 53 | }, 54 | // 设置 markdown 内容 55 | content: "", 56 | }) 57 | 58 | // 把它添加到 `app.pages` 59 | app.pages.push(AuroraCozePage) 60 | app.pages.push(RegisterUserPage) 61 | app.pages.push(photoPage) 62 | app.pages.push(AuroraCozeMood) 63 | }, 64 | define: { 65 | __APP_ID__: appId, 66 | __APP_KEY__: appKey, 67 | __Master_Key__: masterKey, 68 | __AVATAR_PATH__: avatarPath, 69 | __ONLY_ADMINISTRATOR: onlyAdministrator 70 | }, 71 | name: 'vuepress-plugin-coze', 72 | 73 | multiple: false, 74 | clientAppEnhanceFiles: utils_1.path.resolve(__dirname, '../client/clientAppEnhance.js') 75 | }; 76 | }; 77 | exports.cozePlugin = vuepressPluginCoze; 78 | -------------------------------------------------------------------------------- /Aurora-plugin/vuepress-plugin-coze/lib/shared/index.d.ts: -------------------------------------------------------------------------------- 1 | export * from './options'; 2 | -------------------------------------------------------------------------------- /Aurora-plugin/vuepress-plugin-coze/lib/shared/index.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { 3 | if (k2 === undefined) k2 = k; 4 | Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } }); 5 | }) : (function(o, m, k, k2) { 6 | if (k2 === undefined) k2 = k; 7 | o[k2] = m[k]; 8 | })); 9 | var __exportStar = (this && this.__exportStar) || function(m, exports) { 10 | for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p); 11 | }; 12 | Object.defineProperty(exports, "__esModule", { value: true }); 13 | __exportStar(require("./options"), exports); 14 | -------------------------------------------------------------------------------- /Aurora-plugin/vuepress-plugin-coze/lib/shared/options.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | Object.defineProperty(exports, "__esModule", { value: true }); 3 | -------------------------------------------------------------------------------- /Aurora-plugin/vuepress-plugin-coze/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "vuepress-plugin-coze", 3 | "version": "1.8.0", 4 | "description": "为Vuepress静态站点提供在线发布,编辑说说功能,支持图片上传,点赞,评论,用户登录,注册等功能 Provide online publishing, editing and talking functions for Vuepress static sites, support image upload, like, comment, user login, registration and other functions", 5 | "main": "./lib/node/index.js", 6 | "directories": { 7 | "lib": "lib" 8 | }, 9 | "scripts": { 10 | "test": "echo \"Error: no test specified\" && exit 1", 11 | "commit": "git add . && git cz" 12 | }, 13 | "repository": { 14 | "type": "git", 15 | "url": "https://github.com/vuepress-aurora/vuepress-plugin-coze" 16 | }, 17 | "keywords": [ 18 | "vuepress-theme", 19 | "vuepress-theme-aurora", 20 | "plugin", 21 | "vue", 22 | "vuepress-plugin", 23 | "blog-theme", 24 | "vuepress2", 25 | "aurora theme", 26 | "vuepress-chat" 27 | ], 28 | "dependencies": { 29 | "leancloud-storage": "^4.12.0", 30 | "gsap": "^3.8.0", 31 | "swiper": "^8.0.6", 32 | "turndown": "^7.1.1" 33 | }, 34 | "author": "qsyyke", 35 | "license": "ISC", 36 | "bugs": { 37 | "url": "https://github.com/vuepress-aurora/vuepress-plugin-coze/issues" 38 | }, 39 | "homepage": "https://aurora.xcye.xyz/plugin/coze/index.html", 40 | "devDependencies": { 41 | "@vuepress/plugin-medium-zoom": "2.0.0-beta.33" 42 | } 43 | } 44 | -------------------------------------------------------------------------------- /Aurora-plugin/vuepress-plugin-player/lib/client/clientAppEnhance.d.ts: -------------------------------------------------------------------------------- 1 | declare const _default: import("@vuepress/client").ClientAppEnhance; 2 | export default _default; 3 | 4 | -------------------------------------------------------------------------------- /Aurora-plugin/vuepress-plugin-player/lib/client/clientAppEnhance.js: -------------------------------------------------------------------------------- 1 | import { defineClientAppEnhance } from '@vuepress/client'; 2 | import AuroraMusic from "./components/AuroraMusic.vue"; 3 | import './style/aurora.music.css' 4 | export default defineClientAppEnhance(({ app, router }) => { 5 | app.component("AuroraMusic",AuroraMusic) 6 | }); 7 | -------------------------------------------------------------------------------- /Aurora-plugin/vuepress-plugin-player/lib/client/network.js: -------------------------------------------------------------------------------- 1 | import axios from "axios"; 2 | 3 | export default { 4 | req: function (option) { 5 | return new Promise((resolve, reject) => { 6 | let timeout = 5000; 7 | let method = "GET" 8 | let baseURL = "" 9 | try { 10 | timeout = option.timeout 11 | method = option.method 12 | baseURL = option.baseURL 13 | }catch (e) { 14 | 15 | } 16 | 17 | const instance = axios.create({ 18 | baseURL, 19 | timeout, 20 | method: 'GET', 21 | url: option.url, 22 | params: option.params, 23 | withCredentials: true 24 | }) 25 | 26 | //拦截器 27 | instance.interceptors.request.use(config => { 28 | return config 29 | },err => { 30 | return err 31 | }) 32 | 33 | //响应拦截器 34 | instance.interceptors.response.use(response => { 35 | return response 36 | },err => { 37 | 38 | return err 39 | }) 40 | 41 | instance(option) 42 | .then(res => { 43 | //res为响应结果 执行这里,跳转回到调用该方法处 44 | resolve({ 45 | src: option.songSrc, 46 | data: res.data 47 | }) 48 | }).catch(err => { 49 | //err为异常结果 50 | reject(err) 51 | }) 52 | }) 53 | }, 54 | } 55 | -------------------------------------------------------------------------------- /Aurora-plugin/vuepress-plugin-player/lib/client/style/music-font/iconfont.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blog-aurora/vuepress-theme-aurora/710a3c584f6e82341108a8f18fd2a18eff75dda5/Aurora-plugin/vuepress-plugin-player/lib/client/style/music-font/iconfont.ttf -------------------------------------------------------------------------------- /Aurora-plugin/vuepress-plugin-player/lib/client/style/music-font/iconfont.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blog-aurora/vuepress-theme-aurora/710a3c584f6e82341108a8f18fd2a18eff75dda5/Aurora-plugin/vuepress-plugin-player/lib/client/style/music-font/iconfont.woff -------------------------------------------------------------------------------- /Aurora-plugin/vuepress-plugin-player/lib/client/style/music-font/iconfont.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blog-aurora/vuepress-theme-aurora/710a3c584f6e82341108a8f18fd2a18eff75dda5/Aurora-plugin/vuepress-plugin-player/lib/client/style/music-font/iconfont.woff2 -------------------------------------------------------------------------------- /Aurora-plugin/vuepress-plugin-player/lib/node/index.d.ts: -------------------------------------------------------------------------------- 1 | import { PlayerPluginOptions } from './vuepress-plugin-player'; 2 | export * from './vuepress-plugin-player'; 3 | export default PlayerPluginOptions; 4 | -------------------------------------------------------------------------------- /Aurora-plugin/vuepress-plugin-player/lib/node/index.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { 3 | if (k2 === undefined) k2 = k; 4 | Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } }); 5 | }) : (function(o, m, k, k2) { 6 | if (k2 === undefined) k2 = k; 7 | o[k2] = m[k]; 8 | })); 9 | var __exportStar = (this && this.__exportStar) || function(m, exports) { 10 | for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p); 11 | }; 12 | Object.defineProperty(exports, "__esModule", { value: true }); 13 | const playerPlugin_1 = require("./vuepress-plugin-player"); 14 | __exportStar(require("./vuepress-plugin-player"), exports); 15 | exports.default = playerPlugin_1.playerPlugin; 16 | -------------------------------------------------------------------------------- /Aurora-plugin/vuepress-plugin-player/lib/node/vuepress-plugin-player.d.ts: -------------------------------------------------------------------------------- 1 | import type { Plugin } from '@vuepress/core'; 2 | export declare type PlayerPluginOptions = Record; 3 | export declare const PlayerPluginOptions: Plugin; 4 | -------------------------------------------------------------------------------- /Aurora-plugin/vuepress-plugin-player/lib/node/vuepress-plugin-player.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | Object.defineProperty(exports, "__esModule", { value: true }); 3 | exports.cozePlugin = void 0; 4 | const { path } = require('@vuepress/utils') 5 | const { createPage } = require('@vuepress/core'); 6 | const utils_1 = require("@vuepress/utils"); 7 | const vuepressPluginPlayer = ({songIds,playlist,showPlaylist ,disabledNetEaseMusic,localSongs,serverUrl,disableSpace}) => { 8 | return { 9 | define: { 10 | __SONG_IDS__: songIds, 11 | __PLAYLIST__: playlist, 12 | __SHOW_PLAYLIST__: showPlaylist, 13 | __DISABLED_NET_EASE_MUSIC__: disabledNetEaseMusic, 14 | __LOCAL_SONGS__: localSongs, 15 | __SERVER_URL__ :serverUrl, 16 | __DISABLED_SPACE__: disableSpace 17 | }, 18 | onInitialized: async (app) => { 19 | // 如果主页不存在 20 | const timeline = await createPage(app, { 21 | path: '/aurora-music', 22 | // 设置 frontmatter 23 | frontmatter: { 24 | layout: 'AuroraMusic', 25 | slug: 'aurora-plugin-music', 26 | }, 27 | permalink: '/aurora-music', 28 | // 设置 markdown 内容 29 | content: "", 30 | }) 31 | 32 | // 把它添加到 `app.pages` 33 | app.pages.push(timeline) 34 | }, 35 | name: 'vuepress-plugin-player', 36 | multiple: false, 37 | clientAppEnhanceFiles: utils_1.path.resolve(__dirname, '../client/clientAppEnhance.js'), 38 | clientAppRootComponentFiles: path.resolve(__dirname, '../client/components/AuroraMusic.vue'), 39 | }; 40 | }; 41 | exports.playerPlugin = vuepressPluginPlayer; 42 | -------------------------------------------------------------------------------- /Aurora-plugin/vuepress-plugin-player/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "vuepress-plugin-player", 3 | "version": "1.1.8", 4 | "description": "这是vuepress2版本的一个音乐播放器插件,支持本地歌曲和网易云歌曲,提供单曲顺序播放,随机播放等功能", 5 | "main": "./lib/node/index.js", 6 | "directories": { 7 | "lib": "lib" 8 | }, 9 | "scripts": { 10 | "test": "echo \"Error: no test specified\" && exit 1" 11 | }, 12 | "repository": { 13 | "type": "git", 14 | "url": "https://github.com/vuepress-aurora/vuepress-plugin-music-player" 15 | }, 16 | "keywords": [ 17 | "vuepress-theme", 18 | "vuepress-plugin", 19 | "vuepress-plugin-music", 20 | "vuepress-plugin-player", 21 | "blog-theme", 22 | "vuepress", 23 | "theme-plugin" 24 | ], 25 | "author": "qsyyke", 26 | "license": "ISC", 27 | "bugs": { 28 | "url": "https://github.com/vuepress-aurora/vuepress-plugin-music-player/issues" 29 | }, 30 | "homepage": "https://aurora.xcye.xyz/plugin/player", 31 | "dependencies": { 32 | "axios": "^0.21.1" 33 | } 34 | } 35 | -------------------------------------------------------------------------------- /Aurora-plugin/vuepress-plugin-player/serverUrl.md: -------------------------------------------------------------------------------- 1 | # serverUrl配置 2 | 3 | 1. 进入到[NeteaseCloudMusicApi仓库](https://github.com/Binaryify/NeteaseCloudMusicApi) 4 | 5 | ![image-20211122001209289](https://ooszy.cco.vin/img/blog-note/image-20211122001209289.png?x-oss-process=style/pictureProcess1) 6 | 7 | 当fork成功之后,你会在你自己的仓库中,看到此项目 8 | 9 | ![image-20211122001311599](https://ooszy.cco.vin/img/blog-note/image-20211122001311599.png?x-oss-process=style/pictureProcess1) 10 | 11 | 12 | 13 | 2. 进入[vercel的dashboard](https://vercel.com/dashboard) 14 | 15 | ![image-20211122001431005](https://ooszy.cco.vin/img/blog-note/image-20211122001431005.png?x-oss-process=style/pictureProcess1) 16 | 17 | 18 | 19 | ![image-20211122001640574](https://ooszy.cco.vin/img/blog-note/image-20211122001640574.png?x-oss-process=style/pictureProcess1) 20 | 21 | 22 | 23 | 24 | 25 | ![image-20211122001806989](https://ooszy.cco.vin/img/blog-note/image-20211122001806989.png?x-oss-process=style/pictureProcess1) 26 | 27 | 28 | 29 | > 等待部署成功 30 | 31 | ![image-20211122001845643](https://ooszy.cco.vin/img/blog-note/image-20211122001845643.png?x-oss-process=style/pictureProcess1) 32 | 33 | ![image-20211122001946644](https://ooszy.cco.vin/img/blog-note/image-20211122001946644.png?x-oss-process=style/pictureProcess1) 34 | 35 | ![image-20211122002032565](https://ooszy.cco.vin/img/blog-note/image-20211122002032565.png?x-oss-process=style/pictureProcess1) 36 | 37 | 38 | 39 | 40 | 41 | ![image-20211122002306640](https://ooszy.cco.vin/img/blog-note/image-20211122002306640.png?x-oss-process=style/pictureProcess1) 42 | 43 | 44 | 45 | 46 | 47 | 你可以使用该api做很多的是,该api的详细使用[请查看](https://neteasecloudmusicapi.vercel.app/#/) -------------------------------------------------------------------------------- /Aurora-theme/lib/client/clientAppEnhance.d.ts: -------------------------------------------------------------------------------- 1 | import './styles/index.scss'; 2 | declare const _default: import("@vuepress/client").ClientAppEnhance; 3 | export default _default; 4 | 5 | -------------------------------------------------------------------------------- /Aurora-theme/lib/client/clientAppSetup.d.ts: -------------------------------------------------------------------------------- 1 | declare const _default: import("@vuepress/client").ClientAppSetup; 2 | export default _default; 3 | -------------------------------------------------------------------------------- /Aurora-theme/lib/client/clientAppSetup.js: -------------------------------------------------------------------------------- 1 | import { computed, provide } from 'vue'; 2 | import { defineClientAppSetup, usePageFrontmatter } from '@vuepress/client'; 3 | import {resolveSidebarItems, sidebarItemsSymbol, useThemeData, useThemeLocaleData,} from './composables'; 4 | export default defineClientAppSetup(() => { 5 | // we need to access sidebar items in multiple components 6 | // so we make it global computed 7 | const themeLocale = useThemeLocaleData(); 8 | const frontmatter = usePageFrontmatter(); 9 | const sidebarItems = computed(() => resolveSidebarItems(frontmatter.value, themeLocale.value)); 10 | provide(sidebarItemsSymbol, sidebarItems); 11 | }); 12 | -------------------------------------------------------------------------------- /Aurora-theme/lib/client/components/Archive.vue: -------------------------------------------------------------------------------- 1 | 18 | 19 | 24 | 25 | -------------------------------------------------------------------------------- /Aurora-theme/lib/client/components/DropdownTransition.vue: -------------------------------------------------------------------------------- 1 | 11 | 12 | 35 | -------------------------------------------------------------------------------- /Aurora-theme/lib/client/components/Mood.vue: -------------------------------------------------------------------------------- 1 | 13 | 14 | 68 | 73 | -------------------------------------------------------------------------------- /Aurora-theme/lib/client/components/PageNav.vue: -------------------------------------------------------------------------------- 1 | 16 | 17 | 123 | -------------------------------------------------------------------------------- /Aurora-theme/lib/client/components/RecommendPage.vue: -------------------------------------------------------------------------------- 1 | 14 | 15 | 69 | -------------------------------------------------------------------------------- /Aurora-theme/lib/client/components/SocialSpin.vue: -------------------------------------------------------------------------------- 1 | 15 | 16 | 62 | 63 | -------------------------------------------------------------------------------- /Aurora-theme/lib/client/components/ToggleDarkModeButton.vue: -------------------------------------------------------------------------------- 1 | 43 | 44 | 52 | -------------------------------------------------------------------------------- /Aurora-theme/lib/client/components/ToggleSidebarButton.vue: -------------------------------------------------------------------------------- 1 | 17 | 18 | 41 | -------------------------------------------------------------------------------- /Aurora-theme/lib/client/components/child/FooterItem.vue: -------------------------------------------------------------------------------- 1 | 6 | 7 | 15 | 16 | -------------------------------------------------------------------------------- /Aurora-theme/lib/client/components/child/LinkItem.vue: -------------------------------------------------------------------------------- 1 | 20 | 21 | -------------------------------------------------------------------------------- /Aurora-theme/lib/client/components/child/RecommendItem.vue: -------------------------------------------------------------------------------- 1 | 14 | 15 | 77 | 78 | -------------------------------------------------------------------------------- /Aurora-theme/lib/client/components/child/home/HomeSocial.vue: -------------------------------------------------------------------------------- 1 | 2 | 15 | 16 | 86 | 87 | -------------------------------------------------------------------------------- /Aurora-theme/lib/client/components/child/side/HomeSidebarSocialItem.vue: -------------------------------------------------------------------------------- 1 | 16 | 17 | 116 | 117 | -------------------------------------------------------------------------------- /Aurora-theme/lib/client/components/child/side/MobileSidebar.vue: -------------------------------------------------------------------------------- 1 | 21 | 22 | 83 | -------------------------------------------------------------------------------- /Aurora-theme/lib/client/components/child/tag/TagCloud.vue: -------------------------------------------------------------------------------- 1 | 11 | 12 | 50 | 51 | -------------------------------------------------------------------------------- /Aurora-theme/lib/client/components/child/tag/TagItem.vue: -------------------------------------------------------------------------------- 1 | 9 | 10 | -------------------------------------------------------------------------------- /Aurora-theme/lib/client/components/global/BCenter.vue: -------------------------------------------------------------------------------- 1 | 12 | 13 | -------------------------------------------------------------------------------- /Aurora-theme/lib/client/components/global/Badge.vue: -------------------------------------------------------------------------------- 1 | 12 | 13 | 38 | -------------------------------------------------------------------------------- /Aurora-theme/lib/client/components/global/CodeGroup.d.ts: -------------------------------------------------------------------------------- 1 | import type { VNode } from 'vue'; 2 | declare const _default: import("vue").DefineComponent<{}, () => VNode | null, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{} & {} & {}>, {}>; 5 | export default _default; 6 | -------------------------------------------------------------------------------- /Aurora-theme/lib/client/components/global/CodeGroupItem.vue: -------------------------------------------------------------------------------- 1 | 10 | 11 | 30 | -------------------------------------------------------------------------------- /Aurora-theme/lib/client/components/global/Comment.vue: -------------------------------------------------------------------------------- 1 | 14 | 97 | 98 | 103 | -------------------------------------------------------------------------------- /Aurora-theme/lib/client/components/global/Footer.vue: -------------------------------------------------------------------------------- 1 | 14 | 15 | 104 | 105 | -------------------------------------------------------------------------------- /Aurora-theme/lib/client/components/global/Message.vue: -------------------------------------------------------------------------------- 1 | 6 | 7 | 25 | -------------------------------------------------------------------------------- /Aurora-theme/lib/client/components/global/inner/AuroraBubble.vue: -------------------------------------------------------------------------------- 1 | 9 | 10 | -------------------------------------------------------------------------------- /Aurora-theme/lib/client/components/global/inner/Pins.vue: -------------------------------------------------------------------------------- 1 | 10 | 11 | 30 | 31 | -------------------------------------------------------------------------------- /Aurora-theme/lib/client/composables/index.d.ts: -------------------------------------------------------------------------------- 1 | export * from './useDarkMode'; 2 | export * from './useNavLink'; 3 | export * from './useResolveRouteWithRedirect'; 4 | export * from './useScrollPromise'; 5 | export * from './useSidebarItems'; 6 | export * from './useThemeData'; 7 | -------------------------------------------------------------------------------- /Aurora-theme/lib/client/composables/index.js: -------------------------------------------------------------------------------- 1 | export * from './useDarkMode'; 2 | export * from './useNavLink'; 3 | export * from './useResolveRouteWithRedirect'; 4 | export * from './useScrollPromise'; 5 | export * from './useSidebarItems'; 6 | export * from './useThemeData'; 7 | -------------------------------------------------------------------------------- /Aurora-theme/lib/client/composables/useDarkMode.d.ts: -------------------------------------------------------------------------------- 1 | import type { Ref } from 'vue'; 2 | export declare const useDarkMode: () => Ref; 3 | -------------------------------------------------------------------------------- /Aurora-theme/lib/client/composables/useDarkMode.js: -------------------------------------------------------------------------------- 1 | import { onMounted, onUnmounted, ref, watch } from 'vue'; 2 | export const useDarkMode = () => { 3 | const isDarkMode = ref(false); 4 | const updateDarkModeClass = (value = isDarkMode.value) => { 5 | // set `class="dark"` on `` element 6 | const htmlEl = window === null || window === void 0 ? void 0 : window.document.querySelector('html'); 7 | htmlEl === null || htmlEl === void 0 ? void 0 : htmlEl.classList.toggle('dark', value); 8 | }; 9 | const mediaQuery = ref(null); 10 | const onMediaQueryChange = (event) => { 11 | isDarkMode.value = event.matches; 12 | }; 13 | onMounted(() => { 14 | // get `prefers-color-scheme` media query and set the initial mode 15 | mediaQuery.value = window.matchMedia('(prefers-color-scheme: dark)'); 16 | isDarkMode.value = mediaQuery.value.matches; 17 | // watch changes 18 | mediaQuery.value.addEventListener('change', onMediaQueryChange); 19 | watch(isDarkMode, updateDarkModeClass, { immediate: true }); 20 | }); 21 | onUnmounted(() => { 22 | var _a; 23 | (_a = mediaQuery.value) === null || _a === void 0 ? void 0 : _a.removeEventListener('change', onMediaQueryChange); 24 | updateDarkModeClass(false); 25 | }); 26 | return isDarkMode; 27 | }; 28 | -------------------------------------------------------------------------------- /Aurora-theme/lib/client/composables/useNavLink.d.ts: -------------------------------------------------------------------------------- 1 | import type { NavLink } from '../../shared'; 2 | /** 3 | * Resolve NavLink props from string 4 | * 5 | * @example 6 | * - Input: '/README.md' 7 | * - Output: { text: 'Home', link: '/' } 8 | */ 9 | export declare const useNavLink: (item: string) => NavLink; 10 | -------------------------------------------------------------------------------- /Aurora-theme/lib/client/composables/useNavLink.js: -------------------------------------------------------------------------------- 1 | import { useResolveRouteWithRedirect } from './useResolveRouteWithRedirect'; 2 | import myData from'@temp/my-data' 3 | /** 4 | * Resolve NavLink props from string 5 | * 6 | * @example 7 | * - Input: '/README.md' 8 | * - Output: { text: 'Home', link: '/' } 9 | */ 10 | export const useNavLink = (item) => { 11 | const resolved = useResolveRouteWithRedirect(item); 12 | if (resolved.name !== "404") { 13 | for (let i = 0; i < myData.length; i++) { 14 | if (resolved.fullPath === myData[i].path) { 15 | resolved.meta.title = myData[i].title 16 | return { 17 | text: resolved.meta.title || item, 18 | link: resolved.fullPath, 19 | } 20 | } 21 | } 22 | }else { 23 | return { 24 | text: resolved.meta.title || item, 25 | link: item, 26 | }; 27 | } 28 | }; 29 | -------------------------------------------------------------------------------- /Aurora-theme/lib/client/composables/useResolveRouteWithRedirect.d.ts: -------------------------------------------------------------------------------- 1 | import type { Router } from 'vue-router'; 2 | /** 3 | * Resolve a route with redirection 4 | */ 5 | export declare const useResolveRouteWithRedirect: (to: import("vue-router").RouteLocationRaw, currentLocation?: import("vue-router").RouteLocationNormalizedLoaded | undefined) => ReturnType; 6 | -------------------------------------------------------------------------------- /Aurora-theme/lib/client/composables/useResolveRouteWithRedirect.js: -------------------------------------------------------------------------------- 1 | import { isFunction, isString } from '@vuepress/shared'; 2 | import { useRouter } from 'vue-router'; 3 | /** 4 | * Resolve a route with redirection 5 | */ 6 | export const useResolveRouteWithRedirect = (...args) => { 7 | const router = useRouter(); 8 | const route = router.resolve(...args); 9 | const lastMatched = route.matched[route.matched.length - 1]; 10 | if (!(lastMatched === null || lastMatched === void 0 ? void 0 : lastMatched.redirect)) { 11 | return route; 12 | } 13 | const { redirect } = lastMatched; 14 | const resolvedRedirect = isFunction(redirect) ? redirect(route) : redirect; 15 | const resolvedRedirectObj = isString(resolvedRedirect) 16 | ? { path: resolvedRedirect } 17 | : resolvedRedirect; 18 | return useResolveRouteWithRedirect({ 19 | hash: route.hash, 20 | query: route.query, 21 | params: route.params, 22 | ...resolvedRedirectObj, 23 | }); 24 | }; 25 | -------------------------------------------------------------------------------- /Aurora-theme/lib/client/composables/useScrollPromise.d.ts: -------------------------------------------------------------------------------- 1 | export interface ScrollPromise { 2 | wait(): Promise | null; 3 | pending: () => void; 4 | resolve: () => void; 5 | } 6 | export declare const useScrollPromise: () => ScrollPromise; 7 | -------------------------------------------------------------------------------- /Aurora-theme/lib/client/composables/useScrollPromise.js: -------------------------------------------------------------------------------- 1 | let promise = null; 2 | let promiseResolve = null; 3 | const scrollPromise = { 4 | wait: () => promise, 5 | pending: () => { 6 | promise = new Promise((resolve) => (promiseResolve = resolve)); 7 | }, 8 | resolve: () => { 9 | promiseResolve === null || promiseResolve === void 0 ? void 0 : promiseResolve(); 10 | promise = null; 11 | promiseResolve = null; 12 | }, 13 | }; 14 | export const useScrollPromise = () => scrollPromise; 15 | -------------------------------------------------------------------------------- /Aurora-theme/lib/client/composables/useSidebarItems.d.ts: -------------------------------------------------------------------------------- 1 | import type { ComputedRef, InjectionKey } from 'vue'; 2 | import type { PageHeader } from '@vuepress/client'; 3 | import type { DefaultThemeData, DefaultThemeNormalPageFrontmatter, SidebarConfigArray, SidebarConfigObject, ResolvedSidebarItem } from '../../shared'; 4 | export declare type SidebarItemsRef = ComputedRef; 5 | export declare const sidebarItemsSymbol: InjectionKey; 6 | /** 7 | * Inject sidebar items global computed 8 | */ 9 | export declare const useSidebarItems: () => SidebarItemsRef; 10 | /** 11 | * Resolve sidebar items global computed 12 | * 13 | * It should only be resolved and provided once 14 | */ 15 | export declare const resolveSidebarItems: (frontmatter: DefaultThemeNormalPageFrontmatter, themeLocale: DefaultThemeData) => ResolvedSidebarItem[]; 16 | /** 17 | * Util to transform page header to sidebar item 18 | */ 19 | export declare const headerToSidebarItem: (header: PageHeader, sidebarDepth: number) => ResolvedSidebarItem; 20 | export declare const headersToSidebarItemChildren: (headers: PageHeader[], sidebarDepth: number) => ResolvedSidebarItem[]; 21 | /** 22 | * Resolve sidebar items if the config is `auto` 23 | */ 24 | export declare const resolveAutoSidebarItems: (sidebarDepth: number) => ResolvedSidebarItem[]; 25 | /** 26 | * Resolve sidebar items if the config is an array 27 | */ 28 | export declare const resolveArraySidebarItems: (sidebarConfig: SidebarConfigArray, sidebarDepth: number) => ResolvedSidebarItem[]; 29 | /** 30 | * Resolve sidebar items if the config is a key -> value (path-prefix -> array) object 31 | */ 32 | export declare const resolveMultiSidebarItems: (sidebarConfig: SidebarConfigObject, sidebarDepth: number) => ResolvedSidebarItem[]; 33 | -------------------------------------------------------------------------------- /Aurora-theme/lib/client/composables/useThemeData.d.ts: -------------------------------------------------------------------------------- 1 | import type { ThemeDataRef, ThemeLocaleDataRef } from '@vuepress/plugin-theme-data/lib/client'; 2 | import type { DefaultThemeData } from '../../shared'; 3 | export declare const useThemeData: () => ThemeDataRef; 4 | export declare const useThemeLocaleData: () => ThemeLocaleDataRef; 5 | -------------------------------------------------------------------------------- /Aurora-theme/lib/client/composables/useThemeData.js: -------------------------------------------------------------------------------- 1 | import { useThemeData as _useThemeData, useThemeLocaleData as _useThemeLocaleData, } from '@vuepress/plugin-theme-data/lib/client'; 2 | export const useThemeData = () => _useThemeData(); 3 | export const useThemeLocaleData = () => _useThemeLocaleData(); 4 | -------------------------------------------------------------------------------- /Aurora-theme/lib/client/index.d.ts: -------------------------------------------------------------------------------- 1 | import type { NavItem, NavGroup, NavLink, NavbarItem, NavbarGroup, NavbarConfig, ResolvedNavbarItem, SidebarItem, SidebarConfigArray, SidebarConfigObject, SidebarConfig, ResolvedSidebarItem, DefaultThemePluginsOptions, DefaultThemeLocaleOptions, DefaultThemeData, DefaultThemeLocaleData, DefaultThemePageData, DefaultThemePageFrontmatter, DefaultThemeHomePageFrontmatter, DefaultThemeNormalPageFrontmatter } from '../shared'; 2 | export type { NavItem, NavGroup, NavLink, NavbarItem, NavbarGroup, NavbarConfig, ResolvedNavbarItem, SidebarItem, SidebarConfigArray, SidebarConfigObject, SidebarConfig, ResolvedSidebarItem, DefaultThemePluginsOptions, DefaultThemeLocaleOptions, DefaultThemeData, DefaultThemeLocaleData, DefaultThemePageData, DefaultThemePageFrontmatter, DefaultThemeHomePageFrontmatter, DefaultThemeNormalPageFrontmatter, }; 3 | export * from './composables'; 4 | export * from './utils'; 5 | -------------------------------------------------------------------------------- /Aurora-theme/lib/client/index.js: -------------------------------------------------------------------------------- 1 | export * from './composables'; 2 | export * from './utils'; 3 | -------------------------------------------------------------------------------- /Aurora-theme/lib/client/layouts/404.vue: -------------------------------------------------------------------------------- 1 | 54 | 55 | 67 | -------------------------------------------------------------------------------- /Aurora-theme/lib/client/public/fonts/DS-DIGIT.TTF: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blog-aurora/vuepress-theme-aurora/710a3c584f6e82341108a8f18fd2a18eff75dda5/Aurora-theme/lib/client/public/fonts/DS-DIGIT.TTF -------------------------------------------------------------------------------- /Aurora-theme/lib/client/public/fonts/Lobster-Regular.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blog-aurora/vuepress-theme-aurora/710a3c584f6e82341108a8f18fd2a18eff75dda5/Aurora-theme/lib/client/public/fonts/Lobster-Regular.ttf -------------------------------------------------------------------------------- /Aurora-theme/lib/client/public/fonts/aurora-iconfont.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blog-aurora/vuepress-theme-aurora/710a3c584f6e82341108a8f18fd2a18eff75dda5/Aurora-theme/lib/client/public/fonts/aurora-iconfont.ttf -------------------------------------------------------------------------------- /Aurora-theme/lib/client/public/fonts/aurora-iconfont.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blog-aurora/vuepress-theme-aurora/710a3c584f6e82341108a8f18fd2a18eff75dda5/Aurora-theme/lib/client/public/fonts/aurora-iconfont.woff -------------------------------------------------------------------------------- /Aurora-theme/lib/client/public/fonts/aurora-iconfont.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blog-aurora/vuepress-theme-aurora/710a3c584f6e82341108a8f18fd2a18eff75dda5/Aurora-theme/lib/client/public/fonts/aurora-iconfont.woff2 -------------------------------------------------------------------------------- /Aurora-theme/lib/client/public/fonts/style-menu/cgt.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blog-aurora/vuepress-theme-aurora/710a3c584f6e82341108a8f18fd2a18eff75dda5/Aurora-theme/lib/client/public/fonts/style-menu/cgt.ttf -------------------------------------------------------------------------------- /Aurora-theme/lib/client/public/fonts/style-menu/color-filling.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /Aurora-theme/lib/client/public/fonts/style-menu/hlt.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blog-aurora/vuepress-theme-aurora/710a3c584f6e82341108a8f18fd2a18eff75dda5/Aurora-theme/lib/client/public/fonts/style-menu/hlt.ttf -------------------------------------------------------------------------------- /Aurora-theme/lib/client/public/fonts/style-menu/lf.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blog-aurora/vuepress-theme-aurora/710a3c584f6e82341108a8f18fd2a18eff75dda5/Aurora-theme/lib/client/public/fonts/style-menu/lf.ttf -------------------------------------------------------------------------------- /Aurora-theme/lib/client/public/fonts/style-menu/lsf.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blog-aurora/vuepress-theme-aurora/710a3c584f6e82341108a8f18fd2a18eff75dda5/Aurora-theme/lib/client/public/fonts/style-menu/lsf.ttf -------------------------------------------------------------------------------- /Aurora-theme/lib/client/public/fonts/style-menu/sst.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blog-aurora/vuepress-theme-aurora/710a3c584f6e82341108a8f18fd2a18eff75dda5/Aurora-theme/lib/client/public/fonts/style-menu/sst.ttf -------------------------------------------------------------------------------- /Aurora-theme/lib/client/public/fonts/style-menu/tzt.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blog-aurora/vuepress-theme-aurora/710a3c584f6e82341108a8f18fd2a18eff75dda5/Aurora-theme/lib/client/public/fonts/style-menu/tzt.ttf -------------------------------------------------------------------------------- /Aurora-theme/lib/client/public/fonts/style-menu/xsf.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blog-aurora/vuepress-theme-aurora/710a3c584f6e82341108a8f18fd2a18eff75dda5/Aurora-theme/lib/client/public/fonts/style-menu/xsf.ttf -------------------------------------------------------------------------------- /Aurora-theme/lib/client/public/js/bubble.js: -------------------------------------------------------------------------------- 1 | /* 这个气泡特效是收集于网络,作者为一为忆, http://www.iowen.cn */ 2 | let canvas, ctx, width, height, bubbles, animateHeader = true; 3 | let bubbleNumber,bubbleAlpha,alphaChangeSpeed,size,sizeChangeSpeed,riseSpeed,color; 4 | 5 | function animate() { 6 | if (animateHeader) { 7 | ctx.clearRect(0, 0, width, height); 8 | for (let i in bubbles) { 9 | bubbles[i].draw(); 10 | } 11 | } 12 | requestAnimationFrame(animate); 13 | } 14 | 15 | function window_resize() { 16 | //canvas铺满窗口 17 | width = window.innerWidth; 18 | height = window.innerHeight; 19 | 20 | //如果需要铺满内容可以换下面这个 21 | let panel = document.getElementById('aurora-top-bubble-box'); 22 | width=panel.offsetWidth; 23 | height=panel.offsetHeight; 24 | 25 | canvas.width = width; 26 | canvas.height = height; 27 | } 28 | 29 | function Bubble() { 30 | let _this = this; 31 | (function() { 32 | _this.pos = {}; 33 | init(); 34 | })(); 35 | function init() { 36 | _this.pos.x = Math.random() * width; 37 | _this.pos.y = height + Math.random() * 100; 38 | _this.alpha = 0.1 + Math.random() * bubbleAlpha;//气泡透明度 39 | _this.alpha_change = 0.0002 + Math.random() * alphaChangeSpeed;//气泡透明度变化速度 40 | _this.scale = 0.2 + Math.random() * size;//气泡大小 41 | _this.scale_change = Math.random() * sizeChangeSpeed;//气泡大小变化速度 42 | _this.speed = 0.1 + Math.random() * riseSpeed;//气泡上升速度 43 | } 44 | //气泡 45 | this.draw = function() { 46 | if (_this.alpha <= 0) { 47 | init(); 48 | } 49 | _this.pos.y -= _this.speed; 50 | _this.alpha -= _this.alpha_change; 51 | _this.scale += _this.scale_change; 52 | ctx.beginPath(); 53 | ctx.arc(_this.pos.x, _this.pos.y, _this.scale * 10, 0, 2 * Math.PI, false); 54 | ctx.fillStyle = 'rgba(' + color + ',' + _this.alpha + ')'; 55 | ctx.fill(); 56 | }; 57 | } 58 | 59 | function initHeader() { 60 | canvas = document.getElementById('aurora-top-bubble-canvas'); 61 | window_resize(); 62 | ctx = canvas.getContext('2d'); 63 | //建立泡泡 64 | bubbles = []; 65 | let num = width * bubbleNumber;//气泡数量 66 | for (let i = 0; i < num; i++) { 67 | let c = new Bubble(); 68 | bubbles.push(c); 69 | } 70 | animate(); 71 | } 72 | 73 | export function bubble(aurora_bubbleNumber,aurora_bubbleAlpha,aurora_alphaChangeSpeed,aurora_size,aurora_sizeChangeSpeed,aurora_riseSpeed,aurora_color) { 74 | bubbleNumber = aurora_bubbleNumber 75 | bubbleAlpha = aurora_bubbleAlpha 76 | alphaChangeSpeed = aurora_alphaChangeSpeed 77 | size = aurora_size 78 | sizeChangeSpeed = aurora_sizeChangeSpeed 79 | riseSpeed = aurora_riseSpeed 80 | color = aurora_color 81 | initHeader(); 82 | } -------------------------------------------------------------------------------- /Aurora-theme/lib/client/public/js/network.js: -------------------------------------------------------------------------------- 1 | //import axios from "axios" 2 | import axios from "axios"; 3 | 4 | export function req(option) { 5 | return new Promise((resolve, reject) => { 6 | let timeout = 0; 7 | let method = "GET" 8 | let baseURL = "" 9 | try { 10 | timeout = option.timeout 11 | method = option.method 12 | baseURL = option.baseURL 13 | }catch (e) { 14 | 15 | } 16 | 17 | if (timeout === undefined) { 18 | timeout = 5000 19 | } 20 | 21 | if (method === undefined) { 22 | method = "get" 23 | } 24 | 25 | if (baseURL === '') { 26 | baseURL = 'https://international.v1.hitokoto.cn/?c=k&max_length=45' 27 | } 28 | 29 | const instance = axios.create({ 30 | baseURL, 31 | timeout, 32 | method 33 | }) 34 | 35 | //拦截器 36 | instance.interceptors.request.use(config => { 37 | return config 38 | },err => { 39 | return err 40 | }) 41 | 42 | //响应拦截器 43 | instance.interceptors.response.use(response => { 44 | return response 45 | },err => { 46 | 47 | return err 48 | }) 49 | 50 | instance(option) 51 | .then(res => { 52 | //res为响应结果 执行这里,跳转回到调用该方法处 53 | resolve(res.data) 54 | }).catch(err => { 55 | //err为异常结果 56 | reject(err) 57 | }) 58 | }) 59 | } 60 | 61 | export function cors(option) { 62 | return new Promise((resolve, reject) => { 63 | const instance = axios.create(option) 64 | //拦截器 65 | instance.interceptors.request.use(config => { 66 | return config 67 | }, err => { 68 | return err 69 | }) 70 | 71 | //响应拦截器 72 | instance.interceptors.response.use(response => { 73 | return response 74 | }, err => { 75 | 76 | return err 77 | }) 78 | 79 | instance(option) 80 | .then(res => { 81 | //res为响应结果 执行这里,跳转回到调用该方法处 82 | resolve(res.data) 83 | }).catch(err => { 84 | //err为异常结果 85 | reject(err) 86 | }) 87 | }) 88 | } 89 | -------------------------------------------------------------------------------- /Aurora-theme/lib/client/public/js/store/actions.js: -------------------------------------------------------------------------------- 1 | const network = require('../network') 2 | const myData = require('@temp/my-data') 3 | let themeProperty = null 4 | module.exports = { 5 | /*getAnimeImg(context) { 6 | return new Promise((resolve,reject) => { 7 | new Promise((resolve,reject) => { 8 | for (let i = 0; i < myData.default.length; i++) { 9 | if (myData.default[i].path === '/') { 10 | themeProperty = myData.default[i].frontmatter 11 | } 12 | } 13 | resolve() 14 | }) 15 | network.req(themeProperty.animeOption).then(res => { 16 | const query = themeProperty.animeOption.query 17 | const url = res[query] 18 | context.commit('setAnimeImg', { 19 | imgUrl: url 20 | }) 21 | resolve() 22 | }) 23 | }) 24 | },*/ 25 | } -------------------------------------------------------------------------------- /Aurora-theme/lib/client/public/js/store/index.js: -------------------------------------------------------------------------------- 1 | import { createStore } from 'vuex' 2 | 3 | import mutations from "./mutations"; 4 | import state from "./state"; 5 | 6 | export default createStore({ 7 | state, 8 | mutations, 9 | modules: { 10 | } 11 | }) 12 | -------------------------------------------------------------------------------- /Aurora-theme/lib/client/public/js/store/state.js: -------------------------------------------------------------------------------- 1 | export default { 2 | heroImage: "/img/head.jpg", 3 | animeImg: 'https://picture.cco.vin/pic/rmimg', 4 | tagArr: '', 5 | categories: [], 6 | allPageMap: '', 7 | setTatStatus: false, 8 | fontColorStyle: '--fontColor: #2c3e50;', 9 | fontFamilyStyle: '--fontFamily: -apple-system;', 10 | pageNum: 100, 11 | //isFitter: themeProperty.isFitter, 12 | isFitter: false, 13 | varFilterBlur: 5, 14 | varBorderRadius: 20, 15 | varOpacity: 1, 16 | filterBlurStyle: '--fitter-blue: 5px;', 17 | borderRadiusStyle: '--borderRadius: 20px;', 18 | opacityStyle: '--opacity: 0.5;', 19 | welcomeOpenTime: 0, 20 | welcomeOpenStatus: false, 21 | version: '1.0.4', 22 | showPosterShadow: false, 23 | showPostImg: false, 24 | postImgHref: '', 25 | downloadImgTitle: 'ccds', 26 | showShadeLoad: false, 27 | posterShareSite: '', 28 | qrImgHref: '', 29 | picture: '', 30 | photos: [], 31 | loadingFinish: false, 32 | verifyStatus: false, 33 | editMoods: [], 34 | currentPageNum: 1, 35 | openMobileSidebar: false, 36 | posterData: -2, 37 | //首页壁纸 38 | homeWps: '', 39 | currentCatalogObjectArr: [], 40 | 41 | //顶部默认图片地址 42 | defaultPageImg: 'https://picoss.cco.vin/animate/wall/555260.png', 43 | defaultFriendImg: 'https://picoss.cco.vin/animate/wall/669.png', 44 | defaultTagImg: 'https://picoss.cco.vin/animate/wall/763311.png', 45 | defaultMoodImg: 'https://picoss.cco.vin/animate/wall/5849.png', 46 | 47 | //默认随机颜色 48 | defaultRandomColors: ['#ffcad4','#d8e2dc','#8d99ae','#b8f2e6','#84c7d0', 49 | '#aed9e0','#00b4d8','#caf0f8','#fbc4ab','#fdc5f5', 50 | '#84dcc6','#a9def9','#fcf6bd','#f0a6ca','#b9faf8', 51 | '#42a5f5','#ff9800','#b39ddb','#6d45bb','#b388ff', 52 | '#1565c0','#26c6da','#5e548e','#90f1ef','#5b5f97', 53 | '#bbe6e4','#42bfdd','#72ddf7','#8093f1','#9ed8d8', 54 | '#7ea8be','#ef90b3','#b892ef','#c0b9dd','#c0d9dd', 55 | '#75c9c8','#ded9e2','#b5e2fa','#62b6cb','#5fa8d3', 56 | '#0fa3b1','#b5e2fa','#5fa8d3','#62b6cb','#b892ff'], 57 | defaultFontColor: [ 58 | "#2c3e50", "#42a5f5", "#8093f1", "#FF6EC7", "#FF7F00", "#8FBC8F", "#EAADEA", 59 | "#3299CC", "#CDCDCD", "#CC3299", "#FF7F00", "#2F4F4F", 60 | ], 61 | defaultFont: [ 62 | "-apple-system", "hlt", "tzt", "sst", "lf", "xsf", "lsf", "cgt", 63 | ], 64 | defaultHomePageImgApi: 'https://api.ixiaowai.cn/api/api.php', 65 | defaultPostImgApi: 'https://unsplash.it/1600/900?random', 66 | 67 | //版权信息 68 | latestVersion: 'V1.13.x', 69 | printRightIndex: 0, 70 | mobileOpenStatus: false, 71 | currentTagNum: 1 72 | } 73 | -------------------------------------------------------------------------------- /Aurora-theme/lib/client/public/js/wave.js: -------------------------------------------------------------------------------- 1 | function wave1() { 2 | let waveWidth = 3300, 3 | offset = 0, 4 | waveHeight = 15, //波浪高度 5 | waveCount = 6, //波浪个数 6 | startX = -1000, 7 | startY = 120, //canvas 高度 8 | progress = 75, //波浪位置的高度 9 | d2 = waveWidth / waveCount, 10 | d = d2 / 2, 11 | hd = d / 2, 12 | c = document.getElementById("home-wave-canvas1"), 13 | ctx = c.getContext("2d"); 14 | function tick() { 15 | offset -= 5; 16 | if (-1 * offset === d2) offset = 0; 17 | ctx.clearRect(0, 0, c.width, c.height); 18 | ctx.fillStyle = 'rgba(255,255,255,.524)'; 19 | ctx.beginPath(); 20 | let offsetY = startY - progress; 21 | ctx.moveTo(startX - offset, offsetY); 22 | for (let i = 0; i < waveCount; i++) { 23 | let dx = i * d2; 24 | let offsetX = dx + startX - offset; 25 | ctx.quadraticCurveTo(offsetX + hd, offsetY + waveHeight, offsetX + d, offsetY); 26 | ctx.quadraticCurveTo(offsetX + hd + d, offsetY - waveHeight, offsetX + d2, offsetY); 27 | } 28 | ctx.lineTo(startX + waveWidth, 3000); 29 | ctx.lineTo(startX, 3000); 30 | ctx.fill(); 31 | 32 | setTimeout(tick, 1500 / 60); //速度 33 | //requestAnimationFrame(tick); 34 | } 35 | tick(); 36 | } 37 | /* 第二条 */ 38 | function wave2() { 39 | let waveWidthB = 3300, 40 | offsetB = 0, 41 | waveHeightB = 30, //波浪高度 42 | waveCountB = 4, //波浪个数 43 | startXB = -1000, 44 | startYB = 155, //canvas 高度 45 | progressB = 50, //波浪位置的高度 46 | d2B = waveWidthB / waveCountB, 47 | dB = d2B / 2, 48 | hdB = dB / 2, 49 | cB = document.getElementById("home-wave-canvas2"), 50 | ctxB = cB.getContext("2d"); 51 | function tickB() { 52 | offsetB -= 5; 53 | if (-1 * offsetB === d2B) offsetB = 0; 54 | ctxB.clearRect(0, 0, cB.width, cB.height); 55 | ctxB.fillStyle = 'rgba(255,255,255,.745)'; 56 | ctxB.beginPath(); 57 | let offsetYB = startYB - progressB; 58 | ctxB.moveTo(startXB - offsetB, offsetYB); 59 | for (let i = 0; i < waveCountB; i++) { 60 | let dxB = i * d2B; 61 | let offsetXB = dxB + startXB - offsetB; 62 | ctxB.quadraticCurveTo(offsetXB + hdB, offsetYB + waveHeightB, offsetXB + dB, offsetYB); 63 | ctxB.quadraticCurveTo(offsetXB + hdB + dB, offsetYB - waveHeightB, offsetXB + d2B, offsetYB); 64 | } 65 | ctxB.lineTo(startXB + waveWidthB, 3000); 66 | ctxB.lineTo(startXB, 3000); 67 | ctxB.fill(); 68 | 69 | setTimeout(tickB, 5000 / 60); //速度 70 | //requestAnimationFrame(tick); 71 | } 72 | tickB(); 73 | } 74 | export function wave () { 75 | let canvas1 = document.getElementById('home-wave-canvas1'); 76 | canvas1.width = window.innerWidth; 77 | let canvas2 = document.getElementById('home-wave-canvas2'); 78 | canvas2.width = window.innerWidth; 79 | wave1() 80 | wave2() 81 | } 82 | 83 | -------------------------------------------------------------------------------- /Aurora-theme/lib/client/shim.d.ts: -------------------------------------------------------------------------------- 1 | declare module '*.vue' { 2 | import type { ComponentOptions } from 'vue' 3 | const comp: ComponentOptions 4 | export default comp 5 | } 6 | -------------------------------------------------------------------------------- /Aurora-theme/lib/client/styles/_variables.scss: -------------------------------------------------------------------------------- 1 | // responsive breakpoints 2 | $MQNarrow: 959px !default; 3 | $MQMobile: 719px !default; 4 | $MQMobileNarrow: 419px !default; 5 | 6 | // code languages 7 | $codeLang: 'c' 'cpp' 'cs' 'css' 'dart' 'docker' 'fs' 'go' 'html' 'java' 'js' 8 | 'json' 'kt' 'less' 'makefile' 'md' 'php' 'py' 'rb' 'rs' 'sass' 'scss' 'sh' 9 | 'styl' 'ts' 'toml' 'vue' 'yml' !default; 10 | -------------------------------------------------------------------------------- /Aurora-theme/lib/client/styles/_wrapper.scss: -------------------------------------------------------------------------------- 1 | @import '_variables'; 2 | 3 | %wrapper { 4 | //max-width: var(--content-width); 5 | max-width: 90%; 6 | margin: 0 auto; 7 | //padding: 2rem 0rem; 8 | 9 | @media (max-width: $MQNarrow) { 10 | padding: 2rem; 11 | padding-bottom: 0; 12 | } 13 | 14 | @media (max-width: $MQMobileNarrow) { 15 | padding: 1.5rem; 16 | padding-bottom: 0; 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /Aurora-theme/lib/client/styles/arrow.scss: -------------------------------------------------------------------------------- 1 | .arrow { 2 | display: inline-block; 3 | width: 0; 4 | height: 0; 5 | 6 | &.up { 7 | border: { 8 | left: 4px solid transparent; 9 | right: 4px solid transparent; 10 | bottom: 6px solid var(--c-bg-arrow); 11 | } 12 | } 13 | 14 | &.down { 15 | border: { 16 | left: 4px solid transparent; 17 | right: 4px solid transparent; 18 | top: 6px solid var(--c-bg-arrow); 19 | } 20 | } 21 | 22 | &.right { 23 | border: { 24 | top: 4px solid transparent; 25 | bottom: 4px solid transparent; 26 | left: 6px solid var(--c-bg-arrow); 27 | } 28 | } 29 | 30 | &.left { 31 | border: { 32 | top: 4px solid transparent; 33 | bottom: 4px solid transparent; 34 | right: 6px solid var(--c-bg-arrow); 35 | } 36 | } 37 | } 38 | -------------------------------------------------------------------------------- /Aurora-theme/lib/client/styles/badge.scss: -------------------------------------------------------------------------------- 1 | .badge { 2 | display: inline-block; 3 | font-size: 14px; 4 | height: 18px; 5 | line-height: 18px; 6 | border-radius: 4px; 7 | padding: 0 6px; 8 | color: whitesmoke; 9 | font-weight: 650; 10 | vertical-align: top; 11 | 12 | &.tip { 13 | background-color: var(--c-badge-tip); 14 | } 15 | 16 | &.warning { 17 | background-color: var(--c-badge-warning); 18 | } 19 | 20 | &.danger { 21 | background-color: var(--c-badge-danger); 22 | } 23 | 24 | .table-of-contents & { 25 | vertical-align: middle; 26 | } 27 | 28 | & + & { 29 | margin-left: 5px; 30 | } 31 | } 32 | -------------------------------------------------------------------------------- /Aurora-theme/lib/client/styles/code-group.scss: -------------------------------------------------------------------------------- 1 | @import '_variables'; 2 | 3 | /** 4 | * code-group 5 | */ 6 | .code-group__nav { 7 | margin-top: 0.85rem; 8 | // 2 * margin + border-radius of
 tag
 9 |   margin-bottom: calc(-1.7rem - 6px);
10 |   padding-bottom: calc(1.7rem - 6px);
11 |   padding-left: 10px;
12 |   padding-top: 10px;
13 |   border-top-left-radius: 6px;
14 |   border-top-right-radius: 6px;
15 |   background-color: var(--code-bg-color);
16 | }
17 | 
18 | .code-group__ul {
19 |   margin: auto 0;
20 |   padding-left: 0;
21 |   display: inline-flex;
22 |   list-style: none;
23 | }
24 | 
25 | .code-group__nav-tab {
26 |   border: 0;
27 |   padding: 5px;
28 |   cursor: pointer;
29 |   background-color: transparent;
30 |   font-size: 0.85em;
31 |   line-height: 1.4;
32 |   color: rgba(255, 255, 255, 0.9);
33 |   font-weight: 600;
34 | }
35 | 
36 | .code-group__nav-tab:focus {
37 |   outline: none;
38 | }
39 | 
40 | .code-group__nav-tab:focus-visible {
41 |   outline: 1px solid rgba(255, 255, 255, 0.9);
42 | }
43 | 
44 | .code-group__nav-tab-active {
45 |   border-bottom: var(--c-brand) 1px solid;
46 | }
47 | 
48 | @media (max-width: $MQMobileNarrow) {
49 |   .code-group__nav {
50 |     margin-left: -1.5rem;
51 |     margin-right: -1.5rem;
52 |     border-radius: 0;
53 |   }
54 | }
55 | 
56 | /**
57 |  * code-group-item
58 |  */
59 | .code-group-item {
60 |   display: none;
61 | }
62 | 
63 | .code-group-item__active {
64 |   display: block;
65 | }
66 | 
67 | .code-group-item > pre {
68 |   background-color: orange;
69 | }
70 | 


--------------------------------------------------------------------------------
/Aurora-theme/lib/client/styles/coverStyle.css:
--------------------------------------------------------------------------------
 1 | /*此文件为覆盖一些主题样式*/
 2 | .el-pager {
 3 |    margin-left: 1rem;
 4 |     margin-right: 1rem;
 5 | }
 6 | .el-pager li {
 7 |     height: 1.3rem;
 8 |     line-height: 1.3rem;
 9 |     color: #555555;
10 |     cursor: pointer;
11 |     padding-right: 10px;
12 |     padding-left: 10px;
13 |     margin-left: .3rem;
14 |     margin-right: .3rem;
15 |     -webkit-border-radius: 5px;
16 |     border-radius: 5px;
17 |     list-style: none;
18 |     background-color: rgba(255,255,255,.8);
19 | }
20 | 
21 | .el-icon-more {
22 |     width: 2rem;
23 | }
24 | .el-icon-d-arrow-left,.el-icon-d-arrow-right {
25 |     width: 2rem;
26 | }
27 | 
28 | .el-pager li.active {
29 |     background-color: #b2f7ef;
30 |     color: whitesmoke;
31 | }
32 | 
33 | .btn-next,.btn-prev {
34 |     /*flex: 1;*/
35 |     height: 1.3rem;
36 |     line-height: 1.3rem;
37 |     color: #555555;
38 |     cursor: pointer;
39 |     padding-right: 10px;
40 |     padding-left: 10px;
41 |     margin-left: .3rem;
42 |     margin-right: .3rem;
43 |     -webkit-border-radius: 5px;
44 |     border-radius: 5px;
45 |     list-style: none;
46 |     background-color: rgba(255,255,255,.8);
47 | }
48 | .el-pagination--small {
49 |     display: flex;
50 |     justify-content: center;
51 |     align-items: center;
52 | }


--------------------------------------------------------------------------------
/Aurora-theme/lib/client/styles/custom-container.scss:
--------------------------------------------------------------------------------
 1 | .custom-container {
 2 |   .custom-container-title {
 3 |     font-weight: 600;
 4 |     margin-bottom: -0.4rem;
 5 |   }
 6 | 
 7 |   &.tip,
 8 |   &.ley,
 9 |   &.warning,
10 |   &.danger{
11 |     padding: 0.1rem 1.5rem;
12 |     border-left-width: 0.5rem;
13 |     border-left-style: solid;
14 |     margin: 1rem 0;
15 |   }
16 | 
17 |   &.tip {
18 |     border-color: var(--c-tip);
19 |     background-color: var(--c-tip-bg);
20 |     color: var(--c-tip-text);
21 | 
22 |     .custom-container-title {
23 |       color: var(--c-tip-title);
24 |     }
25 | 
26 |     a {
27 |       color: var(--c-tip-text-accent);
28 |     }
29 |   }
30 | 
31 | 
32 |   &.warning {
33 |     border-color: var(--c-warning);
34 |     background-color: var(--c-warning-bg);
35 |     color: var(--c-warning-text);
36 | 
37 |     .custom-container-title {
38 |       color: var(--c-warning-title);
39 |     }
40 | 
41 |     a {
42 |       color: var(--c-warning-text-accent);
43 |     }
44 |   }
45 | 
46 |   &.danger {
47 |     border-color: var(--c-danger);
48 |     background-color: var(--c-danger-bg);
49 |     color: var(--c-danger-text);
50 | 
51 |     .custom-container-title {
52 |       color: var(--c-danger-title);
53 |     }
54 | 
55 |     a {
56 |       color: var(--c-danger-text-accent);
57 |     }
58 |   }
59 | 
60 |   &.details {
61 |     display: block;
62 |     position: relative;
63 |     border-radius: 2px;
64 |     margin: 1.6em 0;
65 |     padding: 1.6em;
66 |     background-color: var(--c-details-bg);
67 | 
68 |     h4 {
69 |       margin-top: 0;
70 |     }
71 | 
72 |     figure,
73 |     p {
74 |       &:last-child {
75 |         margin-bottom: 0;
76 |         padding-bottom: 0;
77 |       }
78 |     }
79 | 
80 |     summary {
81 |       outline: none;
82 |       cursor: pointer;
83 |     }
84 |   }
85 | }
86 | 


--------------------------------------------------------------------------------
/Aurora-theme/lib/client/styles/index.scss:
--------------------------------------------------------------------------------
 1 | @use 'vars';
 2 | @use 'vars-dark';
 3 | @use 'normalize';
 4 | @use 'arrow';
 5 | @use 'badge';
 6 | @use 'code';
 7 | @use 'code-group';
 8 | @use 'custom-container';
 9 | @use 'dropdown';
10 | @use 'home';
11 | @use 'layout';
12 | @use 'navbar';
13 | @use 'page';
14 | @use 'sidebar';
15 | @use 'sr-only';
16 | @use 'toc';
17 | @use 'transitions';
18 | 
19 | 


--------------------------------------------------------------------------------
/Aurora-theme/lib/client/styles/normalize.scss:
--------------------------------------------------------------------------------
  1 | html,
  2 | body {
  3 |   padding: 0;
  4 |   margin: 0;
  5 |   background-color: var(--c-bg);
  6 |   transition: background-color ease 0.3s;
  7 | }
  8 | 
  9 | body {
 10 |   font-family: var(--font-family);
 11 |   -webkit-font-smoothing: antialiased;
 12 |   -moz-osx-font-smoothing: grayscale;
 13 |   font-size: 16px;
 14 |   color: var(--c-text);
 15 | }
 16 | 
 17 | a {
 18 |   font-weight: 500;
 19 |   color: var(--c-text-accent);
 20 |   text-decoration: none;
 21 |   overflow-wrap: break-word;
 22 | }
 23 | 
 24 | p a code {
 25 |   font-weight: 400;
 26 |   color: var(--c-text-accent);
 27 | }
 28 | 
 29 | kbd {
 30 |   font-family: var(--font-family-code);
 31 |   background: var(--c-bg-lighter);
 32 |   border: solid 0.15rem var(--c-border-dark);
 33 |   border-bottom: solid 0.25rem var(--c-border-dark);
 34 |   border-radius: 0.15rem;
 35 |   padding: 0 0.15em;
 36 | }
 37 | 
 38 | //rgba(185, 250, 248, 0.35)
 39 | code {
 40 |   font-family: var(--font-family-code);
 41 |   color: #8186d5;
 42 |   padding: 0.25rem 0.5rem;
 43 |   margin: 0;
 44 |   font-weight: 650;
 45 |   font-size: 0.85em;
 46 |   background-color: rgba(185, 250, 248, 0.24);
 47 |   border-radius: 3px;
 48 |   overflow-wrap: break-word;
 49 |   //overflow-x: scroll;
 50 | }
 51 | 
 52 | blockquote {
 53 |   font-size: 1rem;
 54 |   color: #211e1e;
 55 |   border-left: 0.2rem solid rgba(66, 165, 245, 0.57);
 56 |   margin: 1rem 0;
 57 |   padding: 0.25rem 0 0.25rem 1rem;
 58 | 
 59 |   & > p {
 60 |     margin: 0;
 61 |   }
 62 | }
 63 | 
 64 | ul,
 65 | ol {
 66 |   padding-left: 1.2em;
 67 | }
 68 | 
 69 | strong {
 70 |   font-weight: 600;
 71 | }
 72 | 
 73 | h1,
 74 | h2,
 75 | h3,
 76 | h4,
 77 | h5,
 78 | h6 {
 79 |   font-weight: 600;
 80 |   line-height: 1.25;
 81 | 
 82 |   &:hover .header-anchor {
 83 |     opacity: 1;
 84 |   }
 85 | }
 86 | 
 87 | h1 {
 88 |   font-size: 2.2rem;
 89 | }
 90 | 
 91 | h2 {
 92 |   font-size: 1.65rem;
 93 |   padding-bottom: 0.3rem;
 94 |   //border-bottom: 1px solid var(--c-border);
 95 | }
 96 | 
 97 | h3 {
 98 |   font-size: 1.3rem;
 99 | }
100 | 
101 | h4 {
102 |   font-size: 1.1rem;
103 | }
104 | 
105 | h5 {
106 |   font-size: 1rem;
107 | }
108 | 
109 | h6 {
110 |   font-size: 1rem;
111 | }
112 | 
113 | a.header-anchor {
114 |   font-size: 0.85em;
115 |   float: left;
116 |   margin-left: -0.87em;
117 |   padding-right: 0.23em;
118 |   margin-top: 0.125em;
119 |   opacity: 1;
120 | 
121 |   &:hover {
122 |     text-decoration: none;
123 |   }
124 | 
125 |   &:focus-visible {
126 |     opacity: 1;
127 |   }
128 | }
129 | 
130 | p,
131 | ul,
132 | ol {
133 |   line-height: 1.7;
134 | }
135 | 
136 | hr {
137 |   border: 0;
138 |   border-top: 1px solid var(--c-border);
139 | }
140 | 
141 | table {
142 |   border-collapse: collapse;
143 |   margin: 1rem 0;
144 |   display: block;
145 |   overflow-x: auto;
146 | }
147 | 
148 | tr {
149 |   border-top: 1px solid var(--c-border-dark);
150 | 
151 |   &:nth-child(2n) {
152 |     background-color: var(--c-bg-light);
153 |   }
154 | }
155 | 
156 | th,
157 | td {
158 |   border: 1px solid var(--c-border-dark);
159 |   padding: 0.6em 1em;
160 | }
161 | 


--------------------------------------------------------------------------------
/Aurora-theme/lib/client/styles/page.scss:
--------------------------------------------------------------------------------
 1 | @import '_variables';
 2 | @import '_wrapper';
 3 | 
 4 | .page {
 5 |   //padding-bottom: 2rem;
 6 |   display: block;
 7 | }
 8 | 
 9 | .page-meta {
10 |   @extend %wrapper;
11 |   padding-top: 1rem;
12 |   padding-bottom: 1rem;
13 |   overflow: auto;
14 | 
15 |   .meta-item {
16 |     cursor: default;
17 |     margin-top: 0.8rem;
18 | 
19 |     .meta-item-label {
20 |       font-weight: 500;
21 |       color: var(--c-text-lighter);
22 |     }
23 | 
24 |     .meta-item-info {
25 |       font-weight: 400;
26 |       color: var(--c-text-quote);
27 |     }
28 |   }
29 | 
30 |   .edit-link {
31 |     display: inline-block;
32 |     margin-right: 0.25rem;
33 |   }
34 | 
35 |   .last-updated {
36 |     float: right;
37 |   }
38 | }
39 | 
40 | @media (max-width: $MQMobile) {
41 |   .page-meta {
42 |     padding-top: 0;
43 |     .last-updated {
44 |       font-size: 0.8em;
45 |       float: none;
46 |     }
47 | 
48 |     .contributors {
49 |       font-size: 0.8em;
50 |     }
51 |   }
52 | }
53 | 
54 | .page-nav {
55 |   @extend %wrapper;
56 |   padding-top: 1rem;
57 |   padding-bottom: 0;
58 | 
59 |   .inner {
60 |     min-height: 2rem;
61 |     margin-top: 0;
62 |     border-top: 1px solid var(--c-border);
63 |     padding-top: 1rem;
64 |     overflow: auto;
65 |   }
66 | 
67 |   .next {
68 |     float: right;
69 |   }
70 | }
71 | 


--------------------------------------------------------------------------------
/Aurora-theme/lib/client/styles/sidebar.scss:
--------------------------------------------------------------------------------
  1 | @import '_variables';
  2 | 
  3 | .sidebar {
  4 |   ul {
  5 |     padding: 0;
  6 |     margin: 0;
  7 |     list-style-type: none;
  8 |   }
  9 | 
 10 |   a {
 11 |     display: inline-block;
 12 |   }
 13 | 
 14 |   .navbar-links {
 15 |     display: none;
 16 |     border-bottom: 1px solid var(--c-border);
 17 |     padding: 0.5rem 0 0.75rem 0;
 18 | 
 19 |     a {
 20 |       font-weight: 600;
 21 |     }
 22 | 
 23 |     .navbar-links-item {
 24 |       display: block;
 25 |       line-height: 1.25rem;
 26 |       font-size: 1.1em;
 27 |       padding: 0.5rem 0 0.5rem 1.5rem;
 28 |     }
 29 |   }
 30 | 
 31 |   .sidebar-links {
 32 |     padding: 1.5rem 0;
 33 | 
 34 |     > li:not(:first-child) {
 35 |       margin-top: 0.75rem;
 36 |     }
 37 | 
 38 |     .sidebar-sub-items {
 39 |       padding-left: 1rem;
 40 |       font-size: 0.95em;
 41 |     }
 42 |   }
 43 | }
 44 | 
 45 | @media (max-width: $MQMobile) {
 46 |   .sidebar {
 47 |     .navbar-links {
 48 |       display: block;
 49 | 
 50 |       .dropdown-wrapper
 51 |         .nav-dropdown
 52 |         .dropdown-item
 53 |         a.router-link-active::after {
 54 |         top: calc(1rem - 2px);
 55 |       }
 56 |     }
 57 | 
 58 |     .sidebar-links {
 59 |       padding: 1rem 0;
 60 |     }
 61 |   }
 62 | }
 63 | 
 64 | .sidebar-heading {
 65 |   color: var(--c-text);
 66 |   transition: color 0.15s ease;
 67 |   font-size: 1.1em;
 68 |   font-weight: bold;
 69 |   padding: 0.35rem 1.5rem 0.35rem 1.25rem;
 70 |   width: 100%;
 71 |   box-sizing: border-box;
 72 |   margin: 0;
 73 |   border-left: 0.25rem solid transparent;
 74 | 
 75 |   .arrow {
 76 |     position: relative;
 77 |     top: -0.12em;
 78 |     left: 0.5em;
 79 |   }
 80 | }
 81 | 
 82 | .sidebar-item:not(.sidebar-heading) {
 83 |   font-size: 1em;
 84 |   font-weight: 400;
 85 |   display: inline-block;
 86 |   color: var(--c-text);
 87 |   border-left: 0.25rem solid transparent;
 88 |   margin: 0;
 89 |   padding: 0.35rem 1rem 0.35rem 2rem;
 90 |   line-height: 1.4;
 91 |   width: 100%;
 92 |   box-sizing: border-box;
 93 | 
 94 |   .sidebar-links > &:not(:first-child) {
 95 |     margin-top: 0.75rem;
 96 |   }
 97 | 
 98 |   .sidebar-sub-items & {
 99 |     padding: 0.25rem 1rem 0.25rem 1.75rem;
100 |   }
101 | }
102 | 
103 | .sidebar-item {
104 |   cursor: default;
105 | }
106 | 
107 | a.sidebar-item {
108 |   cursor: pointer;
109 | 
110 |   &:hover {
111 |     color: var(--c-text-accent);
112 |   }
113 | 
114 |   &.active {
115 |     font-weight: 600;
116 |     color: var(--c-text-accent);
117 |     border-left-color: var(--c-text-accent);
118 |   }
119 | 
120 |   &.sidebar-heading.active {
121 |     font-weight: bold;
122 |     border-left-color: transparent;
123 |   }
124 | 
125 |   .sidebar-sub-items &.active {
126 |     font-weight: 500;
127 |     border-left-color: transparent;
128 |   }
129 | }
130 | 


--------------------------------------------------------------------------------
/Aurora-theme/lib/client/styles/sr-only.scss:
--------------------------------------------------------------------------------
 1 | .sr-only {
 2 |   position: absolute;
 3 |   width: 1px;
 4 |   height: 1px;
 5 |   padding: 0;
 6 |   margin: -1px;
 7 |   overflow: hidden;
 8 |   clip: rect(0, 0, 0, 0);
 9 |   white-space: nowrap;
10 |   border-width: 0;
11 |   user-select: none;
12 | }
13 | 


--------------------------------------------------------------------------------
/Aurora-theme/lib/client/styles/toc.scss:
--------------------------------------------------------------------------------
1 | .table-of-contents {
2 |   .badge {
3 |     vertical-align: middle;
4 |   }
5 | }
6 | 


--------------------------------------------------------------------------------
/Aurora-theme/lib/client/styles/transitions.scss:
--------------------------------------------------------------------------------
 1 | .fade-slide-y-enter-active {
 2 |   transition: all 0.3s ease;
 3 | }
 4 | 
 5 | .fade-slide-y-leave-active {
 6 |   transition: all 0.3s cubic-bezier(1, 0.5, 0.8, 1);
 7 | }
 8 | 
 9 | .fade-slide-y-enter-from,
10 | .fade-slide-y-leave-to {
11 |   transform: translateY(10px);
12 |   opacity: 0;
13 | }
14 | 


--------------------------------------------------------------------------------
/Aurora-theme/lib/client/styles/vars-dark.scss:
--------------------------------------------------------------------------------
 1 | html.dark {
 2 |   // brand colors
 3 |   --c-brand: #3aa675;
 4 |   --c-brand-light: #349469;
 5 | 
 6 |   // background colors
 7 |   --c-bg: #22272e;
 8 |   --c-bg-light: #2b313a;
 9 |   --c-bg-lighter: #262c34;
10 | 
11 |   // text colors
12 |   --c-text: #adbac7;
13 |   --c-text-light: #96a7b7;
14 |   --c-text-lighter: #8b9eb0;
15 |   --c-text-lightest: #8094a8;
16 | 
17 |   // border colors
18 |   --c-border: #3e4c5a;
19 |   --c-border-dark: #34404c;
20 | 
21 |   // custom container colors
22 |   --c-tip: #318a62;
23 |   --c-warning: #ceab00;
24 |   --c-warning-bg: #7e755b;
25 |   --c-warning-title: #ceac03;
26 |   --c-warning-text: #362e00;
27 |   --c-danger: #940000;
28 |   --c-danger-bg: #806161;
29 |   --c-danger-title: #610000;
30 |   --c-danger-text: #3a0000;
31 |   --c-details-bg: #323843;
32 | 
33 |   // code blocks vars
34 |   --code-hl-bg-color: #363b46;
35 | }
36 | 
37 | // plugin-docsearch
38 | html.dark .DocSearch {
39 |   --docsearch-logo-color: var(--c-text);
40 |   --docsearch-modal-shadow: inset 1px 1px 0 0 #2c2e40, 0 3px 8px 0 #000309;
41 |   --docsearch-key-shadow: inset 0 -2px 0 0 #282d55, inset 0 0 1px 1px #51577d,
42 |     0 2px 2px 0 rgba(3, 4, 9, 0.3);
43 |   --docsearch-key-gradient: linear-gradient(-225deg, #444950, #1c1e21);
44 |   --docsearch-footer-shadow: inset 0 1px 0 0 rgba(73, 76, 106, 0.5),
45 |     0 -4px 8px 0 rgba(0, 0, 0, 0.2);
46 | }
47 | 


--------------------------------------------------------------------------------
/Aurora-theme/lib/client/utils/index.d.ts:
--------------------------------------------------------------------------------
1 | export * from './resolveEditLink';
2 | export * from './resolveRepoType';
3 | 


--------------------------------------------------------------------------------
/Aurora-theme/lib/client/utils/index.js:
--------------------------------------------------------------------------------
1 | export * from './resolveEditLink';
2 | export * from './resolveRepoType';
3 | 
4 | 


--------------------------------------------------------------------------------
/Aurora-theme/lib/client/utils/resolveEditLink.d.ts:
--------------------------------------------------------------------------------
 1 | import type { RepoType } from './resolveRepoType';
 2 | export declare const editLinkPatterns: Record, string>;
 3 | export declare const resolveEditLink: ({ docsRepo, docsBranch, docsDir, filePathRelative, editLinkPattern, }: {
 4 |     docsRepo: string;
 5 |     docsBranch: string;
 6 |     docsDir: string;
 7 |     filePathRelative: string;
 8 |     editLinkPattern?: string | undefined;
 9 | }) => string | null;
10 | 


--------------------------------------------------------------------------------
/Aurora-theme/lib/client/utils/resolveEditLink.js:
--------------------------------------------------------------------------------
 1 | import { isLinkHttp, removeLeadingSlash, removeEndingSlash, } from '@vuepress/shared';
 2 | import { resolveRepoType } from './resolveRepoType';
 3 | export const editLinkPatterns = {
 4 |     GitHub: ':repo/edit/:branch/:path',
 5 |     GitLab: ':repo/-/edit/:branch/:path',
 6 |     Gitee: ':repo/edit/:branch/:path',
 7 |     Bitbucket: ':repo/src/:branch/:path?mode=edit&spa=0&at=:branch&fileviewer=file-view-default',
 8 | };
 9 | export const resolveEditLink = ({ docsRepo, docsBranch, docsDir, filePathRelative, editLinkPattern, }) => {
10 |     const repoType = resolveRepoType(docsRepo);
11 |     let pattern;
12 |     if (editLinkPattern) {
13 |         pattern = editLinkPattern;
14 |     }
15 |     else if (repoType !== null) {
16 |         pattern = editLinkPatterns[repoType];
17 |     }
18 |     if (!pattern)
19 |         return null;
20 |     return pattern
21 |         .replace(/:repo/, isLinkHttp(docsRepo) ? docsRepo : `https://github.com/${docsRepo}`)
22 |         .replace(/:branch/, docsBranch)
23 |         .replace(/:path/, removeLeadingSlash(`${removeEndingSlash(docsDir)}/${filePathRelative}`));
24 | };
25 | 


--------------------------------------------------------------------------------
/Aurora-theme/lib/client/utils/resolveRepoType.d.ts:
--------------------------------------------------------------------------------
1 | export declare type RepoType = 'GitHub' | 'GitLab' | 'Gitee' | 'Bitbucket' | null;
2 | export declare const resolveRepoType: (repo: string) => RepoType;
3 | 


--------------------------------------------------------------------------------
/Aurora-theme/lib/client/utils/resolveRepoType.js:
--------------------------------------------------------------------------------
 1 | import { isLinkHttp } from '@vuepress/shared';
 2 | export const resolveRepoType = (repo) => {
 3 |     if (!isLinkHttp(repo) || /github\.com/.test(repo))
 4 |         return 'GitHub';
 5 |     if (/bitbucket\.org/.test(repo))
 6 |         return 'Bitbucket';
 7 |     if (/gitlab\.com/.test(repo))
 8 |         return 'GitLab';
 9 |     if (/gitee\.com/.test(repo))
10 |         return 'Gitee';
11 |     return null;
12 | };
13 | 


--------------------------------------------------------------------------------
/Aurora-theme/lib/node/auroraTheme.ts:
--------------------------------------------------------------------------------
 1 | import type { Theme, ThemeConfig } from '@vuepress/core';
 2 | import type { DefaultThemeLocaleOptions, DefaultThemePluginsOptions } from '../shared';
 3 | export interface DefaultThemeOptions extends ThemeConfig, DefaultThemeLocaleOptions {
 4 |     /**
 5 |      * To avoid confusion with the root `plugins` option,
 6 |      * we use `themePlugins`
 7 |      */
 8 |     themePlugins?: DefaultThemePluginsOptions;
 9 | }
10 | export declare const auroraTheme: Theme;
11 | 


--------------------------------------------------------------------------------
/Aurora-theme/lib/node/index.d.ts:
--------------------------------------------------------------------------------
1 | import { auroraTheme } from './auroraTheme';
2 | export * from '../shared';
3 | export * from './auroraTheme';
4 | export * from './utils';
5 | export default auroraTheme;
6 | 


--------------------------------------------------------------------------------
/Aurora-theme/lib/node/index.js:
--------------------------------------------------------------------------------
 1 | "use strict";
 2 | var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
 3 |     if (k2 === undefined) k2 = k;
 4 |     Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
 5 | }) : (function(o, m, k, k2) {
 6 |     if (k2 === undefined) k2 = k;
 7 |     o[k2] = m[k];
 8 | }));
 9 | var __exportStar = (this && this.__exportStar) || function(m, exports) {
10 |     for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
11 | };
12 | Object.defineProperty(exports, "__esModule", { value: true });
13 | const auroraTheme = require("./auroraTheme");
14 | __exportStar(require("../shared"), exports);
15 | __exportStar(require("./auroraTheme"), exports);
16 | __exportStar(require("./utils"), exports);
17 | exports.default = auroraTheme.auroraTheme;
18 | 


--------------------------------------------------------------------------------
/Aurora-theme/lib/node/utils/assignDefaultLocaleOptions.d.ts:
--------------------------------------------------------------------------------
1 | import type { DefaultThemeLocaleOptions } from '../../shared';
2 | /**
3 |  * Assign default options to `themeConfig`
4 |  */
5 | export declare const assignDefaultLocaleOptions: (localeOptions: DefaultThemeLocaleOptions) => void;
6 | 


--------------------------------------------------------------------------------
/Aurora-theme/lib/node/utils/assignDefaultLocaleOptions.js:
--------------------------------------------------------------------------------
 1 | "use strict";
 2 | Object.defineProperty(exports, "__esModule", { value: true });
 3 | exports.assignDefaultLocaleOptions = void 0;
 4 | const defaultLocaleOptions = {
 5 |     // navbar
 6 |     navbar: [],
 7 |     logo: null,
 8 |     darkMode: true,
 9 |     repo: null,
10 |     selectLanguageText: 'Languages',
11 |     selectLanguageAriaLabel: 'Select language',
12 |     // sidebar
13 |     sidebar: 'auto',
14 |     sidebarDepth: 2,
15 |     // page meta
16 |     editLink: true,
17 |     editLinkText: 'Edit this page',
18 |     lastUpdated: true,
19 |     lastUpdatedText: 'Last Updated',
20 |     contributors: true,
21 |     contributorsText: 'Contributors',
22 |     // 404 page messages
23 |     notFound: [
24 |         `There's nothing here.`,
25 |         `How did we get here?`,
26 |         `That's a Four-Oh-Four.`,
27 |         `Looks like we've got some broken links.`,
28 |     ],
29 |     backToHome: 'Take me home',
30 |     // `` sr-only
31 |     openInNewWindow: 'open in new window',
32 | };
33 | const defaultLocaleData = {
34 |     // navbar
35 |     selectLanguageName: 'English',
36 | };
37 | /**
38 |  * Assign default options to `themeConfig`
39 |  */
40 | const assignDefaultLocaleOptions = (localeOptions) => {
41 |     if (!localeOptions.locales) {
42 |         localeOptions.locales = {};
43 |     }
44 |     if (!localeOptions.locales['/']) {
45 |         localeOptions.locales['/'] = {};
46 |     }
47 |     Object.assign(localeOptions, {
48 |         ...defaultLocaleOptions,
49 |         ...localeOptions,
50 |     });
51 |     Object.assign(localeOptions.locales['/'], {
52 |         ...defaultLocaleData,
53 |         ...localeOptions.locales['/'],
54 |     });
55 | };
56 | exports.assignDefaultLocaleOptions = assignDefaultLocaleOptions;
57 | 


--------------------------------------------------------------------------------
/Aurora-theme/lib/node/utils/index.d.ts:
--------------------------------------------------------------------------------
1 | export * from './assignDefaultLocaleOptions';
2 | export * from './resolveActiveHeaderLinksPluginOptions';
3 | export * from './resolveContainerPluginOptions';
4 | export * from './resolveGitPluginOptions';
5 | export * from './resolveMediumZoomPluginOptions';
6 | 


--------------------------------------------------------------------------------
/Aurora-theme/lib/node/utils/index.js:
--------------------------------------------------------------------------------
 1 | "use strict";
 2 | var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
 3 |     if (k2 === undefined) k2 = k;
 4 |     Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
 5 | }) : (function(o, m, k, k2) {
 6 |     if (k2 === undefined) k2 = k;
 7 |     o[k2] = m[k];
 8 | }));
 9 | var __exportStar = (this && this.__exportStar) || function(m, exports) {
10 |     for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
11 | };
12 | Object.defineProperty(exports, "__esModule", { value: true });
13 | __exportStar(require("./assignDefaultLocaleOptions"), exports);
14 | __exportStar(require("./resolveActiveHeaderLinksPluginOptions"), exports);
15 | __exportStar(require("./resolveContainerPluginOptions"), exports);
16 | __exportStar(require("./resolveGitPluginOptions"), exports);
17 | __exportStar(require("./resolveMediumZoomPluginOptions"), exports);
18 | 


--------------------------------------------------------------------------------
/Aurora-theme/lib/node/utils/resolveActiveHeaderLinksPluginOptions.d.ts:
--------------------------------------------------------------------------------
1 | import type { ActiveHeaderLinksPluginOptions } from '@vuepress/plugin-active-header-links';
2 | import type { DefaultThemePluginsOptions } from '../../shared';
3 | /**
4 |  * Resolve options for @vuepress/plugin-active-header-links
5 |  */
6 | export declare const resolveActiveHeaderLinksPluginOptions: (themePlugins: DefaultThemePluginsOptions) => ActiveHeaderLinksPluginOptions | boolean;
7 | 


--------------------------------------------------------------------------------
/Aurora-theme/lib/node/utils/resolveActiveHeaderLinksPluginOptions.js:
--------------------------------------------------------------------------------
 1 | "use strict";
 2 | Object.defineProperty(exports, "__esModule", { value: true });
 3 | exports.resolveActiveHeaderLinksPluginOptions = void 0;
 4 | /**
 5 |  * Resolve options for @vuepress/plugin-active-header-links
 6 |  */
 7 | const resolveActiveHeaderLinksPluginOptions = (themePlugins) => {
 8 |     if ((themePlugins === null || themePlugins === void 0 ? void 0 : themePlugins.activeHeaderLinks) === false) {
 9 |         return false;
10 |     }
11 |     return {
12 |         headerLinkSelector: 'a.sidebar-item',
13 |         headerAnchorSelector: '.header-anchor',
14 |     };
15 | };
16 | exports.resolveActiveHeaderLinksPluginOptions = resolveActiveHeaderLinksPluginOptions;
17 | 


--------------------------------------------------------------------------------
/Aurora-theme/lib/node/utils/resolveContainerPluginOptions.d.ts:
--------------------------------------------------------------------------------
 1 | import type { ContainerPluginOptions } from '@vuepress/plugin-container';
 2 | import type { DefaultThemePluginsOptions, DefaultThemeData } from '../../shared';
 3 | /**
 4 |  * Resolve options for @vuepress/plugin-container
 5 |  *
 6 |  * For custom containers default title
 7 |  */
 8 | export declare const resolveContainerPluginOptions: (themePlugins: DefaultThemePluginsOptions, localeOptions: DefaultThemeData, type: 'tip' | 'warning' | 'danger') => ContainerPluginOptions | boolean;
 9 | /**
10 |  * Resolve options for @vuepress/plugin-container
11 |  *
12 |  * For details container
13 |  */
14 | export declare const resolveContainerPluginOptionsForDetails: (themePlugins: DefaultThemePluginsOptions) => ContainerPluginOptions | boolean;
15 | /**
16 |  * Resolve options for @vuepress/plugin-container
17 |  *
18 |  * For code-group container
19 |  */
20 | export declare const resolveContainerPluginOptionsForCodeGroup: (themePlugins: DefaultThemePluginsOptions) => ContainerPluginOptions | boolean;
21 | /**
22 |  * Resolve options for @vuepress/plugin-container
23 |  *
24 |  * For code-group-item block
25 |  */
26 | export declare const resolveContainerPluginOptionsForCodeGroupItem: (themePlugins: DefaultThemePluginsOptions) => ContainerPluginOptions | boolean;
27 | 


--------------------------------------------------------------------------------
/Aurora-theme/lib/node/utils/resolveContainerPluginOptions.js:
--------------------------------------------------------------------------------
 1 | "use strict";
 2 | Object.defineProperty(exports, "__esModule", { value: true });
 3 | exports.resolveContainerPluginOptionsForCodeGroupItem = exports.resolveContainerPluginOptionsForCodeGroup = exports.resolveContainerPluginOptionsForDetails = exports.resolveContainerPluginOptions = void 0;
 4 | /**
 5 |  * Resolve options for @vuepress/plugin-container
 6 |  *
 7 |  * For custom containers default title
 8 |  */
 9 | const resolveContainerPluginOptions = (themePlugins, localeOptions, type) => {
10 |     var _a;
11 |     if (((_a = themePlugins === null || themePlugins === void 0 ? void 0 : themePlugins.container) === null || _a === void 0 ? void 0 : _a[type]) === false) {
12 |         return false;
13 |     }
14 |     const locales = Object.entries(localeOptions.locales || {}).reduce((result, [key, value]) => {
15 |         var _a;
16 |         result[key] = {
17 |             defaultInfo: (_a = value === null || value === void 0 ? void 0 : value[type]) !== null && _a !== void 0 ? _a : localeOptions[type],
18 |         };
19 |         return result;
20 |     }, {});
21 |     return {
22 |         type,
23 |         locales,
24 |     };
25 | };
26 | exports.resolveContainerPluginOptions = resolveContainerPluginOptions;
27 | /**
28 |  * Resolve options for @vuepress/plugin-container
29 |  *
30 |  * For details container
31 |  */
32 | const resolveContainerPluginOptionsForDetails = (themePlugins) => {
33 |     var _a;
34 |     if (((_a = themePlugins === null || themePlugins === void 0 ? void 0 : themePlugins.container) === null || _a === void 0 ? void 0 : _a.details) === false) {
35 |         return false;
36 |     }
37 |     return {
38 |         type: 'details',
39 |         before: (info) => `
${info ? `${info}` : ''}\n`, 40 | after: () => '
\n', 41 | }; 42 | }; 43 | exports.resolveContainerPluginOptionsForDetails = resolveContainerPluginOptionsForDetails; 44 | /** 45 | * Resolve options for @vuepress/plugin-container 46 | * 47 | * For code-group container 48 | */ 49 | const resolveContainerPluginOptionsForCodeGroup = (themePlugins) => { 50 | var _a; 51 | if (((_a = themePlugins === null || themePlugins === void 0 ? void 0 : themePlugins.container) === null || _a === void 0 ? void 0 : _a.codeGroup) === false) { 52 | return false; 53 | } 54 | return { 55 | type: 'code-group', 56 | before: () => `\n`, 57 | after: () => '\n', 58 | }; 59 | }; 60 | exports.resolveContainerPluginOptionsForCodeGroup = resolveContainerPluginOptionsForCodeGroup; 61 | /** 62 | * Resolve options for @vuepress/plugin-container 63 | * 64 | * For code-group-item block 65 | */ 66 | const resolveContainerPluginOptionsForCodeGroupItem = (themePlugins) => { 67 | var _a; 68 | if (((_a = themePlugins === null || themePlugins === void 0 ? void 0 : themePlugins.container) === null || _a === void 0 ? void 0 : _a.codeGroupItem) === false) { 69 | return false; 70 | } 71 | return { 72 | type: 'code-group-item', 73 | before: (info) => `\n`, 74 | after: () => '\n', 75 | }; 76 | }; 77 | exports.resolveContainerPluginOptionsForCodeGroupItem = resolveContainerPluginOptionsForCodeGroupItem; 78 | -------------------------------------------------------------------------------- /Aurora-theme/lib/node/utils/resolveGitPluginOptions.d.ts: -------------------------------------------------------------------------------- 1 | import type { GitPluginOptions } from '@vuepress/plugin-git'; 2 | import type { DefaultThemePluginsOptions, DefaultThemeLocaleOptions } from '../../shared'; 3 | /** 4 | * Resolve options for @vuepress/plugin-git 5 | */ 6 | export declare const resolveGitPluginOptions: (themePlugins: DefaultThemePluginsOptions, localeOptions: DefaultThemeLocaleOptions) => GitPluginOptions | boolean; 7 | -------------------------------------------------------------------------------- /Aurora-theme/lib/node/utils/resolveGitPluginOptions.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | Object.defineProperty(exports, "__esModule", { value: true }); 3 | exports.resolveGitPluginOptions = void 0; 4 | /** 5 | * Resolve options for @vuepress/plugin-git 6 | */ 7 | const resolveGitPluginOptions = (themePlugins, localeOptions) => { 8 | if ((themePlugins === null || themePlugins === void 0 ? void 0 : themePlugins.git) === false) { 9 | return false; 10 | } 11 | const enableUpdatedTime = localeOptions.lastUpdated !== false; 12 | const enableContributors = localeOptions.contributors !== false; 13 | if (!enableUpdatedTime && !enableContributors) { 14 | return false; 15 | } 16 | return { 17 | createdTime: false, 18 | updatedTime: enableUpdatedTime, 19 | contributors: enableContributors, 20 | }; 21 | }; 22 | exports.resolveGitPluginOptions = resolveGitPluginOptions; 23 | -------------------------------------------------------------------------------- /Aurora-theme/lib/node/utils/resolveMediumZoomPluginOptions.d.ts: -------------------------------------------------------------------------------- 1 | import type { MediumZoomPluginOptions } from '@vuepress/plugin-medium-zoom'; 2 | import type { DefaultThemePluginsOptions } from '../../shared'; 3 | /** 4 | * Resolve options for @vuepress/plugin-medium-zoom 5 | */ 6 | export declare const resolveMediumZoomPluginOptions: (themePlugins: DefaultThemePluginsOptions) => MediumZoomPluginOptions | boolean; 7 | -------------------------------------------------------------------------------- /Aurora-theme/lib/node/utils/resolveMediumZoomPluginOptions.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | Object.defineProperty(exports, "__esModule", { value: true }); 3 | exports.resolveMediumZoomPluginOptions = void 0; 4 | /** 5 | * Resolve options for @vuepress/plugin-medium-zoom 6 | */ 7 | const resolveMediumZoomPluginOptions = (themePlugins) => { 8 | if ((themePlugins === null || themePlugins === void 0 ? void 0 : themePlugins.mediumZoom) === false) { 9 | return false; 10 | } 11 | return { 12 | //selector: '.theme-default-content > img, .theme-default-content :not(a) > img', 13 | selector: '.medium-zoom-content > img, .medium-zoom-content :not(a) > img, .medium-zoom-content :not(button) > img', 14 | zoomOptions: {}, 15 | // should greater than page transition duration 16 | delay: 400, 17 | }; 18 | }; 19 | exports.resolveMediumZoomPluginOptions = resolveMediumZoomPluginOptions; 20 | -------------------------------------------------------------------------------- /Aurora-theme/lib/shared/index.d.ts: -------------------------------------------------------------------------------- 1 | export * from './nav'; 2 | export * from './options'; 3 | export * from './page'; 4 | -------------------------------------------------------------------------------- /Aurora-theme/lib/shared/index.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { 3 | if (k2 === undefined) k2 = k; 4 | Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } }); 5 | }) : (function(o, m, k, k2) { 6 | if (k2 === undefined) k2 = k; 7 | o[k2] = m[k]; 8 | })); 9 | var __exportStar = (this && this.__exportStar) || function(m, exports) { 10 | for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p); 11 | }; 12 | Object.defineProperty(exports, "__esModule", { value: true }); 13 | __exportStar(require("./nav"), exports); 14 | __exportStar(require("./options"), exports); 15 | __exportStar(require("./page"), exports); 16 | -------------------------------------------------------------------------------- /Aurora-theme/lib/shared/nav.d.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * Base nav item, displayed as text 3 | */ 4 | export interface NavItem { 5 | text: string; 6 | ariaLabel?: string; 7 | } 8 | /** 9 | * Base nav group, has nav items children 10 | */ 11 | export interface NavGroup extends NavItem { 12 | children: T[]; 13 | } 14 | /** 15 | * Props for `` 16 | */ 17 | export interface NavLink extends NavItem { 18 | link: string; 19 | rel?: string; 20 | target?: string; 21 | activeMatch?: string; 22 | } 23 | /** 24 | * Navbar types 25 | */ 26 | export declare type NavbarItem = NavLink; 27 | export declare type NavbarGroup = NavGroup; 28 | export declare type NavbarConfig = (NavbarItem | NavbarGroup | string)[]; 29 | export declare type ResolvedNavbarItem = NavbarItem | NavGroup; 30 | /** 31 | * Sidebar types 32 | */ 33 | export declare type SidebarItem = NavItem & Partial & Partial, 'children'>>; 34 | export declare type SidebarConfigArray = (SidebarItem | string)[]; 35 | export declare type SidebarConfigObject = Record; 36 | export declare type SidebarConfig = SidebarConfigArray | SidebarConfigObject; 37 | export declare type ResolvedSidebarItem = NavItem & Partial & Partial, 'children'>>; 38 | -------------------------------------------------------------------------------- /Aurora-theme/lib/shared/nav.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | Object.defineProperty(exports, "__esModule", { value: true }); 3 | -------------------------------------------------------------------------------- /Aurora-theme/lib/shared/options.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | Object.defineProperty(exports, "__esModule", { value: true }); 3 | -------------------------------------------------------------------------------- /Aurora-theme/lib/shared/page.d.ts: -------------------------------------------------------------------------------- 1 | import type { GitPluginPageData } from '@vuepress/plugin-git'; 2 | import type { NavLink, SidebarConfig } from './nav'; 3 | export interface DefaultThemePageData extends GitPluginPageData { 4 | filePathRelative: string | null; 5 | } 6 | export interface DefaultThemePageFrontmatter { 7 | home?: boolean; 8 | navbar?: boolean; 9 | pageClass?: string; 10 | } 11 | export interface DefaultThemeHomePageFrontmatter extends DefaultThemePageFrontmatter { 12 | home: true; 13 | heroImage?: string; 14 | heroImageDark?: string; 15 | heroAlt?: string; 16 | heroText?: string | null; 17 | tagline?: string | null; 18 | actions?: { 19 | text: string; 20 | link: string; 21 | type?: 'primary' | 'secondary'; 22 | }[]; 23 | features?: { 24 | title: string; 25 | details: string; 26 | }[]; 27 | footer?: string; 28 | footerHtml?: boolean; 29 | } 30 | export interface DefaultThemeNormalPageFrontmatter extends DefaultThemePageFrontmatter { 31 | home?: false; 32 | editLink?: boolean; 33 | editLinkPattern?: string; 34 | lastUpdated?: boolean; 35 | contributors?: boolean; 36 | sidebar?: 'auto' | false | SidebarConfig; 37 | sidebarDepth?: number; 38 | prev?: string | NavLink; 39 | next?: string | NavLink; 40 | } 41 | -------------------------------------------------------------------------------- /Aurora-theme/lib/shared/page.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | Object.defineProperty(exports, "__esModule", { value: true }); 3 | -------------------------------------------------------------------------------- /Aurora-theme/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "vuepress-theme-aurora", 3 | "version": "1.13.4", 4 | "description": "A vuepress-based animation blog theme, simple, beautiful, multi-color, multiple custom functions, providing article poster sharing, talk, photo album, comment and other features 一个基于vuepress的动漫类博客主题,简洁,漂亮,多色彩,多种自定义功能,提供文章海报分享,说说,相册,评论等特色功�?", 5 | "main": "./lib/node/index.js", 6 | "directories": { 7 | "lib": "lib" 8 | }, 9 | "scripts": { 10 | "test": "echo \"Error: no test specified\" && exit 1" 11 | }, 12 | "repository": { 13 | "type": "git", 14 | "url": "https://github.com/vuepress-aurora/vuepress-theme-aurora" 15 | }, 16 | "keywords": [ 17 | "vuepress-theme", 18 | "vuepress-theme-aurora", 19 | "anime-blog", 20 | "vue", 21 | "theme", 22 | "blog-theme", 23 | "vuepress", 24 | "blog", 25 | "theme-blog", 26 | "colors-theme", 27 | "aurora theme" 28 | ], 29 | "author": "qsyyke", 30 | "license": "ISC", 31 | "bugs": { 32 | "url": "https://github.com/vuepress-aurora/vuepress-theme-aurora/issues" 33 | }, 34 | "homepage": "https://aurora.xcye.xyz/", 35 | "devDependencies": { 36 | "@vuepress/plugin-search": "2.0.0-beta.33", 37 | "stylus-loader": "^6.1.0", 38 | "vuepress": "2.0.0-beta.33", 39 | "vuepress-webpack": "2.0.0-beta.33" 40 | }, 41 | "dependencies": { 42 | "swiper": "^8.0.6", 43 | "default-passive-events": "^2.0.0", 44 | "axios": "^0.21.1", 45 | "@waline/client": "^1.3.10", 46 | "easy-typer-js": "^2.1.0", 47 | "html2canvas": "^1.3.2", 48 | "qrcode": "^1.4.4", 49 | "vue-fucking-gallery": "^1.0.1", 50 | "vuex": "^4.0.0-0", 51 | "@types/jquery": "^3.5.6", 52 | "jquery": "^3.2.1", 53 | "reading-time-estimator": "^1.4.0", 54 | "vuepress-plugin-coze": "latest", 55 | "vuepress-plugin-archive": "latest", 56 | "vuepress-plugin-bubble": "latest", 57 | "vuepress-plugin-player": "latest", 58 | "gsap": "^3.8.0", 59 | "markdown-it-modify-token": "latest", 60 | "smoothscroll-polyfill": "^0.4.4" 61 | } 62 | } 63 | -------------------------------------------------------------------------------- /CONTRIBUTING.md: -------------------------------------------------------------------------------- 1 | Welcome everyone pr 2 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2021 Vuepress-Aurora 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. 22 | -------------------------------------------------------------------------------- /docs/.vuepress/clientAppEnhance.js: -------------------------------------------------------------------------------- 1 | import { defineClientAppEnhance } from '@vuepress/client' 2 | // import UseBlog from "./components/UseBlog.vue"; 3 | export default defineClientAppEnhance(({ app, router, siteData }) => { 4 | // app.component("UseBlog",UseBlog) 5 | }) -------------------------------------------------------------------------------- /docs/.vuepress/components/UseBlog.vue: -------------------------------------------------------------------------------- 1 | 22 | 23 | 48 | 49 | -------------------------------------------------------------------------------- /docs/.vuepress/donate.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | donate: { 3 | 4 | //赞赏页面,支付二维码,推荐放置两张图片链接 5 | donateImg: [ 6 | "/aurora/wxpay.png", 7 | "/aurora/zfbpay.jpg", 8 | ], 9 | 10 | //是否在文章页面显示赞赏 默认显示 11 | articlePage: true, 12 | 13 | //是否在关于页面显示 默认显示 14 | aboutPage: true, 15 | 16 | //显示在赞赏页面的信息 17 | donateProduct: [ 18 | { 19 | //名字 20 | name: "奶茶", 21 | 22 | //图片地址 23 | img: "/aurora/nc.jpeg", 24 | 25 | //价格 26 | price: 18, 27 | 28 | //前缀 29 | prefix: "$", 30 | }, 31 | { 32 | name: "全味奶茶", 33 | img: "/aurora/image-20210911233612031.png", 34 | price: 11, 35 | prefix: "¥", 36 | }, 37 | ], 38 | 39 | //是否显示在线支付的订单信息,如果需要开启,请自己写支付接口,自己修改源码,默认关闭 40 | //onlineList: true, v1.11.2已被移除 41 | 42 | //用户赞赏列表数组 43 | donateList: [ 44 | { 45 | name: "初尘", 46 | msg: "主题太棒了", 47 | img: "/aurora/nc.jpeg", 48 | price: 7, 49 | prefix: "¥", 50 | } 51 | ], 52 | } 53 | } 54 | -------------------------------------------------------------------------------- /docs/.vuepress/message.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | //这里是将config.js中的公告部分单独提取出来,方便配置 3 | message: [ 4 | '该博客主题为Aurora,vuepress-theme-Aurora', 5 | "主题交流群: 681602026,欢迎各位大佬进群交流", 6 | ] 7 | } -------------------------------------------------------------------------------- /docs/.vuepress/new.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | themeConfig: { 3 | 4 | } 5 | } -------------------------------------------------------------------------------- /docs/.vuepress/public/aa bb-11.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blog-aurora/vuepress-theme-aurora/710a3c584f6e82341108a8f18fd2a18eff75dda5/docs/.vuepress/public/aa bb-11.png -------------------------------------------------------------------------------- /docs/.vuepress/public/aurora-loading.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blog-aurora/vuepress-theme-aurora/710a3c584f6e82341108a8f18fd2a18eff75dda5/docs/.vuepress/public/aurora-loading.gif -------------------------------------------------------------------------------- /docs/.vuepress/public/aurora/image-20210911233612031.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blog-aurora/vuepress-theme-aurora/710a3c584f6e82341108a8f18fd2a18eff75dda5/docs/.vuepress/public/aurora/image-20210911233612031.png -------------------------------------------------------------------------------- /docs/.vuepress/public/aurora/nc.jpeg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blog-aurora/vuepress-theme-aurora/710a3c584f6e82341108a8f18fd2a18eff75dda5/docs/.vuepress/public/aurora/nc.jpeg -------------------------------------------------------------------------------- /docs/.vuepress/public/aurora/wechat.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blog-aurora/vuepress-theme-aurora/710a3c584f6e82341108a8f18fd2a18eff75dda5/docs/.vuepress/public/aurora/wechat.jpg -------------------------------------------------------------------------------- /docs/.vuepress/public/aurora/wxpay.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blog-aurora/vuepress-theme-aurora/710a3c584f6e82341108a8f18fd2a18eff75dda5/docs/.vuepress/public/aurora/wxpay.png -------------------------------------------------------------------------------- /docs/.vuepress/public/aurora/zfbpay.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blog-aurora/vuepress-theme-aurora/710a3c584f6e82341108a8f18fd2a18eff75dda5/docs/.vuepress/public/aurora/zfbpay.jpg -------------------------------------------------------------------------------- /docs/.vuepress/public/avatar.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blog-aurora/vuepress-theme-aurora/710a3c584f6e82341108a8f18fd2a18eff75dda5/docs/.vuepress/public/avatar.jpg -------------------------------------------------------------------------------- /docs/.vuepress/public/avatar.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blog-aurora/vuepress-theme-aurora/710a3c584f6e82341108a8f18fd2a18eff75dda5/docs/.vuepress/public/avatar.png -------------------------------------------------------------------------------- /docs/.vuepress/public/bg/1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blog-aurora/vuepress-theme-aurora/710a3c584f6e82341108a8f18fd2a18eff75dda5/docs/.vuepress/public/bg/1.jpg -------------------------------------------------------------------------------- /docs/.vuepress/public/bg/2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blog-aurora/vuepress-theme-aurora/710a3c584f6e82341108a8f18fd2a18eff75dda5/docs/.vuepress/public/bg/2.jpg -------------------------------------------------------------------------------- /docs/.vuepress/public/bg/3.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blog-aurora/vuepress-theme-aurora/710a3c584f6e82341108a8f18fd2a18eff75dda5/docs/.vuepress/public/bg/3.jpg -------------------------------------------------------------------------------- /docs/.vuepress/public/bg/4.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blog-aurora/vuepress-theme-aurora/710a3c584f6e82341108a8f18fd2a18eff75dda5/docs/.vuepress/public/bg/4.jpg -------------------------------------------------------------------------------- /docs/.vuepress/public/bg/404901.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blog-aurora/vuepress-theme-aurora/710a3c584f6e82341108a8f18fd2a18eff75dda5/docs/.vuepress/public/bg/404901.png -------------------------------------------------------------------------------- /docs/.vuepress/public/bg/5.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blog-aurora/vuepress-theme-aurora/710a3c584f6e82341108a8f18fd2a18eff75dda5/docs/.vuepress/public/bg/5.jpg -------------------------------------------------------------------------------- /docs/.vuepress/public/bg/5332.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blog-aurora/vuepress-theme-aurora/710a3c584f6e82341108a8f18fd2a18eff75dda5/docs/.vuepress/public/bg/5332.png -------------------------------------------------------------------------------- /docs/.vuepress/public/bg/555260.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blog-aurora/vuepress-theme-aurora/710a3c584f6e82341108a8f18fd2a18eff75dda5/docs/.vuepress/public/bg/555260.png -------------------------------------------------------------------------------- /docs/.vuepress/public/bg/5849.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blog-aurora/vuepress-theme-aurora/710a3c584f6e82341108a8f18fd2a18eff75dda5/docs/.vuepress/public/bg/5849.png -------------------------------------------------------------------------------- /docs/.vuepress/public/bg/669.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blog-aurora/vuepress-theme-aurora/710a3c584f6e82341108a8f18fd2a18eff75dda5/docs/.vuepress/public/bg/669.png -------------------------------------------------------------------------------- /docs/.vuepress/public/bg/734386.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blog-aurora/vuepress-theme-aurora/710a3c584f6e82341108a8f18fd2a18eff75dda5/docs/.vuepress/public/bg/734386.png -------------------------------------------------------------------------------- /docs/.vuepress/public/bg/763311.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blog-aurora/vuepress-theme-aurora/710a3c584f6e82341108a8f18fd2a18eff75dda5/docs/.vuepress/public/bg/763311.png -------------------------------------------------------------------------------- /docs/.vuepress/public/bg/about.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blog-aurora/vuepress-theme-aurora/710a3c584f6e82341108a8f18fd2a18eff75dda5/docs/.vuepress/public/bg/about.jpg -------------------------------------------------------------------------------- /docs/.vuepress/public/friendImg/image-20211106100009647.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blog-aurora/vuepress-theme-aurora/710a3c584f6e82341108a8f18fd2a18eff75dda5/docs/.vuepress/public/friendImg/image-20211106100009647.png -------------------------------------------------------------------------------- /docs/.vuepress/public/friendImg/image-20211106100103898.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blog-aurora/vuepress-theme-aurora/710a3c584f6e82341108a8f18fd2a18eff75dda5/docs/.vuepress/public/friendImg/image-20211106100103898.png -------------------------------------------------------------------------------- /docs/.vuepress/public/friendImg/image-20211106100344348.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blog-aurora/vuepress-theme-aurora/710a3c584f6e82341108a8f18fd2a18eff75dda5/docs/.vuepress/public/friendImg/image-20211106100344348.png -------------------------------------------------------------------------------- /docs/.vuepress/public/friendImg/image-20211106100424035.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blog-aurora/vuepress-theme-aurora/710a3c584f6e82341108a8f18fd2a18eff75dda5/docs/.vuepress/public/friendImg/image-20211106100424035.png -------------------------------------------------------------------------------- /docs/.vuepress/public/friendImg/image-20211106100502873.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blog-aurora/vuepress-theme-aurora/710a3c584f6e82341108a8f18fd2a18eff75dda5/docs/.vuepress/public/friendImg/image-20211106100502873.png -------------------------------------------------------------------------------- /docs/.vuepress/public/friendImg/image-20211106100608395.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blog-aurora/vuepress-theme-aurora/710a3c584f6e82341108a8f18fd2a18eff75dda5/docs/.vuepress/public/friendImg/image-20211106100608395.png -------------------------------------------------------------------------------- /docs/.vuepress/public/friendImg/image-20211106101057042.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blog-aurora/vuepress-theme-aurora/710a3c584f6e82341108a8f18fd2a18eff75dda5/docs/.vuepress/public/friendImg/image-20211106101057042.png -------------------------------------------------------------------------------- /docs/.vuepress/public/icon/download (3).zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blog-aurora/vuepress-theme-aurora/710a3c584f6e82341108a8f18fd2a18eff75dda5/docs/.vuepress/public/icon/download (3).zip -------------------------------------------------------------------------------- /docs/.vuepress/public/icon/iconfont.css: -------------------------------------------------------------------------------- 1 | @font-face { 2 | font-family: "aurora-font"; /* Project id 2929813 */ 3 | src: url('iconfont.woff2?t=1636589346664') format('woff2'), 4 | url('iconfont.woff?t=1636589346664') format('woff'), 5 | url('iconfont.ttf?t=1636589346664') format('truetype'); 6 | } 7 | 8 | .aurora-font { 9 | font-family: "aurora-font" !important; 10 | font-size: 16px; 11 | font-style: normal; 12 | -webkit-font-smoothing: antialiased; 13 | -moz-osx-font-smoothing: grayscale; 14 | } 15 | 16 | .custom-aurora-bianji:before { 17 | content: "\e8ac"; 18 | } 19 | 20 | .custom-aurora-caidan:before { 21 | content: "\e8ad"; 22 | } 23 | 24 | .custom-aurora-anquan:before { 25 | content: "\e8ab"; 26 | } 27 | 28 | .custom-aurora-dianzan:before { 29 | content: "\e8ae"; 30 | } 31 | 32 | .custom-aurora-dingdan:before { 33 | content: "\e8af"; 34 | } 35 | 36 | .custom-aurora-faxian:before { 37 | content: "\e8b0"; 38 | } 39 | 40 | -------------------------------------------------------------------------------- /docs/.vuepress/public/icon/iconfont.json: -------------------------------------------------------------------------------- 1 | { 2 | "id": "2929813", 3 | "name": "custom-icon", 4 | "font_family": "aurora-font", 5 | "css_prefix_text": "custom-aurora-", 6 | "description": "", 7 | "glyphs": [ 8 | { 9 | "icon_id": "11372640", 10 | "name": "编辑", 11 | "font_class": "bianji", 12 | "unicode": "e8ac", 13 | "unicode_decimal": 59564 14 | }, 15 | { 16 | "icon_id": "11372642", 17 | "name": "彩蛋", 18 | "font_class": "caidan", 19 | "unicode": "e8ad", 20 | "unicode_decimal": 59565 21 | }, 22 | { 23 | "icon_id": "11372643", 24 | "name": "安全", 25 | "font_class": "anquan", 26 | "unicode": "e8ab", 27 | "unicode_decimal": 59563 28 | }, 29 | { 30 | "icon_id": "11372651", 31 | "name": "点赞", 32 | "font_class": "dianzan", 33 | "unicode": "e8ae", 34 | "unicode_decimal": 59566 35 | }, 36 | { 37 | "icon_id": "11372658", 38 | "name": "订单", 39 | "font_class": "dingdan", 40 | "unicode": "e8af", 41 | "unicode_decimal": 59567 42 | }, 43 | { 44 | "icon_id": "11372661", 45 | "name": "发现", 46 | "font_class": "faxian", 47 | "unicode": "e8b0", 48 | "unicode_decimal": 59568 49 | } 50 | ] 51 | } 52 | -------------------------------------------------------------------------------- /docs/.vuepress/public/icon/iconfont.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blog-aurora/vuepress-theme-aurora/710a3c584f6e82341108a8f18fd2a18eff75dda5/docs/.vuepress/public/icon/iconfont.ttf -------------------------------------------------------------------------------- /docs/.vuepress/public/icon/iconfont.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blog-aurora/vuepress-theme-aurora/710a3c584f6e82341108a8f18fd2a18eff75dda5/docs/.vuepress/public/icon/iconfont.woff -------------------------------------------------------------------------------- /docs/.vuepress/public/icon/iconfont.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blog-aurora/vuepress-theme-aurora/710a3c584f6e82341108a8f18fd2a18eff75dda5/docs/.vuepress/public/icon/iconfont.woff2 -------------------------------------------------------------------------------- /docs/.vuepress/public/ljz.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blog-aurora/vuepress-theme-aurora/710a3c584f6e82341108a8f18fd2a18eff75dda5/docs/.vuepress/public/ljz.gif -------------------------------------------------------------------------------- /docs/.vuepress/public/my-cover.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blog-aurora/vuepress-theme-aurora/710a3c584f6e82341108a8f18fd2a18eff75dda5/docs/.vuepress/public/my-cover.png -------------------------------------------------------------------------------- /docs/.vuepress/public/song/1.mp3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blog-aurora/vuepress-theme-aurora/710a3c584f6e82341108a8f18fd2a18eff75dda5/docs/.vuepress/public/song/1.mp3 -------------------------------------------------------------------------------- /docs/.vuepress/public/song/2.mp3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blog-aurora/vuepress-theme-aurora/710a3c584f6e82341108a8f18fd2a18eff75dda5/docs/.vuepress/public/song/2.mp3 -------------------------------------------------------------------------------- /docs/.vuepress/public/song/3.mp3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blog-aurora/vuepress-theme-aurora/710a3c584f6e82341108a8f18fd2a18eff75dda5/docs/.vuepress/public/song/3.mp3 -------------------------------------------------------------------------------- /docs/.vuepress/public/user.js: -------------------------------------------------------------------------------- 1 | export let sites = [ 2 | { 3 | //网站标题 4 | title: "qsyyke", 5 | 6 | //站点链接 7 | url: "https://blog.cco.vin", 8 | 9 | //站点logo 10 | logo: "https://ooszy.cco.vin/img/blog-public/avatar.jpg", 11 | 12 | //站点描述 13 | describe: "I do not follow,i lives is always all you want", 14 | }, 15 | ] 16 | -------------------------------------------------------------------------------- /docs/.vuepress/public/wechat.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blog-aurora/vuepress-theme-aurora/710a3c584f6e82341108a8f18fd2a18eff75dda5/docs/.vuepress/public/wechat.jpg -------------------------------------------------------------------------------- /docs/.vuepress/randomColor.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | //这里是将config.js中的随机颜色部分单独提取出来,方便配置 3 | randomColor: [ 4 | "#ffcad4", "#d8e2dc", "#8d99ae", "#b8f2e6", "#84c7d0", "#aed9e0", "#00b4d8", 5 | "#caf0f8", "#fbc4ab", "#fdc5f5", "#84dcc6", "#a9def9", "#fcf6bd", "#f0a6ca", 6 | "#b9faf8", "#42a5f5", "#ff9800", "#b39ddb", "#6d45bb", "#b388ff", "#1565c0", 7 | "#26c6da", "#5e548e", "#90f1ef", "#5b5f97", "#bbe6e4", "#42bfdd", "#72ddf7", 8 | "#8093f1", "#9ed8d8", "#7ea8be", "#ef90b3", "#b892ef", "#c0b9dd", "#c0d9dd", 9 | "#75c9c8", "#ded9e2", "#b5e2fa", "#62b6cb", "#5fa8d3", "#0fa3b1", "#b5e2fa", 10 | "#5fa8d3", "#62b6cb", "#b892ff", 11 | ] 12 | } -------------------------------------------------------------------------------- /docs/.vuepress/siteInformation.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | //这里是将config.js中的个人站点信息部分单独提取出来,方便配置 3 | siteInformation: { 4 | //站点标题 5 | title: "Aurora-theme", 6 | 7 | //自己站点链接 8 | url: "https://aurora.cco.vin", 9 | 10 | //自己站点logo 11 | logo: "/avatar.jpg", 12 | 13 | //自己站点描述 14 | describe: "vuepress-theme-Aurora是一款简洁,美观,功能强大的静态主题", 15 | cover: '/my-cover.png', 16 | 17 | //自己的头像 18 | contact: "email: cqycco@gmail.com, qq:2291308094", 19 | otherDescribe: [ 20 | '申请友链请按照下面格式,在此页面留言,我看到就会进行添加', 21 | '博客名称 博客地址 博客描述 博客logo', 22 | '友链申请要求', 23 | '拒绝涉政/涉黄/太多广告/盈利性站点', 24 | '站点能正常访问', 25 | '这是一个html的测试这是一个a标签' 26 | ] 27 | } 28 | } -------------------------------------------------------------------------------- /docs/.vuepress/socials.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | //这里是将config.js中的社交信息部分单独提取出来,方便配置 3 | socials: [ 4 | { 5 | //社交链接 6 | aHref: "tencent://message/?uin=2291308094", 7 | // imgSrc: "/img/ico/qq.svg", 从v1.3.2开始久移除次配置,以前版本用于社交ico图标配置 8 | 9 | //true为在首页显示,反之 10 | isHome: true, 11 | 12 | //是否显示此社交信息,如果为false,尽管isHome=true,sidebar=true,也不会显示 13 | show: true, 14 | 15 | //是否在侧边栏显示 16 | sidebar: true, 17 | 18 | //使用阿里图标 使用的是阿里图标库,我也挑选部分图标,请进入http://ico.cco.vin/theme查看 19 | symbol: '#icon-qq', 20 | 21 | //鼠标移入此图标时,显示的图片,适用于微信等通过二维码添加好友 22 | // showImgSrc: "https://ooszy.cco.vin/img/blog-public/wechat.jpg", 23 | }, 24 | { 25 | aHref: "javascript:;", 26 | //imgSrc: /assets/img/ico/wechat.svg, 27 | showImgSrc: "/wechat.jpg", 28 | isHome: true, 29 | show: true, 30 | symbol: '#icon-weixin', 31 | sidebar: true 32 | }, 33 | { 34 | aHref: "https://github.com/qsyyke/", 35 | isHome: true, 36 | show: true, 37 | sidebar: true, 38 | symbol: '#icon-github-fill' 39 | }, 40 | { 41 | aHref: "https://stackoverflow.com/", 42 | isHome: true, 43 | show: true, 44 | symbol: '#icon-stackoverflow', 45 | sidebar: true 46 | }, 47 | { 48 | aHref: "https://space.bilibili.com/483962286", 49 | isHome: true, 50 | show: true, 51 | sidebar: true, 52 | symbol: '#icon-bilibili-1' 53 | }, 54 | { 55 | aHref: "https://music.163.com/#/user/home?id=1411050784", 56 | isHome: true, 57 | show: true, 58 | symbol: '#icon-wangyiyunyinle', 59 | sidebar: true 60 | }, 61 | { 62 | aHref: "mailto:2291308094@qq.com", 63 | isHome: true, 64 | show: true, 65 | sidebar: true, 66 | symbol: '#icon-email' 67 | }, 68 | ] 69 | } 70 | -------------------------------------------------------------------------------- /docs/.vuepress/styles/index.css: -------------------------------------------------------------------------------- 1 | /* 在此文件中,使用palette.css文件中的变量,你可以在此文件,直接覆盖主题的所有css样式 */ 2 | 3 | /* 覆盖主题随机一眼的颜色 */ 4 | .home-random-say div { 5 | /*color: red;*/ 6 | /*background: blue;*/ 7 | } 8 | 9 | #set-bg { 10 | /*opacity: 1;*/ 11 | } 12 | 13 | 14 | .set-bg-fitter:before { 15 | /* -webkit-filter: blur(0px); */ 16 | /* filter: blur(0px); */ 17 | } 18 | 19 | 20 | body::-webkit-scrollbar { 21 | /*display: none;*/ 22 | } -------------------------------------------------------------------------------- /docs/.vuepress/styles/palette.css: -------------------------------------------------------------------------------- 1 | /* 在此文件中,定义css变量 */ -------------------------------------------------------------------------------- /docs/base/admin.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blog-aurora/vuepress-theme-aurora/710a3c584f6e82341108a8f18fd2a18eff75dda5/docs/base/admin.md -------------------------------------------------------------------------------- /docs/base/command.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blog-aurora/vuepress-theme-aurora/710a3c584f6e82341108a8f18fd2a18eff75dda5/docs/base/command.md -------------------------------------------------------------------------------- /docs/base/docs.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blog-aurora/vuepress-theme-aurora/710a3c584f6e82341108a8f18fd2a18eff75dda5/docs/base/docs.md -------------------------------------------------------------------------------- /docs/base/plugin.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blog-aurora/vuepress-theme-aurora/710a3c584f6e82341108a8f18fd2a18eff75dda5/docs/base/plugin.md -------------------------------------------------------------------------------- /docs/base/public.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blog-aurora/vuepress-theme-aurora/710a3c584f6e82341108a8f18fd2a18eff75dda5/docs/base/public.md -------------------------------------------------------------------------------- /docs/base/vite-webpack.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blog-aurora/vuepress-theme-aurora/710a3c584f6e82341108a8f18fd2a18eff75dda5/docs/base/vite-webpack.md -------------------------------------------------------------------------------- /docs/comment/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blog-aurora/vuepress-theme-aurora/710a3c584f6e82341108a8f18fd2a18eff75dda5/docs/comment/README.md -------------------------------------------------------------------------------- /docs/feature/donate.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blog-aurora/vuepress-theme-aurora/710a3c584f6e82341108a8f18fd2a18eff75dda5/docs/feature/donate.md -------------------------------------------------------------------------------- /docs/feature/feature-config.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blog-aurora/vuepress-theme-aurora/710a3c584f6e82341108a8f18fd2a18eff75dda5/docs/feature/feature-config.md -------------------------------------------------------------------------------- /docs/feature/image.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blog-aurora/vuepress-theme-aurora/710a3c584f6e82341108a8f18fd2a18eff75dda5/docs/feature/image.md -------------------------------------------------------------------------------- /docs/feature/poster.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blog-aurora/vuepress-theme-aurora/710a3c584f6e82341108a8f18fd2a18eff75dda5/docs/feature/poster.md -------------------------------------------------------------------------------- /docs/feature/recommend.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blog-aurora/vuepress-theme-aurora/710a3c584f6e82341108a8f18fd2a18eff75dda5/docs/feature/recommend.md -------------------------------------------------------------------------------- /docs/feature/registercom.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blog-aurora/vuepress-theme-aurora/710a3c584f6e82341108a8f18fd2a18eff75dda5/docs/feature/registercom.md -------------------------------------------------------------------------------- /docs/feature/search.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blog-aurora/vuepress-theme-aurora/710a3c584f6e82341108a8f18fd2a18eff75dda5/docs/feature/search.md -------------------------------------------------------------------------------- /docs/feature/seo.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blog-aurora/vuepress-theme-aurora/710a3c584f6e82341108a8f18fd2a18eff75dda5/docs/feature/seo.md -------------------------------------------------------------------------------- /docs/feature/social.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blog-aurora/vuepress-theme-aurora/710a3c584f6e82341108a8f18fd2a18eff75dda5/docs/feature/social.md -------------------------------------------------------------------------------- /docs/footer.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blog-aurora/vuepress-theme-aurora/710a3c584f6e82341108a8f18fd2a18eff75dda5/docs/footer.md -------------------------------------------------------------------------------- /docs/home/config.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blog-aurora/vuepress-theme-aurora/710a3c584f6e82341108a8f18fd2a18eff75dda5/docs/home/config.md -------------------------------------------------------------------------------- /docs/home/deploy.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blog-aurora/vuepress-theme-aurora/710a3c584f6e82341108a8f18fd2a18eff75dda5/docs/home/deploy.md -------------------------------------------------------------------------------- /docs/home/directory-structure.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blog-aurora/vuepress-theme-aurora/710a3c584f6e82341108a8f18fd2a18eff75dda5/docs/home/directory-structure.md -------------------------------------------------------------------------------- /docs/homePage.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blog-aurora/vuepress-theme-aurora/710a3c584f6e82341108a8f18fd2a18eff75dda5/docs/homePage.md -------------------------------------------------------------------------------- /docs/homeconfig.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blog-aurora/vuepress-theme-aurora/710a3c584f6e82341108a8f18fd2a18eff75dda5/docs/homeconfig.md -------------------------------------------------------------------------------- /docs/issue/CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blog-aurora/vuepress-theme-aurora/710a3c584f6e82341108a8f18fd2a18eff75dda5/docs/issue/CHANGELOG.md -------------------------------------------------------------------------------- /docs/issue/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blog-aurora/vuepress-theme-aurora/710a3c584f6e82341108a8f18fd2a18eff75dda5/docs/issue/README.md -------------------------------------------------------------------------------- /docs/issue/bug.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blog-aurora/vuepress-theme-aurora/710a3c584f6e82341108a8f18fd2a18eff75dda5/docs/issue/bug.md -------------------------------------------------------------------------------- /docs/issue/cli-issue.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blog-aurora/vuepress-theme-aurora/710a3c584f6e82341108a8f18fd2a18eff75dda5/docs/issue/cli-issue.md -------------------------------------------------------------------------------- /docs/issue/common.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blog-aurora/vuepress-theme-aurora/710a3c584f6e82341108a8f18fd2a18eff75dda5/docs/issue/common.md -------------------------------------------------------------------------------- /docs/issue/taobao.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blog-aurora/vuepress-theme-aurora/710a3c584f6e82341108a8f18fd2a18eff75dda5/docs/issue/taobao.md -------------------------------------------------------------------------------- /docs/issue/update-12.7.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blog-aurora/vuepress-theme-aurora/710a3c584f6e82341108a8f18fd2a18eff75dda5/docs/issue/update-12.7.md -------------------------------------------------------------------------------- /docs/issue/代码块不规范解决.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blog-aurora/vuepress-theme-aurora/710a3c584f6e82341108a8f18fd2a18eff75dda5/docs/issue/代码块不规范解决.md -------------------------------------------------------------------------------- /docs/learn/frontmatter.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blog-aurora/vuepress-theme-aurora/710a3c584f6e82341108a8f18fd2a18eff75dda5/docs/learn/frontmatter.md -------------------------------------------------------------------------------- /docs/learn/markdown.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blog-aurora/vuepress-theme-aurora/710a3c584f6e82341108a8f18fd2a18eff75dda5/docs/learn/markdown.md -------------------------------------------------------------------------------- /docs/message.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blog-aurora/vuepress-theme-aurora/710a3c584f6e82341108a8f18fd2a18eff75dda5/docs/message.md -------------------------------------------------------------------------------- /docs/node.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blog-aurora/vuepress-theme-aurora/710a3c584f6e82341108a8f18fd2a18eff75dda5/docs/node.md -------------------------------------------------------------------------------- /docs/page/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blog-aurora/vuepress-theme-aurora/710a3c584f6e82341108a8f18fd2a18eff75dda5/docs/page/README.md -------------------------------------------------------------------------------- /docs/page/about.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blog-aurora/vuepress-theme-aurora/710a3c584f6e82341108a8f18fd2a18eff75dda5/docs/page/about.md -------------------------------------------------------------------------------- /docs/page/friendlink.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blog-aurora/vuepress-theme-aurora/710a3c584f6e82341108a8f18fd2a18eff75dda5/docs/page/friendlink.md -------------------------------------------------------------------------------- /docs/page/page.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blog-aurora/vuepress-theme-aurora/710a3c584f6e82341108a8f18fd2a18eff75dda5/docs/page/page.md -------------------------------------------------------------------------------- /docs/page/photo.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blog-aurora/vuepress-theme-aurora/710a3c584f6e82341108a8f18fd2a18eff75dda5/docs/page/photo.md -------------------------------------------------------------------------------- /docs/page/tag.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blog-aurora/vuepress-theme-aurora/710a3c584f6e82341108a8f18fd2a18eff75dda5/docs/page/tag.md -------------------------------------------------------------------------------- /docs/plugin/archive/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blog-aurora/vuepress-theme-aurora/710a3c584f6e82341108a8f18fd2a18eff75dda5/docs/plugin/archive/README.md -------------------------------------------------------------------------------- /docs/plugin/bubble/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blog-aurora/vuepress-theme-aurora/710a3c584f6e82341108a8f18fd2a18eff75dda5/docs/plugin/bubble/README.md -------------------------------------------------------------------------------- /docs/plugin/coze/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blog-aurora/vuepress-theme-aurora/710a3c584f6e82341108a8f18fd2a18eff75dda5/docs/plugin/coze/README.md -------------------------------------------------------------------------------- /docs/plugin/coze/component.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blog-aurora/vuepress-theme-aurora/710a3c584f6e82341108a8f18fd2a18eff75dda5/docs/plugin/coze/component.md -------------------------------------------------------------------------------- /docs/plugin/coze/config.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blog-aurora/vuepress-theme-aurora/710a3c584f6e82341108a8f18fd2a18eff75dda5/docs/plugin/coze/config.md -------------------------------------------------------------------------------- /docs/plugin/coze/style.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blog-aurora/vuepress-theme-aurora/710a3c584f6e82341108a8f18fd2a18eff75dda5/docs/plugin/coze/style.md -------------------------------------------------------------------------------- /docs/plugin/player/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blog-aurora/vuepress-theme-aurora/710a3c584f6e82341108a8f18fd2a18eff75dda5/docs/plugin/player/README.md -------------------------------------------------------------------------------- /docs/plugin/player/serverUrl.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blog-aurora/vuepress-theme-aurora/710a3c584f6e82341108a8f18fd2a18eff75dda5/docs/plugin/player/serverUrl.md -------------------------------------------------------------------------------- /docs/readme/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blog-aurora/vuepress-theme-aurora/710a3c584f6e82341108a8f18fd2a18eff75dda5/docs/readme/README.md -------------------------------------------------------------------------------- /docs/readme/cmd.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blog-aurora/vuepress-theme-aurora/710a3c584f6e82341108a8f18fd2a18eff75dda5/docs/readme/cmd.md -------------------------------------------------------------------------------- /docs/style/code-style.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blog-aurora/vuepress-theme-aurora/710a3c584f6e82341108a8f18fd2a18eff75dda5/docs/style/code-style.md -------------------------------------------------------------------------------- /docs/style/icon.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blog-aurora/vuepress-theme-aurora/710a3c584f6e82341108a8f18fd2a18eff75dda5/docs/style/icon.md -------------------------------------------------------------------------------- /docs/style/live2d.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blog-aurora/vuepress-theme-aurora/710a3c584f6e82341108a8f18fd2a18eff75dda5/docs/style/live2d.md -------------------------------------------------------------------------------- /docs/style/style.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blog-aurora/vuepress-theme-aurora/710a3c584f6e82341108a8f18fd2a18eff75dda5/docs/style/style.md -------------------------------------------------------------------------------- /docs/style/社交图标配置.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blog-aurora/vuepress-theme-aurora/710a3c584f6e82341108a8f18fd2a18eff75dda5/docs/style/社交图标配置.md -------------------------------------------------------------------------------- /docs/tool.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blog-aurora/vuepress-theme-aurora/710a3c584f6e82341108a8f18fd2a18eff75dda5/docs/tool.md -------------------------------------------------------------------------------- /docs/use.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blog-aurora/vuepress-theme-aurora/710a3c584f6e82341108a8f18fd2a18eff75dda5/docs/use.md -------------------------------------------------------------------------------- /index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | Document 8 | 9 | 10 | 滇ICP备20002243号-3 11 | 12 | -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "demo1", 3 | "version": "1.0.0", 4 | "description": "aurora blog", 5 | "main": "index.js", 6 | "scripts": { 7 | "test": "echo \"Error: no test specified\" && exit 1", 8 | "dev": "vuepress dev docs", 9 | "build": "vuepress build docs" 10 | }, 11 | "author": "qsyyke", 12 | "license": "ISC", 13 | "devDependencies": { 14 | "@vuepress/plugin-search": "2.0.0-beta.33", 15 | "vuepress": "2.0.0-beta.33", 16 | "vuepress-webpack": "2.0.0-beta.33" 17 | }, 18 | "dependencies": { 19 | "vuepress-plugin-archive": "latest", 20 | "vuepress-plugin-bubble": "latest", 21 | "vuepress-plugin-coze": "latest", 22 | "vuepress-plugin-player": "latest", 23 | "vuepress-theme-aurora": "latest" 24 | } 25 | } -------------------------------------------------------------------------------- /script/deploy-dist.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env sh 2 | 3 | # 确保脚本抛出遇到的错误 4 | set -e 5 | 6 | # 生成静态文件 7 | npm run build 8 | 9 | # 进入生成的文件夹 10 | cd docs/.vuepress/dist 11 | 12 | # 如果是发布到自定义域名 13 | # echo 'www.example.com' > CNAME 14 | 15 | git init 16 | git add -A 17 | #git commit -m 'deploy' 18 | 19 | # 如果发布到 https://.github.io 20 | # git push -f git@github.com:/.github.io.git master 21 | 22 | # 如果发布到 https://.github.io/ 23 | # git push -f git@github.com:/.git master:gh-pages 24 | 25 | 26 | cd - 27 | --------------------------------------------------------------------------------