@atlaskit/flag
Version:
A flag is used for confirmations, alerts, and acknowledgments that require minimal user interaction, often displayed using a flag group.
36 lines (35 loc) • 1.44 kB
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;
/**
* @deprecated Use `import { flagBackgroundColor } from '@atlaskit/flag/flag-background-color'` instead.
*/
export { flagBackgroundColor } from './flag-background-color';
/**
* @deprecated Use `import { flagIconColor } from '@atlaskit/flag/flag-icon-color'` instead.
*/
export { flagIconColor } from './flag-icon-color';
/**
* @deprecated Use `import { flagIconGlyph } from '@atlaskit/flag/flag-icon-glyph'` instead.
*/
export { flagIconGlyph } from './flag-icon-glyph';
/**
* @deprecated Use `import { flagTextColor } from '@atlaskit/flag/flag-text-color'` instead.
*/
export { flagTextColor } from './flag-text-color';
/**
* @deprecated Use `import { flagTextColorToken } from '@atlaskit/flag/flag-text-color-token'` instead.
*/
export { flagTextColorToken } from './flag-text-color-token';
/**
* @deprecated Use `import { actionTextColor } from '@atlaskit/flag/action-text-color'` instead.
*/
export { actionTextColor } from './action-text-color';