@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
|
@@ -0,0 +1,132 @@
|
|
|
1
|
+
/* Primary Colors / User Interface Colors */
|
|
2
|
+
export var primary = {
|
|
3
|
+
0: '#000000',
|
|
4
|
+
10: '#001B3D',
|
|
5
|
+
20: '#003063',
|
|
6
|
+
30: '#00468C',
|
|
7
|
+
40: '#005EB8',
|
|
8
|
+
50: '#1C77CC',
|
|
9
|
+
60: '#4D9FEC',
|
|
10
|
+
70: '#79BFFF',
|
|
11
|
+
80: '#B1DAFF',
|
|
12
|
+
90: '#D0EAFD',
|
|
13
|
+
95: '#E5F5FF',
|
|
14
|
+
99: '#FDFBFF',
|
|
15
|
+
100: '#FFFFFF',
|
|
16
|
+
};
|
|
17
|
+
export var neutral = {
|
|
18
|
+
0: '#000000',
|
|
19
|
+
4: '#0D1317',
|
|
20
|
+
6: '#141C1F',
|
|
21
|
+
10: '#192024',
|
|
22
|
+
12: '#1E262A',
|
|
23
|
+
17: '#293338',
|
|
24
|
+
20: '#333F48',
|
|
25
|
+
30: '#414E54',
|
|
26
|
+
40: '#4F5B63',
|
|
27
|
+
50: '#5B6770',
|
|
28
|
+
60: '#737F87',
|
|
29
|
+
70: '#98A4AE',
|
|
30
|
+
80: '#BDCAD1',
|
|
31
|
+
87: '#CED8DE',
|
|
32
|
+
90: '#D7E0E5',
|
|
33
|
+
92: '#E0E7EB',
|
|
34
|
+
94: '#E5ECF0',
|
|
35
|
+
95: '#EBF1F4',
|
|
36
|
+
97: '#F2F6F8',
|
|
37
|
+
98: '#F4F8FA',
|
|
38
|
+
99: '#F8FCFC',
|
|
39
|
+
100: '#FFFFFF',
|
|
40
|
+
};
|
|
41
|
+
export var neutralVariant = {
|
|
42
|
+
0: '#000000',
|
|
43
|
+
10: '#181C22',
|
|
44
|
+
20: '#2D3038',
|
|
45
|
+
30: '#44474E',
|
|
46
|
+
40: '#5B5E66',
|
|
47
|
+
50: '#74777F',
|
|
48
|
+
60: '#8E9099',
|
|
49
|
+
70: '#A8ABB4',
|
|
50
|
+
80: '#C4C6CF',
|
|
51
|
+
90: '#E0E2EC',
|
|
52
|
+
95: '#EEF0FA',
|
|
53
|
+
99: '#FDFBFF',
|
|
54
|
+
100: '#FFFFFF',
|
|
55
|
+
};
|
|
56
|
+
/* Status Colors */
|
|
57
|
+
export var error = {
|
|
58
|
+
0: '#000000',
|
|
59
|
+
10: '#410002',
|
|
60
|
+
20: '#690005',
|
|
61
|
+
30: '#93000A',
|
|
62
|
+
40: '#BA1A1A',
|
|
63
|
+
50: '#DE3730',
|
|
64
|
+
60: '#FF5449',
|
|
65
|
+
70: '#FF897D',
|
|
66
|
+
80: '#FFB4AB',
|
|
67
|
+
90: '#FFDAD6',
|
|
68
|
+
95: '#FFEDEA',
|
|
69
|
+
99: '#FFFBFF',
|
|
70
|
+
100: '#FFFFFF',
|
|
71
|
+
};
|
|
72
|
+
export var warning = {
|
|
73
|
+
0: '#000000',
|
|
74
|
+
10: '#211B00',
|
|
75
|
+
20: '#383000',
|
|
76
|
+
30: '#524700',
|
|
77
|
+
40: '#6C5E00',
|
|
78
|
+
50: '#887700',
|
|
79
|
+
60: '#A59116',
|
|
80
|
+
70: '#C1AB33',
|
|
81
|
+
80: '#DDC437',
|
|
82
|
+
90: '#FBE365',
|
|
83
|
+
95: '#FFF1B6',
|
|
84
|
+
98: '#FFF9EC',
|
|
85
|
+
100: '#FFFFFF',
|
|
86
|
+
};
|
|
87
|
+
export var success = {
|
|
88
|
+
0: '#000000',
|
|
89
|
+
4: '#022100',
|
|
90
|
+
10: '#022100',
|
|
91
|
+
20: '#053900',
|
|
92
|
+
30: '#0B5300',
|
|
93
|
+
40: '#126E00',
|
|
94
|
+
50: '#198900',
|
|
95
|
+
60: '#27A70B',
|
|
96
|
+
70: '#48C32E',
|
|
97
|
+
80: '#65E049',
|
|
98
|
+
90: '#95F77D',
|
|
99
|
+
95: '#CBFFB6',
|
|
100
|
+
98: '#EDFFE1',
|
|
101
|
+
100: '#FFFFFF',
|
|
102
|
+
};
|
|
103
|
+
export var orange = {
|
|
104
|
+
0: '#000000',
|
|
105
|
+
10: '#2D1600',
|
|
106
|
+
20: '#4B2800',
|
|
107
|
+
30: '#6B3B00',
|
|
108
|
+
40: '#8D4F00',
|
|
109
|
+
50: '#B06400',
|
|
110
|
+
60: '#D37B15',
|
|
111
|
+
70: '#ED8B00',
|
|
112
|
+
80: '#FFB876',
|
|
113
|
+
90: '#FFDCC0',
|
|
114
|
+
95: '#FFEEE1',
|
|
115
|
+
98: '#FFF8F5',
|
|
116
|
+
100: '#FFFFFF',
|
|
117
|
+
};
|
|
118
|
+
export var purple = {
|
|
119
|
+
0: '#000000',
|
|
120
|
+
10: '#2C0051',
|
|
121
|
+
20: '#480081',
|
|
122
|
+
30: '#6700B5',
|
|
123
|
+
40: '#8424DB',
|
|
124
|
+
50: '#9F45F6',
|
|
125
|
+
60: '#B56EFF',
|
|
126
|
+
70: '#C994FF',
|
|
127
|
+
80: '#DCB8FF',
|
|
128
|
+
90: '#F0DBFF',
|
|
129
|
+
95: '#F9ECFF',
|
|
130
|
+
98: '#FFF7FF',
|
|
131
|
+
100: '#FFFFFF',
|
|
132
|
+
};
|
package/dist/es2015/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/es2015/index.js
CHANGED
|
@@ -1,10 +1,6 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
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';
|
|
1
|
+
export * from './colors/palette';
|
|
2
|
+
import * as BLUIColors_1 from './colors/palette';
|
|
10
3
|
export { BLUIColors_1 as BLUIColors };
|
|
4
|
+
export * from './branding/palette';
|
|
5
|
+
import * as Colors_1 from './branding/palette';
|
|
6
|
+
export { Colors_1 as Colors };
|
|
@@ -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
|
+
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@brightlayer-ui/colors",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "4.0.0-alpha.0",
|
|
4
4
|
"description": "Brightlayer UI colors for Eaton applications",
|
|
5
5
|
"main": "./dist/commonjs/index.js",
|
|
6
6
|
"types": "./dist/commonjs/index.d.ts",
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
},
|
|
13
13
|
"repository": {
|
|
14
14
|
"type": "git",
|
|
15
|
-
"url": "git+https://github.com/
|
|
15
|
+
"url": "git+https://github.com/etn-ccis/blui-colors.git"
|
|
16
16
|
},
|
|
17
17
|
"keywords": [
|
|
18
18
|
"Brightlayer-UI",
|
|
@@ -24,14 +24,14 @@
|
|
|
24
24
|
"author": "Brightlayer UI <brightlayer-ui@eaton.com>",
|
|
25
25
|
"license": "BSD-3-Clause",
|
|
26
26
|
"bugs": {
|
|
27
|
-
"url": "https://github.com/
|
|
27
|
+
"url": "https://github.com/etn-ccis/blui-colors/issues"
|
|
28
28
|
},
|
|
29
|
-
"homepage": "https://github.com/
|
|
29
|
+
"homepage": "https://github.com/etn-ccis/blui-colors#readme",
|
|
30
30
|
"dependencies": {
|
|
31
31
|
"@brightlayer-ui/types": "^2.0.0"
|
|
32
32
|
},
|
|
33
33
|
"devDependencies": {
|
|
34
|
-
"typescript": "^
|
|
34
|
+
"typescript": "^5.0.3"
|
|
35
35
|
},
|
|
36
36
|
"files": [
|
|
37
37
|
"package.json",
|