Skip to content

Youtube Dark Mode - Windows 11 Fluent Theme by sobatambyar

Screenshot of Youtube Dark Mode - Windows 11 Fluent Theme

Details

Authorsobatambyar

LicenseGNU General Public License v3.0

Categoryyoutube, yt, ytp, dark mode, fluent, windows 11, tweak, tweaks, design, redesign

Created

Updated

Size94 kB

Statistics

Learn how we calculate statistics in the FAQ.

Failed to fetch stats.

Description

A CSS modification for Youtube, making it look like a Windows 11 Dark Mode Fluent style
Tested on Microsoft Edge (Chromium) and should work on most (if not all) other Chromium based browsers

You need Stylus extension to apply this theme | Download Here
Tampermonkey userscript version (not recommended due to old version & buggy) | Visit Page

If you find a bug, want to help me or want to suggest something, feel free to contact me via Telegram
I made this as a hobby. I'll fix it when I have free time. Please be patient
Don't forget to give me a review in down below

Hope you like it :)

- Okki Dwi | Sobat Ambyar | Nurhadi-

Notes

Version: 4.0

Features:

  • New UI design inspired by Windows 11 Fluent style
  • New subtitle appearance
  • Hide country code location
  • Hide buttons when the video is paused and show them again when hovered
  • Returns the video length in the thumbnail
  • New video watched badge
  • Show deleted messages in live chat
  • Displays the current playback time even for live streams
  • Rainbow live chat usernames

What's New:

  • Fix the white comment section background bug

Version History:

