import type { IsotypeColorKey } from './patterns'; /** * Ordered `[back, front]` color pair for `IsotypeTwist`. The front (second) * color is painted on top and dominates the intersection blend produced by * `mix-blend-mode` — the blended color is never hardcoded, only derived. */ export type IsotypeTwistPair = readonly [IsotypeColorKey, IsotypeColorKey]; /** Only these two brand color pairs are in rotation — widen deliberately, not speculatively. */ export type IsotypeTwistVariantId = 'magenta-blue' | 'blue-red'; export const ISOTYPE_TWIST_VARIANTS: Record = { 'magenta-blue': ['magenta', 'blue'], 'blue-red': ['blue', 'red'], }; export const ISOTYPE_TWIST_VARIANT_IDS = Object.keys( ISOTYPE_TWIST_VARIANTS ) as IsotypeTwistVariantId[];