/** * 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 (

ODS Current Color Token Test

The boxes below should show platform-specific colors using the ods-current token.

{/* Text Color Test */}

Text Color Test

This text uses text-ods-current

Expected: Yellow (OpenFrame), Pink (Flamingo/TMCG), White (Default)

{/* Background Color Test */}

Background Color Test

This box uses bg-ods-current

Expected background: Yellow (OpenFrame), Pink (Flamingo/TMCG), White (Default)

{/* Border Color Test */}

Border Color Test

This box uses border-ods-current

Expected border: Yellow (OpenFrame), Pink (Flamingo/TMCG), White (Default)

{/* SVG Fill Test */}

SVG Fill Test

Expected fill: Yellow (OpenFrame), Pink (Flamingo/TMCG), White (Default)

{/* CSS Variable Test */}

CSS Variable Direct Usage

This text uses CSS variable directly

Expected: Yellow (OpenFrame), Pink (Flamingo/TMCG), White (Default)

{/* Current Platform Info */}

Current Platform Context

Check the data-app-type attribute on the root element to see which platform theme is active.

OpenFrame: Yellow (#ffc008)
Flamingo: Pink (#f357bb)
TMCG: Pink (#f357bb)
Default: White (#fafafa)
) }