rspress-custom-theme

Customize Rspress v2 themes via styling, layout slots, and MDX components.

7|1|Updated Jun 12, 2026
One-click install
npx skills add https://github.com/lazygophers/aidog --skill rspress-custom-theme-lazygophers
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: rspress-custom-theme
Source: https://github.com/lazygophers/aidog/tree/main/.claude/skills/rspress-custom-theme
Command: npx skills add https://github.com/lazygophers/aidog --skill rspress-custom-theme-lazygophers

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill helps you change the look and behavior of an Rspress site without blindly editing theme code, making theme customization easier to maintain and upgrade.

Core Features & Use Cases

  • Brand styling: Adjust colors, fonts, spacing, and dark mode with CSS variables.
  • Targeted UI tweaks: Override specific built-in component styles with BEM class selectors.
  • Layout extension: Add banners, logos, footers, providers, or MDX component overrides through Layout slots.
  • Full replacement when needed: Eject and replace built-in components only when lighter options are not enough.

Quick Start

Ask for the safest Rspress customization approach for your goal and describe the site element you want to change.

Frequently Asked Questions about rspress-custom-theme

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I customize an Rspress theme without breaking updates?

Customize your Rspress theme safely by using CSS variables for brand styling, Layout slots for extensions, and ejecting built-in components only when lighter options are insufficient, ensuring upgrades remain maintainable.

What is the safest way to change brand colors and dark mode in Rspress?

Change brand colors and dark mode in Rspress by overriding CSS variables rather than editing theme code directly, which prevents maintenance risks during framework upgrades.

How do I add a banner or footer to an Rspress documentation site?

Add banners, logos, footers, or global providers to an Rspress site by utilizing Layout slots, allowing targeted UI extensions without ejecting or replacing core built-in components.

When should I eject built-in components in Rspress?

Eject and replace built-in components in Rspress only when lighter customization options like CSS variables, BEM class selectors, or Layout slots cannot achieve the desired structural or rendering changes.

Can I override specific built-in component styles in Rspress?

Override specific built-in component styles in Rspress by targeting BEM class selectors, enabling precise UI tweaks without fully ejecting the component from the theme.

Does Rspress support replacing MDX component rendering?

Rspress supports replacing MDX component rendering through Layout slots and component ejection, allowing custom rendering workflows and global providers within your documentation site.