Skip to content

Commit 77dd7de

Browse files
authored
fix(react-link): update inverted link styles to use neutral color tokens (#34955)
1 parent 3e65d7d commit 77dd7de

File tree

2 files changed

+10
-3
lines changed

2 files changed

+10
-3
lines changed
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"type": "patch",
3+
"comment": "fix: update inverted link styles to use neutral color tokens",
4+
"packageName": "@fluentui/react-link",
5+
"email": "dmytrokirpa@microsoft.com",
6+
"dependentChangeType": "patch"
7+
}

packages/react-components/react-link/library/src/components/Link/useLinkStyles.styles.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -91,12 +91,12 @@ const useStyles = makeStyles({
9191
},
9292

9393
inverted: {
94-
color: tokens.colorBrandForegroundInverted,
94+
color: tokens.colorNeutralForegroundInvertedLink,
9595
':hover': {
96-
color: tokens.colorBrandForegroundInvertedHover,
96+
color: tokens.colorNeutralForegroundInvertedLinkHover,
9797
},
9898
':active': {
99-
color: tokens.colorBrandForegroundInvertedPressed,
99+
color: tokens.colorNeutralForegroundInvertedLinkPressed,
100100
},
101101
},
102102
});

0 commit comments

Comments
 (0)