mirror of
https://github.com/reonokiy/blog.nokiy.net.git
synced 2025-06-16 19:51:07 +02:00

- Change default font style from sans to serif - Add responsive mobile header class - Update post images with new gallery images - Modify post title and layout styling - Simplify font style class application in Layout
103 lines
5.9 KiB
TypeScript
103 lines
5.9 KiB
TypeScript
import type { ThemeConfig } from '@/types'
|
|
|
|
export const themeConfig: ThemeConfig = {
|
|
// SITE INFORMATION >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> START
|
|
site: {
|
|
title: 'Retypeset', // site title
|
|
subtitle: '再现版式之美', // site subtitle (optional)
|
|
description: 'This is Retypeset, an elegant and open-source Astro blog theme, help you rediscover the beauty of typography.', // site description for SEO
|
|
author: 'radishzz', // author name
|
|
url: 'https://retypeset.radishzz.cc', // site url
|
|
favicon: '/image/logo.svg', // or https://example.com/logo.svg. Support webp, svg or png
|
|
},
|
|
// SITE INFORMATION >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> END
|
|
|
|
// COLOR SETTINGS >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> START
|
|
color: {
|
|
mode: 'light', // light or dark. Matches system theme by default, falls back to configured theme mode if not available.
|
|
light: {
|
|
primary: '#17191A', // accent color for title
|
|
secondary: '#505050', // secondary color for text
|
|
background: '#FAEDE4', // background color
|
|
codeTheme: 'github-light', // code block theme. See more at https://shiki.style/themes and https://vscodethemes.com/
|
|
},
|
|
dark: {
|
|
primary: '#BEBEBE', // accent color for title
|
|
secondary: '#A0A09F', // secondary color for text
|
|
background: '#161616', // background color
|
|
codeTheme: 'github-dark', // code block theme. See more at https://shiki.style/themes and https://vscodethemes.com/
|
|
},
|
|
},
|
|
// COLOR SETTINGS >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> END
|
|
|
|
// GLOBAL SETTINGS >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> START
|
|
global: {
|
|
locale: 'zh', // support 'zh', 'zh-tw', 'ja', 'en', 'es', 'ru'. Default language setting
|
|
moreLocale: ['zh-tw', 'ja', 'en', 'es', 'ru'], // ['zh', 'zh-tw', 'ja', 'en', 'es', 'ru']. Not fill in the default locale code again
|
|
fontStyle: 'serif', // sans, serif. Font styles for post content
|
|
titleSpace: 3, // 1, 2, 3. Space between title and subtitle
|
|
},
|
|
// GLOBAL SETTINGS >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> END
|
|
|
|
// COMMENT SETTINGS >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> START
|
|
comment: {
|
|
waline: {
|
|
serverURL: '', // Waline server URL
|
|
emoji: [
|
|
'//unpkg.com/@waline/emojis@1.2.0/bmoji',
|
|
'//unpkg.com/@waline/emojis@1.2.0/weibo',
|
|
], // see more at https://waline.js.org/guide/features/emoji.html
|
|
search: false, // whether to enable GIF search
|
|
imageUploader: false, // whether to enable image uploader
|
|
},
|
|
},
|
|
// COMMENT SETTINGS >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> END
|
|
|
|
// SEO SETTINGS >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> START
|
|
seo: {
|
|
twitterID: '', // @twitter ID
|
|
verification: {
|
|
google: '', // Google Search Console: https://search.google.com/search-console
|
|
bing: '', // Bing Webmaster Tools: https://www.bing.com/webmasters
|
|
yandex: '', // Yandex Webmaster: https://webmaster.yandex.com
|
|
baidu: '', // Baidu Search: https://ziyuan.baidu.com
|
|
},
|
|
googleAnalyticsID: '', // Google Analytics: https://analytics.google.com
|
|
umamiAnalyticsID: '', // Umami Analytics: https://cloud.umami.is
|
|
follow: {
|
|
feedID: '', // feed ID
|
|
userID: '', // user ID
|
|
},
|
|
},
|
|
// SEO SETTINGS >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> END
|
|
|
|
// FOOTER SETTINGS >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> START
|
|
footer: {
|
|
linkA: {
|
|
name: 'RSS',
|
|
url: '/rss.xml',
|
|
},
|
|
linkB: {
|
|
name: 'Contact',
|
|
url: '#',
|
|
},
|
|
linkC: {
|
|
name: 'GitHub',
|
|
url: '#',
|
|
},
|
|
},
|
|
// FOOTER SETTINGS >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> END
|
|
|
|
// PRELOAD SETTINGS >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> START
|
|
preload: {
|
|
commentURL: '', // https://comment.example.com/
|
|
imageHostURL: '', // https://image.example.com/
|
|
// If you proxy analytics requests to the custom domain, you can fill in below
|
|
customGoogleAnalyticsURL: '', // https://custom.example.com/
|
|
customUmamiAnalyticsURL: '', // https://custom.example.com/
|
|
customUmamiAnalyticsJS: '', // https://custom.example.com/custom.js
|
|
},
|
|
// PRELOAD SETTINGS >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> END
|
|
}
|
|
|
|
export default themeConfig
|