@taiga-ui/core
Version:
Core library for creating Angular components and applications using Taiga UI
14 lines (13 loc) • 1.03 kB
TypeScript
import { type ExistingProvider, InjectionToken, type ProviderToken } from '@angular/core';
import { type TuiLooseUnion } from '@taiga-ui/cdk/types';
/**
* Bundled appearances for autocomplete purposes, not exported on purpose
*/
type Appearance = TuiLooseUnion<'accent' | 'action-destructive' | 'action-grayscale' | 'action' | 'flat-destructive' | 'flat-grayscale' | 'flat' | 'floating' | 'glass' | 'icon' | 'info' | 'negative' | 'neutral' | 'outline-destructive' | 'outline-grayscale' | 'outline' | 'positive' | 'primary-destructive' | 'primary-grayscale' | 'primary' | 'secondary-destructive' | 'secondary-grayscale' | 'secondary' | 'textfield' | 'warning'>;
export interface TuiAppearanceOptions {
readonly appearance: Appearance;
}
export declare const TUI_APPEARANCE_DEFAULT_OPTIONS: TuiAppearanceOptions;
export declare const TUI_APPEARANCE_OPTIONS: InjectionToken<TuiAppearanceOptions>;
export declare function tuiAppearanceOptionsProvider(token: ProviderToken<TuiAppearanceOptions>): ExistingProvider;
export {};