From c7db8ee0b8e31832b7fe6b970eff1ec9ae0ae458 Mon Sep 17 00:00:00 2001 From: Ariful Alam Date: Sat, 20 Jan 2024 18:48:02 +0600 Subject: [PATCH] Add 3 new themes and change default theme --- gitprofile.config.ts | 7 +++++-- global.d.ts | 4 +--- src/constants/default-themes.tsx | 3 +++ 3 files changed, 9 insertions(+), 5 deletions(-) diff --git a/gitprofile.config.ts b/gitprofile.config.ts index f3082a0..e72536e 100644 --- a/gitprofile.config.ts +++ b/gitprofile.config.ts @@ -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://.github.io/, for example your repository is at https://github.com/arifszn, set base to '/'. + * If you are deploying to https://.github.io/, for example your repository is at https://github.com/arifszn/arifszn.github.io, set base to '/'. * If you are deploying to https://.github.io//, * 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', ], diff --git a/global.d.ts b/global.d.ts index acb6ff8..33179e1 100644 --- a/global.d.ts +++ b/global.d.ts @@ -331,9 +331,7 @@ interface Config { github: Github; /** - * If you are deploying to https://.github.io/, for example your repository is at https://github.com/arifszn, set base to '/'. - * If you are deploying to https://.github.io//, - * for example your repository is at https://github.com/arifszn/example, then set base to '/example/'. + * Vite's base url */ base?: string; diff --git a/src/constants/default-themes.tsx b/src/constants/default-themes.tsx index 9190c10..b8c5ff2 100644 --- a/src/constants/default-themes.tsx +++ b/src/constants/default-themes.tsx @@ -28,5 +28,8 @@ export const DEFAULT_THEMES = [ 'night', 'coffee', 'winter', + 'dim', + 'nord', + 'sunset', 'procyon', ];