Telefonica / mistica-design

Mística Design System (only design)
https://brandfactory.telefonica.com/mistica
20 stars 4 forks source link

Split control tokens (Chips, input labels, textTabBar) #1733

Closed yceballost closed 1 month ago

yceballost commented 2 months ago

Create new two tokens:


Tasks

Discussed in https://github.com/Telefonica/mistica-design/discussions/1695

Originally posted by **HectorSancho** March 8, 2024 ### Goal Detach the control and activated control tokens and create two new tokens to better control the style in components such as chips and text fields. Tokens proposal: - textActivated - borderActivated ### Context In the current definition we do not have much control over the color of these tokens, as they have dependencies with other components. It especially impacts on dark modes ### Impact Improve color definition in dark modes and be able to detach color styles from chips and other components of control tokens ### Discussion Questions is it necessary? ### Additional considerations _No response_ ### Do you have a visual proposal? _No response_
aweell commented 1 month ago

In inputs I also changed the definition of the label text when the field has error to textError and the helperText when is over inverse to textErrorInverse

Update: https://github.com/Telefonica/mistica-web/pull/1125