Skip to content

Namespace: cssVarName

Functions

defaultProcessor()

defaultProcessor(namespace, name): string

默认变量名处理器

Parameters

ParameterType
namespacestring
nameCssVarNameType

Returns

string

Defaults

ts
(namespace, name) => [namespace, name].filter((name) => name != null && name !== '').join('-')