Remove hardcoded dialer colors

This commit is contained in:
J Francisco Rader committed 2021-02-21 19:41:59 -05:00
1 parent 65c71f9cb6
commit bf814041d7
1 file changed
+3 -3
+3 -3
View File
@@ -3,7 +3,6 @@ import {
blue, blue,
common, common,
grey, grey,
green,
purple, purple,
} from '@material-ui/core/colors'; } from '@material-ui/core/colors';
import { FontAwesomeIcon } from '@fortawesome/react-fontawesome'; import { FontAwesomeIcon } from '@fortawesome/react-fontawesome';
@@ -44,6 +43,7 @@ import {
} from '../../../apps/contacts/contacts.theme'; } from '../../../apps/contacts/contacts.theme';
import { SELLOUT_APP_PRIMARY_COLOR, SELLOUT_APP_ICON_COLOR } from '../../../apps/sellout/sellout.theme'; import { SELLOUT_APP_PRIMARY_COLOR, SELLOUT_APP_ICON_COLOR } from '../../../apps/sellout/sellout.theme';
import { NOTES_APP_ICON_COLOR, NOTES_APP_PRIMARY_COLOR } from '../../../apps/notes/notes.theme'; import { NOTES_APP_ICON_COLOR, NOTES_APP_PRIMARY_COLOR } from '../../../apps/notes/notes.theme';
import { DIALER_APP_PRIMARY_COLOR, DIALER_APP_TEXT_COLOR } from '../../../apps/dialer/dialer.theme';
export interface IAppConfig { export interface IAppConfig {
id: string; id: string;
@@ -62,8 +62,8 @@ export const APPS: IAppConfig[] = [
nameLocale: 'APPS_DIALER', nameLocale: 'APPS_DIALER',
icon: <FontAwesomeIcon icon={faPhoneAlt} size='xs' />, icon: <FontAwesomeIcon icon={faPhoneAlt} size='xs' />,
notificationIcon: <FontAwesomeIcon icon={faPhoneAlt} size='xs' />, notificationIcon: <FontAwesomeIcon icon={faPhoneAlt} size='xs' />,
backgroundColor: green[600], backgroundColor: DIALER_APP_PRIMARY_COLOR,
color: common.white, color: DIALER_APP_TEXT_COLOR,
path: '/phone', path: '/phone',
Route: () => <AppRoute id='DIALER' path='/phone' component={DialerApp} />, Route: () => <AppRoute id='DIALER' path='/phone' component={DialerApp} />,
}, },