@cranberry-money/shared-constants
Version:
Shared constants for Blueberry platform
4 lines • 323 B
JavaScript
import { DESIGN_TOKENS } from './design-tokens';
export const getChartColor = (index) => DESIGN_TOKENS.colors.chart[index % DESIGN_TOKENS.colors.chart.length];
export const getChartTextColor = (index) => DESIGN_TOKENS.colors.chartText[index % DESIGN_TOKENS.colors.chartText.length];
//# sourceMappingURL=chart-colors.js.map