Skip to content

Commit

Permalink
feat(link): m3 colors
Browse files Browse the repository at this point in the history
  • Loading branch information
nolimits4web committed Aug 11, 2022
1 parent 6587619 commit dab006b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/react/components/Link.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,10 @@ const Link = forwardRef((props, ref) => {

const colors = LinkColors(colorsProp, dark);

const themeTextColor =
theme === 'material' ? colors.textMaterial : colors.textIos;
const textColor =
tabbar && !tabbarActive ? colors.tabbarInactive : colors.text;
tabbar && !tabbarActive ? colors.tabbarInactive : themeTextColor;
const tabbarState = tabbarActive ? 'active' : 'inactive';

const c = themeClasses(
Expand Down

0 comments on commit dab006b

Please sign in to comment.