Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save Nick2bad4u/f404bf88b85e2cc5ed3246b77a531d76 to your computer and use it in GitHub Desktop.
Save Nick2bad4u/f404bf88b85e2cc5ed3246b77a531d76 to your computer and use it in GitHub Desktop.
/* ==UserStyle==
@name Streams Black Night Mode
@version 20241116.05.46
@namespace typpi.online
@description Black Mode for your streams
@homepageURL https://github.com/Nick2bad4u/UserStyles
@author Nick2bad4u
@license UnLicense
==/UserStyle== */
@-moz-document domain("streameast.gd"), domain("1stream.eu"), domain("methstreamer.com"), domain("chatango.com"), domain("methstreams.com") {
/* General Inversion for Light Backgrounds */
*,
a {
filter: invert(1) hue-rotate(180deg) !important;
/* Invert and adjust hue */
}
/* Exclude Dark Mode Elements */
*:not([style*='background-color: #121212']):not([style*='background-color: black']) {
filter: none !important;
/* Reset filter for dark backgrounds */
}
/* Specific Exclusions */
body,
#primaryNav,
#primaryNav > div > div.primary-links > ul {
background-color: #000 !important;
/* Ensure body stays dark */
}
.dark-mode,
[class*='dark'],
[style*='background-color: #121212'],
[style*='background-color: black'] {
filter: none !important;
/* Preserve dark mode elements */
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment