Skip to content

Commit 4927100

Browse files
author
Zaydek Michels-Gualtieri
committed
Added focus colors for the nav
1 parent cfcb1df commit 4927100

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

src/components/Nav/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ const MetaNavItem = ({ className, children }) => (
134134
// <Meta.Transition duration={75}>
135135
React.cloneElement(children, {
136136
className: trimSpaces(`${children.props.className}
137-
px-3 flex flex-row items-center text-gray-900 hover:text-gray-500
137+
px-3 flex flex-row items-center text-gray-900 hover:text-gray-500 active:text-gray-900
138138
${className}`),
139139
})
140140
// </Meta.Transition>

tailwind.config.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,7 @@ module.exports = {
9393
...defaultVariants,
9494
boxShadow: [...defaultVariants.boxShadow, "active"],
9595
opacity: [...defaultVariants.opacity, "active"],
96+
textColor: [...defaultVariants.textColor, "active"],
9697
},
9798
plugins: [
9899
require("@tailwindcss/ui"),

0 commit comments

Comments
 (0)