Skip to content

Commit 2c2462d

Browse files
refactor: update FavouriteStar and theme styles
1 parent 8477487 commit 2c2462d

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/renderer/src/components/Modules/NethVoice/BaseModule/FavouritesStar.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,8 @@ export const FavouriteStar = ({
2727
className={classNames(
2828
'text-base cursor-pointer',
2929
isContactFavourite
30-
? 'dark:text-textBlueDark text-textBlueLight'
31-
: 'dark:text-gray-400 text-gray-600 hover:dark:text-textBlueDark hover:text-textBlueLight',
30+
? 'dark:text-indigo-400 text-indigo-700'
31+
: 'dark:text-gray-400 text-gray-600 hover:dark:text-indigo-400 hover:text-indigo-700',
3232
)}
3333
icon={isContactFavourite ? FavouriteIcon : UnfavouriteIcon}
3434
onClick={() =>

src/renderer/src/theme/Theme.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -325,7 +325,7 @@ const theme = {
325325
},
326326
},
327327
star: {
328-
base: 'absolute -top-1 -right-1 block text-gray-500 dark:text-gray-400',
328+
base: 'absolute -top-1 -right-1 block dark:text-indigo-400 text-indigo-700',
329329
sizes: {
330330
extra_small: 'h-2 w-2',
331331
small: 'h-2 w-2',

0 commit comments

Comments
 (0)