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
@@ -97,7 +97,7 @@
|
||||
--color-neutral-border-weak: @surface0 !important;
|
||||
--color-neutral-border-strong: @surface2 !important;
|
||||
--color-primary: @accent-color !important;
|
||||
--color-primary-hover: lighten(@accent-color, 10) !important;
|
||||
--color-primary-hover: lighten(@accent-color, 10%) !important;
|
||||
--color-primary-visited: @lavender !important;
|
||||
--color-primary-background: @accent-color !important;
|
||||
--color-primary-background-hover: darken(@accent-color, 5%) !important;
|
||||
@@ -114,22 +114,22 @@
|
||||
--color-secondary-plain: @subtext0 !important;
|
||||
--color-secondary-plain-hover: @subtext1 !important;
|
||||
--color-danger-background: @red !important;
|
||||
--color-danger-background-disabled: fadeout(@red, 80) !important;
|
||||
--color-danger-background-hover: fadeout(@red, 2) !important;
|
||||
--color-danger-background-disabled: fadeout(@red, 80%) !important;
|
||||
--color-danger-background-hover: fadeout(@red, 2%) !important;
|
||||
--color-danger-onBackground: @text !important;
|
||||
--color-danger-content: @red !important;
|
||||
--color-danger-content-default: @crust;
|
||||
--color-danger-content-hover: darken(@red, 2) !important;
|
||||
--color-danger-content-hover: darken(@red, 2%) !important;
|
||||
--color-success-content: @green !important;
|
||||
--color-success-hover: darken(@green, 2) !important;
|
||||
--color-success-hover: darken(@green, 2%) !important;
|
||||
--color-success-onBackground: @crust;
|
||||
--color-success-background: @green !important;
|
||||
--color-success-background-hover: darken(@green, 2) !important;
|
||||
--color-success-background-hover: darken(@green, 2%) !important;
|
||||
--color-warning-content: @yellow !important;
|
||||
--color-warning-content-hover: darken(@yellow, 2) !important;
|
||||
--color-warning-content-hover: darken(@yellow, 2%) !important;
|
||||
--color-warning-onBackground: @base !important;
|
||||
--color-warning-background: @yellow !important;
|
||||
--color-warning-background-hover: darken(@yellow, 2) !important;
|
||||
--color-warning-background-hover: darken(@yellow, 2%) !important;
|
||||
--color-upvote-content: @accent-color !important;
|
||||
--color-upvote-disabled: @subtext0 !important;
|
||||
--color-upvote-onBackground: @text !important;
|
||||
@@ -151,8 +151,8 @@
|
||||
--color-tone-6: @surface2 !important;
|
||||
--color-tone-7: @base !important;
|
||||
--color-avatar-gradient: @accent-color !important;
|
||||
--color-transparent-background-hover: fadeout(@surface0, 70) !important;
|
||||
--color-opacity-50: fadeout(@base, 50) !important;
|
||||
--color-transparent-background-hover: fadeout(@surface0, 70%) !important;
|
||||
--color-opacity-50: fadeout(@base, 50%) !important;
|
||||
--color-online: @accent-color !important;
|
||||
--color-favorite: @accent-color !important;
|
||||
--color-brand-background: @accent-color !important;
|
||||
@@ -179,14 +179,14 @@
|
||||
div[class^="subredditvars"] {
|
||||
--color-online: @green !important;
|
||||
--newCommunityTheme-actionIcon: @subtext0 !important;
|
||||
--newCommunityTheme-actionIconAlpha20: fadeout(@crust, 20) !important;
|
||||
--newCommunityTheme-actionIconAlpha50: fadeout(@crust, 20) !important;
|
||||
--newCommunityTheme-actionIconAlpha20: fadeout(@crust, 20%) !important;
|
||||
--newCommunityTheme-actionIconAlpha50: fadeout(@crust, 20%) !important;
|
||||
--newCommunityTheme-actionIconShaded80: @subtext0 !important;
|
||||
--newCommunityTheme-actionIconTinted80: @subtext1 !important;
|
||||
--newCommunityTheme-active: @accent-color !important;
|
||||
--newCommunityTheme-activeAlpha10: fadeout(@crust, 20) !important;
|
||||
--newCommunityTheme-activeAlpha20: fadeout(@crust, 20) !important;
|
||||
--newCommunityTheme-activeAlpha50: fadeout(@crust, 20) !important;
|
||||
--newCommunityTheme-activeAlpha10: fadeout(@crust, 20%) !important;
|
||||
--newCommunityTheme-activeAlpha20: fadeout(@crust, 20%) !important;
|
||||
--newCommunityTheme-activeAlpha50: fadeout(@crust, 20%) !important;
|
||||
--newCommunityTheme-activeLight60: @accent-color !important;
|
||||
--newCommunityTheme-activeShaded80: @accent-color !important;
|
||||
--newCommunityTheme-activeShaded90: @accent-color !important;
|
||||
@@ -207,9 +207,9 @@
|
||||
--newCommunityTheme-bodyTinted50: @overlay1 !important;
|
||||
--newCommunityTheme-bodyTinted80: @overlay0 !important;
|
||||
--newCommunityTheme-button: @text !important;
|
||||
--newCommunityTheme-buttonAlpha05: fadeout(@crust, 20) !important;
|
||||
--newCommunityTheme-buttonAlpha10: fadeout(@crust, 20) !important;
|
||||
--newCommunityTheme-buttonAlpha20: fadeout(@crust, 20) !important;
|
||||
--newCommunityTheme-buttonAlpha05: fadeout(@crust, 20%) !important;
|
||||
--newCommunityTheme-buttonAlpha10: fadeout(@crust, 20%) !important;
|
||||
--newCommunityTheme-buttonAlpha20: fadeout(@crust, 20%) !important;
|
||||
--newCommunityTheme-buttonAlpha40: @subtext0 !important;
|
||||
--newCommunityTheme-buttonAlpha50: @subtext1 !important;
|
||||
--newCommunityTheme-buttonAlpha80: @subtext1 !important;
|
||||
@@ -221,16 +221,16 @@
|
||||
--newCommunityTheme-checkbox: @text !important;
|
||||
--newCommunityTheme-errorText: @red !important;
|
||||
--newCommunityTheme-field: @surface0 !important;
|
||||
--newCommunityTheme-fieldFade: fadeout(@surface1, 30) !important;
|
||||
--newCommunityTheme-fieldFade: fadeout(@surface1, 30%) !important;
|
||||
--newCommunityTheme-flair: @accent-color !important;
|
||||
--newCommunityTheme-highlight: @base !important;
|
||||
--newCommunityTheme-inactive: @subtext0 !important;
|
||||
--newCommunityTheme-lightText: @text !important;
|
||||
--newCommunityTheme-lightTextAlpha75: @subtext1 !important;
|
||||
--newCommunityTheme-line: fadeout(@surface1, 30) !important;
|
||||
--newCommunityTheme-lineShaded80: fadeout(@surface1, 30) !important;
|
||||
--newCommunityTheme-lineShaded90: fadeout(@surface1, 30) !important;
|
||||
--newCommunityTheme-lineShadedNinety: fadeout(@surface1, 30) !important;
|
||||
--newCommunityTheme-line: fadeout(@surface1, 30%) !important;
|
||||
--newCommunityTheme-lineShaded80: fadeout(@surface1, 30%) !important;
|
||||
--newCommunityTheme-lineShaded90: fadeout(@surface1, 30%) !important;
|
||||
--newCommunityTheme-lineShadedNinety: fadeout(@surface1, 30%) !important;
|
||||
--newCommunityTheme-linkText: @accent-color !important;
|
||||
--newCommunityTheme-linkTextAlpha80: @accent-color !important;
|
||||
--newCommunityTheme-linkTextShaded80: @accent-color !important;
|
||||
@@ -258,7 +258,7 @@
|
||||
--newCommunityTheme-navIcon: @text !important;
|
||||
|
||||
/* upvote/downvote focus */
|
||||
--newCommunityTheme-navIconFaded10: fadeout(@crust, 20) !important;
|
||||
--newCommunityTheme-navIconFaded10: fadeout(@crust, 20%) !important;
|
||||
|
||||
--newCommunityTheme-nsfw: @red !important;
|
||||
--newCommunityTheme-nsfwBlocking-bgcolor: @crust !important;
|
||||
@@ -271,9 +271,9 @@
|
||||
--newCommunityTheme-postError: @red !important;
|
||||
--newCommunityTheme-postFlairText: @crust !important;
|
||||
--newCommunityTheme-postIcon: @accent-color !important;
|
||||
--newCommunityTheme-postLine: fadeout(@surface1, 30) !important;
|
||||
--newCommunityTheme-postLineShaded80: fadeout(@surface1, 30) !important;
|
||||
--newCommunityTheme-postLineShaded90: fadeout(@surface1, 30) !important;
|
||||
--newCommunityTheme-postLine: fadeout(@surface1, 30%) !important;
|
||||
--newCommunityTheme-postLineShaded80: fadeout(@surface1, 30%) !important;
|
||||
--newCommunityTheme-postLineShaded90: fadeout(@surface1, 30%) !important;
|
||||
--newCommunityTheme-postTinted20: @base !important;
|
||||
--newCommunityTheme-postTransparent20: @base !important;
|
||||
--newCommunityTheme-primaryButtonShadedEighty: @overlay1 !important;
|
||||
@@ -288,7 +288,7 @@
|
||||
--newCommunityTheme-upsell-appleIcon: @subtext1 !important;
|
||||
--newCommunityTheme-upsell-ssoButtonBorderColor: fadeout(
|
||||
@surface1,
|
||||
30
|
||||
30%
|
||||
) !important;
|
||||
--newCommunityTheme-upsell-ssoButtonTextColor: @text !important;
|
||||
--newCommunityTheme-voteText-base: @subtext0 !important;
|
||||
@@ -301,14 +301,14 @@
|
||||
--newCommunityTheme-widgetColors-appleIcon: @overlay0 !important;
|
||||
--newCommunityTheme-widgetColors-lineColor: fadeout(
|
||||
@surface1,
|
||||
30
|
||||
30%
|
||||
) !important;
|
||||
|
||||
/* sidebar widgets */
|
||||
--newCommunityTheme-widgetColors-sidebarWidgetBackgroundColor: @mantle !important;
|
||||
--newCommunityTheme-widgetColors-sidebarWidgetBorderColor: fadeout(
|
||||
@surface1,
|
||||
30
|
||||
30%
|
||||
) !important;
|
||||
--newCommunityTheme-widgetColors-sidebarWidgetHeaderColor: @crust !important;
|
||||
--newCommunityTheme-widgetColors-sidebarWidgetHeaderColorAlpha60: @mantle !important;
|
||||
@@ -317,14 +317,14 @@
|
||||
--newCommunityTheme-widgetColors-sidebarWidgetTitleColor: @text !important;
|
||||
|
||||
--newRedditTheme-actionIcon: @subtext0 !important;
|
||||
--newRedditTheme-actionIconAlpha20: fadeout(@crust, 20) !important;
|
||||
--newRedditTheme-actionIconAlpha50: fadeout(@crust, 20) !important;
|
||||
--newRedditTheme-actionIconAlpha20: fadeout(@crust, 20%) !important;
|
||||
--newRedditTheme-actionIconAlpha50: fadeout(@crust, 20%) !important;
|
||||
--newRedditTheme-actionIconShaded80: @subtext0 !important;
|
||||
--newRedditTheme-actionIconTinted80: @subtext1 !important;
|
||||
--newRedditTheme-active: @accent-color !important;
|
||||
--newRedditTheme-activeAlpha10: fadeout(@crust, 20) !important;
|
||||
--newRedditTheme-activeAlpha20: fadeout(@crust, 20) !important;
|
||||
--newRedditTheme-activeAlpha50: fadeout(@crust, 20) !important;
|
||||
--newRedditTheme-activeAlpha10: fadeout(@crust, 20%) !important;
|
||||
--newRedditTheme-activeAlpha20: fadeout(@crust, 20%) !important;
|
||||
--newRedditTheme-activeAlpha50: fadeout(@crust, 20%) !important;
|
||||
--newRedditTheme-activeLight60: @accent-color !important;
|
||||
--newRedditTheme-activeShaded80: @accent-color !important;
|
||||
--newRedditTheme-activeShaded90: @accent-color !important;
|
||||
@@ -335,19 +335,19 @@
|
||||
--newRedditTheme-bodyAlpha50: @surface0 !important;
|
||||
--newRedditTheme-bodyAlpha70: @surface1 !important;
|
||||
--newRedditTheme-bodyAlpha80: @surface2 !important;
|
||||
--newRedditTheme-bodyFade: fadeout(@crust, 20) !important;
|
||||
--newRedditTheme-bodyFade: fadeout(@crust, 20%) !important;
|
||||
--newRedditTheme-bodyShaded80: @mantle !important;
|
||||
--newRedditTheme-bodyText: @text !important;
|
||||
--newRedditTheme-bodyTextAlpha03: fadeout(@crust, 20) !important;
|
||||
--newRedditTheme-bodyTextAlpha03: fadeout(@crust, 20%) !important;
|
||||
--newRedditTheme-bodyTextAlpha20: @surface1 !important;
|
||||
--newRedditTheme-bodyTextShaded20: @surface0 !important;
|
||||
--newRedditTheme-bodyTextTinted20: @subtext1 !important;
|
||||
--newRedditTheme-bodyTinted50: @overlay0 !important;
|
||||
--newRedditTheme-bodyTinted80: @overlay1 !important;
|
||||
--newRedditTheme-button: @text !important;
|
||||
--newRedditTheme-buttonAlpha05: fadeout(@crust, 20) !important;
|
||||
--newRedditTheme-buttonAlpha10: fadeout(@crust, 20) !important;
|
||||
--newRedditTheme-buttonAlpha20: fadeout(@crust, 20) !important;
|
||||
--newRedditTheme-buttonAlpha05: fadeout(@crust, 20%) !important;
|
||||
--newRedditTheme-buttonAlpha10: fadeout(@crust, 20%) !important;
|
||||
--newRedditTheme-buttonAlpha20: fadeout(@crust, 20%) !important;
|
||||
--newRedditTheme-buttonAlpha40: @subtext0 !important;
|
||||
--newRedditTheme-buttonAlpha50: @subtext1 !important;
|
||||
--newRedditTheme-buttonAlpha80: @subtext1 !important;
|
||||
@@ -368,10 +368,10 @@
|
||||
--newRedditTheme-inactive: @surface0 !important;
|
||||
--newRedditTheme-lightText: @text !important;
|
||||
--newRedditTheme-lightTextAlpha75: @subtext1 !important;
|
||||
--newRedditTheme-line: fadeout(@surface1, 30) !important;
|
||||
--newRedditTheme-lineShaded80: fadeout(@surface1, 30) !important;
|
||||
--newRedditTheme-lineShaded90: fadeout(@surface1, 30) !important;
|
||||
--newRedditTheme-lineShadedNinety: fadeout(@surface1, 30) !important;
|
||||
--newRedditTheme-line: fadeout(@surface1, 30%) !important;
|
||||
--newRedditTheme-lineShaded80: fadeout(@surface1, 30%) !important;
|
||||
--newRedditTheme-lineShaded90: fadeout(@surface1, 30%) !important;
|
||||
--newRedditTheme-lineShadedNinety: fadeout(@surface1, 30%) !important;
|
||||
|
||||
/* links */
|
||||
--newRedditTheme-linkText: @accent-color !important;
|
||||
@@ -389,7 +389,7 @@
|
||||
--newRedditTheme-menuInactiveText: @text !important;
|
||||
|
||||
--newRedditTheme-metaText: @subtext0 !important;
|
||||
--newRedditTheme-metaTextAlpha50: fadeout(@crust, 20) !important;
|
||||
--newRedditTheme-metaTextAlpha50: fadeout(@crust, 20%) !important;
|
||||
--newRedditTheme-metaTextShaded80: @subtext1 !important;
|
||||
--newRedditTheme-monospaceColor: @accent-color !important;
|
||||
--newRedditTheme-navBar-activeLink: @text !important;
|
||||
@@ -402,7 +402,7 @@
|
||||
--newRedditTheme-navBar-inactiveSubmenuLink: @text !important;
|
||||
--newRedditTheme-navBar-submenuBackgroundColor: @mantle !important;
|
||||
--newRedditTheme-navIcon: @text !important;
|
||||
--newRedditTheme-navIconFaded10: fadeout(@crust, 20) !important;
|
||||
--newRedditTheme-navIconFaded10: fadeout(@crust, 20%) !important;
|
||||
--newRedditTheme-nsfw: @red !important;
|
||||
--newRedditTheme-nsfwBlocking-bgcolor: @crust !important;
|
||||
--newRedditTheme-nsfwBlocking-color: @text !important;
|
||||
@@ -414,11 +414,11 @@
|
||||
--newRedditTheme-postError: @red !important;
|
||||
--newRedditTheme-postFlairText: @text !important;
|
||||
--newRedditTheme-postIcon: @accent-color !important;
|
||||
--newRedditTheme-postLine: fadeout(@surface1, 30) !important;
|
||||
--newRedditTheme-postLineShaded80: fadeout(@surface1, 30) !important;
|
||||
--newRedditTheme-postLineShaded90: fadeout(@surface1, 30) !important;
|
||||
--newRedditTheme-postLine: fadeout(@surface1, 30%) !important;
|
||||
--newRedditTheme-postLineShaded80: fadeout(@surface1, 30%) !important;
|
||||
--newRedditTheme-postLineShaded90: fadeout(@surface1, 30%) !important;
|
||||
--newRedditTheme-postTinted20: @base !important;
|
||||
--newRedditTheme-postTransparent20: fadeout(@crust, 20) !important;
|
||||
--newRedditTheme-postTransparent20: fadeout(@crust, 20%) !important;
|
||||
--newRedditTheme-primaryButtonShadedEighty: @surface1 !important;
|
||||
--newRedditTheme-primaryButtonTintedEighty: @surface2 !important;
|
||||
--newRedditTheme-primaryButtonTintedFifty: @surface1 !important;
|
||||
@@ -441,17 +441,17 @@
|
||||
--newRedditTheme-widgetColors-appleIcon: @overlay0 !important;
|
||||
--newRedditTheme-widgetColors-lineColor: fadeout(
|
||||
@surface1,
|
||||
30
|
||||
30%
|
||||
) !important;
|
||||
--newRedditTheme-widgetColors-sidebarWidgetBackgroundColor: @mantle !important;
|
||||
--newRedditTheme-widgetColors-sidebarWidgetBorderColor: fadeout(
|
||||
@surface1,
|
||||
30
|
||||
30%
|
||||
) !important;
|
||||
--newRedditTheme-widgetColors-sidebarWidgetHeaderColor: @crust !important;
|
||||
--newRedditTheme-widgetColors-sidebarWidgetHeaderColorAlpha60: fadeout(
|
||||
@crust,
|
||||
20
|
||||
20%
|
||||
) !important;
|
||||
--newRedditTheme-widgetColors-sidebarWidgetTextColor: @text !important;
|
||||
--newRedditTheme-widgetColors-sidebarWidgetTextColorShaded80: @subtext1 !important;
|
||||
@@ -484,7 +484,7 @@
|
||||
--activity-icon-nsfw-text: @text !important;
|
||||
--activity-icon-subIcon-backgroundColor: @text !important;
|
||||
--activity-icon-toaster: @crust !important;
|
||||
--activity-input-background: fadeout(@crust, 20) !important;
|
||||
--activity-input-background: fadeout(@crust, 20%) !important;
|
||||
--activity-input-border: @surface1 !important;
|
||||
--activity-input-channelRename: @subtext0 !important;
|
||||
--activity-input-color: @subtext1 !important;
|
||||
@@ -512,8 +512,8 @@
|
||||
--activity-text-warning: @red !important;
|
||||
--addReaction-backgroundColor: @surface0 !important;
|
||||
--addReaction-iconFill: @surface1 !important;
|
||||
--boxShadow: fadeout(@crust, 20) !important;
|
||||
--bubble-border: fadeout(@surface1, 30) !important;
|
||||
--boxShadow: fadeout(@crust, 20%) !important;
|
||||
--bubble-border: fadeout(@surface1, 30%) !important;
|
||||
--bubble-channelsFilter-background: @crust !important;
|
||||
--bubble-channelsFilter-selected: @overlay0 !important;
|
||||
--bubble-color: @text !important;
|
||||
@@ -521,13 +521,13 @@
|
||||
--bubbleActions-hover: @surface0 !important;
|
||||
--editName: @surface1 !important;
|
||||
--layout-body: @mantle !important;
|
||||
--layout-colsBorder: fadeout(@surface1, 30) !important;
|
||||
--layout-controlsBorder: fadeout(@surface1, 30) !important;
|
||||
--layout-dropdown-border: fadeout(@surface1, 30) !important;
|
||||
--layout-colsBorder: fadeout(@surface1, 30%) !important;
|
||||
--layout-controlsBorder: fadeout(@surface1, 30%) !important;
|
||||
--layout-dropdown-border: fadeout(@surface1, 30%) !important;
|
||||
--layout-header-counterBg: @red !important;
|
||||
--layout-header-counterText: @text !important;
|
||||
--layout-overlayBackground: fadeout(@crust, 20) !important;
|
||||
--layout-overlayReportFlow: fadeout(@crust, 20) !important;
|
||||
--layout-overlayBackground: fadeout(@crust, 20%) !important;
|
||||
--layout-overlayReportFlow: fadeout(@crust, 20%) !important;
|
||||
--layout-scrollbar: @text !important;
|
||||
--layout-scrollbarHover: @accent-color !important;
|
||||
--layout-timeStamp-tooltip-background: @surface0 !important;
|
||||
@@ -535,12 +535,12 @@
|
||||
--message-list-item-onlineIndicator: @green !important;
|
||||
--message-list-item-ownerBg: @surface1 !important;
|
||||
--message-list-item-richItem: @overlay0 !important;
|
||||
--message-list-item-richItemBorder: fadeout(@surface1, 30) !important;
|
||||
--message-list-item-richItemBorder: fadeout(@surface1, 30%) !important;
|
||||
--message-list-item-white: @text !important;
|
||||
--modal-buttonsBackground: @text !important;
|
||||
--modal-primaryButtonWarning: @red !important;
|
||||
--modal-secondaryButton: @text !important;
|
||||
--newChat-inviteLink-borderColor: fadeout(@surface1, 30) !important;
|
||||
--newChat-inviteLink-borderColor: fadeout(@surface1, 30%) !important;
|
||||
--overlay-backgroundColor: @mantle !important;
|
||||
--overlay-headerColor: @text !important;
|
||||
--overlay-inputBackground: @crust !important;
|
||||
@@ -552,7 +552,7 @@
|
||||
--settings-panelBackground: @crust !important;
|
||||
--settings-panelItemHoverBackground: @surface0 !important;
|
||||
--settings-panelItemSelectedBackground: @surface1 !important;
|
||||
--sidebar-background: fadeout(@surface1, 30) !important;
|
||||
--sidebar-background: fadeout(@surface1, 30%) !important;
|
||||
--sidebar-basic-background-active: @accent-color !important;
|
||||
--sidebar-basic-background-hover: @mantle !important;
|
||||
--sidebar-footer-background: @crust !important;
|
||||
@@ -1066,7 +1066,7 @@
|
||||
/* shade applied to background when clicking on a post with "open in new tab" disabled */
|
||||
div._2DJXORCrmcNpPTSq0LqL6i,
|
||||
div._1DK52RbaamLOWw5UPaht_S {
|
||||
background: fadeout(@crust, 20) !important;
|
||||
background: fadeout(@crust, 20%) !important;
|
||||
}
|
||||
|
||||
/* gold award gradient */
|
||||
@@ -1087,7 +1087,7 @@
|
||||
|
||||
/* image gallery image count */
|
||||
div._61i6grM3um1yuw4GrN97P {
|
||||
background: fadeout(@crust, 20) !important;
|
||||
background: fadeout(@crust, 20%) !important;
|
||||
color: @text !important;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user