Skip to content

YouTube Catppuccin by isabel

Imported from https://github.com/catppuccin/youtube/blob/main/src/catppuccin.user.css

Mirrored from https://github.com/catppuccin/userstyles/raw/main/styles/youtube/catppuccin.user.css

Screenshot of YouTube Catppuccin

Details

Authorisabel

LicenseMIT

Categoryyoutube

Created

Updated

Size49 kB

Statistics

Learn how we calculate statistics in the FAQ.

Failed to fetch stats.

Description

Soothing pastel theme for YouTube

Notes

Userstyle doesn't have notes.

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 Catppuccin
@namespace github.com/catppuccin/userstyles/styles/youtube
@homepageURL https://github.com/catppuccin/userstyles/tree/main/styles/youtube
@version 4.0.14
@supportURL https://github.com/catppuccin/userstyles/issues?q=is%3Aopen+is%3Aissue+label%3Ayoutube
@description Soothing pastel theme for YouTube
@author Catppuccin
@license MIT

@preprocessor less
@var select lightFlavor "Light Flavor" ["latte:Latte*", "frappe:Frappé", "macchiato:Macchiato", "mocha:Mocha"]
@var select darkFlavor "Dark Flavor" ["latte:Latte", "frappe:Frappé", "macchiato:Macchiato", "mocha:Mocha*"]
@var select accentColor "Accent" ["rosewater:Rosewater", "flamingo:Flamingo", "pink:Pink", "mauve:Mauve*", "red:Red", "maroon:Maroon", "peach:Peach", "yellow:Yellow", "green:Green", "teal:Teal", "blue:Blue", "sapphire:Sapphire", "sky:Sky", "lavender:Lavender", "subtext0:Gray"]

@var checkbox logo "Enable YouTube logo" 1
@var checkbox oled "Enable black bars" 0
==/UserStyle== */

