styles(theming): Started a new custom dark theme

- Default has been changed to taso-dark while in-development
This commit is contained in:
Taso committed 2020-11-18 18:21:40 -05:00
1 parent 36007c5310
commit 07ff8833c7
4 files changed
+111 -91

No files matched your search

@@ -1,30 +1,30 @@
import React from "react";
import { makeStyles, Typography, Grid, IconButton } from "@material-ui/core";
import { fade } from "@material-ui/core/styles/colorManipulator";
import SignalIcon from "@material-ui/icons/SignalCellular3Bar";
import Battery90Icon from "@material-ui/icons/Battery90";
import Default from "../../../config/default.json";
import React from 'react';
import { makeStyles, Typography, Grid, IconButton } from '@material-ui/core';
import { fade } from '@material-ui/core/styles/colorManipulator';
import SignalIcon from '@material-ui/icons/SignalCellular3Bar';
import Battery90Icon from '@material-ui/icons/Battery90';
import Default from '../../../config/default.json';
const useStyles = makeStyles((theme) => ({
root: {
backgroundColor: fade(theme.palette.background.paper, 0.7),
height: "25px",
width: "100%",
backgroundColor: theme.palette.background.default,
height: '25px',
width: '100%',
color: theme.palette.text.primary,
zIndex: 2,
paddingLeft: "10px",
paddingRight: "10px",
paddingLeft: '10px',
paddingRight: '10px',
},
item: {
margin: "0 6px",
margin: '0 6px',
},
text: {
position: "relative",
bottom: "4px",
position: 'relative',
bottom: '4px',
color: theme.palette.text.primary,
},
icon: {
padding: "4px",
padding: '4px',
color: theme.palette.text.primary,
},
}));
@@ -44,10 +44,10 @@ export const NotificationBar = ({ notifications = [] }: IProps) => {
<Grid
className={classes.root}
container
justify="space-between"
wrap="nowrap"
justify='space-between'
wrap='nowrap'
>
<Grid container item wrap="nowrap">
<Grid container item wrap='nowrap'>
{notifications.map((notification) => (
<Grid
item
@@ -59,17 +59,17 @@ export const NotificationBar = ({ notifications = [] }: IProps) => {
</Grid>
))}
</Grid>
<Grid container item wrap="nowrap" justify="flex-end">
<Grid container item wrap='nowrap' justify='flex-end'>
<Grid item>
<SignalIcon fontSize="small" />
<SignalIcon fontSize='small' />
</Grid>
<Grid item className={classes.item}>
<Typography className={classes.text} variant="button">
<Typography className={classes.text} variant='button'>
{Default.cellProvider}
</Typography>
</Grid>
<Grid item>
<Battery90Icon style={{ transform: "rotate(90deg)" }} />
<Battery90Icon style={{ transform: 'rotate(90deg)' }} />
</Grid>
</Grid>
</Grid>