/** * ODS Current Color Token Test Component * * This component demonstrates that the ods-current token properly adapts * to different platform types (OpenFrame, Flamingo, TMCG). * * Expected behavior: * - OpenFrame: Cyan (#5efaf0) * - Flamingo: Pink (#f357bb) * - TMCG: Pink (#f357bb) * - Default: Primary text color (#fafafa) */ import React from 'react' export function OdsCurrentTest() { return (
The boxes below should show platform-specific colors using the ods-current token.
This text uses text-ods-current
Expected: Yellow (OpenFrame), Pink (Flamingo/TMCG), White (Default)
This box uses bg-ods-current
Expected background: Yellow (OpenFrame), Pink (Flamingo/TMCG), White (Default)
This box uses border-ods-current
Expected border: Yellow (OpenFrame), Pink (Flamingo/TMCG), White (Default)
Expected fill: Yellow (OpenFrame), Pink (Flamingo/TMCG), White (Default)
Expected: Yellow (OpenFrame), Pink (Flamingo/TMCG), White (Default)
Check the data-app-type attribute
on the root element to see which platform theme is active.