chore: en-GB -> en-US (#47)

This commit is contained in:
winston authored and GitHub committed 2023-07-21 00:14:23 +02:00
1 parent c3c6fa529c
commit 3d2ef9db84
18 files changed
+277 -277

No files matched your search

+92 -92
View File
@@ -10,7 +10,7 @@
@preprocessor less
@var select lightTheme "Light Theme" ["latte:Latte*", "frappe:Frappe", "macchiato:Macchiato", "mocha:Mocha"]
@var select darkTheme "Dark Theme" ["latte:Latte", "frappe:Frappe", "macchiato:Macchiato", "mocha:Mocha*"]
@var select accentColour "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:Grey"]
@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 "Logo" 0
@var checkbox oledOn "Enable black bars" 0
==/UserStyle== */
@@ -18,12 +18,12 @@
/* youtube.com */
:root[dark] {
#catppuccin(@darkTheme, @accentColour);
#catppuccin(@darkTheme, @accentColor);
#oled(@oledOn);
#logo(@logo);
}
:root {
#catppuccin(@lightTheme, @accentColour);
#catppuccin(@lightTheme, @accentColor);
#oled(@oledOn);
#logo(@logo);
}
@@ -39,7 +39,7 @@
ytd-topbar-logo-renderer.style-scope a svg > g,
svg.ytd-consent-bump-v2-lightbox > g:nth-child(1) {
path[fill="#FF0000"] {
fill: @accent-colour !important;
fill: @accent-Color !important;
}
path[fill="white"] {
fill: @base !important;
@@ -80,7 +80,7 @@
@base: @catppuccin[@@lookup][@base];
@mantle: @catppuccin[@@lookup][@mantle];
@crust: @catppuccin[@@lookup][@crust];
@accent-colour: @catppuccin[@@lookup][@@accent];
@accent-Color: @catppuccin[@@lookup][@@accent];
/* apply everywhere */
@@ -105,9 +105,9 @@
--yt-spec-grey-3: @subtext1 !important;
--yt-spec-grey-4: @overlay2 !important;
--yt-spec-grey-5: @overlay1 !important;
--yt-brand-youtube-red: @accent-colour !important;
--yt-brand-medium-red: @accent-colour !important;
--yt-brand-light-red: @accent-colour !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;
@@ -132,9 +132,9 @@
--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-colour, 0.9) !important;
--yt-brand-medium-red-alpha-30: fadeout(@accent-colour, 0.3) !important;
--yt-brand-light-red-alpha-30: fadeout(@accent-colour, 0.3) !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;
@@ -149,8 +149,8 @@
--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-colour !important;
--yt-spec-call-to-action-inverse: @accent-colour !important;
--yt-spec-call-to-action: @accent-Color !important;
--yt-spec-call-to-action-inverse: @accent-Color !important;
--yt-spec-suggested-action: @surface1 !important;
--yt-spec-suggested-action-inverse: @text !important;
--yt-spec-icon-active-other: @overlay0 !important;
@@ -159,10 +159,10 @@
--yt-spec-button-chip-background-hover: @surface1 !important;
--yt-spec-touch-response: @surface0 !important;
--yt-spec-touch-response-inverse: @accent-colour !important;
--yt-spec-brand-icon-active: @accent-colour !important;
--yt-spec-touch-response-inverse: @accent-Color !important;
--yt-spec-brand-icon-active: @accent-Color !important;
--yt-spec-brand-icon-inactive: @overlay1 !important;
--yt-spec-brand-button-background: @accent-colour !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;
@@ -171,7 +171,7 @@
--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-colour !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;
@@ -186,15 +186,15 @@
--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-colour !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-colour !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-colour !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;
@@ -211,13 +211,13 @@
--yt-spec-badge-chip-background: @surface0 !important;
--yt-spec-verified-badge-background: @overlay0 !important;
--yt-spec-call-to-action-fadeoutd: fadeout(@sapphire, 0.3) !important;
--yt-spec-call-to-action-hover: @accent-colour !importantr;
--yt-spec-brand-button-background-hover: @accent-colour !important;
--yt-spec-brand-link-text-fadeoutd: fadeout(@accent-colour, 0.3) !important;
--yt-spec-call-to-action-hover: @accent-Color !importantr;
--yt-spec-brand-button-background-hover: @accent-Color !important;
--yt-spec-brand-link-text-fadeoutd: fadeout(@accent-Color, 0.3) !important;
--yt-spec-filled-button-focus-outline: @surface0 !important;
--yt-spec-static-overlay-button-hover: @surface1 !important;
--yt-spec-mono-filled-hover: @surface1 !important;
--yt-spec-commerce-filled-hover: @accent-colour !important;
--yt-spec-commerce-filled-hover: @accent-Color !important;
--yt-spec-mono-tonal-hover: @surface1 !important;
--yt-spec-commerce-tonal-hover: @surface2 !important;
--yt-spec-static-overlay-filled-hover: @overlay1 !important;
@@ -233,10 +233,10 @@
--ytd-searchbox-legacy-border-shadow-color: fadeout(@crust, 0) !important;
--ytd-searchbox-legacy-button-color: @mantle !important;
--ytd-searchbox-legacy-button-border-color: @surface0 !important;
--ytd-searchbox-legacy-button-focus-color: @accent-colour !important;
--ytd-searchbox-legacy-button-focus-color: @accent-Color !important;
--ytd-searchbox-legacy-button-hover-color: @mantle !important;
--ytd-searchbox-legacy-button-hover-border-color: @surface0 !important;
--ytd-searchbox-legacy-button-icon-color: @accent-colour !important;
--ytd-searchbox-legacy-button-icon-color: @accent-Color !important;
--ytd-searchbox-background: @base !important;
--ytd-searchbox-text-color: @text !important;
@@ -259,8 +259,8 @@
--yt-live-chat-text-input-field-placeholder-color: @subtext0 !important;
--yt-live-chat-enabled-send-button-color: @text !important;
--yt-live-chat-disabled-icon-button-color: @subtext1 !important;
--yt-live-chat-picker-button-hover-color: @accent-colour !important;
--yt-live-chat-mention-background-color: @accent-colour !important;
--yt-live-chat-picker-button-hover-color: @accent-Color !important;
--yt-live-chat-mention-background-color: @accent-Color !important;
--yt-live-chat-mention-text-color: @text !important;
--yt-live-chat-deleted-message-color: @subtext0;
--yt-live-chat-deleted-message-bar-color: @subtext1 !important;
@@ -281,14 +281,14 @@
--yt-live-chat-text-input-field-suggestion-background-color-hover: @subtext1 !important;
--yt-emoji-picker-search-background-color: @surface0 !important;
--yt-emoji-picker-search-color: @text !important;
--yt-emoji-picker-search-placeholder-color: @accent-colour !important;
--yt-live-chat-slider-active-color: @accent-colour !important;
--yt-emoji-picker-search-placeholder-color: @accent-Color !important;
--yt-live-chat-slider-active-color: @accent-Color !important;
--yt-live-chat-slider-container-color: @surface0 !important;
--yt-live-chat-slider-markers-color: @text !important;
--yt-live-chat-banner-gradient-scrim: linear-gradient( @mantle, transparent) !important;
--yt-live-chat-action-panel-gradient-scrim: linear-gradient( to top, @mantle, transparent) !important;
--yt-live-chat-automod-button-background-color-hover: fadeout(@crust, 0.5) !important;
--yt-live-chat-automod-button-explanation-color: fadeout(@accent-colour, 0.7) !important;
--yt-live-chat-automod-button-explanation-color: fadeout(@accent-Color, 0.7) !important;
--yt-live-chat-shimmer-background-color: fadeout(@crust, 0.4) !important;
--yt-live-chat-shimmer-linear-gradient: linear-gradient( 0deg, fadeout(@text, 0.1) 40%, fadeout(@base, 0.3) 50%, fadeout(@text, 0.1) 60%) !important;
--yt-live-chat-vem-background-color: @mantle !important;
@@ -302,16 +302,16 @@
--paper-tooltip-text-color: @text !important;
/* links */
--yt-endpoint-color: @accent-colour !important;
--yt-endpoint-visited-color: @accent-colour !important;
--yt-endpoint-hover-color: @accent-colour !important;
--yt-endpoint-color: @accent-Color !important;
--yt-endpoint-visited-color: @accent-Color !important;
--yt-endpoint-hover-color: @accent-Color !important;
--sb-dark-red-outline: @accent-colour !important;
--sb-dark-red-outline: @accent-Color !important;
--sb-main-bg-color: @base !important;
--sb-main-fg-color: @text !important;
--sb-grey-bg-color: @base !important;
--sb-grey-fg-color: @subtext0 !important;
--sb-red-bg-color: @accent-colour !important;
--sb-red-bg-color: @accent-Color !important;
}
/* genral colors */
@@ -322,12 +322,12 @@
--disabled-text-color: @subtext1 !important;
--divider-color: @overlay0 !important;
--error-color: @red !important;
--primary-color: @accent-colour !important;
--light-primary-color: @accent-colour !important;
--primary-color: @accent-Color !important;
--light-primary-color: @accent-Color !important;
--dark-primary-color: @blue !important;
--accent-color: @accent-colour !important;
--light-accent-color: @accent-colour !important;
--dark-accent-color: @accent-colour !important;
--accent-color: @accent-Color !important;
--light-accent-color: @accent-Color !important;
--dark-accent-color: @accent-Color !important;
--light-theme-background-color: @base !important;
--light-theme-base-color: @text !important;
--light-theme-text-color: @text !important;
@@ -343,9 +343,9 @@
}
#channel-name.ytd-video-meta-block {
--yt-endpoint-color: @accent-colour !important;
--yt-endpoint-visited-color: @accent-colour !important;
color: @accent-colour !important;
--yt-endpoint-color: @accent-Color !important;
--yt-endpoint-visited-color: @accent-Color !important;
color: @accent-Color !important;
}
/* selected chapter */
@@ -385,8 +385,8 @@
--yt-button-default-text-color: @text !important;
--yt-button-default-background-color: @base !important;
--yt-button-dark-text-color: @base !important;
--yt-button-dark-background-color: @accent-colour !important;
--yt-button-payment-background-color: @accent-colour ! important;
--yt-button-dark-background-color: @accent-Color !important;
--yt-button-payment-background-color: @accent-Color ! important;
}
yt-icon.ytd-pinned-comment-badge-renderer * {
@@ -398,9 +398,9 @@
}
.html5-ypc-purchase {
background: @accent-colour !important;
background: @accent-Color !important;
&:hover {
background: ligten(@accent-colour, 10%) !important;
background: ligten(@accent-Color, 10%) !important;
}
}
@@ -410,9 +410,9 @@
/* volume bar */
.ytp-volume-slider-handle {
background: @accent-colour !important;
background: @accent-Color !important;
&::before {
background: @accent-colour !important;
background: @accent-Color !important;
}
&::after {
z-index: -1;
@@ -421,18 +421,18 @@
/* new videos dot */
#newness-dot {
background-color: @accent-colour !important;
background-color: @accent-Color !important;
}
/* subtitle */
.ytp-chrome-controls .ytp-button[aria-pressed]:after {
background-color: @accent-colour !important;
background-color: @accent-Color !important;
}
/* menu items */
/* checbox subitem */
.ytp-menuitem[aria-checked=true] .ytp-menuitem-toggle-checkbox {
background: @accent-colour !important;
background: @accent-Color !important;
&::after {
background: @overlay1 !important;
}
@@ -446,17 +446,17 @@
.ytp-settings-button.ytp-8k-quality-badge,
.ytp-settings-button.ytp-3d-badge {
&::after {
background-color: @accent-colour !important;
background-color: @accent-Color !important;
}
}
.style-scope.ytd-thumbnail-overlay-toggle-button-renderer:hover {
fill: @accent-colour !important;
fill: @accent-Color !important;
}
.yt-spec-button-shape-next--overlay.yt-spec-button-shape-next--filled,
.yt-spec-button-shape-next--mono.yt-spec-button-shape-next--filled {
background-color: @accent-colour !important;
background-color: @accent-Color !important;
.yt-spec-button-shape-next__icon yt-icon svg g path {
fill: @base !important;
}
@@ -498,12 +498,12 @@
background-color: @mantle !important;
&:hover {
background-color: @surface0 !important;
color: @accent-colour !important;
color: @accent-Color !important;
}
}
.sbpqs_a {
color: @accent-colour !important;
color: @accent-Color !important;
}
.sbfl_a {
@@ -517,11 +517,11 @@
/* Keyboard select text color and hover text color */
.sbsb_c:hover .sbqs_c,
.sbsb_c.gsfs.sbsb_d .sbqs_c {
color: @accent-colour !important;
color: @accent-Color !important;
}
.ytp-swatch-background-color {
background-color: @accent-colour !important;
background-color: @accent-Color !important;
}
/* exmplation box */
@@ -542,10 +542,10 @@
> g:nth-child(1),
> g:nth-child(3) {
> path:nth-child(1) {
fill: @accent-colour !important;
fill: @accent-Color !important;
}
> path:nth-child(2) {
stroke: @accent-colour !important
stroke: @accent-Color !important
}
}
}
@@ -601,7 +601,7 @@
.iv-card:hover .iv-card-primary-link,
.ytp-ce-website-title {
color: @accent-colour !important;
color: @accent-Color !important;
}
.ytp-popup {
@@ -636,13 +636,13 @@
background: @subtext1 !important;
}
&[disabled]:before {
background: @accent-colour !important;
background: @accent-Color !important;
}
}
/* notification idicator */
.yt-spec-icon-badge-shape--type-notification .yt-spec-icon-badge-shape__badge {
background-color: @accent-colour !important;
background-color: @accent-Color !important;
color: @crust !important;
}
.yt-spec-icon-badge-shape--style-overlay .yt-spec-icon-badge-shape__icon {
@@ -669,13 +669,13 @@
yt-chip-cloud-chip-renderer[chip-style=STYLE_DEFAULT][selected],
yt-chip-cloud-chip-renderer[chip-style=STYLE_HOME_FILTER][selected] {
background: @surface0 !important;
border: 1px solid @accent-colour !important;
border: 1px solid @accent-Color !important;
color: @text !important;
}
/* Search border */
ytd-searchbox[has-focus] #container.ytd-searchbox {
border-color: @accent-colour !important;
border-color: @accent-Color !important;
}
/* Error page */
@@ -692,7 +692,7 @@
text-shadow: none;
}
#masthead-search-terms.masthead-search-terms-border {
border: 1px solid @accent-colour !important;
border: 1px solid @accent-Color !important;
box-shadow: none !important;
}
#yt-masthead {
@@ -711,7 +711,7 @@
input[type="text"] {
color: @text !important;
&:focus {
color: @accent-colour !important;
color: @accent-Color !important;
}
}
}
@@ -723,7 +723,7 @@
/* Scrollbar */
::-webkit-scrollbar-thumb {
background: @accent-colour !important;
background: @accent-Color !important;
}
::-webkit-scrollbar {
@@ -735,17 +735,17 @@
}
::-webkit-scrollbar-thumb {
background: @accent-colour !important;
background: @accent-Color !important;
}
/* text highlight */
::selection {
background: fadeout(@accent-colour, 80%) !important;
background: fadeout(@accent-Color, 80%) !important;
color: @text !important;
}
::-moz-selection {
background: fadeout(@accent-colour, 80%) !important;
background: fadeout(@accent-Color, 80%) !important;
color: @text !important;
}
}
@@ -754,10 +754,10 @@
/* youtube.com-redirect */
:root[dark] {
#catppuccin(@darkTheme, @accentColour);
#catppuccin(@darkTheme, @accentColor);
}
:root {
#catppuccin(@lightTheme, @accentColour);
#catppuccin(@lightTheme, @accentColor);
}
#catppuccin(@lookup, @accent) {
@@ -788,7 +788,7 @@
@base: @catppuccin[@@lookup][@base];
@mantle: @catppuccin[@@lookup][@mantle];
@crust: @catppuccin[@@lookup][@crust];
@accent-colour: @catppuccin[@@lookup][@@accent];
@accent-Color: @catppuccin[@@lookup][@@accent];
h1 {
color: @text !important;
@@ -797,7 +797,7 @@
#redirect-main-text {
color: @overlay2 !important;
.bolded {
color: @accent-colour !important;
color: @accent-Color !important;
}
}
@@ -839,12 +839,12 @@
/* text highlight */
::selection {
background: fadeout(@accent-colour, 80%) !important;
background: fadeout(@accent-Color, 80%) !important;
color: @text !important;
}
::-moz-selection {
background: fadeout(@accent-colour, 80%) !important;
background: fadeout(@accent-Color, 80%) !important;
color: @text !important;
}
}
@@ -854,10 +854,10 @@
/* studio.youtube.com */
:root[dark] {
#catppuccin(@darkTheme, @accentColour);
#catppuccin(@darkTheme, @accentColor);
}
:root {
#catppuccin(@lightTheme, @accentColour);
#catppuccin(@lightTheme, @accentColor);
}
#catppuccin(@lookup, @accent) {
@@ -888,7 +888,7 @@
@base: @catppuccin[@@lookup][@base];
@mantle: @catppuccin[@@lookup][@mantle];
@crust: @catppuccin[@@lookup][@crust];
@accent-colour: @catppuccin[@@lookup][@@accent];
@accent-Color: @catppuccin[@@lookup][@@accent];
&,
html,
@@ -946,8 +946,8 @@
--ytcp-call-to-action-inverse: @mantle !important;
/* buttons */
--ytcp-call-to-action-raised-background: @accent-colour !important;
--yt-spec-brand-button-background: @accent-colour !important;
--ytcp-call-to-action-raised-background: @accent-Color !important;
--yt-spec-brand-button-background: @accent-Color !important;
--ytcp-call-to-action-raised-disabled: @surface2 !important;
--ytcp-call-to-action-raised-disabled-background: @overlay2 !important;
--ytcp-call-to-action-raised-background-inverse: @base !important;
@@ -959,13 +959,13 @@
/* icons */
--yt-compact-link-icon-color: @overlay2 !important;
--ytcp-icon-active: @accent-colour !important;
--ytcp-icon-active: @accent-Color !important;
--ytcp-icon-inactive: @overlay2 !important;
--ytcp-icon-disabled: @overlay2 !important;
--ytcp-icon-active-inverse: @overlay1 !important;
--ytcp-icon-disabled-inverse: @subtext1 !important;
/* colours */
/* colors */
--ytcp-error-red: @red !important;
--ytcp-badge-red: @red !important;
--ytcp-error-red-inverse: @red !important;
@@ -1004,11 +1004,11 @@
/* misc */
--yt-spec-badge-chip-background: @surface1 !important;
--ytcp-focus-inverse: @accent-colour !important;
--ytcp-focus: @accent-colour !important;
--ytcp-selected-item: @accent-colour !important;
--ytcp-focus-inverse: @accent-Color !important;
--ytcp-focus: @accent-Color !important;
--ytcp-selected-item: @accent-Color !important;
--ytcp-hover-item: @overlay2 !important;
--ytcp-chip-active-focus: @accent-colour !important;
--ytcp-chip-active-focus: @accent-Color !important;
--ytcp-playhead: @overlay2 !important;
--ytcp-playhead-inverse: @overlay2 !important;
}
@@ -1024,12 +1024,12 @@
/* text highlight */
::selection {
background: fadeout(@accent-colour, 80%) !important;
background: fadeout(@accent-Color, 80%) !important;
color: @text !important;
}
::-moz-selection {
background: fadeout(@accent-colour, 80%) !important;
background: fadeout(@accent-Color, 80%) !important;
color: @text !important;
}
}