This project leverages the Rambox workspace browser JS code injection feature to load custom styles into enabled services.
==============================================================================================
Google Chat and Android SMS web app now include native dark mode. Therefore, this project is no longer needed.
==============================================================================================
Each supported service has its own folder where
custom.js
is the JS code to injectcustom.css
is the CSS code fetched by said JS.
These steps are common to every enabled service inside Rambox.
Roll over the supported enabled service name in the right pane and click the cog
Click the Advanced accordion menu
Copy the lines from the desired service custom.js
file and paste them into the Custom Code text box, and click Edit service
Click Yes and enjoy dark mode!
Sample result for Google Chat service :
Changes are persistent even if Rambox is reopened.
You can customize the Rambox window itself.
Using @redfellow lines from https://github.com/ramboxapp/community-edition/issues/1532
// smaller tabs
document.querySelector('.x-tab-bar').style.maxHeight="41px";
document.querySelector('.x-panel-body').style.top="41px";
document.querySelectorAll('.x-tab').forEach(function(el){el.style.padding='4px';});
// dark mode
document.querySelector('.x-tab-bar').style.backgroundColor='#20272D';
document.querySelectorAll('.x-tab').forEach(function(el){el.style.backgroundColor='#40474D';});
Press Enter to activate.
Result:
The downside is that you have to do it every time Rambox is reopened.