chore(server): Move api-server in to it's own DIR
This commit is contained in:
committed by
mrugesh mohapatra
parent
9fba6bce4c
commit
46a217d0a5
10
api-server/common/utils/themes.js
Normal file
10
api-server/common/utils/themes.js
Normal file
@@ -0,0 +1,10 @@
|
||||
export const themes = {
|
||||
night: 'night',
|
||||
default: 'default'
|
||||
};
|
||||
|
||||
export const invertTheme = currentTheme => (
|
||||
!currentTheme || currentTheme === themes.default ?
|
||||
themes.night :
|
||||
themes.default
|
||||
);
|
Reference in New Issue
Block a user