Skip to content

Conversation

@nkrambo
Copy link
Contributor

@nkrambo nkrambo commented May 29, 2025

Motivation:

We add support for homepage dark mode and some additional global updates.

Modifications:

  • Homepage: dark mode CSS support. There are some small polishing changes to come.
  • Footer: Rubberband support
  • Navigation: Update active CSS, also more consistent across global instances.

Result:

This does a lot of heavy lifting around dark mode for homepage and navigation.

There are small issues that we will want to fix.

  • Hover states on quick links
  • Top rubber band needs work, transparent navigation should flow in rubber band, and we need to update background color.
  • Update the code block copy link
  • Perhaps add outlines on quick links to help them stand out on background.
  • Update footer underline styles to be tighter.


// Explicit syntax highlighting for C++ code blocks:

.language-cpp .cp,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔥

Copy link
Contributor

@jesseaborden jesseaborden left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looking good. Thank you for knocking out all the dark mode code highlighting. Going to pull that into #1002 once this is merged 🙂

@shahmishal shahmishal merged commit c067f60 into swiftlang:redesign May 30, 2025
3 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.

3 participants