Create wt-odlux directory
[ccsdk/features.git] / sdnr / wt-odlux / odlux / framework / src / design / default.ts
1 /**
2  * ============LICENSE_START========================================================================
3  * ONAP : ccsdk feature sdnr wt odlux
4  * =================================================================================================
5  * Copyright (C) 2019 highstreet technologies GmbH Intellectual Property. All rights reserved.
6  * =================================================================================================
7  * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
8  * in compliance with the License. You may obtain a copy of the License at
9  *
10  * http://www.apache.org/licenses/LICENSE-2.0
11  *
12  * Unless required by applicable law or agreed to in writing, software distributed under the License
13  * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
14  * or implied. See the License for the specific language governing permissions and limitations under
15  * the License.
16  * ============LICENSE_END==========================================================================
17  */
18 /******************************************************************************
19  * Copyright 2018 highstreet technologies GmbH
20  *
21  * Licensed under the Apache License, Version 2.0 (the "License");
22  * you may not use this file except in compliance with the License.
23  * You may obtain a copy of the License at
24  *
25  *     http://www.apache.org/licenses/LICENSE-2.0
26  *
27  * Unless required by applicable law or agreed to in writing, software
28  * distributed under the License is distributed on an "AS IS" BASIS,
29  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
30  * See the License for the specific language governing permissions and
31  * limitations under the License.
32  *****************************************************************************/
33
34 import { createTheme, adaptV4Theme } from '@mui/material/styles';
35 import onapLogo from '../assets/images/onapLogo.gif'
36
37 const theme = createTheme(adaptV4Theme({
38   design: {
39     id: "onap",
40     name: "Open Networking Automation Plattform (ONAP)",
41     url: onapLogo,
42     height: 49,
43     width: 229,
44     logoHeight: 32,
45   },
46   palette: {
47     primary: {
48       light: "#eeeeee",
49       main: "#ffffff",
50       dark: "#e0e0e0",
51       contrastText: "#07819B"
52     },
53     secondary: {
54       light: "rgba(7, 129, 155, 94)",
55       main: "rgba(7, 129, 155, 201)",
56       dark: "#07819B",
57       contrastText: "#ffffff"
58     },
59   },
60   overrides: { //temp fix for labels turning white after material new version (palette primary color)
61     MuiFormLabel: {
62       root: {
63         "&.Mui-focused": {
64           color: "rgba(143,143,143,1)"
65         }
66       },
67
68       focused: {}
69     },
70     MuiInput: {
71       underline: {
72
73         "&:after": {
74           borderBottom: "2px solid #444444"
75         }
76       }
77     }
78   },
79 }));
80
81 export default theme;