styling(misc): Misc. Tweaks and gen styling changes

General Phone:
- Removed unecessary border that was causing an issue at 80% zoom
- Added tooltips to the app grid
- Added 4 new backgrounds

Contact App:
- Fix styling issue that lead to seeing the background from modal
- Fix add new contact button sticky position

Notes:
- Removed padding from list
- Fixed localeName

Sellout:
- Changed NavBar and Title Color

Settings:
- Removed modal list padding

Note: Let me if you prefer the AppTitle component vs the old Title method
also this is just a start to the full app restyles
This commit is contained in:
Taso committed 2020-11-18 23:32:49 -05:00
1 parent f7165bf9ae
commit 954ef6277c
18 files changed
+316 -291

No files matched your search

+18 -16
View File
@@ -1,23 +1,25 @@
import React from "react";
import { AppWrapper } from "../../ui/components/AppWrapper";
import { AppContent } from "../../ui/components/AppContent";
import NotesTitle from "./NotesTitle";
import NoteList from "./list/NoteList";
import React from 'react';
import { AppWrapper } from '../../ui/components/AppWrapper';
import { AppContent } from '../../ui/components/AppContent';
import { AppTitle } from '../../ui/components/AppTitle';
import { useApp } from '../../os/apps/hooks/useApps';
import NoteList from './list/NoteList';
import { useNotes } from "./hooks/useNotes";
import { NoteModal } from "./modal/NoteModal";
import { Fab } from "@material-ui/core";
import AddIcon from "@material-ui/icons/Add";
import { useNotes } from './hooks/useNotes';
import { NoteModal } from './modal/NoteModal';
import { Fab } from '@material-ui/core';
import AddIcon from '@material-ui/icons/Add';
import { useNoteModal } from "./hooks/useNoteModal";
import { useNoteDetail } from "./hooks/useNoteDetail";
import { useNoteModal } from './hooks/useNoteModal';
import { useNoteDetail } from './hooks/useNoteDetail';
import useStyles from "./notes.styles";
import useStyles from './notes.styles';
export const NotesApp = () => {
const { setNoteModal } = useNoteModal();
const { detail, setDetail } = useNoteDetail();
const notes = useNotes();
const notesApp = useApp('NOTES');
const classes = useStyles();
@@ -27,8 +29,8 @@ export const NotesApp = () => {
};
return (
<AppWrapper id="notes-app">
<NotesTitle />
<AppWrapper id='notes-app'>
<AppTitle app={notesApp} />
<NoteModal key={detail?.id} />
<AppContent>
<NoteList notes={notes} />
@@ -36,8 +38,8 @@ export const NotesApp = () => {
className={classes.absolute}
onClick={handleModal}
style={{
background: "#f9a825",
color: "#fff",
background: '#f9a825',
color: '#fff',
}}
>
<AddIcon />