UNPKG
themely
Version:
latest (1.0.1)
1.0.1
A package for applying dark and light theme to web/ electron/ NW.js apps
themely
/
dist
/
index.d.ts
11 lines
(10 loc)
•
253 B
TypeScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
declare
type
Theme
=
"dark"
|
"light"
;
declare
class
ThemeStore
{
themeMode
:
Theme
;
constructor
(
);
setTheme
(
theme
:
Theme
):
void
;
getTheme
():
Theme
;
toggleTheme
():
void
; }
export
declare
const
Theme
:
ThemeStore
;
export
default
Theme
;