Skip to content

New Yorker Simple Dark Mode by Nick2bad4u

Mirrored from https://github.com/Nick2bad4u/UserStyles/raw/refs/heads/main/NewYorkerDarkMode.user.css

Screenshot of New Yorker Simple Dark Mode

Details

AuthorNick2bad4u

LicenseUnLicense

Categorynewyorker

Created

Updated

Size607 B

Statistics

Learn how we calculate statistics in the FAQ.

Failed to fetch stats.

Description

Dark theme for New Yorker

Notes

Userstyle doesn't have notes.

Source code

/* ==UserStyle==
@name         New Yorker Simple Dark Mode
@version      20241106.04.29
@namespace    typpi.online
@description  Dark theme for New Yorker
@author       Nick2bad4u
@license      UnLicense
==/UserStyle== */

@-moz-document domain("newyorker.com") {
/* Invert colors except images and videos */
:is(html:not([stylus-iframe]), img, svg, video):not(z#z.z[z]) {
    filter: invert(1) hue-rotate(180deg) !important;
}

/* Ensure background images are not inverted */
:is(html:not([stylus-iframe]), img, svg, video):not(z#z.z[z]) {
    background-color: inherit !important;
}

}

Reviews

No reviews yet.