Add theme provider for notes

This commit is contained in:
J Francisco Rader committed 2021-02-21 12:49:09 -05:00
1 parent 4acb214ec9
commit 9f04ac3243
13 files changed
+205 -198

No files matched your search

+6 -6
View File
@@ -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} />,
},