mirror of
https://github.com/desktop/desktop
synced 2024-08-24 18:57:33 +00:00
Move ThemeSource to own file
This commit is contained in:
parent
5d2fdfb739
commit
f1a483d84f
|
@ -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
|
||||
|
|
1
app/src/ui/lib/theme-source.ts
Normal file
1
app/src/ui/lib/theme-source.ts
Normal file
|
@ -0,0 +1 @@
|
|||
export type ThemeSource = 'light' | 'dark' | 'system'
|
Loading…
Reference in a new issue