web-infra-dev / rspress

🦀💨 A fast Rspack-based static site generator.
https://rspress.dev
MIT License
1.21k stars 107 forks source link

feat(style): improve links style in dark mode #1046

Closed chenjiahan closed 2 months ago

chenjiahan commented 2 months ago

Summary

Improve all links style in dark mode.

For link elements, there is new --rp-c-link CSS variable, which use --rp-c-brand-dark in the light mode, and use --rp-c-brand-light in the dark mode. It provides contrast with the background.

Screenshot 2024-04-30 at 14 48 46 Screenshot 2024-04-30 at 14 48 38

Related Issue

Checklist

netlify[bot] commented 2 months ago

Deploy Preview for aquamarine-blini-95325f ready!

Name Link
Latest commit 8fc2d0de7ef121467003d321d7184bbf7fcf51f1
Latest deploy log https://app.netlify.com/sites/aquamarine-blini-95325f/deploys/663097e3a5718f0008a702cc
Deploy Preview https://deploy-preview-1046--aquamarine-blini-95325f.netlify.app
Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

Lighthouse
1 paths audited
Performance: 86 (🔴 down 4 from production)
Accessibility: 97 (no change from production)
Best Practices: 100 (no change from production)
SEO: 92 (no change from production)
PWA: -
View the detailed breakdown and full score reports

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