Added Dynamic Theme fixes for 'writings.stephenwolfram.com' by pmcintyre3 · Pull Request #15666 · darkreader/darkreader · GitHub
Skip to content

Added Dynamic Theme fixes for 'writings.stephenwolfram.com'#15666

Open
pmcintyre3 wants to merge 2 commits into
darkreader:mainfrom
pmcintyre3:patch-1
Open

Added Dynamic Theme fixes for 'writings.stephenwolfram.com'#15666
pmcintyre3 wants to merge 2 commits into
darkreader:mainfrom
pmcintyre3:patch-1

Conversation

@pmcintyre3

@pmcintyre3 pmcintyre3 commented Jun 24, 2026

Copy link
Copy Markdown

Overview

Added Dynamic Theme fixes for Stephen Wolfram's Blog Writings.

  • Inverted dark images in posts
  • Inverted social media link images (when not hovered)
  • Fixed comment box "tail" from appearing the wrong color

You may use this blog post as an example.

Blog Post Body Images

A lot of the "images" on this site are rendered code examples. Inverting all instances of div.post_content img fixes this issue.

Before

image

After

image

Social Media Link Images

The un-hovered state of the social media link images were a little too bright. Hovering over them revealed the actual icon colors. Adding #nav ul li .social a:not(:hover) as an INVERT entry inverts the images to help bring the default state to match. Include:not(:hover) to keep it from reverting the actual brand logo color on hover.

Before

image

After

image

Without :not(:hover)

image

With :not(:hover)

image

Message box "tails"

Each comment in the comments list looks like a speech bubble, and the "tails" appear the incorrect color. These tails are defined in the ::after selector of the .comment-byline class, and are a background image. Inverting it just a bit and setting it to be somewhat transparent mitigates the jarring change a bit. It's not exact, but it gets close.

Before

image

After

image

Tested in Edge (pictured)

Added CSS rules for dynamic theme fixes for Stephen Wolfram's Blog.

- Inverted dark images in posts
- Inverted socials images (when not hovered)
- Fixed message box "tails" from appearing the wrong color
- Fixed an issue with the comment "tail" looking incorrect in light mode.
- Minor fix to a picture outside of the post body
@pmcintyre3

pmcintyre3 commented Jun 24, 2026

Copy link
Copy Markdown
Author

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.

1 participant