Skip to content

chore: polish style#359

Merged
hardfist merged 1 commit intomainfrom
yj/polish-ast-style
Sep 12, 2025
Merged

chore: polish style#359
hardfist merged 1 commit intomainfrom
yj/polish-ast-style

Conversation

@hardfist
Copy link
Copy Markdown
Contributor

@hardfist hardfist commented Sep 12, 2025

Summary

add more color and improve padding for ast tree

Related Links

Checklist

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

Copilot AI review requested due to automatic review settings September 12, 2025 09:14
@netlify
Copy link
Copy Markdown

netlify bot commented Sep 12, 2025

Deploy Preview for rslint ready!

Name Link
🔨 Latest commit 2fc8929
🔍 Latest deploy log https://app.netlify.com/projects/rslint/deploys/68c3e48c30a28e00089241b8
😎 Deploy Preview https://deploy-preview-359--rslint.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 polishes the styling of the AST viewer in the playground component by updating visual elements and simplifying the layout structure.

  • Reduced padding/indentation for AST nodes and removed placeholder elements
  • Updated color scheme with lighter hover backgrounds and adjusted text colors
  • Simplified the twisty (expand/collapse) button logic by removing conditional placeholder rendering

Reviewed Changes

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

File Description
website/theme/components/Playground/ResultPanel.tsx Reduced node indentation padding and simplified twisty button conditional rendering
website/theme/components/Playground/ResultPanel.css Updated color scheme, removed placeholder styles, and adjusted spacing values

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

@hardfist hardfist merged commit 653d9bb into main Sep 12, 2025
19 checks passed
@hardfist hardfist deleted the yj/polish-ast-style branch September 12, 2025 12:30
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.

2 participants