first commit
This commit is contained in:
7
src/constants/ActionTypes.js
Normal file
7
src/constants/ActionTypes.js
Normal file
@@ -0,0 +1,7 @@
|
||||
export const TOGGLE_BOXED_LAYOUT = 'TOGGLE_BOXED_LAYOUT';
|
||||
export const TOGGLE_COLLAPSED_NAV = 'TOGGLE_COLLAPSED_NAV';
|
||||
export const TOGGLE_NAV_BEHIND = 'TOGGLE_NAV_BEHIND';
|
||||
export const TOGGLE_FIXED_HEADER = 'TOGGLE_FIXED_HEADER';
|
||||
export const CHANGE_SIDEBAR_WIDTH = 'CHANGE_SIDEBAR_WIDTH';
|
||||
export const CHANGE_COLOR_OPTION = 'CHANGE_COLOR_OPTION';
|
||||
export const CHANGE_THEME = 'CHANGE_THEME';
|
||||
16
src/constants/ChartConfig.js
Normal file
16
src/constants/ChartConfig.js
Normal file
@@ -0,0 +1,16 @@
|
||||
const CHARTCONFIG = {
|
||||
color: {
|
||||
primary: 'rgba(33,150,243,.85)', // #0099CC
|
||||
success: 'rgba(102,187,106,.85)', // #66BB6A
|
||||
info: 'rgba(0,188,212,.85)', // #00BCD4
|
||||
infoAlt: 'rgba(126,87,194,.85)', // #7E57C2
|
||||
warning: 'rgba(255,202,40,.85)', // #FFCA28
|
||||
danger: 'rgba(233,75,59,.85)', // #E94B3B
|
||||
gray: 'rgba(221,221,221,.3)',
|
||||
text: '#898989', // for dark theme as well
|
||||
splitLine: 'rgba(0,0,0,.05)',
|
||||
splitArea: ['rgba(250,250,250,0.035)', 'rgba(200,200,200,0.1)'],
|
||||
}
|
||||
};
|
||||
|
||||
module.exports = CHARTCONFIG;
|
||||
31
src/constants/Config.js
Normal file
31
src/constants/Config.js
Normal file
@@ -0,0 +1,31 @@
|
||||
const date = new Date();
|
||||
const year = date.getFullYear();
|
||||
|
||||
const APPCONFIG = {
|
||||
brand: 'CHM Hub®',
|
||||
user: 'Michael',
|
||||
year,
|
||||
productLink: 'portal.bdctest.com',
|
||||
AutoCloseMobileNav: true, // true, false. Automatically close sidenav on route change (Mobile only)
|
||||
color: {
|
||||
primary: '#00BCD4',
|
||||
success: '#8BC34A',
|
||||
info: '#66BB6A',
|
||||
infoAlt: '#7E57C2',
|
||||
warning: '#FFCA28',
|
||||
danger: '#F44336',
|
||||
text: '#3D4051',
|
||||
gray: '#EDF0F1'
|
||||
},
|
||||
settings: {
|
||||
layoutBoxed: false, // true, false
|
||||
navCollapsed: false, // true, false
|
||||
navBehind: false, // true, false
|
||||
fixedHeader: true, // true, false
|
||||
sidebarWidth: 'middle', // small, middle, large
|
||||
colorOption: '32', // String: 11,12,13,14,15,16; 21,22,23,24,25,26; 31,32,33,34,35,36
|
||||
theme: 'light', // light, gray, dark
|
||||
}
|
||||
};
|
||||
|
||||
module.exports = APPCONFIG;
|
||||
Reference in New Issue
Block a user