1
0
mirror of https://github.com/XFox111/TabsAsideExtension.git synced 2026-04-22 07:58:01 +03:00
Files
TabsAsideExtension/hooks/useDangerStyles.ts
T
xfox111 2bd9337e63 Major 3.0 (#118)
Co-authored-by: Maison da Silva <maisonmdsgreen@hotmail.com>
2025-07-30 15:02:26 +03:00

43 lines
808 B
TypeScript

import { makeStyles, tokens } from "@fluentui/react-components";
export const useDangerStyles = makeStyles({
menuItem:
{
color: tokens.colorStatusDangerForeground1 + " !important",
"& .fui-MenuItem__icon":
{
color: tokens.colorStatusDangerForeground1 + " !important"
}
},
buttonPrimary:
{
backgroundColor: tokens.colorStatusDangerBackground3,
color: tokens.colorNeutralForegroundStaticInverted,
"&:hover":
{
backgroundColor: tokens.colorStatusDangerBackground3Hover,
"&:active":
{
backgroundColor: tokens.colorStatusDangerBackground3Pressed
}
}
},
buttonSubtle:
{
color: tokens.colorStatusDangerForeground1,
"&:hover":
{
color: tokens.colorStatusDangerForeground2,
"&:active":
{
color: tokens.colorStatusDangerForeground3
}
}
}
});