Skip to content

pantoken / formats/dtcg/src / byTheme

Função: byTheme()

byTheme(theme): DtcgDoc

Beta

Procurar o documento DTCG de um tema pelo nome.

Parâmetros

theme

Theme

Retorna

DtcgDoc

Exemplo

ts
import { byTheme } from "@pantoken/dtcg";

const doc = byTheme("canvasHighContrast");