Add 3 new themes and change default theme

This commit is contained in:
Ariful Alam 2024-01-20 18:48:02 +06:00
parent 034dbe0d2c
commit c7db8ee0b8
3 changed files with 9 additions and 5 deletions

View File

@ -5,7 +5,7 @@ const CONFIG = {
username: 'arifszn', // Your GitHub org/user name. (This is the only required config)
},
/**
* If you are deploying to https://<USERNAME>.github.io/, for example your repository is at https://github.com/arifszn, set base to '/'.
* If you are deploying to https://<USERNAME>.github.io/, for example your repository is at https://github.com/arifszn/arifszn.github.io, set base to '/'.
* If you are deploying to https://<USERNAME>.github.io/<REPO_NAME>/,
* for example your repository is at https://github.com/arifszn/example, then set base to '/example/'.
*/
@ -147,7 +147,7 @@ const CONFIG = {
snippetVersion: 6,
},
themeConfig: {
defaultTheme: 'wireframe',
defaultTheme: 'nord',
// Hides the switch in the navbar
// Useful if you want to support a single color mode
@ -191,6 +191,9 @@ const CONFIG = {
'night',
'coffee',
'winter',
'dim',
'nord',
'sunset',
'procyon',
],

4
global.d.ts vendored
View File

@ -331,9 +331,7 @@ interface Config {
github: Github;
/**
* If you are deploying to https://<USERNAME>.github.io/, for example your repository is at https://github.com/arifszn, set base to '/'.
* If you are deploying to https://<USERNAME>.github.io/<REPO_NAME>/,
* for example your repository is at https://github.com/arifszn/example, then set base to '/example/'.
* Vite's base url
*/
base?: string;

View File

@ -28,5 +28,8 @@ export const DEFAULT_THEMES = [
'night',
'coffee',
'winter',
'dim',
'nord',
'sunset',
'procyon',
];