Greasy Fork is available in English.

Universal Dark Theme Maker

Simple Dark Theme style for any website which you can configure per-site

Инсталирай този скрипт?
Препоръчано от автора

Може да харесате и Center Image & Video.

Инсталирай този скрипт
Автор
Owyn
Инсталации дневно
5
Инсталации общо
3 855
Рейтинг
8 0 0
Версия
1.34
Създаден
03.03.2020
Обновен
15.03.2024
Съвместимост
Съвместим с Firefox Съвместим с Chrome
Лиценз
Няма
Работи на
Всички сайтове

Universal Dark Theme Maker

Browser userscript (extension) to apply a simple Dark Theme style for any website which you can configure per-site.


Or a developer tool to create dark themes for websites using custom css and js in per-site script settings.

One click to turn one dark theme style for a website - (hotkey `T` while menu is open)




Configuration (per-site & global for colors)




Supported browsers:



Supported userscript managers:



Important Notes:

Userscript works well on simplemistic website designs with little color gradients and lack of shades used, because it makes all backgrounds into one background color and all text colors into one text color.

Moreover not all website designs are competently done and might (and likely would) contain broken elements which would require hammering them out with your CSS (web style programming) knowledge. Or you could just look for a ready-to-use userstyle for that specific website on userstyles.org or in google with "website.com dark theme script" search and not bother.

There is no such thing as magic


However simple one-click dark theme applicator (or a handy tool to craft dark themes - I noticed I was using the same CSS dark style for quite a lot of websites and decided to make this universal one instead) would be enough in many cases.

Is some website broken ? (especially if you use high-contrast windows theme) - no problem, just one click and:


borkedunborked

how to bring back original color to an element (exclude css elements): - Click inspect element on it and



how-to-bring-back-color

see, inspected element there has `bell` class, so you just enter it as `.bell` (class "bell") into excludes list of the script config - OR \ AND - you could try enabling "keep background images" option for that website before and see if it'd unhide what you want (or even more than that so it'd look ugly :D - test yourself)

other tips

- to use just custom CSS \ JS on a site without changing any colors - just add `*` (asterix) into excludes to exclude literally everything

- to get the green dark theme you have seen on the screen above - just use those color codes shown on the screenshot above :-)

- or use a cool golden one from this old screenshot below:



Just make sure there is enough contrast between the text and background colors,
it should be at least 7:1 to read normal-sized text comfortably according to WCAG Level AAA standard, use this online checker: https://webaim.org/resources/contrastchecker/