Skip to content

Commit 7ffd99d

Browse files
authored
fix(substack): misc (catppuccin#1447)
1 parent b5b4d91 commit 7ffd99d

2 files changed

Lines changed: 43 additions & 6 deletions

File tree

scripts/userstyles.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -931,7 +931,7 @@ userstyles:
931931
color: peach
932932
readme:
933933
app-link: "https://substack.com"
934-
current-maintainers: []
934+
current-maintainers: [*uncenter]
935935
past-maintainers: [*winston]
936936
syncthing:
937937
name: Syncthing

styles/substack/catppuccin.user.css

Lines changed: 42 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
@name Substack Catppuccin
33
@namespace github.com/catppuccin/userstyles/styles/substack
44
@homepageURL https://github.com/catppuccin/userstyles/tree/main/styles/substack
5-
@version 0.2.1
5+
@version 0.2.2
66
@updateURL https://github.com/catppuccin/userstyles/raw/main/styles/substack/catppuccin.user.css
77
@supportURL https://github.com/catppuccin/userstyles/issues?q=is%3Aopen+is%3Aissue+label%3Asubstack
88
@description Soothing pastel theme for Substack
@@ -146,7 +146,8 @@
146146
--color-semantic-highlight-fg-primary: @accent-color;
147147

148148
/* Weird variables issue fixes */
149-
--color-light-bg-primary: @text;
149+
--color-light-bg-primary: @mantle; /* Was text, changing to mantle for (select text) -> Share -> Download button color. Might break things */
150+
--color-light-bg-secondary: @surface0; /* substack.com homepage sections */
150151
--color-dark-bg-primary: @mantle;
151152
--color-dark-bg-secondary: @base;
152153
--color-dark-bg-tertiary: @surface0;
@@ -159,6 +160,20 @@
159160

160161
--web_bg_color: @mantle;
161162
--print_on_web_bg_color: @text;
163+
164+
/* Share button */
165+
--material-dark-regular: @mantle;
166+
/* Copy (heading link) to clipboard notification */
167+
--material-dark-thick: @crust;
168+
/* Button hover, faded to 0.1 */
169+
--color-primitive-white-rgb: #rgbify(@text) [];
170+
171+
/* Various full screen modals for singing up, subscribing etc */
172+
--cover_print_primary: @text;
173+
--cover_print_secondary: @subtext1;
174+
--cover_print_tertiary: @subtext0;
175+
--cover_bg_color: @base;
176+
--cover_input_background: @mantle;
162177
}
163178

164179
/* Substack logos */
@@ -171,14 +186,36 @@
171186
}
172187

173188
/* Footer */
174-
.footer-wrap .footer {
175-
background-color: @mantle;
189+
.footer-wrap {
190+
&,
191+
.footer {
192+
background-color: @mantle;
193+
}
194+
195+
.home-footer {
196+
&,
197+
a,
198+
.footer-info .footer-info-col h3 {
199+
color: @text;
200+
}
201+
}
176202
}
177203
.subscribe-footer .button.primary {
178204
border-color: @crust;
179205
}
180206

181-
/* Onboarding and profile */
207+
/* Signup, onboarding, and profile */
208+
209+
.homepage-nav .homepage-nav-bar .homepage-nav-wrap.grey {
210+
background-color: @base;
211+
}
212+
.signup-page {
213+
background-color: @base;
214+
215+
.signup-box-wrap .error {
216+
color: @red;
217+
}
218+
}
182219

183220
.onboarding-profile-page {
184221
.accept-tos * {

0 commit comments

Comments
 (0)