Alias transforms are a powerful feature that allows you to modify the value of an alias token by applying modifier functions to the value of the referenced token. This feature is available for color, dimension, and number token types.
With alias transforms, you can perform various operations on the value of the referenced token to dynamically generate new values for your alias tokens.
For example, for numeric types, you can apply mathematical operations such as division, multiplication, addition, or subtraction using raw values or values from other tokens. For color tokens, you can apply tinting or shading functions, adjust saturation, or brighten/darken the referenced token's color. You can also apply multiple transforms to a single alias token, allowing for complex modifications to be made to the value of the referenced token.
Alias transforms provide you with powerful customization options to fine-tune your design tokens and ensure they meet your specific design system requirements.