Skip to content

Commit

Permalink
feat(Navbar): title text color
Browse files Browse the repository at this point in the history
  • Loading branch information
nolimits4web committed Aug 26, 2021
1 parent 21c5822 commit cb4ff65
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/react/components/Navbar.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ const Navbar = (props) => {
theme === 'ios'
? 'bg-bars-ios-light dark:bg-bars-ios-dark'
: 'bg-bars-material-light dark:bg-bars-material-dark',
title: 'text-black dark:text-white',
...colorsProp,
};

Expand Down Expand Up @@ -88,7 +89,7 @@ const Navbar = (props) => {
},
title: {
common: cls(
'text-black dark:text-white whitespace-nowrap leading-tight',
`${colors.title} whitespace-nowrap leading-tight`,
titleClassName
),
ios: 'font-semibold absolute top-1/2 left-1/2 transform -translate-x-1/2 -translate-y-1/2 text-center',
Expand Down

0 comments on commit cb4ff65

Please sign in to comment.