Skip to content

Commit 9a6738f

Browse files
committed
fix(dashboard-charts-data): brandInfoBg rgb is not a valid hex color
1 parent 735ca76 commit 9a6738f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/app/views/dashboard/dashboard-charts-data.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ export class DashboardChartsData {
3939
initMainChart(period: string = 'Month') {
4040
const brandSuccess = getStyle('--cui-success') ?? '#4dbd74';
4141
const brandInfo = getStyle('--cui-info') ?? '#20a8d8';
42-
const brandInfoBg = hexToRgba(getStyle('--cui-info') ?? '#20a8d8', 10);
42+
const brandInfoBg = `rgba(${getStyle('--cui-info-rgb')}, .1)`
4343
const brandDanger = getStyle('--cui-danger') ?? '#f86c6b';
4444

4545
// mainChart

0 commit comments

Comments
 (0)