-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.js
45 lines (38 loc) · 1013 Bytes
/
config.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
// LAYOUT
// ----------------------------------------------------------------------
export const HEADER = {
MOBILE_HEIGHT: 64,
MAIN_DESKTOP_HEIGHT: 88,
DASHBOARD_DESKTOP_HEIGHT: 92,
DASHBOARD_DESKTOP_OFFSET_HEIGHT: 92 - 32,
};
export const NAVBAR = {
BASE_WIDTH: 260,
DASHBOARD_WIDTH: 280,
DASHBOARD_COLLAPSE_WIDTH: 88,
//
DASHBOARD_ITEM_ROOT_HEIGHT: 48,
DASHBOARD_ITEM_SUB_HEIGHT: 40,
DASHBOARD_ITEM_HORIZONTAL_HEIGHT: 32,
};
export const ICON = {
NAVBAR_ITEM: 22,
NAVBAR_ITEM_HORIZONTAL: 20,
};
// SETTINGS
// ----------------------------------------------------------------------
export const cookiesExpires = 3;
export const cookiesKey = {
themeMode: 'themeMode',
themeDirection: 'themeDirection',
themeColorPresets: 'themeColorPresets',
themeLayout: 'themeLayout',
themeStretch: 'themeStretch',
};
export const defaultSettings = {
themeMode: 'light',
themeDirection: 'ltr',
themeColorPresets: 'default',
themeLayout: 'horizontal',
themeStretch: false,
};