This only works if Wire was built with disabled ASAR packaging (see #335 and #147). Right now only Linux app is being built in this way, so if you are on Linux, you can proceed with the steps below, if not — adapt Gruntfile.js
, set asar: false
and compile Wire from sources.
Let's suppose Wire is installed in $INSTALLDIR
, on my Linux it is /usr/lib/wire-desktop/
.
-
Create a new file
$INSTALLDIR/css/dark-theme.css
with the contents below. -
Open in text editor
$INSTALLDIR/dist/main.js
, and after line 321:case 'webview':
add this:contents.on('dom-ready', () => {
contents.insertCSS(fs.readFileSync(path.join(APP_PATH, 'css', 'dark-theme.css'), 'utf8'))