@atlaskit/flag
Version:
A flag is used for confirmations, alerts, and acknowledgments that require minimal user interaction, often displayed using a flag group.
13 lines (12 loc) • 487 B
TypeScript
import { type AppearanceTypes } from './types';
type ActionBackgroundColor = Record<Exclude<AppearanceTypes, 'normal'>, {
default: 'var(--ds-background-inverse-subtle)';
active: 'var(--ds-background-inverse-subtle-pressed)';
pressed: 'var(--ds-background-inverse-subtle-hovered)';
}> & Record<Extract<AppearanceTypes, 'normal'>, {
default: 'none';
active: 'none';
pressed: 'none';
}>;
export declare const actionBackgroundColor: ActionBackgroundColor;
export {};