Skip to content

Commit 75f446b

Browse files
authored
Merge pull request #36 from ansidev/feature/add-themes
Feature: Add themes
2 parents e19bc9f + 1655281 commit 75f446b

File tree

2 files changed

+36
-0
lines changed

2 files changed

+36
-0
lines changed

src/configs/site.ts

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,18 @@ export default {
2525
name: 'LeetCode Dark',
2626
icon: 'bi:moon-fill',
2727
},
28+
google: {
29+
name: 'Google',
30+
icon: 'bi:sun-fill',
31+
},
32+
microsoft: {
33+
name: 'Microsoft',
34+
icon: 'bi:sun-fill',
35+
},
36+
twitter: {
37+
name: 'Twitter',
38+
icon: 'bi:sun-fill',
39+
},
2840
},
2941
plugins: {
3042
counterAnalytics: {

theme.config.cjs

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -196,5 +196,29 @@ module.exports = {
196196
tertiary: themeColors.light['tertiary'],
197197
}, false)
198198
},
199+
{
200+
name: 'google',
201+
extend: siteTheme({
202+
primary: '#db2028',
203+
secondary: themeColors.light['secondary'],
204+
tertiary: themeColors.light['tertiary'],
205+
}, false)
206+
},
207+
{
208+
name: 'microsoft',
209+
extend: siteTheme({
210+
primary: '#0067b8',
211+
secondary: themeColors.light['secondary'],
212+
tertiary: themeColors.light['tertiary'],
213+
}, false)
214+
},
215+
{
216+
name: 'twitter',
217+
extend: siteTheme({
218+
primary: '#1d9bf0',
219+
secondary: themeColors.light['secondary'],
220+
tertiary: themeColors.light['tertiary'],
221+
}, false)
222+
},
199223
]
200224
}

0 commit comments

Comments
 (0)