import type { ThemeConfig, HeadConfig, HeaderConfig, FooterConfig, DateConfig, FeedConfig } from '$lib/types/general' export const theme: ThemeConfig = [ { name: 'lemonade', text: 'Light' }, { name: 'night', text: 'Dark' }, { name: 'cupcake', text: 'Cupcake' }, { name: 'bumblebee', text: 'Bumblebee' }, { name: 'emerald', text: 'Emerald' }, { name: 'corporate', text: 'Corporate' }, { name: 'valentine', text: 'Valentine' }, { name: 'synthwave', text: 'Synthwave' }, { name: 'retro', text: 'Retro' }, { name: 'cyberpunk', text: 'Cyberpunk' }, { name: 'halloween', text: 'Halloween' }, { name: 'garden', text: 'Garden' }, { name: 'forest', text: 'Forest' }, { name: 'aqua', text: 'Aqua' }, { name: 'lofi', text: 'Lo-Fi' }, { name: 'pastel', text: 'Pastel' }, { name: 'fantasy', text: 'Fantasy' }, { name: 'wirefream', text: 'Wireframe' }, { name: 'black', text: 'Black' }, { name: 'luxury', text: 'Luxury' }, { name: 'dracula', text: 'Dracula' }, { name: 'cmyk', text: 'CMYK' }, { name: 'autumn', text: 'Autumn' }, { name: 'business', text: 'Business' }, { name: 'acid', text: 'Acid' }, // { // name: 'lemonade', // text: 'Lemonade' // }, // { // name: 'night', // text: '🌃 Night' // }, { name: 'coffee', text: 'Coffee' }, { name: 'winter', text: 'Winter' } ] export const head: HeadConfig = { custom: ({ dev }) => dev ? [] : [ // IndieAuth '', '', '', // Umami Analytics '', // splitbee '', // Block Baiduspider '', // Microsub '' ], me: ['https://kongwoo.icu/@seviche'] } export const header: HeaderConfig = { search: { provider: 'duckduckgo' }, nav: [ { text: 'Projects', link: '/projects' }, // { // text: 'Notes', // link: '/notes' // }, { text: 'Friends', link: '/friends' }, { text: 'About', link: '/about' } // , // { // text: 'Notes', // link: '/notes' // } ] } export const footer: FooterConfig = { nav: [ { text: 'Feed', link: '/atom.xml' }, { text: 'Pravicy', link: '/privacy' } ], html: 'CC BY-NC-SA 4.0' } export const date: DateConfig = { // toPublishedString: { // locales: 'en-US', // options: { // year: 'numeric', // weekday: 'short', // month: 'short', // day: 'numeric', // timeZone: 'Asia/Shanghai' // } // }, // toUpdatedString: { // locales: 'en-US', // options: { // year: 'numeric', // weekday: 'short', // month: 'short', // day: 'numeric', // timeZone: 'Asia/Shanghai' // } // }, locales: 'en-US', options: { year: 'numeric', weekday: 'short', month: 'short', day: 'numeric', timeZone: 'Asia/Shanghai' } } export const feed: FeedConfig = { hubs: ['https://pubsubhubbub.appspot.com', 'https://bridgy-fed.superfeedr.com'] }