move types
This commit is contained in:
2
src/lib/types.ts
Normal file
2
src/lib/types.ts
Normal file
@@ -0,0 +1,2 @@
|
||||
export const themes = ['dark', 'light'] as const
|
||||
export type Theme = (typeof themes)[number]
|
@@ -1,2 +0,0 @@
|
||||
export const themes = ['dark', 'light'] as const;
|
||||
export type Theme = (typeof themes)[number];
|
Reference in New Issue
Block a user