@atlaskit/tokens
Version:
Design tokens are the single source of truth to name and store design decisions.
7 lines (6 loc) • 320 B
TypeScript
import { type ThemeOverrideIds } from '../theme-config';
import { type ThemeIds } from '../theme-ids';
/**
* Finds any matching increased contrast theme available for a selected theme.
*/
export default function getIncreasedContrastTheme(themeId: ThemeIds | ThemeOverrideIds): ThemeIds | ThemeOverrideIds | undefined;