Skip to content

Commit 488c3fb

Browse files
Mazizovaclaude
andauthored
OurSQL Digest: violet accent, site-wide link style, new cover (#205)
Replaces the amber accent (too close to MySQL's colours) with violet in the post, the blog list and the cover, and drops the Digest-specific link underline so links look like everywhere else on the site. Co-authored-by: Claude Sonnet 5.5 <noreply@anthropic.com>
1 parent a033972 commit 488c3fb

2 files changed

Lines changed: 16 additions & 22 deletions

File tree

‎assets/scss/_digest.scss‎

Lines changed: 16 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
// ── OurSQL Digest ───────────────────────────────────────────────────────────
2-
// The monthly digest is its own product next to the Newsletter: amber accent
2+
// The monthly digest is its own product next to the Newsletter: violet accent
33
// instead of the site's cyan, a masthead, numbered sections with anchors, and
44
// a framed "Why it matters" block. Imported last so the light-theme rules at
55
// the bottom of this file win over the generic light theme.
66

7-
$digest: #ffb020;
8-
$digest-ink: #1b1300;
9-
$digest-deep: #9a5b00; // readable amber on light backgrounds
7+
$digest: #a78bfa;
8+
$digest-ink: #160c33;
9+
$digest-deep: #6d4ae0; // readable violet on light backgrounds
1010

1111
// "Why it matters" block (shortcode) — used inside Digest issues
1212
.digest-why {
@@ -33,7 +33,7 @@ $digest-deep: #9a5b00; // readable amber on light backgrounds
3333
p:last-child { margin-bottom: 0; }
3434
}
3535

36-
// Blog list: Digest cards carry the amber accent
36+
// Blog list: Digest cards carry the violet accent
3737
.post-card--digest {
3838
border-color: rgba($digest, 0.4) !important;
3939

@@ -154,11 +154,6 @@ $digest-deep: #9a5b00; // readable amber on light backgrounds
154154
.post-content {
155155
counter-reset: digest-section;
156156

157-
a {
158-
text-decoration-color: rgba($digest, 0.45);
159-
&:hover { text-decoration-color: $digest; }
160-
}
161-
162157
// Numbered sections, each with its own anchor
163158
h2 {
164159
counter-increment: digest-section;
@@ -233,33 +228,32 @@ $digest-deep: #9a5b00; // readable amber on light backgrounds
233228

234229
[data-theme="light"] {
235230
.digest-why {
236-
background: #fff8e8;
237-
border-color: #f0d9a4;
238-
border-left-color: #e29a00;
231+
background: #f6f3ff;
232+
border-color: #ddd3fb;
233+
border-left-color: #8b5cf6;
239234
}
240235
.digest-why-label { color: $digest-deep; }
241236
.digest-why-body p { color: #0f172a; }
242237

243-
.post-card--digest { border-color: #f0d9a4 !important; &:hover { border-color: #e29a00 !important; } }
238+
.post-card--digest { border-color: #ddd3fb !important; &:hover { border-color: #8b5cf6 !important; } }
244239
.post-card-tag--digest { color: $digest-deep !important; }
245240

246241
.digest-masthead {
247-
background: linear-gradient(90deg, #fff1cf, #fffaf0);
248-
border-color: #f0d9a4;
242+
background: linear-gradient(90deg, #ece6ff, #f8f6ff);
243+
border-color: #ddd3fb;
249244
}
250245
.digest-masthead-name { color: #0f172a; strong { color: $digest-deep; } }
251246
.digest-masthead-issue, .digest-toc-n { color: $digest-deep; }
252247
.digest-tagline { color: #334155; opacity: 1; }
253-
.digest-toc a { color: #334155; border-color: #f0d9a4; &:hover { background: #fff1cf; border-color: #e29a00; } }
248+
.digest-toc a { color: #334155; border-color: #ddd3fb; &:hover { background: #ece6ff; border-color: #8b5cf6; } }
254249

255250
.post-layout--digest {
256-
.post-header { border-bottom-color: #f0d9a4; }
257-
.post-header .post-tags .tag--digest { color: $digest-deep; background: #fff1cf; border-color: #f0d9a4; }
251+
.post-header { border-bottom-color: #ddd3fb; }
252+
.post-header .post-tags .tag--digest { color: $digest-deep; background: #ece6ff; border-color: #ddd3fb; }
258253
.post-content {
259-
a { text-decoration-color: rgba($digest-deep, 0.5); }
260-
h2 { border-top-color: #f0d9a4; &::before { color: $digest-deep; } }
254+
h2 { border-top-color: #ddd3fb; &::before { color: $digest-deep; } }
261255
table {
262-
th { color: $digest-deep; border-bottom-color: #f0d9a4; }
256+
th { color: $digest-deep; border-bottom-color: #ddd3fb; }
263257
th, td { border-bottom-color: #dde3ed; }
264258
td:first-child { color: #0f172a; }
265259
}
-10.1 KB
Loading

0 commit comments

Comments
 (0)