Skip to content

style: change blog content headings (h1–h4) color to #1F2937#1687

Merged
sanjay-kv merged 2 commits into
mainfrom
copilot/change-blog-header-colors
May 23, 2026
Merged

style: change blog content headings (h1–h4) color to #1F2937#1687
sanjay-kv merged 2 commits into
mainfrom
copilot/change-blog-header-colors

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented May 23, 2026

Description

Blog post content headings (h1–h4) lacked a defined color, inheriting inconsistent values. This sets them to #1F2937 (dark gray) in light mode, matching the reference design, with a dark-mode counterpart of #D1D5DB.

Type of Change

  • New feature (e.g., new page, component, or functionality)
  • Bug fix (non-breaking change that fixes an issue)
  • UI/UX improvement (design, layout, or styling updates)
  • Performance optimization (e.g., code splitting, caching)
  • Documentation update (README, contribution guidelines, etc.)
  • Other (please specify):

Changes Made

  • src/css/custom.css — added two rule blocks scoped to .blog-post-page .markdown:
.blog-post-page .markdown h1,
.blog-post-page .markdown h2,
.blog-post-page .markdown h3,
.blog-post-page .markdown h4 {
  color: #1F2937 !important;
}

html[data-theme="dark"] .blog-post-page .markdown h1,
html[data-theme="dark"] .blog-post-page .markdown h2,
html[data-theme="dark"] .blog-post-page .markdown h3,
html[data-theme="dark"] .blog-post-page .markdown h4 {
  color: #D1D5DB !important;
}

Dark-mode override uses #D1D5DB, consistent with the existing dark-mode body text color already applied to .blog-post-page .markdown.

Dependencies

None.

Checklist

  • My code follows the style guidelines of this project.
  • I have tested my changes across major browsers and devices
  • My changes do not generate new console warnings or errors .
  • I ran npm run build and attached screenshot(s) in this PR.
  • This is already assigned Issue to me, not an unassigned issue.

Copilot AI linked an issue May 23, 2026 that may be closed by this pull request
@vercel
Copy link
Copy Markdown
Contributor

vercel Bot commented May 23, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
recode-website Ready Ready Preview, Comment May 23, 2026 7:29pm

Copilot AI changed the title [WIP] Change blog content headers to color #1F2937 style: change blog content headings (h1–h4) color to #1F2937 May 23, 2026
Copilot AI requested a review from sanjay-kv May 23, 2026 19:29
@github-actions
Copy link
Copy Markdown

✅ Synchronized metadata from Issue #1:

  • Labels: None
  • Milestone: None

@sanjay-kv sanjay-kv marked this pull request as ready for review May 23, 2026 19:53
@sanjay-kv sanjay-kv merged commit 12d1b6e into main May 23, 2026
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Blog page content subheading color change.

2 participants