Skip to content

Commit 459f625

Browse files
authoredFeb 11, 2023
fix: themes with wrong dark / light property (#458)
1 parent ee75999 commit 459f625

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed
 

‎themes/atomone/src/index.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ export const defaultSettingsAtomone: CreateThemeOptions['settings'] = {
2020
};
2121

2222
export const atomoneInit = (options?: Partial<CreateThemeOptions>) => {
23-
const { theme = 'light', settings = {}, styles = [] } = options || {};
23+
const { theme = 'dark', settings = {}, styles = [] } = options || {};
2424
return createTheme({
2525
theme: theme,
2626
settings: {

‎themes/darcula/src/index.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ export const defaultSettingsDarcula: CreateThemeOptions['settings'] = {
2020
};
2121

2222
export const darculaInit = (options?: Partial<CreateThemeOptions>) => {
23-
const { theme = 'light', settings = {}, styles = [] } = options || {};
23+
const { theme = 'dark', settings = {}, styles = [] } = options || {};
2424
return createTheme({
2525
theme: theme,
2626
settings: {

‎themes/dracula/src/index.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ export const defaultSettingsDracula: CreateThemeOptions['settings'] = {
2020
};
2121

2222
export const draculaInit = (options?: Partial<CreateThemeOptions>) => {
23-
const { theme = 'light', settings = {}, styles = [] } = options || {};
23+
const { theme = 'dark', settings = {}, styles = [] } = options || {};
2424
return createTheme({
2525
theme: theme,
2626
settings: {

‎themes/duotone/src/index.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ export const defaultSettingsDuotoneDark: CreateThemeOptions['settings'] = {
5252
};
5353

5454
export const duotoneDarkInit = (options?: Partial<CreateThemeOptions>) => {
55-
const { theme = 'light', settings = {}, styles = [] } = options || {};
55+
const { theme = 'dark', settings = {}, styles = [] } = options || {};
5656
return createTheme({
5757
theme: theme,
5858
settings: {

‎themes/gruvbox/src/index.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ export const defaultSettingsGruvboxLight: CreateThemeOptions['settings'] = {
139139
};
140140

141141
export const gruvboxLightInit = (options?: Partial<CreateThemeOptions>) => {
142-
const { theme = 'dark', settings = {}, styles = [] } = options || {};
142+
const { theme = 'light', settings = {}, styles = [] } = options || {};
143143
return createTheme({
144144
theme: theme,
145145
settings: {

0 commit comments

Comments
 (0)
Please sign in to comment.