@-moz-document domain('youtube.com') {
  :root[dark] {
    #catppuccin(@darkFlavor, @accentColor);
  }
  :root:not([dark]) {
    #catppuccin(@lightFlavor, @accentColor);
  }

  #catppuccin(@lookup, @accent) {
    @rosewater: @catppuccin[@@lookup][@rosewater];
    @flamingo: @catppuccin[@@lookup][@flamingo];
    @pink: @catppuccin[@@lookup][@pink];
    @mauve: @catppuccin[@@lookup][@mauve];
    @red: @catppuccin[@@lookup][@red];
    @maroon: @catppuccin[@@lookup][@maroon];
    @peach: @catppuccin[@@lookup][@peach];
    @yellow: @catppuccin[@@lookup][@yellow];
    @green: @catppuccin[@@lookup][@green];
    @teal: @catppuccin[@@lookup][@teal];
    @sky: @catppuccin[@@lookup][@sky];
    @sapphire: @catppuccin[@@lookup][@sapphire];
    @blue: @catppuccin[@@lookup][@blue];
    @lavender: @catppuccin[@@lookup][@lavender];
    @text: @catppuccin[@@lookup][@text];
    @subtext1: @catppuccin[@@lookup][@subtext1];
    @subtext0: @catppuccin[@@lookup][@subtext0];
    @overlay2: @catppuccin[@@lookup][@overlay2];
    @overlay1: @catppuccin[@@lookup][@overlay1];
    @overlay0: @catppuccin[@@lookup][@overlay0];
    @surface2: @catppuccin[@@lookup][@surface2];
    @surface1: @catppuccin[@@lookup][@surface1];
    @surface0: @catppuccin[@@lookup][@surface0];
    @base: @catppuccin[@@lookup][@base];
    @mantle: @catppuccin[@@lookup][@mantle];
    @crust: @catppuccin[@@lookup][@crust];
    @accent-color: @catppuccin[@@lookup][@@accent];

    @white: if(@lookup = latte, @base, @text);
    @black: if(@lookup = latte, @text, @base);

    color: @text;
    color-scheme: if(@lookup = latte, light, dark);

    ::selection {
      background-color: fade(@accent-color, 30%);
    }

    input,
    textarea {
      &::placeholder {
        color: @subtext0 !important;
      }
    }

    &,
    [dark],
    [system-icons],
    [darker-dark-theme],
    &[dark],
    &[system-icons],
    &[darker-dark-theme] {
      --yt-spec-white-1: @text !important;
      --yt-spec-white-2: @subtext0 !important;
      --yt-spec-white-3: @subtext1 !important;
      --yt-spec-white-4: darken(@subtext1, 5%) !important;
      --yt-spec-black-1: @overlay1 !important;
      --yt-spec-black-2: @overlay0 !important;
      --yt-spec-black-3: @surface2 !important;
      --yt-spec-black-4: @surface1 !important;
      --yt-spec-black-pure: @surface0 !important;
      --yt-spec-grey-1: @text !important;
      --yt-spec-grey-2: @subtext0 !important;
      --yt-spec-grey-3: @subtext1 !important;
      --yt-spec-grey-4: @overlay2 !important;
      --yt-spec-grey-5: @overlay1 !important;
      --yt-brand-youtube-red: @accent-color !important;
      --yt-brand-medium-red: @accent-color !important;
      --yt-brand-light-red: @accent-color !important;
      --yt-spec-red-30: @peach !important;
      --yt-spec-red-70: @red !important;
      --yt-spec-pale-blue: @sky !important;
      --yt-spec-light-blue: @sky !important;
      --yt-spec-dark-blue: @sapphire !important;
      --yt-spec-navy-blue: @teal !important;
      --yt-spec-light-green: @green !important;
      --yt-spec-dark-green: @green !important;
      --yt-spec-yellow: @peach !important;
      --yt-spec-black-pure-alpha-5: fadeout(@crust, 0.05) !important;
      --yt-spec-black-pure-alpha-10: fadeout(@crust, 0.1) !important;
      --yt-spec-black-pure-alpha-15: fadeout(@crust, 0.15) !important;
      --yt-spec-black-pure-alpha-30: fadeout(@crust, 0.3) !important;
      --yt-spec-black-pure-alpha-60: fadeout(@crust, 0.6) !important;
      --yt-spec-black-pure-alpha-80: fadeout(@crust, 0.8) !important;
      --yt-spec-black-1-alpha-98: fadeout(@crust, 0.98) !important;
      --yt-spec-black-1-alpha-95: fadeout(@crust, 0.95) !important;
      --yt-spec-white-1-alpha-10: fadeout(@text, 0.1) !important;
      --yt-spec-white-1-alpha-20: fadeout(@text, 0.2) !important;
      --yt-spec-white-1-alpha-25: fadeout(@text, 0.25) !important;
      --yt-spec-white-1-alpha-30: fadeout(@text, 0.3) !important;
      --yt-spec-white-1-alpha-70: fadeout(@text, 0.7) !important;
      --yt-spec-white-1-alpha-95: fadeout(@text, 0.95) !important;
      --yt-spec-white-1-alpha-98: fadeout(@text, 0.98) !important;
      --yt-brand-medium-red-alpha-90: fadeout(@accent-color, 0.9) !important;
      --yt-brand-medium-red-alpha-30: fadeout(@accent-color, 0.3) !important;
      --yt-brand-light-red-alpha-30: fadeout(@accent-color, 0.3) !important;
      --yt-spec-light-blue-alpha-30: fadeout(@sapphire, 0.3) !important;
      --yt-spec-dark-blue-alpha-30: fadeout(@sapphire, 0.3) !important;

      --yt-spec-base-background: @base !important;
      --yt-spec-raised-background: @base !important;
      --yt-spec-menu-background: @mantle !important;
      --yt-spec-inverted-background: @text !important;
      --yt-spec-additive-background: fadeout(@surface0, 0.1) !important;
      --yt-spec-outline: @surface0 !important;
      --yt-spec-shadow: fadeout(@crust, 0.25) !important;
      --yt-spec-text-primary: @text !important;
      --yt-spec-text-secondary: @subtext0 !important;
      --yt-spec-text-disabled: @subtext1 !important;
      --yt-spec-text-primary-inverse: @crust !important;
      --yt-spec-call-to-action: @accent-color !important;
      --yt-spec-call-to-action-inverse: @accent-color !important;
      --yt-spec-suggested-action: fadeout(@accent-color, 80%) !important;
      --yt-spec-suggested-action-inverse: @text !important;
      --yt-spec-icon-active-other: @text !important;
      --yt-spec-button-chip-background-hover: @surface1 !important;
      --yt-spec-touch-response: @surface0 !important;

      --yt-spec-touch-response-inverse: @accent-color !important;
      --yt-spec-brand-icon-active: @accent-color !important;
      --yt-spec-brand-button-background: @accent-color !important;
      --yt-spec-brand-link-text: @sapphire !important;
      --yt-spec-wordmark-text: @text !important;
      --yt-spec-error-indicator: @red !important;
      --yt-spec-themed-blue: @accent-color !important;
      --yt-spec-themed-green: @green !important;
      --yt-spec-ad-indicator: @teal !important;
      --yt-spec-themed-overlay-background: fadeout(@crust, 0.8) !important;
      --yt-spec-commerce-badge-background: @green !important;
      --yt-spec-static-brand-red: @accent-color !important;
      --yt-spec-static-brand-white: @text !important;
      --yt-spec-static-brand-black: @base !important;
      --yt-spec-static-clear-color: fadeout(@crust, 0) !important;
      --yt-spec-static-clear-black: fadeout(@crust, 0) !important;
      --yt-spec-static-ad-yellow: @peach !important;
      --yt-spec-static-grey: @subtext0 !important;
      --yt-spec-static-overlay-background-solid: @crust !important;
      --yt-spec-static-overlay-background-heavy: @surface0;
      --yt-spec-static-overlay-background-medium: fade(@crust, 50%) !important;
      --yt-spec-static-overlay-background-medium-light: fadeout(
        @crust,
        0.3
      ) !important;
      --yt-spec-static-overlay-background-light: fadeout(
        @crust,
        0.1
      ) !important;
      --yt-spec-static-overlay-text-primary: @text !important;
      --yt-spec-static-overlay-text-secondary: fadeout(
        @subtext0,
        0.7
      ) !important;
      --yt-spec-static-overlay-text-disabled: fadeout(
        @subtext0,
        0.3
      ) !important;
      --yt-spec-static-overlay-call-to-action: @accent-color !important;
      --yt-spec-static-overlay-icon-active-other: @text !important;
      --yt-spec-static-overlay-icon-inactive: @surface1 !important;
      --yt-spec-static-overlay-icon-disabled: @surface2 !important;
      --yt-spec-static-overlay-button-primary: @accent-color !important;
      --yt-spec-static-overlay-button-secondary: @surface0 !important;
      --yt-spec-static-overlay-touch-response: @overlay1 !important;
      --yt-spec-static-overlay-touch-response-inverse: @surface1 !important;
      --yt-spec-static-overlay-background-brand: @accent-color !important;
      --yt-spec-assistive-feed-themed-gradient-1: @subtext0 !important;
      --yt-spec-assistive-feed-themed-gradient-2: @lavender !important;
      --yt-spec-assistive-feed-themed-gradient-3: @red !important;
      --yt-spec-brand-background-solid: @base !important;
      --yt-spec-brand-background-primary: @base !important;
      --yt-spec-brand-background-secondary: @mantle !important;
      --yt-spec-general-background-a: @base !important;
      --yt-spec-general-background-b: @base !important;
      --yt-spec-general-background-c: @crust !important;
      --yt-spec-error-background: @base !important;
      --yt-spec-10-percent-layer: @surface0 !important;
      --yt-spec-snackbar-background: @mantle !important;
      --yt-spec-snackbar-background-updated: @mantle !important;
      --yt-spec-badge-chip-background: if(
        @lookup =latte,
        @crust,
        @surface1
      ) !important;
      --yt-spec-verified-badge-background: @overlay0 !important;
      --yt-spec-call-to-action-fadeoutd: fadeout(@sapphire, 0...

Reviews

No reviews yet.