/** * * Card Design Tokens * * @module card * */ import type { ColorScheme as CS, DesignTokens, ExtendedCSS, ExtendedTokens } from '..'; /** * Design Token Sections */ export declare namespace CardTokenSections { interface Root { /** * Background of root * * @designToken card.background */ background?: string; /** * Border radius of root * * @designToken card.border.radius */ borderRadius?: string; /** * Color of root * * @designToken card.color */ color?: string; /** * Shadow of root * * @designToken card.shadow */ shadow?: string; } interface Body { /** * Padding of body * * @designToken card.body.padding */ padding?: string; /** * Gap of body * * @designToken card.body.gap */ gap?: string; } interface Caption { /** * Gap of caption * * @designToken card.caption.gap */ gap?: string; } interface Title { /** * Font size of title * * @designToken card.title.font.size */ fontSize?: string; /** * Font weight of title * * @designToken card.title.font.weight */ fontWeight?: string; } interface Subtitle { /** * Color of subtitle * * @designToken card.subtitle.color */ color?: string; } /* Static Sections */ type ColorScheme = CS; type CSS = ExtendedCSS; type Extend = ExtendedTokens; } /** * * _Card Design Tokens_ * * @group components * @module card * @see * --- --- * **Compatible Libraries** * * [![PrimeNG](https://i.postimg.cc/63f7jVST/primeng-icon-24.png)](https://primeng.org/theming/styled) * [![PrimeVue](https://i.postimg.cc/cC1vVgyh/primevue-icon-24.png)](https://primevue.org/theming/styled) * --- --- * **Figma UI Kit** * * [PrimeNG](https://primeng.org/uikit) | [PrimeVue](https://primevue.org/uikit) * */ export interface CardDesignTokens extends DesignTokens { /** * Used to pass tokens of the root section */ root?: CardTokenSections.Root; /** * Used to pass tokens of the body section */ body?: CardTokenSections.Body; /** * Used to pass tokens of the caption section */ caption?: CardTokenSections.Caption; /** * Used to pass tokens of the title section */ title?: CardTokenSections.Title; /** * Used to pass tokens of the subtitle section */ subtitle?: CardTokenSections.Subtitle; }