Background color in dark theme
-
I use dark theme and want black background color in browser.
It's ok, but when i view images - background color is white:
Where i can change this setting?
-
that looks like it's in the website and not the browser.
-
I'm guessing OP's point is that when he right-clicks on an image an chooses "Open image in new tab", the rest of the page is white.
-
@monkey_wrench_gang898 No, it's with any image. Try to open any image by "Open image in new tab"
-
@federk would you be willing to install the Stylish extension?
It's in the Chrome store: https://chrome.google.com/webstore/detail/stylish/fjnbnpbmkenffdnngjfgmeleoegfcffe
With it you can make styles for specific pages. For example, the following code will make the background of images (opened by right-clicking an image and choosing "open in new tab") green:
* {background: green !important}
Obviously, you will choose a more pleasing color.
The key here is to use a regular expression to apply only to certain URLs. Stylish lets you do this through a GUI.
In this case, the regex I used is this:
https://(.*\.png$)
You can make the regex wider to include other image formats as well as http instead of https.
https?://(.*\.(png|jpg|jpeg|gif|svg)$)
-
@aesouza It's help, thanx.
Also is it possible to change default browser backgroud? When page loading - it's white by default. With slow-connection - i see white page few seconds before site loading.
-
@federk said in Background color in dark theme:
@aesouza It's help, thanx.
Also is it possible to change default browser backgroud? When page loading - it's white by default. With slow-connection - i see white page few seconds before site loading.
Sadly, I haven't found a way to do that other than remembering to use Ctrl+click on links to open them in a new background tab. That way, I avoid seeing the flash even though it still happens!
I also have set a local file as my home page and new tab page. Both of those obviously load quickly.