Skip to content

Sorci3/youtube-theme

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Green YouTube Theme — Change YouTube's Red to Green (Tampermonkey Userscript)

A Tampermonkey userscript that changes the YouTube red color to green. It recolors the YouTube logo, the progress bar, the Subscribe/Like buttons, the "LIVE" badges and the notification dot, and adds clean green borders around the video player, the Shorts player and the search bar.

Green YouTube Theme preview — green logo, progress bar and borders

Why

YouTube's interface is full of red — the logo, the video progress bar, the watched-progress bar on thumbnails, the live indicators. YouTube gives you a dark mode, but no way to change the accent color. Browser dark-mode extensions don't touch the red either.

This userscript replaces all of YouTube's red with a green gradient using pure CSS injected by Tampermonkey, so the change is instant, reversible (just toggle the script off), and survives YouTube's updates for as long as the class names hold.

Features

  • Recolor the YouTube logo green (main logo + Shorts logo) using an SVG gradient
  • Green YouTube progress bar in the player, including the scrubber/playhead dot
  • Green Shorts progress bar and playhead
  • Green page loading bar at the top
  • Green "already watched" bar on thumbnails / recommendations
  • Green LIVE badges, avatar live ring, and green notification badge
  • Green click ripple on every button, and like/dislike icons turn green while pressed
  • Green borders around the video player (auto-hidden in fullscreen), the Shorts player, the search bar, the mic and search buttons, and all action buttons
  • One-variable customization — change the whole theme color in a single line

Installation

  1. Install the Tampermonkey browser extension (works on Chrome, Firefox, Edge, Brave, Opera).
  2. On Chrome, enable Developer mode in chrome://extensions — Tampermonkey userscripts won't run without it.
  3. Open the Tampermonkey dashboard → Create a new script.
  4. Delete the template, paste the full contents of src/youtube-theme.user.js, then press Ctrl + S to save.
  5. Reload YouTube. Done.

Usage & Customization

All the styling is controlled by three variables at the top of src/youtube-theme.user.js:

Variable What it controls
C1, C2 The two gradient colors (dark → bright). Set both to the same value for a solid color.
GRAD Gradient direction (90deg = left→right, 0deg = bottom→top, 45deg = diagonal).
BORDER Thickness of every green border (e.g. 1px, 2px).

Examples

Make it solid green instead of a gradient:

const C1 = '#0cb309', C2 = '#0cb309';

Use a different color (e.g. purple):

const C1 = '#6a0dad', C2 = '#b14dff';

Thicker borders:

const BORDER = '3px';

Notes & limitations

  • This works on the desktop website (www.youtube.com). It does not work in the YouTube mobile app (userscripts are browser-only).
  • A few selectors depend on aria-labels (provided in French + English). If YouTube renames its CSS classes, some elements may turn red again — re-inspect the element and add the new class.

About

Change YouTube's red to green or any color you want — a Tampermonkey userscript for a custom YouTube color theme (logo, progress bar, buttons).

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors