MCPcopy
hub / github.com/unjs/fontaine / FontProperties

Interface FontProperties

packages/fontaine/src/css.ts:44–48  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

42const fontProperties = new Set(['font-weight', 'font-style', 'font-stretch'])
43
44interface FontProperties {
45 'font-weight'?: string
46 'font-style'?: string
47 'font-stretch'?: string
48}
49
50/**
51 * Extracts font family and source information from a CSS @font-face rule using css-tree.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected