refactor(reddit): remove unused rules and variables (#2155)
This commit is contained in:
1 parent
7fb3d2386c
commit
cec6853937
1 file changed
+6
-974
@@ -38,9 +38,8 @@
|
||||
#lib.palette();
|
||||
#lib.defaults();
|
||||
|
||||
/* BETA */
|
||||
--color-pizzaRed: @red !important;
|
||||
--color-global-brand-orangered: @peach !important;
|
||||
--color-global-brand-orangered: @accent !important;
|
||||
--color-global-focus: @surface1 !important;
|
||||
--color-interactive-content-disabled: @subtext0 !important;
|
||||
--color-interactive-background-disabled: fade(@surface2, 70%) !important;
|
||||
@@ -138,419 +137,6 @@
|
||||
}
|
||||
}
|
||||
|
||||
/* normal stuff */
|
||||
|
||||
&,
|
||||
div[class^="subredditvars"] {
|
||||
--color-online: @green !important;
|
||||
--newCommunityTheme-actionIcon: @subtext0 !important;
|
||||
--newCommunityTheme-actionIconAlpha20: fade(@crust, 80%) !important;
|
||||
--newCommunityTheme-actionIconAlpha50: fade(@crust, 80%) !important;
|
||||
--newCommunityTheme-actionIconShaded80: @subtext0 !important;
|
||||
--newCommunityTheme-actionIconTinted80: @subtext1 !important;
|
||||
--newCommunityTheme-active: @accent !important;
|
||||
--newCommunityTheme-activeAlpha10: fade(@crust, 80%) !important;
|
||||
--newCommunityTheme-activeAlpha20: fade(@crust, 80%) !important;
|
||||
--newCommunityTheme-activeAlpha50: fade(@crust, 80%) !important;
|
||||
--newCommunityTheme-activeLight60: @accent !important;
|
||||
--newCommunityTheme-activeShaded80: @accent !important;
|
||||
--newCommunityTheme-activeShaded90: @accent !important;
|
||||
--newCommunityTheme-activeTinted05: @text !important;
|
||||
--newCommunityTheme-banner-backgroundColor: @accent !important;
|
||||
--newCommunityTheme-banner-iconColor: @accent !important;
|
||||
--newCommunityTheme-body: @mantle !important;
|
||||
--newCommunityTheme-bodyAlpha50: @surface0 !important;
|
||||
--newCommunityTheme-bodyAlpha70: @surface1 !important;
|
||||
--newCommunityTheme-bodyAlpha80: @surface2 !important;
|
||||
--newCommunityTheme-bodyFade: @subtext0 !important;
|
||||
--newCommunityTheme-bodyShaded80: @mantle !important;
|
||||
--newCommunityTheme-bodyText: @text !important;
|
||||
--newCommunityTheme-bodyTextAlpha03: @mantle !important;
|
||||
--newCommunityTheme-bodyTextAlpha20: @surface1 !important;
|
||||
--newCommunityTheme-bodyTextShaded20: @surface0 !important;
|
||||
--newCommunityTheme-bodyTextTinted20: @subtext0 !important;
|
||||
--newCommunityTheme-bodyTinted50: @overlay1 !important;
|
||||
--newCommunityTheme-bodyTinted80: @overlay0 !important;
|
||||
--newCommunityTheme-button: @text !important;
|
||||
--newCommunityTheme-buttonAlpha05: fade(@crust, 80%) !important;
|
||||
--newCommunityTheme-buttonAlpha10: fade(@crust, 80%) !important;
|
||||
--newCommunityTheme-buttonAlpha20: fade(@crust, 80%) !important;
|
||||
--newCommunityTheme-buttonAlpha40: @subtext0 !important;
|
||||
--newCommunityTheme-buttonAlpha50: @subtext1 !important;
|
||||
--newCommunityTheme-buttonAlpha80: @subtext1 !important;
|
||||
--newCommunityTheme-buttonShaded80: @overlay0 !important;
|
||||
--newCommunityTheme-buttonTinted20: @accent !important;
|
||||
--newCommunityTheme-buttonTinted50: @accent !important;
|
||||
--newCommunityTheme-buttonTinted80: @accent !important;
|
||||
--newCommunityTheme-canvas: @crust !important;
|
||||
--newCommunityTheme-checkbox: @text !important;
|
||||
--newCommunityTheme-errorText: @red !important;
|
||||
--newCommunityTheme-field: @surface0 !important;
|
||||
--newCommunityTheme-fieldFade: fade(@surface1, 70%) !important;
|
||||
--newCommunityTheme-flair: @accent !important;
|
||||
--newCommunityTheme-highlight: @base !important;
|
||||
--newCommunityTheme-inactive: @subtext0 !important;
|
||||
--newCommunityTheme-lightText: @text !important;
|
||||
--newCommunityTheme-lightTextAlpha75: @subtext1 !important;
|
||||
--newCommunityTheme-line: fade(@surface1, 70%) !important;
|
||||
--newCommunityTheme-lineShaded80: fade(@surface1, 70%) !important;
|
||||
--newCommunityTheme-lineShaded90: fade(@surface1, 70%) !important;
|
||||
--newCommunityTheme-lineShadedNinety: fade(@surface1, 70%) !important;
|
||||
--newCommunityTheme-linkText: @accent !important;
|
||||
--newCommunityTheme-linkTextAlpha80: @accent !important;
|
||||
--newCommunityTheme-linkTextShaded80: @accent !important;
|
||||
--newCommunityTheme-linkTextTinted80: @accent !important;
|
||||
--newCommunityTheme-linkTextWithBody: @accent !important;
|
||||
--newCommunityTheme-menu: @mantle !important;
|
||||
--newCommunityTheme-menuActiveText: @text !important;
|
||||
--newCommunityTheme-menuButtonBackground-active: @base !important;
|
||||
--newCommunityTheme-menuButtonBackground-focus: @base !important;
|
||||
--newCommunityTheme-menuButtonBackground-hover: @base !important;
|
||||
--newCommunityTheme-menuInactiveText: @text !important;
|
||||
--newCommunityTheme-metaText: @subtext0 !important;
|
||||
--newCommunityTheme-metaTextAlpha50: @subtext0 !important;
|
||||
--newCommunityTheme-metaTextShaded80: @subtext0 !important;
|
||||
--newCommunityTheme-monospaceColor: @accent !important;
|
||||
--newCommunityTheme-navBar-activeLink: @text !important;
|
||||
--newCommunityTheme-navBar-activeSubmenuCaret: @text !important;
|
||||
--newCommunityTheme-navBar-activeSubmenuLink: @text !important;
|
||||
--newCommunityTheme-navBar-backgroundColor: @mantle !important;
|
||||
--newCommunityTheme-navBar-hoverLink: @text !important;
|
||||
--newCommunityTheme-navBar-inactiveLink: @text !important;
|
||||
--newCommunityTheme-navBar-inactiveSubmenuCaret: @text !important;
|
||||
--newCommunityTheme-navBar-inactiveSubmenuLink: @text !important;
|
||||
--newCommunityTheme-navBar-submenuBackgroundColor: @mantle !important;
|
||||
--newCommunityTheme-navIcon: @text !important;
|
||||
|
||||
/* upvote/downvote focus */
|
||||
--newCommunityTheme-navIconFaded10: fade(@crust, 80%) !important;
|
||||
|
||||
--newCommunityTheme-nsfw: @red !important;
|
||||
--newCommunityTheme-nsfwBlocking-bgcolor: @crust !important;
|
||||
--newCommunityTheme-nsfwBlocking-color: @text !important;
|
||||
--newCommunityTheme-nsfwBlocking-contentTitleBgColor: @base !important;
|
||||
--newCommunityTheme-nsfwBlocking-mainCtaBgColor: @mantle !important;
|
||||
--newCommunityTheme-pageHeader: @surface2 !important;
|
||||
--newCommunityTheme-placeholder: @surface0 !important;
|
||||
--newCommunityTheme-post: @mantle !important;
|
||||
--newCommunityTheme-postError: @red !important;
|
||||
--newCommunityTheme-postFlairText: @crust !important;
|
||||
--newCommunityTheme-postIcon: @accent !important;
|
||||
--newCommunityTheme-postLine: fade(@surface1, 70%) !important;
|
||||
--newCommunityTheme-postLineShaded80: fade(@surface1, 70%) !important;
|
||||
--newCommunityTheme-postLineShaded90: fade(@surface1, 70%) !important;
|
||||
--newCommunityTheme-postTinted20: @base !important;
|
||||
--newCommunityTheme-postTransparent20: @base !important;
|
||||
--newCommunityTheme-primaryButtonShadedEighty: @overlay1 !important;
|
||||
--newCommunityTheme-primaryButtonTintedEighty: @overlay1 !important;
|
||||
--newCommunityTheme-primaryButtonTintedFifty: @overlay0 !important;
|
||||
--newCommunityTheme-primaryButtonTintedSixty: @overlay0 !important;
|
||||
--newCommunityTheme-quarantine: @yellow !important;
|
||||
--newCommunityTheme-report: @surface1 !important;
|
||||
--newCommunityTheme-search-syntaxHighlightBackgroundColor: @accent
|
||||
!important;
|
||||
--newCommunityTheme-search-syntaxHighlightColor: @base !important;
|
||||
--newCommunityTheme-titleText: @text !important;
|
||||
--newCommunityTheme-upsell-appleIcon: @subtext1 !important;
|
||||
--newCommunityTheme-upsell-ssoButtonBorderColor: fade(
|
||||
@surface1,
|
||||
70%
|
||||
) !important;
|
||||
--newCommunityTheme-upsell-ssoButtonTextColor: @text !important;
|
||||
--newCommunityTheme-voteText-base: @subtext0 !important;
|
||||
--newCommunityTheme-voteText-downvote: @blue !important;
|
||||
--newCommunityTheme-voteText-downvoteShaded80: @blue !important;
|
||||
--newCommunityTheme-voteText-downvoteTinted80: @blue !important;
|
||||
--newCommunityTheme-voteText-upvote: @red !important;
|
||||
--newCommunityTheme-voteText-upvoteShaded80: @red !important;
|
||||
--newCommunityTheme-voteText-upvoteTinted80: @red !important;
|
||||
--newCommunityTheme-widgetColors-appleIcon: @overlay0 !important;
|
||||
--newCommunityTheme-widgetColors-lineColor: fade(
|
||||
@surface1,
|
||||
70%
|
||||
) !important;
|
||||
|
||||
/* sidebar widgets */
|
||||
--newCommunityTheme-widgetColors-sidebarWidgetBackgroundColor: @mantle
|
||||
!important;
|
||||
--newCommunityTheme-widgetColors-sidebarWidgetBorderColor: fade(
|
||||
@surface1,
|
||||
70%
|
||||
) !important;
|
||||
--newCommunityTheme-widgetColors-sidebarWidgetHeaderColor: @crust
|
||||
!important;
|
||||
--newCommunityTheme-widgetColors-sidebarWidgetHeaderColorAlpha60: @mantle
|
||||
!important;
|
||||
--newCommunityTheme-widgetColors-sidebarWidgetTextColor: @text !important;
|
||||
--newCommunityTheme-widgetColors-sidebarWidgetTextColorShaded80: @subtext1
|
||||
!important;
|
||||
--newCommunityTheme-widgetColors-sidebarWidgetTitleColor: @text
|
||||
!important;
|
||||
|
||||
--newRedditTheme-actionIcon: @subtext0 !important;
|
||||
--newRedditTheme-actionIconAlpha20: fade(@crust, 80%) !important;
|
||||
--newRedditTheme-actionIconAlpha50: fade(@crust, 80%) !important;
|
||||
--newRedditTheme-actionIconShaded80: @subtext0 !important;
|
||||
--newRedditTheme-actionIconTinted80: @subtext1 !important;
|
||||
--newRedditTheme-active: @accent !important;
|
||||
--newRedditTheme-activeAlpha10: fade(@crust, 80%) !important;
|
||||
--newRedditTheme-activeAlpha20: fade(@crust, 80%) !important;
|
||||
--newRedditTheme-activeAlpha50: fade(@crust, 80%) !important;
|
||||
--newRedditTheme-activeLight60: @accent !important;
|
||||
--newRedditTheme-activeShaded80: @accent !important;
|
||||
--newRedditTheme-activeShaded90: @accent !important;
|
||||
--newRedditTheme-activeTinted05: @text !important;
|
||||
--newRedditTheme-banner-backgroundColor: @accent !important;
|
||||
--newRedditTheme-banner-iconColor: @accent !important;
|
||||
--newRedditTheme-body: @mantle !important;
|
||||
--newRedditTheme-bodyAlpha50: @surface0 !important;
|
||||
--newRedditTheme-bodyAlpha70: @surface1 !important;
|
||||
--newRedditTheme-bodyAlpha80: @surface2 !important;
|
||||
--newRedditTheme-bodyFade: fade(@crust, 80%) !important;
|
||||
--newRedditTheme-bodyShaded80: @mantle !important;
|
||||
--newRedditTheme-bodyText: @text !important;
|
||||
--newRedditTheme-bodyTextAlpha03: fade(@crust, 80%) !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: fade(@crust, 80%) !important;
|
||||
--newRedditTheme-buttonAlpha10: fade(@crust, 80%) !important;
|
||||
--newRedditTheme-buttonAlpha20: fade(@crust, 80%) !important;
|
||||
--newRedditTheme-buttonAlpha40: @subtext0 !important;
|
||||
--newRedditTheme-buttonAlpha50: @subtext1 !important;
|
||||
--newRedditTheme-buttonAlpha80: @subtext1 !important;
|
||||
--newRedditTheme-buttonShaded80: @overlay0 !important;
|
||||
--newRedditTheme-buttonTinted20: @accent !important;
|
||||
--newRedditTheme-buttonTinted50: @accent !important;
|
||||
--newRedditTheme-buttonTinted80: @accent !important;
|
||||
--newRedditTheme-canvas: @crust !important;
|
||||
--newRedditTheme-checkbox: @text !important;
|
||||
--newRedditTheme-errorText: @red !important;
|
||||
--newRedditTheme-field: @base !important;
|
||||
--newRedditTheme-fieldFade: @mantle !important;
|
||||
--newRedditTheme-flair: @accent !important;
|
||||
|
||||
/* controls menu, link, and other similar highlights. very important */
|
||||
--newRedditTheme-highlight: @base !important;
|
||||
|
||||
--newRedditTheme-inactive: @surface0 !important;
|
||||
--newRedditTheme-lightText: @text !important;
|
||||
--newRedditTheme-lightTextAlpha75: @subtext1 !important;
|
||||
--newRedditTheme-line: fade(@surface1, 70%) !important;
|
||||
--newRedditTheme-lineShaded80: fade(@surface1, 70%) !important;
|
||||
--newRedditTheme-lineShaded90: fade(@surface1, 70%) !important;
|
||||
--newRedditTheme-lineShadedNinety: fade(@surface1, 70%) !important;
|
||||
|
||||
/* links */
|
||||
--newRedditTheme-linkText: @accent !important;
|
||||
--newRedditTheme-linkTextAlpha80: @accent !important;
|
||||
--newRedditTheme-linkTextShaded80: @accent !important;
|
||||
--newRedditTheme-linkTextTinted80: @accent !important;
|
||||
--newRedditTheme-linkTextWithBody: @accent !important;
|
||||
|
||||
/* menus */
|
||||
--newRedditTheme-menu: @mantle !important;
|
||||
--newRedditTheme-menuActiveText: @text !important;
|
||||
--newRedditTheme-menuButtonBackground-active: @accent !important;
|
||||
--newRedditTheme-menuButtonBackground-focus: @base !important;
|
||||
--newRedditTheme-menuButtonBackground-hover: @base !important;
|
||||
--newRedditTheme-menuInactiveText: @text !important;
|
||||
|
||||
--newRedditTheme-metaText: @subtext0 !important;
|
||||
--newRedditTheme-metaTextAlpha50: fade(@crust, 80%) !important;
|
||||
--newRedditTheme-metaTextShaded80: @subtext1 !important;
|
||||
--newRedditTheme-monospaceColor: @accent !important;
|
||||
--newRedditTheme-navBar-activeLink: @text !important;
|
||||
--newRedditTheme-navBar-activeSubmenuCaret: @text !important;
|
||||
--newRedditTheme-navBar-activeSubmenuLink: @text !important;
|
||||
--newRedditTheme-navBar-backgroundColor: @mantle !important;
|
||||
--newRedditTheme-navBar-hoverLink: @text !important;
|
||||
--newRedditTheme-navBar-inactiveLink: @text !important;
|
||||
--newRedditTheme-navBar-inactiveSubmenuCaret: @text !important;
|
||||
--newRedditTheme-navBar-inactiveSubmenuLink: @text !important;
|
||||
--newRedditTheme-navBar-submenuBackgroundColor: @mantle !important;
|
||||
--newRedditTheme-navIcon: @text !important;
|
||||
--newRedditTheme-navIconFaded10: fade(@crust, 80%) !important;
|
||||
--newRedditTheme-nsfw: @red !important;
|
||||
--newRedditTheme-nsfwBlocking-bgcolor: @crust !important;
|
||||
--newRedditTheme-nsfwBlocking-color: @text !important;
|
||||
--newRedditTheme-nsfwBlocking-contentTitleBgColor: @base !important;
|
||||
--newRedditTheme-nsfwBlocking-mainCtaBgColor: @mantle !important;
|
||||
--newRedditTheme-pageHeader: @surface0 !important;
|
||||
--newRedditTheme-placeholder: @surface1 !important;
|
||||
--newRedditTheme-post: @mantle !important;
|
||||
--newRedditTheme-postError: @red !important;
|
||||
--newRedditTheme-postFlairText: @text !important;
|
||||
--newRedditTheme-postIcon: @accent !important;
|
||||
--newRedditTheme-postLine: fade(@surface1, 70%) !important;
|
||||
--newRedditTheme-postLineShaded80: fade(@surface1, 70%) !important;
|
||||
--newRedditTheme-postLineShaded90: fade(@surface1, 70%) !important;
|
||||
--newRedditTheme-postTinted20: @base !important;
|
||||
--newRedditTheme-postTransparent20: fade(@crust, 80%) !important;
|
||||
--newRedditTheme-primaryButtonShadedEighty: @surface1 !important;
|
||||
--newRedditTheme-primaryButtonTintedEighty: @surface2 !important;
|
||||
--newRedditTheme-primaryButtonTintedFifty: @surface1 !important;
|
||||
--newRedditTheme-primaryButtonTintedSixty: @surface1 !important;
|
||||
--newRedditTheme-quarantine: @yellow !important;
|
||||
--newRedditTheme-report: @base !important;
|
||||
--newRedditTheme-search-syntaxHighlightBackgroundColor: @accent
|
||||
!important;
|
||||
--newRedditTheme-search-syntaxHighlightColor: @base !important;
|
||||
--newRedditTheme-titleText: @text !important;
|
||||
--newRedditTheme-upsell-appleIcon: @overlay0 !important;
|
||||
--newRedditTheme-upsell-ssoButtonBorderColor: @text !important;
|
||||
--newRedditTheme-upsell-ssoButtonTextColor: @text !important;
|
||||
--newRedditTheme-voteText-base: @subtext1 !important;
|
||||
--newRedditTheme-voteText-downvote: @blue !important;
|
||||
--newRedditTheme-voteText-downvoteShaded80: @blue !important;
|
||||
--newRedditTheme-voteText-downvoteTinted80: @blue !important;
|
||||
--newRedditTheme-voteText-upvote: @red !important;
|
||||
--newRedditTheme-voteText-upvoteShaded80: @red !important;
|
||||
--newRedditTheme-voteText-upvoteTinted80: @red !important;
|
||||
--newRedditTheme-widgetColors-appleIcon: @overlay0 !important;
|
||||
--newRedditTheme-widgetColors-lineColor: fade(
|
||||
@surface1,
|
||||
70%
|
||||
) !important;
|
||||
--newRedditTheme-widgetColors-sidebarWidgetBackgroundColor: @mantle
|
||||
!important;
|
||||
--newRedditTheme-widgetColors-sidebarWidgetBorderColor: fade(
|
||||
@surface1,
|
||||
70%
|
||||
) !important;
|
||||
--newRedditTheme-widgetColors-sidebarWidgetHeaderColor: @crust !important;
|
||||
--newRedditTheme-widgetColors-sidebarWidgetHeaderColorAlpha60: fade(
|
||||
@crust,
|
||||
80%
|
||||
) !important;
|
||||
--newRedditTheme-widgetColors-sidebarWidgetTextColor: @text !important;
|
||||
--newRedditTheme-widgetColors-sidebarWidgetTextColorShaded80: @subtext1
|
||||
!important;
|
||||
--newRedditTheme-widgetColors-sidebarWidgetTitleColor: @text !important;
|
||||
--tw-bg-opacity: @crust !important;
|
||||
--vds-video-bg-color: @crust !important;
|
||||
}
|
||||
|
||||
/* reddit chat variables */
|
||||
:root {
|
||||
--activity-button-chatFilterColor: @surface0 !important;
|
||||
--activity-button-newChatFilter-activeBg: @accent !important;
|
||||
--activity-button-newChatFilter-activeText: @base !important;
|
||||
--activity-button-newChatFilter-defaultBorder: @surface1 !important;
|
||||
--activity-button-newChatFilter-defaultText: @text !important;
|
||||
--activity-button-primary: @accent !important;
|
||||
--activity-button-secondary: @text !important;
|
||||
--activity-buttonPrimary-color: @accent !important;
|
||||
--activity-buttonSecondary-active: @accent !important;
|
||||
--activity-checkbox-checked: @accent !important;
|
||||
--activity-checkbox-checkmark: @text !important;
|
||||
--activity-checkbox-unchecked: @base !important;
|
||||
--activity-checkbox-uncheckedBorder: @surface1 !important;
|
||||
--activity-icon-active: @accent !important;
|
||||
--activity-icon-contrast: @surface1 !important;
|
||||
--activity-icon-default: @subtext0 !important;
|
||||
--activity-icon-disable: @surface2 !important;
|
||||
--activity-icon-hover: @surface2 !important;
|
||||
--activity-icon-nsfw-bg: @base !important;
|
||||
--activity-icon-nsfw-text: @text !important;
|
||||
--activity-icon-subIcon-backgroundColor: @text !important;
|
||||
--activity-icon-toaster: @crust !important;
|
||||
--activity-input-background: fade(@crust, 80%) !important;
|
||||
--activity-input-border: @surface1 !important;
|
||||
--activity-input-channelRename: @subtext0 !important;
|
||||
--activity-input-color: @subtext1 !important;
|
||||
--activity-input-error: @red !important;
|
||||
--activity-input-focusBg: @green !important;
|
||||
--activity-input-focusColor: @text !important;
|
||||
--activity-input-ownerBg: @surface0 !important;
|
||||
--activity-link-hoverText: @red !important;
|
||||
--activity-link-staticText: @accent !important;
|
||||
--activity-link-staticUnderline: @accent !important;
|
||||
--activity-minimizedPortal-backgroundColor-unreadFinal: @mantle
|
||||
!important;
|
||||
--activity-minimizedPortal-backgroundColor-unreadInitial: @accent
|
||||
!important;
|
||||
--activity-minimizedPortal-color-unreadFinal: @text !important;
|
||||
--activity-minimizedPortal-color-unreadInitial: @text !important;
|
||||
--activity-send-disable: @surface0 !important;
|
||||
--activity-send-hover: @accent !important;
|
||||
--activity-text-active: @accent !important;
|
||||
--activity-text-fade: @subtext0 !important;
|
||||
--activity-text-highlight: @text !important;
|
||||
--activity-text-light: @subtext0 !important;
|
||||
--activity-text-meta: @subtext0 !important;
|
||||
--activity-text-regular: @text !important;
|
||||
--activity-text-success: @green !important;
|
||||
--activity-text-tutorial: @rosewater !important;
|
||||
--activity-text-warning: @red !important;
|
||||
--addReaction-backgroundColor: @surface0 !important;
|
||||
--addReaction-iconFill: @surface1 !important;
|
||||
--boxShadow: fade(@crust, 80%) !important;
|
||||
--bubble-border: fade(@surface1, 70%) !important;
|
||||
--bubble-channelsFilter-background: @crust !important;
|
||||
--bubble-channelsFilter-selected: @overlay0 !important;
|
||||
--bubble-color: @text !important;
|
||||
--bubble-link-color: @accent !important;
|
||||
--bubbleActions-hover: @surface0 !important;
|
||||
--editName: @surface1 !important;
|
||||
--layout-body: @mantle !important;
|
||||
--layout-colsBorder: fade(@surface1, 70%) !important;
|
||||
--layout-controlsBorder: fade(@surface1, 70%) !important;
|
||||
--layout-dropdown-border: fade(@surface1, 70%) !important;
|
||||
--layout-header-counterBg: @red !important;
|
||||
--layout-header-counterText: @text !important;
|
||||
--layout-overlayBackground: fade(@crust, 80%) !important;
|
||||
--layout-overlayReportFlow: fade(@crust, 80%) !important;
|
||||
--layout-scrollbar: @text !important;
|
||||
--layout-scrollbarHover: @accent !important;
|
||||
--layout-timeStamp-tooltip-background: @surface0 !important;
|
||||
--message-list-item-button: @surface1 !important;
|
||||
--message-list-item-onlineIndicator: @green !important;
|
||||
--message-list-item-ownerBg: @surface1 !important;
|
||||
--message-list-item-richItem: @overlay0 !important;
|
||||
--message-list-item-richItemBorder: fade(@surface1, 70%) !important;
|
||||
--message-list-item-white: @text !important;
|
||||
--modal-buttonsBackground: @text !important;
|
||||
--modal-primaryButtonWarning: @red !important;
|
||||
--modal-secondaryButton: @text !important;
|
||||
--newChat-inviteLink-borderColor: fade(@surface1, 70%) !important;
|
||||
--overlay-backgroundColor: @mantle !important;
|
||||
--overlay-headerColor: @text !important;
|
||||
--overlay-inputBackground: @crust !important;
|
||||
--overlay-searchBarBackground: @mantle !important;
|
||||
--prompt-tooltip-background: @accent !important;
|
||||
--searchBar-backgroundColor: @mantle !important;
|
||||
--settings-color: @subtext0 !important;
|
||||
--settings-dropdownItemHoverBackground: @crust !important;
|
||||
--settings-panelBackground: @crust !important;
|
||||
--settings-panelItemHoverBackground: @surface0 !important;
|
||||
--settings-panelItemSelectedBackground: @surface1 !important;
|
||||
--sidebar-background: fade(@surface1, 70%) !important;
|
||||
--sidebar-basic-background-active: @accent !important;
|
||||
--sidebar-basic-background-hover: @mantle !important;
|
||||
--sidebar-footer-background: @crust !important;
|
||||
--sidebar-item-active: @surface1 !important;
|
||||
--sidebar-item-hover: @surface0 !important;
|
||||
--sidebar-item-selected: @surface2 !important;
|
||||
--sidebar-item-text-active: @text !important;
|
||||
--sidebar-subreddit-background-active: @accent !important;
|
||||
--sidebar-subreddit-background-hover: @surface1 !important;
|
||||
--sidebar-text-divider: @surface1 !important;
|
||||
--skeleton-field: @surface2 !important;
|
||||
--skeleton-inactive: @surface0 !important;
|
||||
--subreddit-iconBg: @accent !important;
|
||||
--toast-error: @red !important;
|
||||
--toast-pending: @crust !important;
|
||||
--toast-success: @green !important;
|
||||
--uploads-progress-background: @subtext0 !important;
|
||||
--uploads-progress-bar: @accent !important;
|
||||
--videoModal-button-background: @text !important;
|
||||
--videoModal-button-color: @mantle !important;
|
||||
}
|
||||
|
||||
/* Trending news carousel on https://www.reddit.com/r/popular/. */
|
||||
shreddit-gallery-carousel {
|
||||
// Headline
|
||||
@@ -564,565 +150,11 @@
|
||||
}
|
||||
}
|
||||
|
||||
/* site background */
|
||||
div.ListingLayout-backgroundContainer::before {
|
||||
background: @base !important;
|
||||
}
|
||||
|
||||
/* PROFILE MENU */
|
||||
|
||||
/* karma count */
|
||||
span#email-collection-tooltip-id > :nth-child(2) > :nth-child(2) > span {
|
||||
color: @subtext0 !important;
|
||||
}
|
||||
|
||||
/* profile button karma icon */
|
||||
i.icon-karma_fill {
|
||||
color: @red !important;
|
||||
}
|
||||
|
||||
/* menu headers */
|
||||
div[role="menu"] > div > div > span > span {
|
||||
color: @subtext0 !important;
|
||||
}
|
||||
|
||||
/* switches, should also apply sitewide */
|
||||
button[role="switch"][aria-checked="false"] {
|
||||
background: @surface0 !important;
|
||||
}
|
||||
|
||||
button[role="switch"] > div {
|
||||
background: @text !important;
|
||||
}
|
||||
|
||||
/* online status */
|
||||
._2dn5Ncenn0BSD4tCSmxQhA {
|
||||
fill: @green !important;
|
||||
}
|
||||
|
||||
._3SlBAJb2MbUHwgBZFH8eL7 {
|
||||
fill: @base !important;
|
||||
}
|
||||
|
||||
/* PROFILE PAGE */
|
||||
|
||||
/* create avatar button */
|
||||
button._3F1tNW0P4Ff182mO_CefIg {
|
||||
background: linear-gradient(90deg, @red, @peach) !important;
|
||||
color: @base !important;
|
||||
}
|
||||
|
||||
button._3F1tNW0P4Ff182mO_CefIg > i {
|
||||
color: @base !important;
|
||||
}
|
||||
|
||||
/* cake day and followers icon */
|
||||
i.icon-cake_fill,
|
||||
i.icon-user_fill {
|
||||
color: @accent !important;
|
||||
}
|
||||
|
||||
/* add social links button readability tweak */
|
||||
div._3hew1NnzwygOKDNQDKp6R4,
|
||||
div._3hew1NnzwygOKDNQDKp6R4 > i,
|
||||
li._3hew1NnzwygOKDNQDKp6R4 {
|
||||
color: @base !important;
|
||||
}
|
||||
|
||||
/* profile moderation and user settings page */
|
||||
div._1VP69d9lk-Wk9zokOaylL {
|
||||
--background: @base !important;
|
||||
--canvas: @base !important;
|
||||
}
|
||||
|
||||
/* Beta Badge */
|
||||
span._2KFJx8Dhh1o1u0Xb8e7NuD {
|
||||
color: @accent !important;
|
||||
}
|
||||
|
||||
/* Delete Account */
|
||||
button.EBd2MhBQlQeZ13YeP0K8a {
|
||||
color: @accent !important;
|
||||
}
|
||||
|
||||
/* Delete Account Icon */
|
||||
svg._1Fa4RPHlhrfUZuNaXK2-eP > path {
|
||||
fill: @accent !important;
|
||||
}
|
||||
|
||||
/* blocked, muted input */
|
||||
input._1Vnaj3fBuYrmHKEPQD_zWW {
|
||||
background-color: @base !important;
|
||||
}
|
||||
|
||||
/* fixes profile posts not being themed */
|
||||
div.scrollerItem > div,
|
||||
div[data-testid="post-container"],
|
||||
div[style="background:#1A1A1B"],
|
||||
div._2otRz3OtuWajw1RleFDJ5P {
|
||||
background: @mantle !important;
|
||||
}
|
||||
|
||||
/* NFT AVATAR VIEWER */
|
||||
|
||||
/* modal background */
|
||||
div._productDetails_7kbcu_53 {
|
||||
background: @mantle !important;
|
||||
color: @text !important;
|
||||
}
|
||||
|
||||
/* Tag Color */
|
||||
.RESUserTagImage::after {
|
||||
color: @accent;
|
||||
}
|
||||
|
||||
/* mint status */
|
||||
div._mintStatus_7kbcu_264 {
|
||||
color: @accent !important;
|
||||
}
|
||||
|
||||
/* carousel background */
|
||||
div._carousel_7kbcu_45 {
|
||||
background: linear-gradient(243.37deg, @base 16.42%, @blue 100%);
|
||||
}
|
||||
|
||||
/* nft card back */
|
||||
div._card_1ooes_1 {
|
||||
background: @blue !important;
|
||||
}
|
||||
|
||||
ol._container_1t62i_1 {
|
||||
border-color: @base !important;
|
||||
}
|
||||
|
||||
ol._container_1t62i_1 > li {
|
||||
border-color: @base !important;
|
||||
}
|
||||
|
||||
ol._container_1t62i_1 > li > div {
|
||||
color: @base !important;
|
||||
}
|
||||
|
||||
div.MuiMobileStepper-dot {
|
||||
background: @surface0 !important;
|
||||
}
|
||||
|
||||
div.MuiMobileStepper-dotActive {
|
||||
background: @accent !important;
|
||||
}
|
||||
|
||||
div._scrollContainer_7kbcu_104 > div > h3,
|
||||
div._cardAuthor_7kbcu_79 {
|
||||
color: @subtext0 !important;
|
||||
}
|
||||
|
||||
div._container_oikih_1 {
|
||||
background: @crust !important;
|
||||
border-color: @surface1 !important;
|
||||
}
|
||||
|
||||
/* external links */
|
||||
a._pill_7kbcu_280 {
|
||||
background: @crust !important;
|
||||
color: @text !important;
|
||||
}
|
||||
|
||||
/* shop for avatars button */
|
||||
button._shopForMoreButton_7kbcu_125 {
|
||||
background: linear-gradient(90deg, @red, @peach) !important;
|
||||
color: @base !important;
|
||||
}
|
||||
|
||||
/* AVATAR CREATOR */
|
||||
div._wrapper_1upjl_7 {
|
||||
background: @base !important;
|
||||
color: @text !important;
|
||||
}
|
||||
|
||||
/* SITE HEADER */
|
||||
|
||||
/* reddit logo */
|
||||
a[aria-label="Home"] > svg > g > circle {
|
||||
fill: @accent !important;
|
||||
}
|
||||
|
||||
a[aria-label="Home"] > svg:first-child > g > path {
|
||||
fill: @base !important;
|
||||
}
|
||||
|
||||
a[aria-label="Home"] > svg:nth-child(2) > g > path {
|
||||
fill: @text !important;
|
||||
}
|
||||
|
||||
/* Post title from notification */
|
||||
h1._eYtD2XCVieq6emjKBH3m {
|
||||
color: @text !important;
|
||||
}
|
||||
|
||||
/* notification icon */
|
||||
button[aria-label="Open notifications inbox"] > div > span {
|
||||
background: @accent !important;
|
||||
color: @mantle !important;
|
||||
}
|
||||
|
||||
/* advertise button */
|
||||
#change-username-tooltip-id > span._2I12Htze2UzJmmfnrgYJOn > a {
|
||||
background: @surface0 !important;
|
||||
color: @text !important;
|
||||
}
|
||||
|
||||
#change-username-tooltip-id > span._2I12Htze2UzJmmfnrgYJOn > a > i {
|
||||
color: @text !important;
|
||||
}
|
||||
|
||||
/* reddit now notification */
|
||||
a[href="/now"] > div {
|
||||
background: @accent !important;
|
||||
}
|
||||
|
||||
/* search scope pill text */
|
||||
div[data-testid="search-scope-pill-text"] {
|
||||
color: @text !important;
|
||||
}
|
||||
|
||||
/* search popup title */
|
||||
div[class*="_2SdHzo12ISmrC8H86TgSCp"][class*="_1QVrieUoti9cxiQSRw314E"][class*="uWdXen_41bh0iwLrgzFkc"] {
|
||||
--posttitletextcolor: @text !important;
|
||||
}
|
||||
|
||||
/* safe search toggle */
|
||||
button#safe-search-toggle[aria-checked="true"] {
|
||||
background: @accent !important;
|
||||
}
|
||||
|
||||
/* NAVIGATION SIDEBAR */
|
||||
|
||||
/* close icon */
|
||||
i.icon-close {
|
||||
color: @subtext0 !important;
|
||||
}
|
||||
|
||||
/* item color */
|
||||
a[role="menuitem"] {
|
||||
color: @text !important;
|
||||
}
|
||||
|
||||
/* navigation sidebar header color */
|
||||
div[role="menu"] > div[role="heading"] {
|
||||
color: @subtext0 !important;
|
||||
}
|
||||
|
||||
a[role="menuitem"]:hover {
|
||||
background: @surface0 !important;
|
||||
}
|
||||
|
||||
/* favorites */
|
||||
i.icon-star_fill {
|
||||
color: @accent !important;
|
||||
}
|
||||
|
||||
i.icon-star {
|
||||
color: @subtext0 !important;
|
||||
}
|
||||
|
||||
/* RIGHT FRONTPAGE SIDEBAR */
|
||||
|
||||
/* reddit premium icon */
|
||||
i.icon-premium_fill {
|
||||
color: @accent !important;
|
||||
}
|
||||
|
||||
/* reddit premium try now button */
|
||||
button._10BQ7pjWbeYP63SAPNS8Ts.q_unSaY23rpdd3lDvGZ- {
|
||||
background: @accent !important;
|
||||
color: @base !important;
|
||||
}
|
||||
|
||||
/* recent posts thumbnail borders */
|
||||
div._3fWuhJ6bVet7XJT5A0mZM2 > div > div > div {
|
||||
border-color: @subtext0 !important;
|
||||
}
|
||||
|
||||
/* POSTS */
|
||||
|
||||
/* post background for card style */
|
||||
div[data-adclicklocation="background"] {
|
||||
background: @base !important;
|
||||
}
|
||||
|
||||
/* post options (save, comment, etc.) */
|
||||
div._3-miAEojrCvx_4FQ8x3P-s,
|
||||
i.icon-comment,
|
||||
i.icon-share,
|
||||
i.icon-save,
|
||||
i.icon-expand,
|
||||
i.icon-collapse,
|
||||
i.icon-text_post,
|
||||
i.icon-image_post,
|
||||
i.icon-media_gallery,
|
||||
i.icon-video_post,
|
||||
i.icon-gif_post,
|
||||
i.icon-embed,
|
||||
i.icon-external_link,
|
||||
i.icon-poll_post {
|
||||
color: @subtext0 !important;
|
||||
}
|
||||
|
||||
/* post title color */
|
||||
div[data-adclicklocation="title"] > div > a > div > h3,
|
||||
div[data-adclicklocation="title"]
|
||||
> div:first-child
|
||||
> div:first-child
|
||||
> h1:first-child {
|
||||
color: @text !important;
|
||||
}
|
||||
|
||||
/*
|
||||
* post op color and
|
||||
* post date color
|
||||
*/
|
||||
div[data-adclicklocation="top_bar"] > span,
|
||||
a[data-testid="post_author_link"] {
|
||||
color: @subtext0 !important;
|
||||
}
|
||||
|
||||
/* nsfw flair */
|
||||
span._1wzhGvvafQFOWAyA157okr {
|
||||
border-color: @red !important;
|
||||
color: @red !important;
|
||||
}
|
||||
|
||||
/* pinned post icon */
|
||||
i.icon-pin_fill {
|
||||
color: @green !important;
|
||||
}
|
||||
|
||||
/* give award icon */
|
||||
i.icon-award {
|
||||
color: @subtext0 !important;
|
||||
}
|
||||
|
||||
/* locked post icon */
|
||||
i.icon-archived_fill,
|
||||
i.icon-lock_fill {
|
||||
color: @yellow !important;
|
||||
}
|
||||
|
||||
/* post button divider */
|
||||
div[data-click-id="body"] > div:nth-child(3) > div:nth-child(3) {
|
||||
border-color: @surface1 !important;
|
||||
}
|
||||
|
||||
/* UPVOTES/DOWNVOTES */
|
||||
|
||||
/* upvote/downvote background */
|
||||
div.Post,
|
||||
div[data-click-id="media"] {
|
||||
background: @mantle !important;
|
||||
fill: @mantle !important;
|
||||
}
|
||||
|
||||
/* inactive vote text color */
|
||||
div[id^="vote-arrows"] > div {
|
||||
color: @subtext0 !important;
|
||||
}
|
||||
|
||||
/* active upvote color */
|
||||
i.icon-upvote_fill {
|
||||
color: @red !important;
|
||||
}
|
||||
|
||||
button[aria-label="upvote"][aria-pressed="false"] > span:hover > i {
|
||||
color: @red !important;
|
||||
}
|
||||
|
||||
/* active upvote text color */
|
||||
button[aria-label="upvote"][aria-pressed="true"] ~ div {
|
||||
color: @red !important;
|
||||
}
|
||||
|
||||
/* hover background for both upvotes and downvotes */
|
||||
button[aria-label="upvote"][aria-label="downvote"] > span:hover {
|
||||
background: @surface0 !important;
|
||||
}
|
||||
|
||||
/* active downvote color */
|
||||
.icon-downvote_fill {
|
||||
color: @blue !important;
|
||||
}
|
||||
|
||||
/* active downvote text color */
|
||||
button[aria-label="downvote"][aria-pressed="true"] ~ div {
|
||||
color: @blue !important;
|
||||
}
|
||||
|
||||
button[aria-label="downvote"][aria-pressed="false"] > span:hover > i {
|
||||
color: @blue !important;
|
||||
}
|
||||
|
||||
/* REPORT MODAL */
|
||||
|
||||
a.o1ov2mzLxTFAFP-O4Uv8I {
|
||||
color: @accent !important;
|
||||
}
|
||||
|
||||
button._1lDGFVGU9k2mi-4kjU95Rp {
|
||||
color: @base !important;
|
||||
}
|
||||
|
||||
/* SUBREDDIT PAGES */
|
||||
a[role="button"][target="_blank"] {
|
||||
background: @text !important;
|
||||
color: @base !important;
|
||||
}
|
||||
|
||||
/* radio buttons (flair selector, etc.) */
|
||||
div[role="radio"]:hover,
|
||||
div[role="radio"]:focus {
|
||||
background: @accent !important;
|
||||
}
|
||||
|
||||
div[role="radio"] > svg,
|
||||
div[role="radio"] > svg:active {
|
||||
fill: @text !important;
|
||||
}
|
||||
|
||||
/* checkboxes */
|
||||
button[role="checkbox"] {
|
||||
fill: @accent !important;
|
||||
}
|
||||
|
||||
/* SUBREDDIT RIGHT SIDEBAR (some styles carry over from the homepage right sidebar section) */
|
||||
|
||||
/* header background */
|
||||
._ZhON3a3vplThB8NFwuJn {
|
||||
background: @crust !important;
|
||||
color: @text !important;
|
||||
}
|
||||
|
||||
/* subreddit image background */
|
||||
img[alt="Subreddit Icon"][role="presentation"] {
|
||||
background: @accent !important;
|
||||
}
|
||||
|
||||
/* border between uela */
|
||||
._1KrMye71CT332tKKKUWAj6:not(:last-of-type) {
|
||||
border-bottom-color: @surface0;
|
||||
}
|
||||
|
||||
/* follower color */
|
||||
.bg-neutral-background {
|
||||
color: @text !important;
|
||||
}
|
||||
|
||||
/* default subreddit icon */
|
||||
i.icon-community_fill {
|
||||
color: @accent !important;
|
||||
}
|
||||
|
||||
/* online users */
|
||||
div._21RLQh5PvUhC6vOKoFeHUP::before {
|
||||
color: @green !important;
|
||||
}
|
||||
|
||||
/* POST VIEWER */
|
||||
|
||||
/* spoiler tags */
|
||||
._2v4IIjPhKL0PDaWaWtjJ1E {
|
||||
background: @surface0 !important;
|
||||
}
|
||||
|
||||
/* mod comment tag */
|
||||
span[id^="CommentTopMeta--Mod"] {
|
||||
color: @green !important;
|
||||
}
|
||||
|
||||
/* op comment tag */
|
||||
span[id^="CommentTopMeta--OP"] {
|
||||
color: @blue !important;
|
||||
}
|
||||
|
||||
/* post overlay if you have "open in new tab" disabled */
|
||||
div#overlayScrollContainer > div {
|
||||
background: @crust !important;
|
||||
}
|
||||
|
||||
/* fixes comment section background not working when "open in new tab is disabled" */
|
||||
div._2M2wOqmeoPVvcSsJ6Po9-V._3287nL7j7epK9JmDC3N1VR {
|
||||
background: @mantle !important;
|
||||
}
|
||||
|
||||
/* shade applied to background when clicking on a post with "open in new tab" disabled */
|
||||
div._2DJXORCrmcNpPTSq0LqL6i,
|
||||
div._1DK52RbaamLOWw5UPaht_S {
|
||||
background: fade(@crust, 80%) !important;
|
||||
}
|
||||
|
||||
/* gold award gradient */
|
||||
div.TmlaIdEplCzZ0F1aRGYQh[role="presentation"] {
|
||||
background: linear-gradient(
|
||||
188deg,
|
||||
#f9e2af1f 1.7%,
|
||||
#f9e2af00 46%,
|
||||
rgba(0, 0, 0, 0)
|
||||
) !important;
|
||||
}
|
||||
|
||||
/* image gallery next/previous buttons */
|
||||
a[title="Next"] > i,
|
||||
a[title="Previous"] > i {
|
||||
background: @surface0 !important;
|
||||
}
|
||||
|
||||
/* image gallery image count */
|
||||
div._61i6grM3um1yuw4GrN97P {
|
||||
background: fade(@crust, 80%) !important;
|
||||
color: @text !important;
|
||||
}
|
||||
|
||||
/* comment search bar */
|
||||
input#comment_search-bar {
|
||||
background: @base !important;
|
||||
}
|
||||
|
||||
/* tab bar below banner */
|
||||
._1gVVmSnHZpkUgVShsn7-ua {
|
||||
background: @mantle !important;
|
||||
}
|
||||
|
||||
/* MULTIREDDITS/CUSTOM FEEDS */
|
||||
|
||||
/* delete custom feed button */
|
||||
.bX6SqXfzfxpv4GQbuIYVZ {
|
||||
color: @red !important;
|
||||
}
|
||||
|
||||
/* TOOLTIPS */
|
||||
div.HQ2VJViRjokXpRbJzPvvc {
|
||||
background: @mantle !important;
|
||||
color: @text !important;
|
||||
}
|
||||
|
||||
div.HQ2VJViRjokXpRbJzPvvc::after {
|
||||
border-top-color: @mantle !important;
|
||||
}
|
||||
|
||||
/* Recap Reddit Logo */
|
||||
.snoo-cls-1,
|
||||
.snoo-cls-2,
|
||||
.snoo-cls-3,
|
||||
.snoo-cls-6,
|
||||
.snoo-cls-8,
|
||||
.snoo-cls-9 {
|
||||
fill: @base;
|
||||
}
|
||||
|
||||
.snoo-cls-4,
|
||||
.snoo-cls-5,
|
||||
.snoo-cls-7,
|
||||
.snoo-cls-10,
|
||||
.snoo-cls-11 {
|
||||
fill: @accent;
|
||||
reddit-header-large reddit-search-large::before,
|
||||
reddit-header-large reddit-search-large::after {
|
||||
background:
|
||||
linear-gradient(@base, @base) padding-box,
|
||||
linear-gradient(90deg, @accent, @accent) border-box;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user