summaryrefslogtreecommitdiffstats
path: root/sdnr/wt/odlux/framework/src/design/default.ts
diff options
context:
space:
mode:
authorDan Timoney <dtimoney@att.com>2022-02-03 16:41:14 +0000
committerGerrit Code Review <gerrit@onap.org>2022-02-03 16:41:14 +0000
commit652d7ca972652ef437769cc2e88afddbb7f06ca2 (patch)
tree08da4fc171617be44aa95cf7d80a5cec1468de8d /sdnr/wt/odlux/framework/src/design/default.ts
parentf23a3d5d957c4c510a7436c0acba57d95e4a13ce (diff)
parent1a868116614dd9996c78e69941b537e9da19460b (diff)
Merge "Update ODLUX"
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