Skip to content

Commit 594b13a

Browse files
added some bg and fg colors to default ChartComponent data
1 parent 5730895 commit 594b13a

File tree

1 file changed

+10
-0
lines changed
  • packages/rs-common/addon/components

1 file changed

+10
-0
lines changed

packages/rs-common/addon/components/chart.js

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@ export default class ChartComponent extends Component {
1919
id: 10,
2020
},
2121
percentage: '18',
22+
textBackground: 'rgb(195, 238, 255)',
23+
textForeground: 'rgb(6, 91, 125)',
2224
title: 'Super Cool Things',
2325
},
2426
{
@@ -29,6 +31,8 @@ export default class ChartComponent extends Component {
2931
id: 20,
3032
},
3133
percentage: '28',
34+
textBackground: 'rgb(195, 255, 200)',
35+
textForeground: 'rgb(6, 125, 16)',
3236
title: 'Moderately Fine Things',
3337
},
3438
{
@@ -39,6 +43,8 @@ export default class ChartComponent extends Component {
3943
id: 30,
4044
},
4145
percentage: '22',
46+
textBackground: 'rgb(255, 231, 195)',
47+
textForeground: 'rgb(125, 79, 6)',
4248
title: 'Very Awesome Things',
4349
},
4450
{
@@ -49,6 +55,8 @@ export default class ChartComponent extends Component {
4955
id: 40,
5056
},
5157
percentage: '20',
58+
textBackground: 'rgb(255, 195, 195)',
59+
textForeground: 'rgb(125, 6, 6)',
5260
title: 'Sufficient Things',
5361
},
5462
{
@@ -59,6 +67,8 @@ export default class ChartComponent extends Component {
5967
id: 50,
6068
},
6169
percentage: '12',
70+
textBackground: 'rgb(247, 195, 255)',
71+
textForeground: 'rgb(117, 6, 125)',
6272
title: 'Kinda Neat Things',
6373
},
6474
]

0 commit comments

Comments
 (0)