Files

39 lines
1.0 KiB
TypeScript

/**
* Sankey node color tokens from Figma (Universal Bridge Indexer).
* Light theme: Light 300 palette. Resolved via useToken in the chart.
* @see https://www.figma.com/design/3mGpZEE65cSuLnhtJBfKkO?node-id=6867-20752
*/
export const SANKEY_NODE_COLOR_TOKENS_LIGHT: Array<string> = [
'blue.300',
'purple.300',
'pink.300',
'green.300',
'teal.300',
'cyan.300',
'orange.300',
'yellow.300',
'red.300',
];
/**
* Sankey node color tokens from Figma (Universal Bridge Indexer).
* Dark theme: Dark 700 palette. Resolved via useToken in the chart.
* @see https://www.figma.com/design/3mGpZEE65cSuLnhtJBfKkO?node-id=6867-21363
*/
export const SANKEY_NODE_COLOR_TOKENS_DARK: Array<string> = [
'blue.700',
'purple.700',
'pink.700',
'green.700',
'teal.700',
'cyan.700',
'orange.700',
'yellow.700',
'red.700',
];
export const DEFAULT_SANKEY_NODE_WIDTH = 16;
export const DEFAULT_SANKEY_NODE_PADDING = 40;
export const DEFAULT_SANKEY_LINK_OPACITY = 0.35;
export const DEFAULT_SANKEY_LINK_HOVER_OPACITY = 0.6;