From 7ffd99d70d0c2342dff751e9405c112e7fe772c1 Mon Sep 17 00:00:00 2001 From: uncenter <47499684+uncenter@users.noreply.github.com> Date: Wed, 13 Nov 2024 14:27:12 -0500 Subject: [PATCH] fix(substack): misc (#1447) --- scripts/userstyles.yml | 2 +- styles/substack/catppuccin.user.css | 47 ++++++++++++++++++++++++++--- 2 files changed, 43 insertions(+), 6 deletions(-) diff --git a/scripts/userstyles.yml b/scripts/userstyles.yml index c055d066..994fefd6 100644 --- a/scripts/userstyles.yml +++ b/scripts/userstyles.yml @@ -931,7 +931,7 @@ userstyles: color: peach readme: app-link: "https://substack.com" - current-maintainers: [] + current-maintainers: [*uncenter] past-maintainers: [*winston] syncthing: name: Syncthing diff --git a/styles/substack/catppuccin.user.css b/styles/substack/catppuccin.user.css index b3e1f340..473989e5 100644 --- a/styles/substack/catppuccin.user.css +++ b/styles/substack/catppuccin.user.css @@ -2,7 +2,7 @@ @name Substack Catppuccin @namespace github.com/catppuccin/userstyles/styles/substack @homepageURL https://github.com/catppuccin/userstyles/tree/main/styles/substack -@version 0.2.1 +@version 0.2.2 @updateURL https://github.com/catppuccin/userstyles/raw/main/styles/substack/catppuccin.user.css @supportURL https://github.com/catppuccin/userstyles/issues?q=is%3Aopen+is%3Aissue+label%3Asubstack @description Soothing pastel theme for Substack @@ -146,7 +146,8 @@ --color-semantic-highlight-fg-primary: @accent-color; /* Weird variables issue fixes */ - --color-light-bg-primary: @text; + --color-light-bg-primary: @mantle; /* Was text, changing to mantle for (select text) -> Share -> Download button color. Might break things */ + --color-light-bg-secondary: @surface0; /* substack.com homepage sections */ --color-dark-bg-primary: @mantle; --color-dark-bg-secondary: @base; --color-dark-bg-tertiary: @surface0; @@ -159,6 +160,20 @@ --web_bg_color: @mantle; --print_on_web_bg_color: @text; + + /* Share button */ + --material-dark-regular: @mantle; + /* Copy (heading link) to clipboard notification */ + --material-dark-thick: @crust; + /* Button hover, faded to 0.1 */ + --color-primitive-white-rgb: #rgbify(@text) []; + + /* Various full screen modals for singing up, subscribing etc */ + --cover_print_primary: @text; + --cover_print_secondary: @subtext1; + --cover_print_tertiary: @subtext0; + --cover_bg_color: @base; + --cover_input_background: @mantle; } /* Substack logos */ @@ -171,14 +186,36 @@ } /* Footer */ - .footer-wrap .footer { - background-color: @mantle; + .footer-wrap { + &, + .footer { + background-color: @mantle; + } + + .home-footer { + &, + a, + .footer-info .footer-info-col h3 { + color: @text; + } + } } .subscribe-footer .button.primary { border-color: @crust; } - /* Onboarding and profile */ + /* Signup, onboarding, and profile */ + + .homepage-nav .homepage-nav-bar .homepage-nav-wrap.grey { + background-color: @base; + } + .signup-page { + background-color: @base; + + .signup-box-wrap .error { + color: @red; + } + } .onboarding-profile-page { .accept-tos * {