Skip to content

Commit 51acf42

Browse files
authored
Merge pull request #445 from tidepool-org/WEB-3511-color-scheme
WEB-3511 - Modify Color Scheme
2 parents ad10e09 + 5fc813f commit 51acf42

File tree

3 files changed

+68
-1
lines changed

3 files changed

+68
-1
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"node": "20.8.0"
55
},
66
"packageManager": "[email protected]",
7-
"version": "1.47.0-web-3687-new-dosing-decision-extended-duration-props.2",
7+
"version": "1.48.0-web-3511-color-scheme.9",
88
"description": "Tidepool data visualization for diabetes device data.",
99
"keywords": [
1010
"data visualization"

src/colors.js

Lines changed: 64 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,64 @@
1+
export const system = {
2+
// Black and White
3+
white: '#FFFFFF',
4+
black: '#000000',
5+
6+
// Grays
7+
gray50: '#707070',
8+
gray30: '#8C8C8C',
9+
gray10: '#D9D9D9',
10+
gray05: '#EBEBEB',
11+
gray00: '#F6F6F6',
12+
13+
// Purples
14+
purple90: '#271B46',
15+
16+
// Indigos
17+
indigo50: '#4A60E2',
18+
indigo30: '#627CFF',
19+
indigo00: '#F4F5FF',
20+
21+
// Blues
22+
blue80: '#375178',
23+
blue60: '#EEF3FF',
24+
blue50: '#4F6A92',
25+
blue30: '#708FC2',
26+
blue05: '#E1EAF9',
27+
blue00: '#F0F5FF',
28+
29+
// BlueGrays
30+
blueGray50: '#5F6B82',
31+
blueGray50T: '#1F304FB3',
32+
blueGray30: '#838CA0',
33+
blueGray10: '#D1D6E1',
34+
35+
// Reds
36+
red50: '#CC2900',
37+
red30: '#EC4C47',
38+
red05: '#FFECE9',
39+
40+
// Golds
41+
gold50: '#A35700',
42+
gold30: '#CC6D00',
43+
gold05: '#FFE8CF',
44+
45+
// Greens
46+
green50: '#00754E',
47+
green30: '#08A057',
48+
green05: '#DAF9E4',
49+
};
50+
51+
export const bgChart = {
52+
veryLow: '#E9695E',
53+
low: '#F19181',
54+
target: '#8DD0A9',
55+
high: '#B69CE2',
56+
veryHigh: '#856ACF',
57+
};
58+
59+
const colors = {
60+
...system,
61+
...bgChart,
62+
};
63+
64+
export default colors;

src/index.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,8 @@ import { generateBgRangeLabels, isCustomBgRange, reshapeBgClassesToBgBounds } fr
4141
import { getTotalBasalFromEndpoints, getGroupDurations } from './utils/basal';
4242
import { DEFAULT_BG_BOUNDS } from './utils/constants';
4343

44+
import colors from './colors';
45+
4446
import {
4547
formatDateRange,
4648
formatTimeAgo,
@@ -161,6 +163,7 @@ const utils = {
161163
};
162164

163165
export {
166+
colors,
164167
components,
165168
containers,
166169
utils,

0 commit comments

Comments
 (0)