10 lines
No EOL
229 B
TypeScript
10 lines
No EOL
229 B
TypeScript
import { names } from "../types/types"
|
|
|
|
export const themeNames: names ={
|
|
1: 'light',
|
|
2: 'dark',
|
|
3: 'system'
|
|
}
|
|
|
|
const themeType = themeNames[1] || themeNames[2] || themeNames[3]
|
|
export type ThemName = typeof themeType |