I'm using Apps Script to create an add-on for extending Gmail. I'm using a black & white icon and it looks great when the user's Gmail UI is in light mode, but becomes invisible in dark mode. Is there a way to use two different logoUrl
's, one for each UI mode? I haven't found any documentation or example that points to a solution. The Gmail section of my manifest appsscript.json
is:
"gmail": {
"name": "MailReceipts",
"logoUrl": "https://www.gstatic.com/images/icons/material/system/1x/receipt_long_black_24dp.png",
"contextualTriggers": [
{
"unconditional": {},
"onTriggerFunction": "getContextualAddOn"
}
],
"primaryColor": "#3d8c5b",
"secondaryColor": "#54bf7d"
}