fix: dark mode icons for Riverside and Sirius Video (#11107)
Co-authored-by: Peer Richelsen <[email protected]>
This commit is contained in:
1 parent
1a85f336c5
commit
6fd34af6f6
5 files changed
+21
-9
No files matched your search
@@ -22,9 +22,9 @@ function RenderIcon({
|
||||
<img
|
||||
src={eventLocationType.iconUrl}
|
||||
className={classNames(
|
||||
"me-[10px] h-4 w-4 opacity-70 dark:opacity-100",
|
||||
!eventLocationType.iconUrl?.startsWith("/app-store") ? "dark:invert-[.65]" : "",
|
||||
!eventLocationType.iconUrl?.startsWith("/app-store") && isTooltip && "invert"
|
||||
"me-[10px] h-4 w-4 opacity-70 dark:opacity-100",
|
||||
eventLocationType.iconUrl?.includes("-dark") ? "dark:invert-[.65]" : "",
|
||||
eventLocationType.iconUrl?.includes("-dark") && isTooltip && "invert"
|
||||
)}
|
||||
alt={`${eventLocationType.label} icon`}
|
||||
/>
|
||||
|
||||
Reference in new issue
Block a user