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:
1 parent
032435fbd4
commit
07bfaec24e
5 files changed
+145
-23
No files matched your search
@@ -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";
|
||||
}
|
||||
Reference in new issue
Block a user