Skip to content

Documentation / @tenancy-node/core / themeToCss

Function: themeToCss() ​

themeToCss(theme, fonts?): string

Defined in: core/src/theme/theme-renderer.ts:11

Convierte un tema en variables CSS. Los valores ya vienen validados por el dominio. Si la fuente está en fonts (Google o URL propia), el CSS empieza con su @import.

Parameters ​

theme ​

Theme

fonts? ​

FontCatalog = ...

Returns ​

string

Publicado bajo la licencia MIT.