UNPKG

@sandlada/mdc

Version:

@sandlada/mdc is an open source component library that follows the Material Design 3 design specifications.

43 lines 1.01 kB
/** * @license * Copyright 2025 Kai-Orion & Sandlada * SPDX-License-Identifier: MIT */ import { LitElement } from 'lit'; import type { ITypography, TypographyVariant } from './typography.interface'; declare global { interface HTMLElementTagNameMap { "mdc-typography": MDCTypography; } } /** * 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" * @version "Material Design 3 - Expressive" * * @link * https://m3.material.io/styles/typography/overview */ export declare class MDCTypography extends LitElement implements ITypography { static styles: import("lit").CSSResult; emphasized: boolean; variant: TypographyVariant; protected render(): unknown; } //# sourceMappingURL=typography.d.ts.map