Skip to content

Commit a875d71

Browse files
committed
Theme colors inverse
1 parent b1a912e commit a875d71

File tree

15 files changed

+32
-32
lines changed

15 files changed

+32
-32
lines changed

src/Administration/Users/UsersList/UsersListActions.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ const DashboardActions = () => {
7575

7676
const useStyles = makeStyles(theme => ({
7777
root: {
78-
// color: theme.palette.secondary.main,
78+
// color: theme.palette.primary.main,
7979
color: theme.palette.grey[600],
8080
},
8181
iconNew: {

src/Auth/_common/AuthHeader/AuthHeader.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ AuthHeader.propTypes = {
2020

2121
const useStyles = makeStyles(theme => ({
2222
logo: {
23-
color: theme.palette.primary.main,
23+
color: theme.palette.secondary.main,
2424
position: 'relative',
2525
top: '1px',
2626
},

src/Dashboard/DashboardActions.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,18 +26,18 @@ const DashboardActions = () => {
2626
</Button>
2727
</Tooltip>
2828
<Tooltip title="Create new">
29-
<Button color="secondary">
29+
<Button color="primary">
3030
<IconNew className={classes.iconNew} />
3131
New
3232
</Button>
3333
</Tooltip>
3434
<Tooltip title="Filter">
35-
<Button color="secondary">
35+
<Button color="primary">
3636
<IconFilter />
3737
</Button>
3838
</Tooltip>
3939
<Tooltip title="More actions">
40-
<Button color="secondary">
40+
<Button color="primary">
4141
<IconMore />
4242
</Button>
4343
</Tooltip>

src/Dashboard/KeyNumbers/data.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ export const generateTrendChartData = ({ name, from = 0, to = 1000, length = 30
77
data: {
88
datasets: [
99
{
10-
backgroundColor: theme.palette.primary.main,
11-
borderColor: theme.palette.primary.main,
10+
backgroundColor: theme.palette.secondary.main,
11+
borderColor: theme.palette.secondary.main,
1212
borderWidth: 2,
1313
pointRadius: 1,
1414
pointHoverRadius: 3,

src/Dashboard/SubscriptionsBreakdown/SubscriptionsBreakdown.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ const useStyles = makeStyles(theme => ({
5959
textAlign: 'right',
6060
},
6161
headerIcon: {
62-
color: theme.palette.primary.main,
62+
color: theme.palette.secondary.main,
6363
verticalAlign: 'sub',
6464
marginRight: '.3em',
6565
},

src/Dashboard/SubscriptionsBreakdown/data.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ export const chart = {
44
data: {
55
datasets: [
66
{
7-
backgroundColor: theme.palette.secondary.main,
8-
borderColor: theme.palette.secondary.main,
7+
backgroundColor: theme.palette.primary.main,
8+
borderColor: theme.palette.primary.main,
99
borderWidth: 2,
1010
label: 'Customers',
1111
fill: false,

src/Dashboard/SubscriptionsHistory/SubscriptionsHistory.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -61,14 +61,14 @@ const Subscriptions = props => {
6161
<Typography
6262
align="left"
6363
variant="body2"
64-
color="textSecondary"
64+
color="textPrimary"
6565
className={classes.ratingItemRatio}
6666
>
6767
{ratio}%
6868
</Typography>
6969
</Grid>
7070
</Grid>
71-
<LinearProgress variant="determinate" value={ratio} color="primary" />
71+
<LinearProgress variant="determinate" value={ratio} color="secondary" />
7272
</div>
7373
))}
7474
</Grid>
@@ -93,7 +93,7 @@ const useStyles = makeStyles(theme => ({
9393
textAlign: 'right',
9494
},
9595
headerIcon: {
96-
color: theme.palette.primary.main,
96+
color: theme.palette.secondary.main,
9797
verticalAlign: 'sub',
9898
marginRight: '.3em',
9999
},

src/Dashboard/SubscriptionsHistory/data.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@ export const subscriptionsHistoryChart = {
1212
data: {
1313
datasets: [
1414
{
15-
backgroundColor: theme.palette.secondary.main,
16-
borderColor: theme.palette.secondary.main,
15+
backgroundColor: theme.palette.primary.main,
16+
borderColor: theme.palette.primary.main,
1717
borderWidth: 2,
1818
label: 'Subscriptions',
1919
fill: false,

src/Dashboard/SubscriptionsRecent/SubscriptionsRecent.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ const useStyles = makeStyles(theme => ({
9898
textAlign: 'right',
9999
},
100100
headerIcon: {
101-
color: theme.palette.primary.main,
101+
color: theme.palette.secondary.main,
102102
verticalAlign: 'sub',
103103
marginRight: '.3em',
104104
},

src/_common/AppFooter/AppFooter.js

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -12,35 +12,35 @@ const Footer = () => {
1212
<Typography variant="body2" color="textSecondary" align="left">
1313
{`Modular Admin React`}{' '}
1414
<Link
15-
color="primary"
15+
color="secondary"
1616
href="https://github.com/modularcode/modular-admin-react/releases"
1717
>
1818
v{pkg.version}
1919
</Link>
2020
{' | '}
2121
<Link
22-
color="primary"
22+
color="secondary"
2323
href="https://github.com/modularcode/modular-admin-react/blob/master/LICENSE"
2424
>
2525
MIT License
2626
</Link>
2727
</Typography>
2828
<Typography variant="body2" color="textSecondary" align="center">
29-
<Link color="primary" href="https://github.com/modularcoder">
29+
<Link color="secondary" href="https://github.com/modularcoder">
3030
GitHub
3131
</Link>
3232
{' | '}
33-
<Link color="primary" href="https://www.linkedin.com/in/modularcoder/">
33+
<Link color="secondary" href="https://www.linkedin.com/in/modularcoder/">
3434
LinkedIn
3535
</Link>
3636
</Typography>
3737
<Typography variant="body2" color="textSecondary" align="right">
3838
{'Built with '}
39-
<Link color="primary" href="https://material-ui.com/">
39+
<Link color="secondary" href="https://material-ui.com/">
4040
Material-UI
4141
</Link>
4242
{' by '}
43-
<Link color="primary" href="https://twitter.com/modularcoder">
43+
<Link color="secondary" href="https://twitter.com/modularcoder">
4444
Gevorg Harutyunyan
4545
</Link>
4646
</Typography>

0 commit comments

Comments
 (0)