Skip to content

Instantly share code, notes, and snippets.

@tmkasun
Created November 27, 2020 15:20
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tmkasun/62d9f1d8073d08df5b8b62d32cd26931 to your computer and use it in GitHub Desktop.
Save tmkasun/62d9f1d8073d08df5b8b62d32cd26931 to your computer and use it in GitHub Desktop.
WSO2 API Manager 3.2.0+ sample publisher theme
/**
* IMPORTANT: This file only contains theme JSS of the Publisher app, Don't add other configuration parameters here.
* This theme file is an extension of material-ui default theme https://material-ui.com/customization/default-theme/
* Application related configurations are located in `<PUBLISHER_ROOT>site/public/theme/settings.js`
*/
const userThemes = {
light(theme) {
return (
{
overrides: {
MuiRadio: {
colorSecondary: {
'&$checked': { color: theme.palette.primary.main },
'&$disabled': {
color: theme.palette.action.disabled,
},
},
},
},
palette: {
background: {
appBar: '#f51975',
}
}
}
);
},
};
if (typeof module !== 'undefined') {
module.exports = userThemes; // Added for tests
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment