vladimiry / ElectronMail

Unofficial ProtonMail Desktop App
GNU General Public License v3.0
1.5k stars 97 forks source link

Custom CSS Themes No Longer Work #396

Closed ghost closed 3 years ago

ghost commented 3 years ago

I just noticed today that my custom CSS theme I had been using no longer works. It doesn't seem like the custom CSS field does anything anymore. Is there a workaround for this?

ElectronMail: v4.12.1 Electron: 13.0.0-beta.17 Chromium: 91.0.4448.0 Node: 14.16.0 V8: 9.1.127-electron.0

vladimiry commented 3 years ago

It doesn't seem like the custom CSS field does anything anymore.

It does. You can apply the following rules to test that applying is still functional:

/* colorizing proton logo in green-like color (top-left corner) */
.logo-link .logo g {
  fill: #1BA489;
}

Apparently @protonmail has significantly changed styling/CSS-selectors in their apps in some of the recent updates. So you likely need to update your theme.

vladimiry commented 3 years ago

Closing as invalid.