diff --git a/docs/.vuepress/config.js b/docs/.vuepress/config.js index 356895011708954c7bc7d8ac710807c7b5ce3de3..0eb5fe4b6653dfc8dfc78985a8a51c94497af0bb 100644 --- a/docs/.vuepress/config.js +++ b/docs/.vuepress/config.js @@ -26,6 +26,7 @@ module.exports = { serviceWorker: true, themeConfig: { repo: 'liuyib/hexo-theme-stun', + logo: '/icons/favicon-144x144.png', editLinks: true, // 如果你的文档不在仓库的根部,请指定 docsRepo 元字符 docsDir: 'docs', diff --git a/docs/.vuepress/public/icons/favicon-144x144.png b/docs/.vuepress/public/icons/favicon-144x144.png index 7575f7b57251d0dfed3f1ba8503bc816759994ec..376453f14ab0c2d679b350f03a45ab502670ad53 100644 Binary files a/docs/.vuepress/public/icons/favicon-144x144.png and b/docs/.vuepress/public/icons/favicon-144x144.png differ diff --git a/docs/.vuepress/public/icons/favicon-180x180.png b/docs/.vuepress/public/icons/favicon-180x180.png index 9d8405998d34fdc66dd5f3eb2ce15a85f922ae1a..0ecb2a53980495bffd28f1175fa8bc029a24994c 100644 Binary files a/docs/.vuepress/public/icons/favicon-180x180.png and b/docs/.vuepress/public/icons/favicon-180x180.png differ diff --git a/docs/.vuepress/public/icons/favicon-192x192.png b/docs/.vuepress/public/icons/favicon-192x192.png index 6d5b4baca2bedeb7edd5c3646fc65f3c1a7bd29f..2c0a0533fd02cb93c54ac837a5beff437bba4e73 100644 Binary files a/docs/.vuepress/public/icons/favicon-192x192.png and b/docs/.vuepress/public/icons/favicon-192x192.png differ diff --git a/docs/.vuepress/public/icons/favicon-32x32.png b/docs/.vuepress/public/icons/favicon-32x32.png index 15724df4d280ba8fe9754e3d15f5c39ddbb0045c..c22f5f1342e734c9e98e2e001dbfee1feff89882 100644 Binary files a/docs/.vuepress/public/icons/favicon-32x32.png and b/docs/.vuepress/public/icons/favicon-32x32.png differ diff --git a/docs/.vuepress/public/manifest.json b/docs/.vuepress/public/manifest.json index 18e3443a36beb16f9f3394d570693ffa7e194537..ee1e0f5b49402e13f40eb814c6301a5258cdbfcc 100644 --- a/docs/.vuepress/public/manifest.json +++ b/docs/.vuepress/public/manifest.json @@ -1,7 +1,12 @@ { - "name": "hexo-theme-stun", - "short_name": "hexo-theme-stun", + "name": "hexo-theme-stun docs", + "short_name": "Stun docs", "icons": [ + { + "src": "/hexo-theme-stun/icons/favicon-144x144.png", + "sizes": "144x144", + "type": "image/png" + }, { "src": "/hexo-theme-stun/icons/favicon-192x192.png", "sizes": "192x192", @@ -11,5 +16,5 @@ "start_url": "/hexo-theme-stun/", "display": "standalone", "background_color": "#fff", - "theme_color": "#3eaf7c" + "theme_color": "#74c9ff" } diff --git a/docs/.vuepress/styles/index.styl b/docs/.vuepress/styles/index.styl new file mode 100644 index 0000000000000000000000000000000000000000..5f9ac12cfd4e3f7f160b740eeee614116d0b4330 --- /dev/null +++ b/docs/.vuepress/styles/index.styl @@ -0,0 +1,32 @@ +$theme-color = #1890ff; +$theme-color-light = #e6f7ff; +$font-color = #1f2d3d; + +a { + color: $theme-color; +} + +.home .hero a.action-button { + border-bottom: 0; + text-decoration: none; + background-color: #49b1f5; +} + +.sidebar { + a.sidebar-link { + &.active { + border-left-color: transparent; + color: $theme-color; + } + } + + &-sub-headers { + a.sidebar-link { + &.active { + border-right: 3px solid $theme-color; + color: $theme-color; + background: $theme-color-light; + } + } + } +} \ No newline at end of file diff --git a/docs/.vuepress/styles/palette.styl b/docs/.vuepress/styles/palette.styl new file mode 100644 index 0000000000000000000000000000000000000000..14ea5c4dace00c2442ad9a42308d39830b41d85e --- /dev/null +++ b/docs/.vuepress/styles/palette.styl @@ -0,0 +1 @@ +$accentColor = #1890ff; diff --git a/source/images/icons/apple-touch-icon.png b/source/images/icons/apple-touch-icon.png index adf5f631368368371c17386147d06a43bcbee02b..0ecb2a53980495bffd28f1175fa8bc029a24994c 100644 Binary files a/source/images/icons/apple-touch-icon.png and b/source/images/icons/apple-touch-icon.png differ diff --git a/source/images/icons/favicon-144x144.png b/source/images/icons/favicon-144x144.png index d30cfa7d39739fe4691203288e7822dcaa71694f..376453f14ab0c2d679b350f03a45ab502670ad53 100644 Binary files a/source/images/icons/favicon-144x144.png and b/source/images/icons/favicon-144x144.png differ diff --git a/source/images/icons/favicon-16x16.png b/source/images/icons/favicon-16x16.png index b7ed967af5736bb6dad95298bf23e97bf395ae93..1875874f409fdc4fd1540005d8ffd2399fffa178 100644 Binary files a/source/images/icons/favicon-16x16.png and b/source/images/icons/favicon-16x16.png differ diff --git a/source/images/icons/favicon-32x32.png b/source/images/icons/favicon-32x32.png index a0a770f743f3cb55f332f44279a3fe02edf84985..c22f5f1342e734c9e98e2e001dbfee1feff89882 100644 Binary files a/source/images/icons/favicon-32x32.png and b/source/images/icons/favicon-32x32.png differ diff --git a/source/images/icons/stun-logo.svg b/source/images/icons/stun-logo.svg index fb89c7171804286bd1969d6c1343c95422a71633..9cceb85a3718cef53d6aad2726351b2e3661d4d4 100644 --- a/source/images/icons/stun-logo.svg +++ b/source/images/icons/stun-logo.svg @@ -1 +1,9 @@ - \ No newline at end of file + + + + + + + + + \ No newline at end of file