Edit and actions updates
This commit is contained in:
parent
0997e449bb
commit
f87bcc43a5
30 changed files with 759 additions and 139 deletions
|
|
@ -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}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue