Skip to main content

grid-pro.agthemefontsid

Home > @genesislcap/grid-pro > agThemeFontsId

agThemeFontsId() function

Generates the id name for custom Grid Pro fonts.

Signature:

agThemeFontsId: (themeName: string) => string

Parameters

Parameter

Type

Description

themeName

string

the Grid Pro theme name

Returns:

string

the id name for the Grid Pro fonts

Example

The result of this is used in the id of style tag:

<style id="ag-theme-alpine-fonts"></style>