v4.0 Fix the white comment section background bug
v3.5 Blurry video settings popup (mica material design), subtitle redesign (due to feedback) and video's comment section redesign
v3.1 Bug fixes & subtitle redesign (returns to black background style | due to feedback)
v3.0 Adding new watched badge, show deleted messages in live chat, displays the current playback time even for live streams and rainbow live chat usernames features
v2.5 Improved subtitle appearance for easier viewing, redesign search box and returns voice typing button
v2.0 Fixed CSS code so that the theme was only applied to Youtube (I forgot to set it lol)
v1.5 Adding new subtitle appearance, hide country code location, hide buttons when the video is paused and show them again when hovered, returns the video length in the thumbnail features
v1.0 Initial release (basic Windows 11 Dark Mode Fluent style)

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 Dark Mode - Windows 11 Fluent Theme
@version      4.0
@namespace    https://t.me/okkidwi
@description  A CSS modification for Youtube, making it look like a Windows 11 Dark Mode Fluent style. Hope you like it
@author       sobatambyar
@license      GNU General Public License v3.0
@advanced dropdown test "Color of the background" {
	test "Dark" <<<EOT ytd-thumbnail-overlay-resume-playback-renderer {
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
} EOT;
}
@advanced dropdown crest "Position of WATCHED" {
crest2 "Middle" <<<EOT     
    top: 12%;
    left: 10%; EOT;
}
==/UserStyle== */
@-moz-document domain("youtube.com") {
	@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@500;600;700&display=swap');
       
    .paused-mode:not(.unstarted-mode) > div:not(.html5-video-container) {
        opacity: 0
    }
    .paused-mode:hover > div:not(.html5-video-container) {
        opacity: 1

    }
    .ytp-caption-segment {
	    --lt-color-gray-100: #f8f9fc;
	    --lt-color-gray-200: #f1f3f9;
	    --lt-color-gray-300: #dee3ed;
	    --lt-color-gray-400: #c2c9d6;
	    --lt-color-gray-500: #8f96a3;
	    --lt-color-gray-600: #5e636e;
	    --lt-color-gray-700: #2f3237;
	    --lt-color-gray-800: #1d1e20;
	    --lt-color-gray-900: #111213;
	    --lt-shadowDefault: 0 2px 6px -1px rgba(0, 0, 0, 0.16), 0 1px 4px -1px rgba(0, 0, 0, 0.04);
	    --lt-shadowActive: 0 0 8px -2px rgba(0, 0, 0, 0.1), 0 6px 20px -3px rgba(0, 0, 0, 0.2);
	    --lt-color-white: #fff !important;
	    --lt-color-black: #111213 !important;
	    --lt-color-transparent: rgba(255, 255, 255, 0) !important;
	    --lt-color-background-light: var(--lt-color-gray-100) !important;
	    --lt-color-background-default: var(--lt-color-gray-200) !important;
	    --lt-color-background-dark: var(--lt-color-gray-300) !important;
	    --lt-color-border-light: var(--lt-color-gray-200) !important;
	    --lt-color-border-default: var(--lt-color-gray-300) !important;
	    --lt-color-border-dark: var(--lt-color-gray-400) !important;
	    --lt-color-text-very-light: var(--lt-color-gray-500) !important;
	    --lt-color-text-light: var(--lt-color-gray-600) !important;
	    --lt-color-text-default: var(--lt-color-gray-700) !important;
	    --lt-color-text-dark: var(--lt-color-gray-800) !important;
	    --lt-color-overlay-default: #fff !important;
	    --lt-color-overlay-dark: #fff !important;
	    --lt-color-overlay-transparent: rgba(0, 0, 0, 0.1) !important;
	    --lt-shadow-website-overlay: 0 0 7px 0 rgba(0, 0, 0, 0.3) !important;
	    -webkit-font-smoothing: antialiased !important;
	    user-select: none !important;
	    direction: ltr !important;
	    white-space: nowrap !important;
	    text-align: center !important;
	    line-height: normal !important;
	    color: #ffffff !important;
	    text-shadow: 0px 0px 1px #000000, 0px 0px 2px #000000, 0px 0px 3px #000000, 0px 0px 5px #000000, 0px 0px 9px #000000, 0px 0px 20px #000000 !important;
	    font-family: Segoe UI, segoe-ui !important;
	    font-weight: normal !important;
    }
    .ytp-big-mode > div > div > span > span > span {
	    font-size: 32.5px !important;
    }
    .ytp-hide-info-bar > div > div > span > span > span {
	    font-size: 25.5px !important;
    }
    .ytp-caption-segment {
	    background: none !important;
    }
    .caption-window {
	    text-align: center !important;
	    width: 100% !important;
	    height: auto !important;
	    left: 0% !important;
	    margin-left: auto !important;
    }
    .ytp-big-mode > div > .caption-window, .ytp-hide-info-bar > div > .caption-window {
	    bottom: 6.9468% !important;
    }
    .ytp-big-mode.ytp-autohide-active > div > .caption-window, .ytp-autohide > div > .caption-window {
	    bottom: 10% !important;
    }
    
    .ytp-live .ytp-time-current {
        display: inline-block;
        margin-right: 15px;
    }
    
    #author-name.yt-live-chat-author-chip:not([type="moderator"]) {
        -webkit-animation: random 30s infinite ease-in-out!important;
        animation: random 30s infinite ease-in-out!important;
        box-sizing: border-box!important;
        border-radius: 2px!important;
        font-weight: 500!important;
    }
    @keyframes random {
        0% {
            color: #E91E63;
    }
        10% {
            color: #673AB7;
    }
        20% {
            color: #3F51B5;
    }
        30% {
            color: #00BCD4;
    }
        40% {
            color: #009688;
    }
        50% {
            color: #4CAF50;
    }
        60% {
            color: #8BC34a;
    }
        70% {
            color: #FFC107;
    }
        80% {
            color: #FF9800;
    }
        90% {
            color: #FF5722;
    }
        100% {
            color: #E91E63;
    }
}

    yt-live-chat-message-input-renderer {
        padding: 9px!important;
    }

    #avatar.yt-live-chat-message-input-renderer,
        yt-live-chat-author-chip.style-scope.yt-live-chat-message-input-renderer {
        display: none!important;
    }

    /*[[test]]*/

    ytd-thumbnail-overlay-time-status-renderer {
        z-index: 5;
        opacity: 1;
        transition: opacity 0.3s
    }
    ytd-thumbnail:hover ytd-thumbnail-overlay-time-status-renderer {
        opacity: 0;
    }
    
    #progress.ytd-thumbnail-overlay-resume-playback-renderer {
        background: no-repeat   url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAYgAAADcCAYAAABqKzZzAAAABmJLR0QA/wD/AP+gvaeTAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH4AsUFRILh/CIOwAAAB1pVFh0Q29tbWVudAAAAAAAQ3JlYXRlZCB3aXRoIEdJTVBkLmUHAAAgAElEQVR42u3deXxU9b3/8VdWQQiERVIXRECKCkUEWQUKhgYJICoIcaHu4lK36g/Rar2CWv3R3utthYpaVNBW22rYJLIvBsISBESRRUBkRzAQlkAScu4fZ765h7mQ+Z6ZSQjh/Xw85vHIwJz5fufMnPM538/5LiAiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIlKhYrQLRABIABoBHYHWQAfgQiAFONfzuu3AEWAt8C2wGlgBfA8c1m6Us913gOPzUTMK5f5gWdaIK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