🌐 Appearance Colors

This commit is contained in:
Tagaishi
2023-08-13 23:11:56 +02:00
parent d51bd43941
commit 6ccc591bbf
2 changed files with 4 additions and 4 deletions

View File

@@ -1,4 +1,6 @@
{ {
"colors": "Colors", "colors": "Colors",
"suffix": "{{color}} color" "suffix": "{{color}} color",
"primary": "Primary",
"secondary": "Secondary"
} }

View File

@@ -99,9 +99,7 @@ export function ColorSelector({ type, defaultValue }: ColorControlProps) {
</Popover.Dropdown> </Popover.Dropdown>
</Popover> </Popover>
<Text> <Text>
{t('suffix', { {t('suffix', {color: t(type)})}
color: type[0].toUpperCase() + type.slice(1),
})}
</Text> </Text>
</Group> </Group>
); );