mirror of
https://github.com/darksaid98/new-phone-who-dis.git
synced 2026-12-04 22:16:40 +00:00
Remove hardcoded dialer colors
This commit is contained in:
1 file changed
+3
-3
@@ -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} />,
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in new issue
Block a user