thingsboardTheme.js
2.1 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
/*
* Copyright © 2016 The Thingsboard Authors
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
import { /*blueGrey500, blueGrey700, blueGrey100, orange500,*/
grey100, grey500, grey900, grey600, white, grey400, darkBlack, cyan500, fullBlack/*, indigo500*/, indigo700, indigo100, deepOrange500 } from 'material-ui/styles/colors';
import {fade} from 'material-ui/utils/colorManipulator';
import spacing from 'material-ui/styles/spacing';
const PRIMARY_BACKGROUND_COLOR = "#305680";//"#3f51b5";
/*var blueGrayPalette = {
primary1Color: blueGrey500,
primary2Color: blueGrey700,
primary3Color: blueGrey100,
accent1Color: orange500,
accent2Color: grey100,
accent3Color: grey500,
textColor: grey900,
secondaryTextColor: grey600,
alternateTextColor: white,
canvasColor: white,
borderColor: grey400,
disabledColor: fade(darkBlack, 0.3),
pickerHeaderColor: cyan500,
clockCircleColor: fade(darkBlack, 0.07),
shadowColor: fullBlack,
};*/
var indigoPalette = {
primary1Color: PRIMARY_BACKGROUND_COLOR,
primary2Color: indigo700,
primary3Color: indigo100,
accent1Color: deepOrange500,
accent2Color: grey100,
accent3Color: grey500,
textColor: grey900,
secondaryTextColor: grey600,
alternateTextColor: white,
canvasColor: white,
borderColor: grey400,
disabledColor: fade(darkBlack, 0.3),
pickerHeaderColor: cyan500,
clockCircleColor: fade(darkBlack, 0.07),
shadowColor: fullBlack,
};
export default {
spacing: spacing,
fontFamily: 'RobotoDraft, Roboto, \'Helvetica Neue\', sans-serif',
palette: indigoPalette,
};