Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(substack): misc #1447

Merged
merged 2 commits into from
Nov 13, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion scripts/userstyles.yml
Original file line number Diff line number Diff line change
Expand Up @@ -931,7 +931,7 @@ userstyles:
color: peach
readme:
app-link: "https://substack.com"
current-maintainers: []
current-maintainers: [*uncenter]
past-maintainers: [*winston]
syncthing:
name: Syncthing
Expand Down
47 changes: 42 additions & 5 deletions styles/substack/catppuccin.user.css
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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;
Expand All @@ -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 */
Expand All @@ -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 * {
Expand Down
Loading