Move ThemeSource to own file

This commit is contained in:
Becca 2022-02-04 07:51:35 -05:00
parent 5d2fdfb739
commit f1a483d84f
2 changed files with 2 additions and 2 deletions

View file

@ -7,6 +7,7 @@ import {
setNativeThemeSource,
shouldUseDarkColors,
} from '../main-process-proxy'
import { ThemeSource } from './theme-source'
/** Interface for set of customizable styles */
export interface ICustomTheme {
@ -37,8 +38,6 @@ export type ApplicableTheme =
| ApplicationTheme.Dark
| ApplicationTheme.HighContrast
export type ThemeSource = 'light' | 'dark' | 'system'
/**
* Gets the friendly name of an application theme for use
* in persisting to storage and/or calculating the required

View file

@ -0,0 +1 @@
export type ThemeSource = 'light' | 'dark' | 'system'