Skip to content

Conversation

SoonIter
Copy link
Member

@SoonIter SoonIter commented Sep 1, 2025

Summary

feat: theme refactor

Related Issue

Checklist

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

@SoonIter SoonIter changed the base branch from syt/theme-refactor to main September 1, 2025 03:09
@SoonIter SoonIter force-pushed the syt/theme-refactor-1 branch from eeb126d to 3865e65 Compare September 1, 2025 10:56
@Copilot Copilot AI review requested due to automatic review settings September 1, 2025 10:56
Copy link

netlify bot commented Sep 1, 2025

Deploy Preview for rspress-v2 ready!

Name Link
🔨 Latest commit c50679d
🔍 Latest deploy log https://app.netlify.com/projects/rspress-v2/deploys/68bab462e76a310008d2a218
😎 Deploy Preview https://deploy-preview-2533--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
Contributor

@Copilot 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 implements a comprehensive theme refactor for the Rspress documentation framework, modernizing the UI with improved styling, better component organization, and enhanced functionality.

  • Replaces Tailwind classes with CSS modules for better maintainability
  • Refactors navigation bar with new dropdown components and improved layout
  • Reorganizes code block components with separated concerns
  • Adds progress tracking and scroll-to-top functionality to the sidebar

Reviewed Changes

Copilot reviewed 90 out of 95 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
website/docs/*/guide/basic/_meta.json Adds "new" tag and collapsed state to MDX documentation
packages/theme-default/src/styles/* Updates CSS variables, color schemes, and component styling
packages/theme-default/src/components/NewNav/* New navigation component with dropdown menus and improved layout
packages/theme-default/src/components/Sidebar/* Refactored sidebar with modular components and dynamic state
packages/theme-default/src/layout/DocLayout/docComponents/* Reorganized MDX components with CSS modules
packages/theme-default/src/components/Aside/* Enhanced table of contents with progress tracking
Files not reviewed (1)
  • pnpm-lock.yaml: Language not supported
Comments suppressed due to low confidence (2)

packages/theme-default/src/components/NewNav/NarTitle.tsx:1

  • The filename 'NarTitle.tsx' contains a typo. It should be 'NavTitle.tsx' to match the exported component name.
import {

packages/shared/src/types/defaultTheme.ts:1

  • The removal of 'enableScrollToTop' configuration option is a breaking change that should be documented. Consider adding a migration note or deprecation warning for users who were using this option.
export interface Config {

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

@SoonIter SoonIter force-pushed the syt/theme-refactor-1 branch from 0f58439 to 48ea0a8 Compare September 4, 2025 10:09
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.

1 participant