Commit 7de4121c authored by Ben Galloway's avatar Ben Galloway

Return to explicit hex codes in palette object

parent 30224b2e
...@@ -34,19 +34,19 @@ var GSCTheme = (0, _styles.responsiveFontSizes)((0, _styles.createMuiTheme)({ ...@@ -34,19 +34,19 @@ var GSCTheme = (0, _styles.responsiveFontSizes)((0, _styles.createMuiTheme)({
}, },
palette: { palette: {
primary: { primary: {
main: theme.gsc.navy, main: "#2e2d44",
contrastText: theme.gsc.offwhite contrastText: "#f1f4f5"
}, },
secondary: { secondary: {
main: theme.gsc.teal, main: "#30b7bb",
contrastText: theme.gsc.navy contrastText: "#2e2d44"
}, },
error: { error: {
main: theme.gsc.red main: "#e40426"
}, },
background: { background: {
default: theme.gsc.offwhite, default: "#f1f4f5",
paper: theme.gsc.white paper: "#ffffff"
} }
}, },
typography: { typography: {
......
{ {
"name": "@gsc/material", "name": "@gsc/material",
"version": "2.0.0", "version": "2.0.1",
"description": "An implementation of Material-UI with GSC styling", "description": "An implementation of Material-UI with GSC styling",
"main": "index.js", "main": "index.js",
"repository": "https://gitlab.gsc.org.uk/gsc-frameworks/gsc-material.git", "repository": "https://gitlab.gsc.org.uk/gsc-frameworks/gsc-material.git",
......
...@@ -24,19 +24,19 @@ const GSCTheme = responsiveFontSizes( ...@@ -24,19 +24,19 @@ const GSCTheme = responsiveFontSizes(
}, },
palette: { palette: {
primary: { primary: {
main: theme.gsc.navy, main: "#2e2d44",
contrastText: theme.gsc.offwhite, contrastText: "#f1f4f5",
}, },
secondary: { secondary: {
main: theme.gsc.teal, main: "#30b7bb",
contrastText: theme.gsc.navy, contrastText: "#2e2d44",
}, },
error: { error: {
main: theme.gsc.red, main: "#e40426",
}, },
background: { background: {
default: theme.gsc.offwhite, default: "#f1f4f5",
paper: theme.gsc.white, paper: "#ffffff",
}, },
}, },
typography: { typography: {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment