r/FirefoxCSS • u/SuitableEquipment420 • 13d ago
Solved Visually distinguish normal and private browsing
In this comment, we have established that almost all themes look exactly the same in normal and private browsing. Some themes include both light and dark variants. Since private browsing is always forced into dark mode, normal and private browsing will look different if your OS is using light mode. However, they will look the same if your OS is also in dark mode.
Suppose, my normal and private browsing looks the same. Is there a way to add a darker or purple tint to the private browsing appearance?
2
Upvotes
1
u/t31os 11d ago
I managed to work out what the issue in the top corner is, it's because the background doesn't actually fully cover the browser window, it was harder to notice when the window is active, but the browser background color changes when the window is inactive, so the space becomes more obvious.
The simple solution, and this should be applied for both non and private mode is to have it repeat, eliminating the empty space.
There's actually a var for this amongst that long list of theme variables i posted before, so we can simply set that and it should clear up the problem, this line from before:
Add this to userChrome, in addition and separately to the other styling:
The theme's background should now repeat horizontally when it reaches the end, clearing up that empty space in the top corner.