fix: inverted logos and new logo for cal video (#11633)

* new logo for cal video

* fixed cal video and other inverted icons

* Discard changes to apps/web/components/eventtype/EventAdvancedTab.tsx

* moved function to lib
This commit is contained in:
Peer Richelsen authored and GitHub committed 2023-10-02 11:36:37 +01:00
1 parent 032435fbd4
commit 07bfaec24e
5 files changed
+145 -23

No files matched your search

+6
View File
@@ -0,0 +1,6 @@
// we want to invert all logos that contain -dark in their name
// we don't want to invert logos that are not coming from the app-store
export default function invertLogoOnDark(url?: string) {
return (url?.includes("-dark") || !url?.startsWith("/app-store")) && "dark:invert";
}