feat(ui): improve embed button styles

This commit is contained in:
psychedelicious
2023-07-07 23:14:31 +10:00
parent 2cbe98b1b1
commit 78bcaec4da
3 changed files with 33 additions and 14 deletions

View File

@@ -1,6 +1,6 @@
import IAIIconButton from 'common/components/IAIIconButton';
import { memo } from 'react';
import { BiCode } from 'react-icons/bi';
import { FaCode } from 'react-icons/fa';
type Props = {
onClick: () => void;
@@ -13,15 +13,24 @@ const AddEmbeddingButton = (props: Props) => {
size="sm"
aria-label="Add Embedding"
tooltip="Add Embedding"
icon={<BiCode />}
icon={<FaCode />}
sx={{
p: 2,
color: 'base.700',
color: 'base.500',
_hover: {
color: 'base.550',
color: 'base.600',
},
_active: {
color: 'base.700',
},
_dark: {
color: 'base.500',
_hover: {
color: 'base.400',
},
_active: {
color: 'base.300',
},
},
}}
variant="link"