Skip to content
Snippets Groups Projects
Commit 4f7b74f8 authored by Andy Summers's avatar Andy Summers
Browse files

Define borderRadius, change colors to consts

parent a95a96cc
No related branches found
No related tags found
No related merge requests found
const red = "#c50505";
const blue = "#0479a8";
const colorRed = "#c50505";
const colorBlue = "#0479a8";
const colorBlackFont = "#282728";
const colorGrayLight = "#adadad";
export const theme = {
props: {
......@@ -14,21 +16,21 @@ export const theme = {
MuiOutlinedInput: {
root: {
"&:hover $notchedOutline": {
borderColor: blue,
borderColor: colorBlue,
},
"@media (hover: none)": {
"&:hover $notchedOutline": {
blue,
blue: colorBlue,
},
},
"&$focused $notchedOutline": {
borderColor: blue,
borderColor: colorBlue,
},
},
},
MuiListSubheader: {
root: {
color: "#adadad",
color: colorGrayLight,
fontWeight: "bolder",
},
},
......@@ -36,13 +38,16 @@ export const theme = {
palette: {
type: "light",
primary: {
main: red,
main: colorRed,
},
secondary: {
main: blue,
main: colorBlue,
},
text: {
primary: "#282728",
primary: colorBlackFont,
},
},
shape: {
borderRadius: 2,
},
};
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment