mirror of
https://github.com/darksaid98/new-phone-who-dis.git
synced 2026-12-02 22:17:39 +00:00
Task/improve hardcoded styles and types (#107)
* Add working notifications with only twitter for now * feat(notification-bar): I didnt copy from NP * feat(notifications): Collapse when no more notifications after closing one * Improve overall messages styling code * Improve Routing performance * improve use keyboard hook * Remove unused returns * Button hover color :) * Button hover color :) x2 * Added hover style to containedPrimary msg btn * Replace custom components for custom theme providers for Messages and Contacts apps * Improve createAppThemeProvider * Improve createAppThemeProvider * Final housekeeping for messages styles * Change placeholder to label in Contacts app text fields * Fix alerts style with navigation and fix calc copy alerrt * Split Phone code for snackbar * Add more options and style Context Menu * Enable Sellout theme provider and make it work with light themes
This commit is contained in:
1 parent
75e23b783c
commit
4acb214ec9
56 files changed
+738
-578
No files matched your search
@@ -4,20 +4,25 @@ import { AppWrapper } from '../../../ui/components';
|
||||
import { AppContent } from '../../../ui/components/AppContent';
|
||||
import { useApp } from '../../../os/apps/hooks/useApps';
|
||||
import { useExample } from '../hooks/useExample';
|
||||
import { ExampleThemeProvider } from '../providers/ExampleThemeProvider';
|
||||
import { AppTitle } from '../../../ui/components/AppTitle';
|
||||
import { Button } from '@material-ui/core';
|
||||
|
||||
export const ExampleApp = () => {
|
||||
// calling the example hook, and we assign the value to a variable
|
||||
|
||||
const exampleString = useExample();
|
||||
const example = useApp('EXAMPLE');
|
||||
return (
|
||||
<AppWrapper>
|
||||
<AppContent>
|
||||
<h1>This is an example</h1>
|
||||
<h2>{example.id}</h2>
|
||||
{/* Here we are using the value in a h3 tag */}
|
||||
<h3>{exampleString}</h3>
|
||||
</AppContent>
|
||||
</AppWrapper>
|
||||
<ExampleThemeProvider>
|
||||
<AppWrapper>
|
||||
<AppTitle app={example} />
|
||||
<AppContent>
|
||||
<h1>This is an example</h1>
|
||||
<Button color='primary'>{example.id}</Button>
|
||||
{/* Here we are using the value in a h3 tag */}
|
||||
<h3>{exampleString}</h3>
|
||||
</AppContent>
|
||||
</AppWrapper>
|
||||
</ExampleThemeProvider>
|
||||
);
|
||||
};
|
||||
Reference in new issue
Block a user