Edit and actions updates

This commit is contained in:
Darren Clarke 2024-04-25 12:31:03 +02:00
parent 0997e449bb
commit f87bcc43a5
30 changed files with 759 additions and 139 deletions

View file

@ -19,6 +19,12 @@ const buttonColors = {
destructive: colors.brightRed,
};
const buttonHighlightColors = {
primary: colors.darkBlue,
secondary: colors.highlightGray,
destructive: colors.mediumRed,
};
export const InternalButton: FC<InternalButtonProps> = ({
text,
color,
@ -41,6 +47,9 @@ export const InternalButton: FC<InternalButtonProps> = ({
margin: 0,
whiteSpace: "nowrap",
textTransform: "none",
"&:hover": {
backgroundColor: buttonHighlightColors[kind ?? "secondary"],
},
}}
>
{text}