Skip to content

[Deprecated] patreon media buttons (DarkReader) by bintoss

Screenshot of [Deprecated] patreon media buttons (DarkReader)

Details

Authorbintoss

LicenseCC Zero

Categorypatreon.com

Created

Updated

Size690 B

Statistics

Learn how we calculate statistics in the FAQ.

Failed to fetch stats.

Description

Deprecated!
Instead, use DarkReader's Auto Detect to disable re-coloring Patreon's UI.

Notes

DarkReader's Dark Mode with default settings leaves Patreon post buttons as-is and makes the background color nearly identical to the colors used by the buttons' Fill property, var(--global-content-muted-default).
This userstyle overrides buttons' Fill property with var(--global-content-invertedMuted-default).

Source code

/* ==UserStyle==
@name         patreon.com - SVG button visibility for DarkReader dark mode
@version      20230512.03.29
@namespace    userstyles.world/user/bintoss
@description  DarkReader's Dark Mode with default settings sets the background color to be too similar to the buttons on Patreon posts. This userstyle makes the buttons lighter, but not white.
@author       bintoss
@license      CC Zero
==/UserStyle== */

@-moz-document domain("patreon.com") {
/* --global-content-invertedMuted-default is provided by */
@media (prefers-color-scheme: dark) {	
	button > div > svg {
		color-scheme: dark;
		fill: var(--global-content-invertedMuted-default) !important;
	}
}
}

Reviews

No reviews yet.