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
Define a new registerFilter method in Style Dictionary (similar to what we have with registerFormat, registerTemplate, registerAction) so that we can do:
"filter": "name_of_the_filter"
(in the same way as we do "template": "name_of_template" or "format": "name_of_format").
Then in the filterProperties function declaration we can easily detect if the filter is a "custom" filter by the fact that is a string.
This creates consistency across how we define our configuration (and customizations of it).
The text was updated successfully, but these errors were encountered:
From #199:
Define a new registerFilter method in Style Dictionary (similar to what we have with registerFormat, registerTemplate, registerAction) so that we can do:
"filter": "name_of_the_filter"
(in the same way as we do "template": "name_of_template" or "format": "name_of_format").
Then in the filterProperties function declaration we can easily detect if the filter is a "custom" filter by the fact that is a string.
This creates consistency across how we define our configuration (and customizations of it).
The text was updated successfully, but these errors were encountered: