mirror of
https://github.com/darksaid98/new-phone-who-dis.git
synced 2026-12-04 22:16:40 +00:00
Add theme provider for notes
This commit is contained in:
13 files changed
+205
-198
No files matched your search
@@ -5,8 +5,6 @@ import {
|
||||
grey,
|
||||
green,
|
||||
purple,
|
||||
yellow,
|
||||
red,
|
||||
} from '@material-ui/core/colors';
|
||||
import { FontAwesomeIcon } from '@fortawesome/react-fontawesome';
|
||||
import {
|
||||
@@ -43,6 +41,8 @@ import {
|
||||
CONTACTS_APP_PRIMARY_COLOR,
|
||||
CONTACTS_APP_TEXT_COLOR,
|
||||
} from '../../../apps/contacts/contacts.theme';
|
||||
import { SELLOUT_APP_PRIMARY_COLOR, SELLOUT_APP_TEXT_COLOR } from '../../../apps/sellout/sellout.theme';
|
||||
import { NOTES_APP_PRIMARY_COLOR, NOTES_APP_TEXT_COLOR } from '../../../apps/notes/notes.theme';
|
||||
|
||||
export interface IAppConfig {
|
||||
id: string;
|
||||
@@ -141,8 +141,8 @@ export const APPS: IAppConfig[] = [
|
||||
nameLocale: 'APPS_SELLOUT',
|
||||
icon: <FontAwesomeIcon icon={faAd} fixedWidth />,
|
||||
notificationIcon: <FontAwesomeIcon icon={faAd} fixedWidth size='xs' />,
|
||||
backgroundColor: red[500],
|
||||
color: common.white,
|
||||
backgroundColor: SELLOUT_APP_PRIMARY_COLOR,
|
||||
color: SELLOUT_APP_TEXT_COLOR,
|
||||
path: '/sellout',
|
||||
Route: () => (
|
||||
<AppRoute id='SELLOUT' path='/sellout' component={SelloutApp} />
|
||||
@@ -155,8 +155,8 @@ export const APPS: IAppConfig[] = [
|
||||
notificationIcon: (
|
||||
<FontAwesomeIcon icon={faStickyNote} fixedWidth size='xs' />
|
||||
),
|
||||
backgroundColor: yellow[800],
|
||||
color: common.white,
|
||||
backgroundColor: NOTES_APP_PRIMARY_COLOR,
|
||||
color: NOTES_APP_TEXT_COLOR,
|
||||
path: '/notes',
|
||||
Route: () => <AppRoute id='NOTES' path='/notes' component={NotesApp} />,
|
||||
},
|
||||
|
||||
Reference in new issue
Block a user