YouTube - PitchBlack dark/black theme
by sprince0031
Imported from https://raw.githubusercontent.com/uso-archive/data/flomaster/data/usercss/165645.user.css
Mirrored from https://github.com/sprince0031/PitchBlack-UserStyle-themes/raw/master/YouTube/YouTube.user.css
Details
Author sprince0031
License CC-BY-SA-4.0
Category youtube
Created 2 years, 1 month ago
Updated 3 weeks, 4 days ago
Code size 41 kB
Code checksum 5b547834
Statistics
Learn how we calculate statistics in the FAQ .
Failed to fetch stats.
Description
TURN ON DARK MODE IN YOUTUBE BEFORE APPLYING THIS THEME
Inspired by the legendary PitchBlack Substratum theme for Android, this is a PitchBlack theme for YouTube. In true PitchBlack fashion, you get to pick the accent color of your choice! A list of all PitchBlack accents and background variants are available below along with their hexcodes. Do note that you can pick any color you want from the color picker but these are the official colors. Enjoy!
Checkout my latest PitchBlack theme for Apple Music here: https://userstyles.world/style/9077/pitchblack-apple-music-edition
Notes
Accent colors: | Background colors:
---------------------------------------------------------+--------------------------------------------------------------------------------------
DarkRed - #D3002A | PitchBlack - #000000
NetflixRed - #DE1400 | DarkGrey - #151515
CandyRed - #FF1744 | MatteBlack - #131318
PaleRed - #BA2A3D | Andromeda - #18191C
Ocean - #38AEED | MaterialDark - #29262B
PixelBlue - #5E97F6 | Neptune - #181F3D
DarkGrey - #878787 | Neptune-Dark - #0C071D
Lime - #B2CC22 | Neptune-Purple - #28243A
Spotify - #23CF5F | Hybrid - #424242
Yellow - #EF9F00 | Night - #20212A
Fuchsia - #C2184F |
Sky - #22B2CC | Special Chocolate Theme:
Aurora - #9A478D |
PaleBlue - #A1B6ED | DarkChocolate (accent color) - # 6D4C41,
Emerald - #009688 | BitterSweet (background color) - #110B09
Indigo - #3F51B5 |
Orange - #EF6C00 |
Watermelon - #F05361 |
LightGreen - #A0D600 |
Mint - #36E2B2 | NOTE:
Green - #8BC34A | Choose one accent color from
DarkOrange - #FF3A25 | the left and one background
GlueBlue - #31E8F8 | color from the right to get a theme.
DreamPink - #ED9EC4 |
UltraViolet - #7960B2 |
Cyan - #0097A7 |
DarkBlue - #008DF5 |
Purple - #6A4DFF |
Gold - #DAA520 |
Amber - #FF8F00 |
NeonPink - #E20074 |
Sunrise - #AD2C3D |
NightBlue - #48659B |
---------------------------------------------------------+--------------------------------------------------------------------------------------
Changelog:
You can find the changelogs for this theme here
Issues:
For issues in the theme, kindly let me know by creating a new issue in GitHub or email me at siddharthprince31@gmail.com . I'll do my best to fix them as soon as I can.
Source code
Source code has over 10K characters, so we truncated it. You can inspect the full source code on install link.
/* ==UserStyle==
@name YouTube - PitchBlack dark/black theme
@namespace USO Archive
@author sprince0031
@description `<p bgcolor="#000" color="#fff"><u><b>*TURN ON DARK MODE IN YOUTUBE BEFORE APPLYING THIS THEME*</b></u></p>Inspired by the legendary PitchBlack Substratum theme for Android, this is a PitchBlack theme for YouTube. In true PitchBlack fashion, you get to pick the accent color of your choice! A list of all PitchBlack accents and background variants are available below along with their hexcodes. Do note that you can pick any color you want from the color picker but these are the official colors. Enjoy!*P.S Pssst..!! Do rate and share the theme if you liked it. :D`
@version 20250410.2.3
@homepageURL https://github.com/sprince0031/PitchBlack-UserStyle-themes
@supportURL https://github.com/sprince0031/PitchBlack-UserStyle-themes/issues
@license CC-BY-SA-4.0
@preprocessor uso
@advanced color bg "Background Color" #000000
@advanced color color "Accent Color" #ff0000
@advanced color tpac "Transparency Effects (Accent)" #ff000075
@advanced color tpbg "Transparency Effects (background)" #000000c7
@advanced dropdown transparency-toggle "Transparency Effects" {
transparency-enabled "Enabled*" <<<EOT :root {
--yt-spec-raised-background: none !important;
--yt-spec-menu-background: none !important;
--paper-listbox-background-color: /*[[tpbg]]*\/ !important;
}
ytd-masthead[darker-dark-theme] #background.ytd-masthead, #background.ytd-masthead {
background: none !important;
}
div#masthead-container {
background-color: /*[[tpbg]]*\/ !important;
backdrop-filter: blur(10px) saturate(100%) !important;
}
ytd-feed-filter-chip-bar-renderer #chips-wrapper.ytd-feed-filter-chip-bar-renderer {
background-color: /*[[tpbg]]*\/ !important;
backdrop-filter: blur(10px) saturate(100%) !important;
}
ytd-voice-search-dialog-renderer[dialog] {
background-color: /*[[tpbg]]*\/ !important;
backdrop-filter: blur(10px) saturate(100%) !important;
}
#microphone-levels.ytd-voice-search-dialog-renderer {
background-color: /*[[tpac]]*\/;
}
.ytSearchboxComponentInputBox {
background: none;
}
.ytSearchboxComponentSuggestionsContainer {
background: /*[[tpbg]]*\/;
backdrop-filter: blur(50px) saturate(100%) !important;
}
.ytd-popup-container {
backdrop-filter: blur(50px) saturate(150%) !important;#3b3f60
}
.sbdd_b {
background: /*[[tpbg]]*\/ !important;
backdrop-filter: blur(10px) saturate(100%) !important;
}
.sbdd_c {
display: none !important;
}
#emojis.ytd-commentbox {
background: /*[[tpbg]]*\/ !important;
backdrop-filter: blur(10px) saturate(100%) !important;
}
#card.ytd-miniplayer, ytd-miniplayer {
background-color: none !important;
backdrop-filter: blur(10px) saturate(100%) !important;
}
#inner.yt-live-chat-dialog-renderer, #overlay-dialog.yt-live-chat-renderer>*.yt-live-chat-renderer {
background-color: /*[[tpbg]]*\/;
backdrop-filter: blur(35px) saturate(100%);
}
.ytd-miniplayer #info-bar {
background: /*[[tpbg]]*\/ !important;
} EOT;
transparency-disabled "Disabled" <<<EOT :root {
--yt-spec-raised-background: /*[[bg]]*\/ !important;
--yt-spec-menu-background: /*[[bg]]*\/ !important;
}
div#masthead-container {
background-color: /*[[bg]]*\/ !important;
}
ytd-feed-filter-chip-bar-renderer #chips-wrapper.ytd-feed-filter-chip-bar-renderer {
background-color: /*[[bg]]*\/ !important;
}
#microphone-levels.ytd-voice-search-dialog-renderer {
background-color: /*[[color]]*\/;
}
.ytSearchboxComponentSuggestionsContainer {
background: /*[[bg]]*\/;
}
.ytd-popup-container {
background: /*[[bg]]*\/ !important;
}
.sbdd_b {
background-color: /*[[bg]]*\/ !important;
}
#inner.yt-live-chat-dialog-renderer, #overlay-dialog.yt-live-chat-renderer>*.yt-live-chat-renderer {
background-color: /*[[bg]]*\/;
}
.ytd-miniplayer #info-bar {
background: /*[[bg]]*\/ !important;
} EOT;
}
==/UserStyle== */
@-moz-document regexp("https?://(www)?.?youtube.com.*") {
:root {
--yt-spec-brand-button-background: /*[[color]]*/
!important;
--yt-main-app-background-tmp: /*[[bg]]*/
!important;
--yt-spec-general-background-a: /*[[bg]]*/
!important;
--yt-spec-general-background-b: /*[[bg]]*/
!important;
--yt-subscribe-button-text-color: /*[[bg]]*/
!important;
--yt-spec-icon-active-button-link: /*[[color]]*/
!important;
--yt-guide-entry-hover-background-color: /*[[color]]*/
!important;
--yt-notification-button-bubble_-_color: /*[[bg]]*/
!important;
--yt-spec-themed-blue: /*[[color]]*/
!important;
--yt-spec-call-to-action: /*[[color]]*/
!important;
/*
--ytd-searchbox-legacy-border-color: /*[[color]] !important;
*/
--ytd-searchbox-legacy-button-hover-color: /*[[color]]*/
!important;
--paper-spinner-color: /*[[color]]*/;
--paper-input-container-focus-color: /*[[color]]*/
!important;
--yt-spec-icon-active-other: /*[[color]]*/
!important;
--yt-spec-text-primary-inverse: /*[[bg]]*/
!important;
--yt-spec-badge-chip-background: /*[[bg]]*/
!important;
/*
--yt-spec-text-primary: /*[[color]] !important;
--yt-spec-10-percent-layer: /*[[color]] !important;
*/
--yt-spec-brand-background-solid: /*[[bg]]*/
!important;
--ytd-author-comment-badge-icon-color: /*[[bg]]*/
!important;
--ytd-author-comment-badge-background-color: /*[[color]]*/
!important;
--ytd-author-comment-badge-name-color: /*[[bg]]*/
!important;
/* Live chat settings */
--yt-live-chat-header-background-color: /*[[bg]]*/
!important;
--yt-live-chat-background-color: /*[[bg]]*/
!important;
--yt-live-chat-vem-background-color: /*[[bg]]*/
!important;
--yt-live-chat-action-panel-background-color: /*[[bg]]*/
!important;
--yt-spec-suggested-action: transparent !important;
--paper-tabs-selection-bar-color: /*[[color]]*/
!important;
--yt-spec-static-overlay-background-brand: /*[[color]]*/ !important;
}
html,
body {
background: /*[[bg]]*/
!important;
}
ytd-app {
background: /*[[bg]]*/;
}
h1,
h2,
h3,
h4,
h5,
h6 {
color: /*[[color]]*/
!important;
}
h4.macro-markers.style-scope.ytd-macro-markers-list-item-renderer {
color: var(--yt-spec-text-primary) !important;
}
#header.ytd-engagement-panel-title-header-renderer {
border-bottom: solid 1px/*[[color]]*/;
}
a {
color: /*[[color]]*/
!important;
}
/*[[transparency-toggle]]*/
/* YouTube main logo */
yt-icon#logo-icon svg g g:nth-child(1) path:nth-child(1),
yt-icon#logo-icon svg g:nth-child(1) path:nth-child(1) {
fill: /*[[color]]*/;
}
yt-icon#logo-icon svg g g:nth-child(1) path:nth-child(2),
yt-icon#logo-icon svg g:nth-child(1) path:nth-child(2) {
fill: /*[[bg]]*/;
}
yt-icon#logo-icon svg g g#youtube-paths path {
fill: white;
}
yt-icon#logo-icon svg g g#youtube-red-paths path {
fill: white;
}
/* Search box */
.ytSearchboxComponentInputBoxHasFocus {
border-color: /*[[color]]*/ !important;
}
/* Search button */
.ytSearchboxComponentSearchButton:hover svg {
fill: /*[[bg]]*/;
}
.ytSearchboxComponentSearchButton:hover {
background: /*[[color]]*/;
}
/* voice search */
#voice-search-button yt-icon-shape svg,
#voice-search-button yt-icon svg {
color: /*[[color]]*/
!important;
}
#voice-search-button {
background: none !important;
}
#voice-search-button:hover yt-icon-shape svg,
#voice-search-button:hover yt-icon svg {
color: /*[[bg]]*/
!important;
}
#voice-search-button:hover {
background: /*[[color]]*/
!important;
}
#microphone-circle.ytd-voice-search-dialog-renderer,
#microphone.ytd-voice-search-dialog-renderer[state=try-again] #microphone-circle.ytd-voice-search-dialog-renderer {
background-color: /*[[color]]*/
!important;
}
#microphone-circle.ytd-voice-search-dialog-renderer yt-icon-shape svg,
#microphone.ytd-voice-search-dialog-renderer[state=try-again] #microphone-circle.ytd-voice-search-dialog-renderer yt-icon-shape svg {
color: /*[[bg]]*/
!important;
}
#microphone-circle.ytd-voice-search-dialog-renderer yt-icon svg,
#microphone.ytd-voice-search-dialog-renderer[state=try-again] #microphone-circle.ytd-voice-search-dialog-renderer yt-icon svg {
color: /*[[bg]]*/
!important;
}
.ytp-ce-expanding-overlay-background {
background-color: /*[[bg]]*/;
}
.ytp-ce-website-title {
color: var(--yt-spec-text-primary);
}
#video-title,
.ytd-video-primary-info-renderer {
color: var(--yt-spec-text-primary) !important;
}
#video-title:hover {
color: /*[[color]]*/
!important;
}
#above-the-fold h1 yt-formatted-string {
color: var(--yt-spec-text-primary) !important;
}
/* Shorts */
.progress-bar-played.ytd-progress-bar-line {
background-color: /*[[color]]*/;
}
h2.title .ytd-reel-player-header-renderer {
color: #eee !important;
}
.ytd-reel-player-header-renderer yt-button-shape.style-scope.ytd-subscribe-button-renderer button {
background-color: /*[[bg]]*/;
color: /*[[color]]*/;
border: solid 1px/*[[color]]*/;
}
/* Feed category suggestions */
ytd-feed-filter-chip-bar-renderer svg,
...