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) 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>/, * 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/'. * for example your repository is at https://github.com/arifszn/example, then set base to '/example/'.
*/ */
@@ -147,7 +147,7 @@ const CONFIG = {
snippetVersion: 6, snippetVersion: 6,
}, },
themeConfig: { themeConfig: {
defaultTheme: 'wireframe', defaultTheme: 'nord',
// Hides the switch in the navbar // Hides the switch in the navbar
// Useful if you want to support a single color mode // Useful if you want to support a single color mode
@@ -191,6 +191,9 @@ const CONFIG = {
'night', 'night',
'coffee', 'coffee',
'winter', 'winter',
'dim',
'nord',
'sunset',
'procyon', 'procyon',
], ],

4
global.d.ts vendored
View File

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

View File

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