aboutsummaryrefslogtreecommitdiffstats
path: root/sdnr/wt/odlux/framework/src/design/default.ts
diff options
context:
space:
mode:
Diffstat (limited to 'sdnr/wt/odlux/framework/src/design/default.ts')
-rw-r--r--sdnr/wt/odlux/framework/src/design/default.ts8
1 files changed, 4 insertions, 4 deletions
diff --git a/sdnr/wt/odlux/framework/src/design/default.ts b/sdnr/wt/odlux/framework/src/design/default.ts
index 59b8c20ef..c4a8118c2 100644
--- a/sdnr/wt/odlux/framework/src/design/default.ts
+++ b/sdnr/wt/odlux/framework/src/design/default.ts
@@ -31,10 +31,10 @@
* limitations under the License.
*****************************************************************************/
-import { createMuiTheme } from '@material-ui/core/styles';
+import { createTheme, adaptV4Theme } from '@mui/material/styles';
import onapLogo from '../assets/images/onapLogo.gif'
-const theme = createMuiTheme({
+const theme = createTheme(adaptV4Theme({
design: {
id: "onap",
name: "Open Networking Automation Plattform (ONAP)",
@@ -60,7 +60,7 @@ const theme = createMuiTheme({
overrides: { //temp fix for labels turning white after material new version (palette primary color)
MuiFormLabel: {
root: {
- "&$focused": {
+ "&.Mui-focused": {
color: "rgba(143,143,143,1)"
}
},
@@ -76,6 +76,6 @@ const theme = createMuiTheme({
}
}
},
-});
+}));
export default theme; \ No newline at end of file