Hey I saw its now discouraged to pass in a theme to the <PopoverNotificationCenter /> and we should pass in a style object to the <NovuProvider />.
Previously if I wanted to change the brand colour in front of unread notifications I could pass in a theme to the PopoverNotificationCenter like this
const theme: INovuThemePopoverProvider = {
light: {
notificationItem: {
unread: {
notificationItemBeforeBrandColor: "#3498db",
}
}
}
}
How would I do this using the new using the INotificationCenterStyles interface?
I had a quick play around but didn't get very far. Here's what I'm passing into the <NovuProvider>
const novuStyles: INotificationCenterStyles = {
header: {
title: {
fontSize: FontSize.NormalLarge,
fontWeight: 600,
},
markAsRead: {
fontSize: FontSize.Small,
},
},
notifications: {
listItem: {
unread: {
notificationItemBeforeBrandColor: "#3498db",
},
},
},
};
I can see the header part working but I missing something for the notification part. Thanks in advance