From 4e9b3ed0bf1c609869e6dfed4e769f7e49b20cda Mon Sep 17 00:00:00 2001 From: Le Minh Tri Date: Sun, 26 Feb 2023 11:08:02 +0700 Subject: [PATCH 1/3] feat(theme): add light theme google --- src/configs/site.ts | 4 ++++ theme.config.cjs | 8 ++++++++ 2 files changed, 12 insertions(+) diff --git a/src/configs/site.ts b/src/configs/site.ts index ed0eb3af..b77296a9 100644 --- a/src/configs/site.ts +++ b/src/configs/site.ts @@ -25,6 +25,10 @@ export default { name: 'LeetCode Dark', icon: 'bi:moon-fill', }, + google: { + name: 'Google', + icon: 'bi:sun-fill', + }, }, plugins: { counterAnalytics: { diff --git a/theme.config.cjs b/theme.config.cjs index c2455b4a..e449895f 100644 --- a/theme.config.cjs +++ b/theme.config.cjs @@ -196,5 +196,13 @@ module.exports = { tertiary: themeColors.light['tertiary'], }, false) }, + { + name: 'google', + extend: siteTheme({ + primary: '#db2028', + secondary: themeColors.light['secondary'], + tertiary: themeColors.light['tertiary'], + }, false) + }, ] } From 33c6d6264116baf11f2d4bbd187c1cdca6725d65 Mon Sep 17 00:00:00 2001 From: Le Minh Tri Date: Sun, 26 Feb 2023 11:08:30 +0700 Subject: [PATCH 2/3] feat(theme): add light theme microsoft --- src/configs/site.ts | 4 ++++ theme.config.cjs | 8 ++++++++ 2 files changed, 12 insertions(+) diff --git a/src/configs/site.ts b/src/configs/site.ts index b77296a9..5d957e0a 100644 --- a/src/configs/site.ts +++ b/src/configs/site.ts @@ -29,6 +29,10 @@ export default { name: 'Google', icon: 'bi:sun-fill', }, + microsoft: { + name: 'Microsoft', + icon: 'bi:sun-fill', + }, }, plugins: { counterAnalytics: { diff --git a/theme.config.cjs b/theme.config.cjs index e449895f..15ba49e9 100644 --- a/theme.config.cjs +++ b/theme.config.cjs @@ -204,5 +204,13 @@ module.exports = { tertiary: themeColors.light['tertiary'], }, false) }, + { + name: 'microsoft', + extend: siteTheme({ + primary: '#0067b8', + secondary: themeColors.light['secondary'], + tertiary: themeColors.light['tertiary'], + }, false) + }, ] } From 16552818dcc6402cb9eb248a9579191d7d1b25b2 Mon Sep 17 00:00:00 2001 From: Le Minh Tri Date: Sun, 26 Feb 2023 11:08:47 +0700 Subject: [PATCH 3/3] feat(theme): add light theme twitter --- src/configs/site.ts | 4 ++++ theme.config.cjs | 8 ++++++++ 2 files changed, 12 insertions(+) diff --git a/src/configs/site.ts b/src/configs/site.ts index 5d957e0a..efc33aa2 100644 --- a/src/configs/site.ts +++ b/src/configs/site.ts @@ -33,6 +33,10 @@ export default { name: 'Microsoft', icon: 'bi:sun-fill', }, + twitter: { + name: 'Twitter', + icon: 'bi:sun-fill', + }, }, plugins: { counterAnalytics: { diff --git a/theme.config.cjs b/theme.config.cjs index 15ba49e9..1e7b713c 100644 --- a/theme.config.cjs +++ b/theme.config.cjs @@ -212,5 +212,13 @@ module.exports = { tertiary: themeColors.light['tertiary'], }, false) }, + { + name: 'twitter', + extend: siteTheme({ + primary: '#1d9bf0', + secondary: themeColors.light['secondary'], + tertiary: themeColors.light['tertiary'], + }, false) + }, ] }