Skip to content

style: deno svg adapt to dark mode#2676

Merged
Timeless0911 merged 1 commit intomainfrom
deno-dark-mode
Oct 22, 2025
Merged

style: deno svg adapt to dark mode#2676
Timeless0911 merged 1 commit intomainfrom
deno-dark-mode

Conversation

@Timeless0911
Copy link
Copy Markdown
Contributor

@Timeless0911 Timeless0911 commented Oct 22, 2025

Summary

before

image

after

image

Related Issue

Checklist

  • Tests updated (or not required).
  • Documentation updated (or not required).

Copilot AI review requested due to automatic review settings October 22, 2025 09:23
@netlify
Copy link
Copy Markdown

netlify Bot commented Oct 22, 2025

Deploy Preview for rspress-v2 ready!

Name Link
🔨 Latest commit 895bcc4
🔍 Latest deploy log https://app.netlify.com/projects/rspress-v2/deploys/68f8a29858006d000881cde1
😎 Deploy Preview https://deploy-preview-2676--rspress-v2.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR adapts the Deno SVG icon to support dark mode by changing the fill color from a hardcoded black value to use the current text color. The width adjustment in the home layout provides additional space to accommodate the updated component.

  • Changed Deno icon fill color from hardcoded black to currentColor for theme adaptation
  • Increased max-width of the home layout container from 400px to 450px

Reviewed Changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
packages/theme-default/src/components/PackageManagerTabs/icons/Deno.tsx Updated Deno icon fill to use currentColor instead of hardcoded black for dark mode compatibility
website/theme/index.tsx Increased container max-width from 400px to 450px

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

@Timeless0911 Timeless0911 enabled auto-merge (squash) October 22, 2025 09:29
@Timeless0911 Timeless0911 merged commit 2d04dd4 into main Oct 22, 2025
10 checks passed
@Timeless0911 Timeless0911 deleted the deno-dark-mode branch October 22, 2025 09:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants