Returns a unit specified by a theme palette selected in widget configuration
LESS
// Required arguments @result: -evo-widgetpalette-unit(@paletteTypeId, @propertyId, @valueId); // All arguments @result: -evo-widgetpalette-unit(@paletteTypeId, @propertyId, @valueId, @defaultValue, @inheritanceDepth);
Parameters
Name | Type | Description | Required | Default | Options |
---|---|---|---|---|---|
paletteTypeId | String | Palette Type Id | Required | ||
propertyId | String | Property Id containing palette selection | Required | ||
valueId | String | Value Id | Required | ||
defaultValue | String | Default value | Optional | 0px | |
inheritanceDepth | Int32 | Parent themes to inspect for configuration | Optional | 10 |