Closed martimalek closed 8 months ago
Adds a codemod to automatically migrate usages of SemanticColors and themeGet to getSemanticValue
SemanticColors
themeGet
getSemanticValue
SemanticColors example From
SemanticColors.button.primary.backgroundDisabled
to
getSemanticValue('background-element-disabled-default')
themeGet example From
themeGet('semanticColors.text.primary')
To
getSemanticValue('foreground-primary')
To ease the migration effort throughout our codebase
semantic-colors-to-new-theme
table.zebraStyles.backgroundSecondary
Closes #395
What
Adds a codemod to automatically migrate usages of
SemanticColors
andthemeGet
togetSemanticValue
SemanticColors
example Fromto
themeGet
example FromTo
Why
To ease the migration effort throughout our codebase
How
semantic-colors-to-new-theme
codemodtable.zebraStyles.backgroundSecondary
color, it is not used in any project