-
-
Notifications
You must be signed in to change notification settings - Fork 200
chore(theme/doc): add border to inline text code #2796
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
✅ Deploy Preview for rspress-v2 ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
There was a problem hiding this 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 adds a border to inline code elements in documentation content by introducing new CSS custom properties for theming and applying them to the code styling.
- Adds
--rp-c-text-code-borderCSS variable for light and dark themes - Applies the border to inline code elements using the new variable
Reviewed Changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.
| File | Description |
|---|---|
| packages/core/src/theme/styles/vars/base-vars.css | Defines new CSS variables for inline code border colors in light (semi-transparent) and dark (transparent) themes |
| packages/core/src/theme/components/DocContent/doc.scss | Applies 1px solid border to inline code elements using the new CSS variable |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Rsdoctor Bundle Diff Analysis📁 webPath:
📦 Download Diff Report: web Bundle Diff Generated by Rsdoctor GitHub Action |
Summary
chore(theme/doc): add border to inline text code
Related Issue
Checklist