feat(treewide): add require-color-op-func-percentage stylelint rule (#1461)
This commit is contained in:
1 parent
2c7e8029bd
commit
a5935c6d09
19 files changed
+415
-326
No files matched your search
@@ -109,32 +109,32 @@
|
||||
--yt-spec-yellow: @peach !important;
|
||||
--yt-spec-black-pure-alpha-5: @subtext0 !important;
|
||||
--yt-spec-black-pure-alpha-10: @overlay2 !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-black-pure-alpha-15: fadeout(@crust, 15%) !important;
|
||||
--yt-spec-black-pure-alpha-30: fadeout(@crust, 30%) !important;
|
||||
--yt-spec-black-pure-alpha-60: fadeout(@crust, 60%) !important;
|
||||
--yt-spec-black-pure-alpha-80: fadeout(@crust, 80%) !important;
|
||||
--yt-spec-black-1-alpha-98: fadeout(@crust, 98%) !important;
|
||||
--yt-spec-black-1-alpha-95: fadeout(@crust, 95%) !important;
|
||||
--yt-spec-white-1-alpha-10: fadeout(@text, 10%) !important;
|
||||
--yt-spec-white-1-alpha-20: fadeout(@text, 20%) !important;
|
||||
--yt-spec-white-1-alpha-25: fadeout(@text, 25%) !important;
|
||||
--yt-spec-white-1-alpha-30: fadeout(@text, 30%) !important;
|
||||
--yt-spec-white-1-alpha-70: fadeout(@text, 70%) !important;
|
||||
--yt-spec-white-1-alpha-95: fadeout(@text, 95%) !important;
|
||||
--yt-spec-white-1-alpha-98: fadeout(@text, 98%) !important;
|
||||
--yt-brand-medium-red-alpha-90: fadeout(@accent-color, 90%) !important;
|
||||
--yt-brand-medium-red-alpha-30: fadeout(@accent-color, 30%) !important;
|
||||
--yt-brand-light-red-alpha-30: fadeout(@accent-color, 30%) !important;
|
||||
--yt-spec-light-blue-alpha-30: fadeout(@sapphire, 30%) !important;
|
||||
--yt-spec-dark-blue-alpha-30: fadeout(@sapphire, 30%) !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(@surface1, 0.1) !important;
|
||||
--yt-spec-additive-background: fadeout(@surface1, 10%) !important;
|
||||
--yt-spec-outline: @surface0 !important;
|
||||
--yt-spec-shadow: fadeout(@crust, 0.25) !important;
|
||||
--yt-spec-shadow: fadeout(@crust, 25%) !important;
|
||||
--yt-spec-text-primary: @text !important;
|
||||
--yt-spec-text-secondary: @subtext0 !important;
|
||||
--yt-spec-text-disabled: @subtext1 !important;
|
||||
@@ -156,13 +156,13 @@
|
||||
--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-themed-overlay-background: fadeout(@crust, 80%) !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-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;
|
||||
@@ -170,20 +170,20 @@
|
||||
--yt-spec-static-overlay-background-medium: fade(@crust, 50%) !important;
|
||||
--yt-spec-static-overlay-background-medium-light: fadeout(
|
||||
@crust,
|
||||
0.3
|
||||
30%
|
||||
) !important;
|
||||
--yt-spec-static-overlay-background-light: fadeout(
|
||||
@crust,
|
||||
0.1
|
||||
10%
|
||||
) !important;
|
||||
--yt-spec-static-overlay-text-primary: @text !important;
|
||||
--yt-spec-static-overlay-text-secondary: fadeout(
|
||||
@subtext0,
|
||||
0.7
|
||||
70%
|
||||
) !important;
|
||||
--yt-spec-static-overlay-text-disabled: fadeout(
|
||||
@subtext0,
|
||||
0.3
|
||||
30%
|
||||
) !important;
|
||||
--yt-spec-static-overlay-call-to-action: @accent-color !important;
|
||||
--yt-spec-static-overlay-icon-active-other: @crust !important;
|
||||
@@ -213,12 +213,12 @@
|
||||
@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-fadeoutd: fadeout(@sapphire, 30%) !important;
|
||||
--yt-spec-call-to-action-hover: @accent-color !important;
|
||||
--yt-spec-brand-button-background-hover: @accent-color !important;
|
||||
--yt-spec-brand-link-text-fadeoutd: fadeout(
|
||||
@accent-color,
|
||||
0.3
|
||||
30%
|
||||
) !important;
|
||||
--yt-spec-filled-button-focus-outline: @surface0 !important;
|
||||
--yt-spec-static-overlay-button-hover: @surface1 !important;
|
||||
@@ -228,7 +228,7 @@
|
||||
--yt-spec-commerce-tonal-hover: @surface2 !important;
|
||||
--yt-spec-static-overlay-filled-hover: @overlay1 !important;
|
||||
--yt-spec-static-overlay-tonal-hover: @surface1 !important;
|
||||
--yt-spec-paper-tab-ink: fadeout(@text, 0.3);
|
||||
--yt-spec-paper-tab-ink: fadeout(@text, 30%);
|
||||
--yt-spec-filled-button-text: @text !important;
|
||||
--yt-spec-selected-nav-text: @text !important;
|
||||
--iron-icon-fill-color: @text !important;
|
||||
@@ -236,7 +236,7 @@
|
||||
/* Search bar */
|
||||
--ytd-searchbox-border-color: @surface0 !important;
|
||||
--ytd-searchbox-legacy-border-color: @surface0 !important;
|
||||
--ytd-searchbox-legacy-border-shadow-color: fadeout(@crust, 0) !important;
|
||||
--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-color !important;
|
||||
@@ -258,7 +258,7 @@
|
||||
--yt-live-chat-toast-background-color: @surface2 !important;
|
||||
--yt-live-chat-mode-change-background-color: @base !important;
|
||||
--yt-live-chat-secondary-text-color: @subtext0 !important;
|
||||
--yt-live-chat-tertiary-text-color: fadeout(@text, 0.54) !important;
|
||||
--yt-live-chat-tertiary-text-color: fadeout(@text, 54%) !important;
|
||||
--yt-live-chat-text-input-field-inactive-underline-color: @subtext0 !important;
|
||||
--yt-live-chat-text-input-field-placeholder-color: @subtext0 !important;
|
||||
--yt-live-chat-enabled-send-button-color: @text !important;
|
||||
@@ -276,12 +276,12 @@
|
||||
--yt-live-chat-owner-color: @peach !important;
|
||||
--yt-live-chat-message-highlight-background-color: @base !important;
|
||||
--yt-live-chat-sponsor-color: @green !important;
|
||||
--yt-live-chat-overlay-color: fadeout(@mantle, 0.5);
|
||||
--yt-live-chat-overlay-color: fadeout(@mantle, 50%);
|
||||
--yt-live-chat-dialog-background-color: @base !important;
|
||||
--yt-emoji-picker-variant-selector-bg-color: @base !important;
|
||||
--yt-live-chat-moderation-mode-hover-background-color: fadeout(
|
||||
@mantle,
|
||||
0.3
|
||||
30%
|
||||
) !important;
|
||||
--yt-grey: @subtext0 !important;
|
||||
--yt-live-chat-text-input-field-suggestion-background-color: @subtext0 !important;
|
||||
@@ -303,13 +303,13 @@
|
||||
) !important;
|
||||
--yt-live-chat-automod-button-background-color-hover: fadeout(
|
||||
@crust,
|
||||
0.5
|
||||
50%
|
||||
) !important;
|
||||
--yt-live-chat-automod-button-explanation-color: fadeout(
|
||||
@accent-color,
|
||||
0.7
|
||||
70%
|
||||
) !important;
|
||||
--yt-live-chat-shimmer-background-color: fadeout(@crust, 0.4) !important;
|
||||
--yt-live-chat-shimmer-background-color: fadeout(@crust, 40%) !important;
|
||||
--yt-live-chat-shimmer-linear-gradient: linear-gradient(
|
||||
0deg,
|
||||
fadeout(@text, 0.1) 40%,
|
||||
@@ -317,11 +317,11 @@
|
||||
fadeout(@text, 0.1) 60%
|
||||
) !important;
|
||||
--yt-live-chat-vem-background-color: @mantle !important;
|
||||
--yt-live-chat-product-picker-icon-color: fadeout(@text, 0.5) !important;
|
||||
--yt-live-chat-product-picker-icon-color: fadeout(@text, 50%) !important;
|
||||
--yt-live-chat-product-picker-hover-color: @overlay0 !important;
|
||||
--yt-live-chat-product-picker-disabled-icon-color: fadeout(
|
||||
@text,
|
||||
0.3
|
||||
30%
|
||||
) !important;
|
||||
--yt-live-chat-action-panel-background-color-transparent: (
|
||||
null
|
||||
|
||||
Reference in new issue
Block a user