You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In advanced options of items, categories, dynamic sections and in custom css part of board settings we add a new functionality.
Goal of that is to add css templates, that are defined somewhere centralized (for example on a repository). When you select a template you might be able to add some variable values. An example:
Template for border radius
{
"name": "Item border radius",
"description": "Customize the border radius of the items on your board.",
"variables": [{
"type": "measurement",
"key": "borderRadius",
"label": "Border radius",
"defaultValue": "8px"
}],
"template": {
"type": "board",
"css": "[data-type="item"] .grid-stack-item-content { border-radius: ${borderRadius}; }"
}
}
Which would then result in more or less the following UI shown to the user:
Additional information
No response
The text was updated successfully, but these errors were encountered:
Describe the feature you'd like to request
In advanced options of items, categories, dynamic sections and in custom css part of board settings we add a new functionality.
Goal of that is to add css templates, that are defined somewhere centralized (for example on a repository). When you select a template you might be able to add some variable values. An example:
Template for border radius
Which would then result in more or less the following UI shown to the user:
Additional information
No response
The text was updated successfully, but these errors were encountered: