= {};
@@ -42,8 +50,8 @@ const AllThemeColors = () => {
const semanticColorCategories = {
background: ['bgBasic', 'bgBrand', 'bgStatus'],
text: ['textBasic', 'textBrand', 'textStatus'],
- line: ['lineBasic', 'lineStatus'],
- 'button/box': ['buttonBoxPrimary', 'buttonBoxSecondary', 'buttonBoxTertiary'],
+ line: ['lineBasic', 'lineBrand', 'lineStatus'],
+ 'button/box': ['buttonFilledPrimary', 'buttonFilledSecondary', 'buttonOutlined'],
'button/text': ['buttonTextPrimary', 'buttonTextSecondary'],
'button/fab': ['buttonFabPrimary', 'buttonFabSecondary'],
'button/radio': ['buttonRadio'],
@@ -51,6 +59,8 @@ const AllThemeColors = () => {
checkbox: ['checkbox'],
chip: ['chip'],
pagination: ['paginationBrand', 'paginationBasic'],
+ switch: ['switch'],
+ snackbar: ['snackbar'],
};
return (
@@ -63,17 +73,7 @@ const AllThemeColors = () => {
return (
{section}
-
- {colors.map((color) => {
- return (
-
- );
- })}
-
+ {children && children({ colors })}