@sandlada/mdc
Version:
@sandlada/mdc is an open source component library that follows the Material Design 3 design specifications.
44 lines • 1.17 kB
TypeScript
/**
* @license
* Copyright 2025 Kai-Orion & Sandlada
* SPDX-License-Identifier: MIT
*/
import { LitElement } from 'lit';
declare global {
interface HTMLElementTagNameMap {
"mdc-typography": Typography;
}
}
type TypographyVariant = 'display-large' | 'display-medium' | 'display-small' | 'headline-large' | 'headline-medium' | 'headline-small' | 'title-large' | 'title-medium' | 'title-small' | 'body-large' | 'body-medium' | 'body-small' | 'label-large' | 'label-medium' | 'label-small';
/**
* Used to display text.
*
* Provides 5 series:
* - display
* - headline
* - title
* - body
* - label
*
* Each series provides 3 sizes:
* - small
* - medium
* - large
*
* In the M3 Expressive update, a new emphasized option was added.
* Enabling emphasized will make the font bold.
*
* @version
* Material Design 3 - Expressive
*
* @link
* https://m3.material.io/styles/typography/overview
*/
export declare class Typography extends LitElement {
static styles: import("lit").CSSResult;
emphasized: boolean;
variant: TypographyVariant;
protected render(): unknown;
}
export {};
//# sourceMappingURL=typography.d.ts.map