2022-01-30 20:47:33 +05:30

13 lines
506 B
TypeScript

import { Icon } from "@blueprintjs/core";
import { Colors } from "@blueprintjs/core";
/** Common border color for dark and light, using transparency */
export const BorderColor = Colors.GRAY3 + "55";
/** Map from item type to corresponding icon */
export const ItemTypeIcons: { [k: string]: React.ReactNode } = {
dry: <Icon icon="ring" size={12} color={Colors.RED3} />,
liquid: <Icon icon="tint" size={12} color={Colors.BLUE3} />,
unknown: <Icon icon="help" size={12} color={Colors.ORANGE3} />,
};