UNPKG

@engie-group/fluid-design-system

Version:

The Fluid Design System is ENGIE’s open-source library to create, build and deliver ENGIE digital services in a more efficient way.

23 lines (22 loc) 1.26 kB
import { Scale, Variant } from '../../variations'; export declare const ICON_ENGIE_NAME: readonly ["engie_ai"]; export type IconName = string | (typeof ICON_ENGIE_NAME)[number]; export declare const ICON_SCALES: readonly ["2xs", "xs", "sm", "md", "lg", "xl", "2xl", "3xl", "4xl", "5xl", "6xl", "inherit"]; export type IconScale = Extract<'inherit' | Scale, (typeof ICON_SCALES)[number]>; export declare const ICON_VARIANTS: readonly ["brand", "brand-contrast", "primary", "secondary", "tertiary", "contrast", "inverse", "danger", "warning", "success", "information", "discovery", "planet", "danger-contrast", "warning-contrast", "success-contrast", "information-contrast", "discovery-contrast", "planet-contrast", "grey", "blue", "teal", "pink", "orange", "red", "green", "ultramarine", "yellow", "purple", "lime", "signature", "ai", "inherit"]; export type IconVariant = Extract<Variant | 'inherit', (typeof ICON_VARIANTS)[number]>; export declare const ICON_ENGIE_PREFIX = "engie_"; export type IconProperties = { /** * Icon size */ scale?: IconScale; /** * Icon variant theme */ variant?: IconVariant; /** * Material icon name https://material.io/resources/icons/?style=baseline */ name: IconName; };