@brightlayer-ui/colors 3.1.1-beta.2 → 4.0.0-alpha.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +11 -1
- package/README.md +6 -10
- package/dist/commonjs/branding/index.d.ts +9 -0
- package/dist/commonjs/branding/index.js +25 -0
- package/dist/commonjs/branding/palette.d.ts +29 -0
- package/dist/commonjs/branding/palette.js +33 -0
- package/dist/commonjs/colors/index.d.ts +9 -0
- package/dist/commonjs/colors/index.js +26 -0
- package/dist/commonjs/colors/palette.d.ts +16 -0
- package/dist/commonjs/colors/palette.js +135 -0
- package/dist/commonjs/index.d.ts +4 -9
- package/dist/commonjs/index.js +5 -10
- package/dist/commonjs/types/colorType.d.ts +62 -0
- package/dist/commonjs/types/colorType.js +9 -0
- package/dist/commonjs/types/index.d.ts +6 -0
- package/dist/commonjs/types/index.js +22 -0
- package/dist/es2015/branding/index.d.ts +9 -0
- package/dist/es2015/branding/index.js +22 -0
- package/dist/es2015/branding/palette.d.ts +29 -0
- package/dist/es2015/branding/palette.js +30 -0
- package/dist/es2015/colors/index.d.ts +9 -0
- package/dist/es2015/colors/index.js +10 -0
- package/dist/es2015/colors/palette.d.ts +16 -0
- package/dist/es2015/colors/palette.js +132 -0
- package/dist/es2015/index.d.ts +4 -9
- package/dist/es2015/index.js +5 -9
- package/dist/es2015/types/colorType.d.ts +62 -0
- package/dist/es2015/types/colorType.js +8 -0
- package/dist/es2015/types/index.d.ts +6 -0
- package/dist/es2015/types/index.js +6 -0
- package/package.json +5 -5
- package/palette.scss +124 -283
- package/dist/commonjs/palette.d.ts +0 -21
- package/dist/commonjs/palette.js +0 -163
- package/dist/es2015/palette.d.ts +0 -21
- package/dist/es2015/palette.js +0 -160
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,15 @@
|
|
|
1
1
|
# CHANGELOG
|
|
2
2
|
|
|
3
|
+
## v4.0.0 (Unreleased)
|
|
4
|
+
|
|
5
|
+
### Changed
|
|
6
|
+
|
|
7
|
+
- Move Branding colors under `@brightlayer-ui/colors` package.
|
|
8
|
+
- Update UI colors and Branding colors as per new Material You designs.
|
|
9
|
+
- Remove dependency of `@brightlayer-ui/types` and moved type in `@brightlayer-ui/colors` package.
|
|
10
|
+
|
|
11
|
+
## v3.1.0 (April 15, 2022)
|
|
12
|
+
|
|
3
13
|
## v3.1.1 (June 20, 2022)
|
|
4
14
|
|
|
5
15
|
### Changed
|
|
@@ -14,7 +24,7 @@
|
|
|
14
24
|
|
|
15
25
|
### Changed
|
|
16
26
|
|
|
17
|
-
- Changed build module from `commonjs` to `es2015` ([#47](https://github.com/
|
|
27
|
+
- Changed build module from `commonjs` to `es2015` ([#47](https://github.com/etn-ccis/blui-colors/issues/47)).
|
|
18
28
|
|
|
19
29
|
## Package Migration Notice
|
|
20
30
|
|
package/README.md
CHANGED
|
@@ -5,17 +5,13 @@ This package contains Brightlayer UI color definitions. These are intended for u
|
|
|
5
5
|
It contains the following color defintions:
|
|
6
6
|
|
|
7
7
|
```
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
8
|
+
primary / $blui-primary
|
|
9
|
+
neutral / $blui-neutral
|
|
10
|
+
neutralVariant / $blui-neutralVariant
|
|
11
|
+
error / $blui-error
|
|
12
|
+
warning / $blui-warning
|
|
13
|
+
success / $blui-success
|
|
14
14
|
orange / $blui-orange
|
|
15
|
-
gold / $blui-gold
|
|
16
|
-
yellow / $blui-yellow
|
|
17
|
-
green / $blui-green
|
|
18
|
-
lightBlue / $blui-lightBlue
|
|
19
15
|
purple / $blui-purple
|
|
20
16
|
```
|
|
21
17
|
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
Copyright (c) 2018-present, Eaton
|
|
3
|
+
|
|
4
|
+
All rights reserved.
|
|
5
|
+
|
|
6
|
+
This code is licensed under the BSD-3 license found in the LICENSE file in the root directory of this source tree and at https://opensource.org/licenses/BSD-3-Clause.
|
|
7
|
+
**/
|
|
8
|
+
import { BrandingColors } from './palette';
|
|
9
|
+
export declare const chartColors: BrandingColors[];
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
Copyright (c) 2018-present, Eaton
|
|
4
|
+
|
|
5
|
+
All rights reserved.
|
|
6
|
+
|
|
7
|
+
This code is licensed under the BSD-3 license found in the LICENSE file in the root directory of this source tree and at https://opensource.org/licenses/BSD-3-Clause.
|
|
8
|
+
**/
|
|
9
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
10
|
+
exports.chartColors = void 0;
|
|
11
|
+
// export * from './palette';
|
|
12
|
+
// import * as Colors from './palette';
|
|
13
|
+
var palette_1 = require("./palette");
|
|
14
|
+
exports.chartColors = [
|
|
15
|
+
palette_1.BrandingColors.teal,
|
|
16
|
+
palette_1.BrandingColors.citrus,
|
|
17
|
+
palette_1.BrandingColors.pine,
|
|
18
|
+
palette_1.BrandingColors.emerald,
|
|
19
|
+
palette_1.BrandingColors.wine,
|
|
20
|
+
palette_1.BrandingColors.crimson,
|
|
21
|
+
palette_1.BrandingColors.sunset,
|
|
22
|
+
palette_1.BrandingColors.rust,
|
|
23
|
+
palette_1.BrandingColors.navy,
|
|
24
|
+
palette_1.BrandingColors.sky,
|
|
25
|
+
];
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
/**
|
|
2
|
+
Copyright (c) 2018-present, Eaton
|
|
3
|
+
|
|
4
|
+
All rights reserved.
|
|
5
|
+
|
|
6
|
+
This code is licensed under the BSD-3 license found in the LICENSE file in the root directory of this source tree and at https://opensource.org/licenses/BSD-3-Clause.
|
|
7
|
+
**/
|
|
8
|
+
export declare enum BrandingColors {
|
|
9
|
+
lightGray = "#98A4AE",
|
|
10
|
+
gray = "#5B6770",
|
|
11
|
+
darkGray = "#333F48",
|
|
12
|
+
sky = "#71B2C9",
|
|
13
|
+
eatonBlue = "#005EB8",
|
|
14
|
+
navy = "#003865",
|
|
15
|
+
ash = "#A3B2A4",
|
|
16
|
+
teal = "#00B2A9",
|
|
17
|
+
pine = "#43695B",
|
|
18
|
+
sage = "#B7CE95",
|
|
19
|
+
citrus = "#B5BD00",
|
|
20
|
+
emerald = "#4C8D2B",
|
|
21
|
+
butter = "#F3DD6D",
|
|
22
|
+
goldenrod = "#FFC72C",
|
|
23
|
+
toad = "#AD841F",
|
|
24
|
+
trophy = "#F0B323",
|
|
25
|
+
sunset = "#ED8B00",
|
|
26
|
+
rust = "#B94700",
|
|
27
|
+
crimson = "#D22730",
|
|
28
|
+
wine = "#9D2235"
|
|
29
|
+
}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
Copyright (c) 2018-present, Eaton
|
|
4
|
+
|
|
5
|
+
All rights reserved.
|
|
6
|
+
|
|
7
|
+
This code is licensed under the BSD-3 license found in the LICENSE file in the root directory of this source tree and at https://opensource.org/licenses/BSD-3-Clause.
|
|
8
|
+
**/
|
|
9
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
10
|
+
exports.BrandingColors = void 0;
|
|
11
|
+
var BrandingColors;
|
|
12
|
+
(function (BrandingColors) {
|
|
13
|
+
BrandingColors["lightGray"] = "#98A4AE";
|
|
14
|
+
BrandingColors["gray"] = "#5B6770";
|
|
15
|
+
BrandingColors["darkGray"] = "#333F48";
|
|
16
|
+
BrandingColors["sky"] = "#71B2C9";
|
|
17
|
+
BrandingColors["eatonBlue"] = "#005EB8";
|
|
18
|
+
BrandingColors["navy"] = "#003865";
|
|
19
|
+
BrandingColors["ash"] = "#A3B2A4";
|
|
20
|
+
BrandingColors["teal"] = "#00B2A9";
|
|
21
|
+
BrandingColors["pine"] = "#43695B";
|
|
22
|
+
BrandingColors["sage"] = "#B7CE95";
|
|
23
|
+
BrandingColors["citrus"] = "#B5BD00";
|
|
24
|
+
BrandingColors["emerald"] = "#4C8D2B";
|
|
25
|
+
BrandingColors["butter"] = "#F3DD6D";
|
|
26
|
+
BrandingColors["goldenrod"] = "#FFC72C";
|
|
27
|
+
BrandingColors["toad"] = "#AD841F";
|
|
28
|
+
BrandingColors["trophy"] = "#F0B323";
|
|
29
|
+
BrandingColors["sunset"] = "#ED8B00";
|
|
30
|
+
BrandingColors["rust"] = "#B94700";
|
|
31
|
+
BrandingColors["crimson"] = "#D22730";
|
|
32
|
+
BrandingColors["wine"] = "#9D2235";
|
|
33
|
+
})(BrandingColors || (exports.BrandingColors = BrandingColors = {}));
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
Copyright (c) 2018-present, Eaton
|
|
3
|
+
|
|
4
|
+
All rights reserved.
|
|
5
|
+
|
|
6
|
+
This code is licensed under the BSD-3 license found in the LICENSE file in the root directory of this source tree and at https://opensource.org/licenses/BSD-3-Clause.
|
|
7
|
+
**/
|
|
8
|
+
export * from './palette';
|
|
9
|
+
export * as BLUIColors from './palette';
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
Copyright (c) 2018-present, Eaton
|
|
4
|
+
|
|
5
|
+
All rights reserved.
|
|
6
|
+
|
|
7
|
+
This code is licensed under the BSD-3 license found in the LICENSE file in the root directory of this source tree and at https://opensource.org/licenses/BSD-3-Clause.
|
|
8
|
+
**/
|
|
9
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
12
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
13
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
14
|
+
}
|
|
15
|
+
Object.defineProperty(o, k2, desc);
|
|
16
|
+
}) : (function(o, m, k, k2) {
|
|
17
|
+
if (k2 === undefined) k2 = k;
|
|
18
|
+
o[k2] = m[k];
|
|
19
|
+
}));
|
|
20
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
21
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
22
|
+
};
|
|
23
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
24
|
+
exports.BLUIColors = void 0;
|
|
25
|
+
__exportStar(require("./palette"), exports);
|
|
26
|
+
exports.BLUIColors = require("./palette");
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/**
|
|
2
|
+
Copyright (c) 2018-present, Eaton
|
|
3
|
+
|
|
4
|
+
All rights reserved.
|
|
5
|
+
|
|
6
|
+
This code is licensed under the BSD-3 license found in the LICENSE file in the root directory of this source tree and at https://opensource.org/licenses/BSD-3-Clause.
|
|
7
|
+
**/
|
|
8
|
+
import { Error, Neutral, NeutralVariant, Orange, Primary, Purple, Success, Warning } from '../types/colorType';
|
|
9
|
+
export declare const primary: Primary;
|
|
10
|
+
export declare const neutral: Neutral;
|
|
11
|
+
export declare const neutralVariant: NeutralVariant;
|
|
12
|
+
export declare const error: Error;
|
|
13
|
+
export declare const warning: Warning;
|
|
14
|
+
export declare const success: Success;
|
|
15
|
+
export declare const orange: Orange;
|
|
16
|
+
export declare const purple: Purple;
|
|
@@ -0,0 +1,135 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.purple = exports.orange = exports.success = exports.warning = exports.error = exports.neutralVariant = exports.neutral = exports.primary = void 0;
|
|
4
|
+
/* Primary Colors / User Interface Colors */
|
|
5
|
+
exports.primary = {
|
|
6
|
+
0: '#000000',
|
|
7
|
+
10: '#001B3D',
|
|
8
|
+
20: '#003063',
|
|
9
|
+
30: '#00468C',
|
|
10
|
+
40: '#005EB8',
|
|
11
|
+
50: '#1C77CC',
|
|
12
|
+
60: '#4D9FEC',
|
|
13
|
+
70: '#79BFFF',
|
|
14
|
+
80: '#B1DAFF',
|
|
15
|
+
90: '#D0EAFD',
|
|
16
|
+
95: '#E5F5FF',
|
|
17
|
+
99: '#FDFBFF',
|
|
18
|
+
100: '#FFFFFF',
|
|
19
|
+
};
|
|
20
|
+
exports.neutral = {
|
|
21
|
+
0: '#000000',
|
|
22
|
+
4: '#0D1317',
|
|
23
|
+
6: '#141C1F',
|
|
24
|
+
10: '#192024',
|
|
25
|
+
12: '#1E262A',
|
|
26
|
+
17: '#293338',
|
|
27
|
+
20: '#333F48',
|
|
28
|
+
30: '#414E54',
|
|
29
|
+
40: '#4F5B63',
|
|
30
|
+
50: '#5B6770',
|
|
31
|
+
60: '#737F87',
|
|
32
|
+
70: '#98A4AE',
|
|
33
|
+
80: '#BDCAD1',
|
|
34
|
+
87: '#CED8DE',
|
|
35
|
+
90: '#D7E0E5',
|
|
36
|
+
92: '#E0E7EB',
|
|
37
|
+
94: '#E5ECF0',
|
|
38
|
+
95: '#EBF1F4',
|
|
39
|
+
97: '#F2F6F8',
|
|
40
|
+
98: '#F4F8FA',
|
|
41
|
+
99: '#F8FCFC',
|
|
42
|
+
100: '#FFFFFF',
|
|
43
|
+
};
|
|
44
|
+
exports.neutralVariant = {
|
|
45
|
+
0: '#000000',
|
|
46
|
+
10: '#181C22',
|
|
47
|
+
20: '#2D3038',
|
|
48
|
+
30: '#44474E',
|
|
49
|
+
40: '#5B5E66',
|
|
50
|
+
50: '#74777F',
|
|
51
|
+
60: '#8E9099',
|
|
52
|
+
70: '#A8ABB4',
|
|
53
|
+
80: '#C4C6CF',
|
|
54
|
+
90: '#E0E2EC',
|
|
55
|
+
95: '#EEF0FA',
|
|
56
|
+
99: '#FDFBFF',
|
|
57
|
+
100: '#FFFFFF',
|
|
58
|
+
};
|
|
59
|
+
/* Status Colors */
|
|
60
|
+
exports.error = {
|
|
61
|
+
0: '#000000',
|
|
62
|
+
10: '#410002',
|
|
63
|
+
20: '#690005',
|
|
64
|
+
30: '#93000A',
|
|
65
|
+
40: '#BA1A1A',
|
|
66
|
+
50: '#DE3730',
|
|
67
|
+
60: '#FF5449',
|
|
68
|
+
70: '#FF897D',
|
|
69
|
+
80: '#FFB4AB',
|
|
70
|
+
90: '#FFDAD6',
|
|
71
|
+
95: '#FFEDEA',
|
|
72
|
+
99: '#FFFBFF',
|
|
73
|
+
100: '#FFFFFF',
|
|
74
|
+
};
|
|
75
|
+
exports.warning = {
|
|
76
|
+
0: '#000000',
|
|
77
|
+
10: '#211B00',
|
|
78
|
+
20: '#383000',
|
|
79
|
+
30: '#524700',
|
|
80
|
+
40: '#6C5E00',
|
|
81
|
+
50: '#887700',
|
|
82
|
+
60: '#A59116',
|
|
83
|
+
70: '#C1AB33',
|
|
84
|
+
80: '#DDC437',
|
|
85
|
+
90: '#FBE365',
|
|
86
|
+
95: '#FFF1B6',
|
|
87
|
+
98: '#FFF9EC',
|
|
88
|
+
100: '#FFFFFF',
|
|
89
|
+
};
|
|
90
|
+
exports.success = {
|
|
91
|
+
0: '#000000',
|
|
92
|
+
4: '#022100',
|
|
93
|
+
10: '#022100',
|
|
94
|
+
20: '#053900',
|
|
95
|
+
30: '#0B5300',
|
|
96
|
+
40: '#126E00',
|
|
97
|
+
50: '#198900',
|
|
98
|
+
60: '#27A70B',
|
|
99
|
+
70: '#48C32E',
|
|
100
|
+
80: '#65E049',
|
|
101
|
+
90: '#95F77D',
|
|
102
|
+
95: '#CBFFB6',
|
|
103
|
+
98: '#EDFFE1',
|
|
104
|
+
100: '#FFFFFF',
|
|
105
|
+
};
|
|
106
|
+
exports.orange = {
|
|
107
|
+
0: '#000000',
|
|
108
|
+
10: '#2D1600',
|
|
109
|
+
20: '#4B2800',
|
|
110
|
+
30: '#6B3B00',
|
|
111
|
+
40: '#8D4F00',
|
|
112
|
+
50: '#B06400',
|
|
113
|
+
60: '#D37B15',
|
|
114
|
+
70: '#ED8B00',
|
|
115
|
+
80: '#FFB876',
|
|
116
|
+
90: '#FFDCC0',
|
|
117
|
+
95: '#FFEEE1',
|
|
118
|
+
98: '#FFF8F5',
|
|
119
|
+
100: '#FFFFFF',
|
|
120
|
+
};
|
|
121
|
+
exports.purple = {
|
|
122
|
+
0: '#000000',
|
|
123
|
+
10: '#2C0051',
|
|
124
|
+
20: '#480081',
|
|
125
|
+
30: '#6700B5',
|
|
126
|
+
40: '#8424DB',
|
|
127
|
+
50: '#9F45F6',
|
|
128
|
+
60: '#B56EFF',
|
|
129
|
+
70: '#C994FF',
|
|
130
|
+
80: '#DCB8FF',
|
|
131
|
+
90: '#F0DBFF',
|
|
132
|
+
95: '#F9ECFF',
|
|
133
|
+
98: '#FFF7FF',
|
|
134
|
+
100: '#FFFFFF',
|
|
135
|
+
};
|
package/dist/commonjs/index.d.ts
CHANGED
|
@@ -1,9 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
This code is licensed under the BSD-3 license found in the LICENSE file in the root directory of this source tree and at https://opensource.org/licenses/BSD-3-Clause.
|
|
7
|
-
**/
|
|
8
|
-
export * from './palette';
|
|
9
|
-
export * as BLUIColors from './palette';
|
|
1
|
+
export * from './colors/palette';
|
|
2
|
+
export * as BLUIColors from './colors/palette';
|
|
3
|
+
export * from './branding/palette';
|
|
4
|
+
export * as Colors from './branding/palette';
|
package/dist/commonjs/index.js
CHANGED
|
@@ -1,11 +1,4 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
/**
|
|
3
|
-
Copyright (c) 2018-present, Eaton
|
|
4
|
-
|
|
5
|
-
All rights reserved.
|
|
6
|
-
|
|
7
|
-
This code is licensed under the BSD-3 license found in the LICENSE file in the root directory of this source tree and at https://opensource.org/licenses/BSD-3-Clause.
|
|
8
|
-
**/
|
|
9
2
|
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
10
3
|
if (k2 === undefined) k2 = k;
|
|
11
4
|
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
@@ -21,6 +14,8 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
21
14
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
22
15
|
};
|
|
23
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
24
|
-
exports.BLUIColors = void 0;
|
|
25
|
-
__exportStar(require("./palette"), exports);
|
|
26
|
-
exports.BLUIColors = require("./palette");
|
|
17
|
+
exports.Colors = exports.BLUIColors = void 0;
|
|
18
|
+
__exportStar(require("./colors/palette"), exports);
|
|
19
|
+
exports.BLUIColors = require("./colors/palette");
|
|
20
|
+
__exportStar(require("./branding/palette"), exports);
|
|
21
|
+
exports.Colors = require("./branding/palette");
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
/**
|
|
2
|
+
Copyright (c) 2018-present, Eaton
|
|
3
|
+
|
|
4
|
+
All rights reserved.
|
|
5
|
+
|
|
6
|
+
This code is licensed under the BSD-3 license found in the LICENSE file in the root directory of this source tree and at https://opensource.org/licenses/BSD-3-Clause.
|
|
7
|
+
**/
|
|
8
|
+
export declare type BLUIColor = {
|
|
9
|
+
0: string;
|
|
10
|
+
10: string;
|
|
11
|
+
20: string;
|
|
12
|
+
30: string;
|
|
13
|
+
40: string;
|
|
14
|
+
50: string;
|
|
15
|
+
60: string;
|
|
16
|
+
70: string;
|
|
17
|
+
80: string;
|
|
18
|
+
90: string;
|
|
19
|
+
100: string;
|
|
20
|
+
};
|
|
21
|
+
export declare type Primary = BLUIColor & {
|
|
22
|
+
95: string;
|
|
23
|
+
99: string;
|
|
24
|
+
};
|
|
25
|
+
export declare type Neutral = BLUIColor & {
|
|
26
|
+
4: string;
|
|
27
|
+
6: string;
|
|
28
|
+
12: string;
|
|
29
|
+
17: string;
|
|
30
|
+
87: string;
|
|
31
|
+
92: string;
|
|
32
|
+
94: string;
|
|
33
|
+
95: string;
|
|
34
|
+
97: string;
|
|
35
|
+
98: string;
|
|
36
|
+
99: string;
|
|
37
|
+
};
|
|
38
|
+
export declare type NeutralVariant = BLUIColor & {
|
|
39
|
+
95: string;
|
|
40
|
+
99: string;
|
|
41
|
+
};
|
|
42
|
+
export declare type Error = BLUIColor & {
|
|
43
|
+
95: string;
|
|
44
|
+
99: string;
|
|
45
|
+
};
|
|
46
|
+
export declare type Warning = BLUIColor & {
|
|
47
|
+
95: string;
|
|
48
|
+
98: string;
|
|
49
|
+
};
|
|
50
|
+
export declare type Success = BLUIColor & {
|
|
51
|
+
4: string;
|
|
52
|
+
95: string;
|
|
53
|
+
98: string;
|
|
54
|
+
};
|
|
55
|
+
export declare type Orange = BLUIColor & {
|
|
56
|
+
95: string;
|
|
57
|
+
98: string;
|
|
58
|
+
};
|
|
59
|
+
export declare type Purple = BLUIColor & {
|
|
60
|
+
95: string;
|
|
61
|
+
98: string;
|
|
62
|
+
};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
Copyright (c) 2018-present, Eaton
|
|
4
|
+
|
|
5
|
+
All rights reserved.
|
|
6
|
+
|
|
7
|
+
This code is licensed under the BSD-3 license found in the LICENSE file in the root directory of this source tree and at https://opensource.org/licenses/BSD-3-Clause.
|
|
8
|
+
**/
|
|
9
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
/**
|
|
18
|
+
Copyright (c) 2021-present, Eaton
|
|
19
|
+
All rights reserved.
|
|
20
|
+
This code is licensed under the BSD-3 license found in the LICENSE file in the root directory of this source tree and at https://opensource.org/licenses/BSD-3-Clause.
|
|
21
|
+
**/
|
|
22
|
+
__exportStar(require("./colorType"), exports);
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
Copyright (c) 2018-present, Eaton
|
|
3
|
+
|
|
4
|
+
All rights reserved.
|
|
5
|
+
|
|
6
|
+
This code is licensed under the BSD-3 license found in the LICENSE file in the root directory of this source tree and at https://opensource.org/licenses/BSD-3-Clause.
|
|
7
|
+
**/
|
|
8
|
+
import { BrandingColors } from './palette';
|
|
9
|
+
export declare const chartColors: BrandingColors[];
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
/**
|
|
2
|
+
Copyright (c) 2018-present, Eaton
|
|
3
|
+
|
|
4
|
+
All rights reserved.
|
|
5
|
+
|
|
6
|
+
This code is licensed under the BSD-3 license found in the LICENSE file in the root directory of this source tree and at https://opensource.org/licenses/BSD-3-Clause.
|
|
7
|
+
**/
|
|
8
|
+
// export * from './palette';
|
|
9
|
+
// import * as Colors from './palette';
|
|
10
|
+
import { BrandingColors } from './palette';
|
|
11
|
+
export var chartColors = [
|
|
12
|
+
BrandingColors.teal,
|
|
13
|
+
BrandingColors.citrus,
|
|
14
|
+
BrandingColors.pine,
|
|
15
|
+
BrandingColors.emerald,
|
|
16
|
+
BrandingColors.wine,
|
|
17
|
+
BrandingColors.crimson,
|
|
18
|
+
BrandingColors.sunset,
|
|
19
|
+
BrandingColors.rust,
|
|
20
|
+
BrandingColors.navy,
|
|
21
|
+
BrandingColors.sky,
|
|
22
|
+
];
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
/**
|
|
2
|
+
Copyright (c) 2018-present, Eaton
|
|
3
|
+
|
|
4
|
+
All rights reserved.
|
|
5
|
+
|
|
6
|
+
This code is licensed under the BSD-3 license found in the LICENSE file in the root directory of this source tree and at https://opensource.org/licenses/BSD-3-Clause.
|
|
7
|
+
**/
|
|
8
|
+
export declare enum BrandingColors {
|
|
9
|
+
lightGray = "#98A4AE",
|
|
10
|
+
gray = "#5B6770",
|
|
11
|
+
darkGray = "#333F48",
|
|
12
|
+
sky = "#71B2C9",
|
|
13
|
+
eatonBlue = "#005EB8",
|
|
14
|
+
navy = "#003865",
|
|
15
|
+
ash = "#A3B2A4",
|
|
16
|
+
teal = "#00B2A9",
|
|
17
|
+
pine = "#43695B",
|
|
18
|
+
sage = "#B7CE95",
|
|
19
|
+
citrus = "#B5BD00",
|
|
20
|
+
emerald = "#4C8D2B",
|
|
21
|
+
butter = "#F3DD6D",
|
|
22
|
+
goldenrod = "#FFC72C",
|
|
23
|
+
toad = "#AD841F",
|
|
24
|
+
trophy = "#F0B323",
|
|
25
|
+
sunset = "#ED8B00",
|
|
26
|
+
rust = "#B94700",
|
|
27
|
+
crimson = "#D22730",
|
|
28
|
+
wine = "#9D2235"
|
|
29
|
+
}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
/**
|
|
2
|
+
Copyright (c) 2018-present, Eaton
|
|
3
|
+
|
|
4
|
+
All rights reserved.
|
|
5
|
+
|
|
6
|
+
This code is licensed under the BSD-3 license found in the LICENSE file in the root directory of this source tree and at https://opensource.org/licenses/BSD-3-Clause.
|
|
7
|
+
**/
|
|
8
|
+
export var BrandingColors;
|
|
9
|
+
(function (BrandingColors) {
|
|
10
|
+
BrandingColors["lightGray"] = "#98A4AE";
|
|
11
|
+
BrandingColors["gray"] = "#5B6770";
|
|
12
|
+
BrandingColors["darkGray"] = "#333F48";
|
|
13
|
+
BrandingColors["sky"] = "#71B2C9";
|
|
14
|
+
BrandingColors["eatonBlue"] = "#005EB8";
|
|
15
|
+
BrandingColors["navy"] = "#003865";
|
|
16
|
+
BrandingColors["ash"] = "#A3B2A4";
|
|
17
|
+
BrandingColors["teal"] = "#00B2A9";
|
|
18
|
+
BrandingColors["pine"] = "#43695B";
|
|
19
|
+
BrandingColors["sage"] = "#B7CE95";
|
|
20
|
+
BrandingColors["citrus"] = "#B5BD00";
|
|
21
|
+
BrandingColors["emerald"] = "#4C8D2B";
|
|
22
|
+
BrandingColors["butter"] = "#F3DD6D";
|
|
23
|
+
BrandingColors["goldenrod"] = "#FFC72C";
|
|
24
|
+
BrandingColors["toad"] = "#AD841F";
|
|
25
|
+
BrandingColors["trophy"] = "#F0B323";
|
|
26
|
+
BrandingColors["sunset"] = "#ED8B00";
|
|
27
|
+
BrandingColors["rust"] = "#B94700";
|
|
28
|
+
BrandingColors["crimson"] = "#D22730";
|
|
29
|
+
BrandingColors["wine"] = "#9D2235";
|
|
30
|
+
})(BrandingColors || (BrandingColors = {}));
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
Copyright (c) 2018-present, Eaton
|
|
3
|
+
|
|
4
|
+
All rights reserved.
|
|
5
|
+
|
|
6
|
+
This code is licensed under the BSD-3 license found in the LICENSE file in the root directory of this source tree and at https://opensource.org/licenses/BSD-3-Clause.
|
|
7
|
+
**/
|
|
8
|
+
export * from './palette';
|
|
9
|
+
export * as BLUIColors from './palette';
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
Copyright (c) 2018-present, Eaton
|
|
3
|
+
|
|
4
|
+
All rights reserved.
|
|
5
|
+
|
|
6
|
+
This code is licensed under the BSD-3 license found in the LICENSE file in the root directory of this source tree and at https://opensource.org/licenses/BSD-3-Clause.
|
|
7
|
+
**/
|
|
8
|
+
export * from './palette';
|
|
9
|
+
import * as BLUIColors_1 from './palette';
|
|
10
|
+
export { BLUIColors_1 as BLUIColors };
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/**
|
|
2
|
+
Copyright (c) 2018-present, Eaton
|
|
3
|
+
|
|
4
|
+
All rights reserved.
|
|
5
|
+
|
|
6
|
+
This code is licensed under the BSD-3 license found in the LICENSE file in the root directory of this source tree and at https://opensource.org/licenses/BSD-3-Clause.
|
|
7
|
+
**/
|
|
8
|
+
import { Error, Neutral, NeutralVariant, Orange, Primary, Purple, Success, Warning } from '../types/colorType';
|
|
9
|
+
export declare const primary: Primary;
|
|
10
|
+
export declare const neutral: Neutral;
|
|
11
|
+
export declare const neutralVariant: NeutralVariant;
|
|
12
|
+
export declare const error: Error;
|
|
13
|
+
export declare const warning: Warning;
|
|
14
|
+
export declare const success: Success;
|
|
15
|
+
export declare const orange: Orange;
|
|
16
|
+
export declare const purple: Purple;
|