🌐 Appearance Colors
This commit is contained in:
@@ -1,4 +1,6 @@
|
|||||||
{
|
{
|
||||||
"colors": "Colors",
|
"colors": "Colors",
|
||||||
"suffix": "{{color}} color"
|
"suffix": "{{color}} color",
|
||||||
|
"primary": "Primary",
|
||||||
|
"secondary": "Secondary"
|
||||||
}
|
}
|
||||||
@@ -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>
|
||||||
);
|
);
|
||||||
|
|||||||
Reference in New Issue
Block a user