Merge branch 'feat/inda-383-daily-stat' into 'main'
[ProtonMail-WebClient.git] / packages / colors / get-variable-from-theme-color.ts
blobcb05bb6aba6c44dd7308aeb982baf6555f63bad3
1 import type { ThemeColor } from './types';
3 const getVariableFromThemeColor = (name: ThemeColor) =>
4     name === 'norm' || name === 'weak' ? `--interaction-${name}` : `--signal-${name}`;
6 export default getVariableFromThemeColor;