Skip to content

Commit

Permalink
fix: themes with wrong dark / light property (#458)
Browse files Browse the repository at this point in the history
  • Loading branch information
felixroos committed Feb 11, 2023
1 parent ee75999 commit 459f625
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion themes/atomone/src/index.ts
Expand Up @@ -20,7 +20,7 @@ export const defaultSettingsAtomone: CreateThemeOptions['settings'] = {
};

export const atomoneInit = (options?: Partial<CreateThemeOptions>) => {
const { theme = 'light', settings = {}, styles = [] } = options || {};
const { theme = 'dark', settings = {}, styles = [] } = options || {};
return createTheme({
theme: theme,
settings: {
Expand Down
2 changes: 1 addition & 1 deletion themes/darcula/src/index.ts
Expand Up @@ -20,7 +20,7 @@ export const defaultSettingsDarcula: CreateThemeOptions['settings'] = {
};

export const darculaInit = (options?: Partial<CreateThemeOptions>) => {
const { theme = 'light', settings = {}, styles = [] } = options || {};
const { theme = 'dark', settings = {}, styles = [] } = options || {};
return createTheme({
theme: theme,
settings: {
Expand Down
2 changes: 1 addition & 1 deletion themes/dracula/src/index.ts
Expand Up @@ -20,7 +20,7 @@ export const defaultSettingsDracula: CreateThemeOptions['settings'] = {
};

export const draculaInit = (options?: Partial<CreateThemeOptions>) => {
const { theme = 'light', settings = {}, styles = [] } = options || {};
const { theme = 'dark', settings = {}, styles = [] } = options || {};
return createTheme({
theme: theme,
settings: {
Expand Down
2 changes: 1 addition & 1 deletion themes/duotone/src/index.ts
Expand Up @@ -52,7 +52,7 @@ export const defaultSettingsDuotoneDark: CreateThemeOptions['settings'] = {
};

export const duotoneDarkInit = (options?: Partial<CreateThemeOptions>) => {
const { theme = 'light', settings = {}, styles = [] } = options || {};
const { theme = 'dark', settings = {}, styles = [] } = options || {};
return createTheme({
theme: theme,
settings: {
Expand Down
2 changes: 1 addition & 1 deletion themes/gruvbox/src/index.ts
Expand Up @@ -139,7 +139,7 @@ export const defaultSettingsGruvboxLight: CreateThemeOptions['settings'] = {
};

export const gruvboxLightInit = (options?: Partial<CreateThemeOptions>) => {
const { theme = 'dark', settings = {}, styles = [] } = options || {};
const { theme = 'light', settings = {}, styles = [] } = options || {};
return createTheme({
theme: theme,
settings: {
Expand Down

0 comments on commit 459f625

Please sign in to comment.