rstudio-theming

Generate RStudio dark themes from a primary hex color with OKLCH palettes and WCAG 2.1 AA contrast auditing.

Updated Feb 8, 2026
One-click install
npx skills add https://github.com/awieczork/theme-framework --skill rstudio-theming
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: rstudio-theming
Source: https://github.com/awieczork/theme-framework/tree/main/.github/skills/rstudio-theming
Command: npx skills add https://github.com/awieczork/theme-framework --skill rstudio-theming

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill automates the creation of fully-featured RStudio dark themes, ensuring complete UI coverage and adherence to accessibility standards from a single primary color.

Core Features & Use Cases

  • Automated Theme Generation: Creates complete .rstheme files covering Ace editor, IDE chrome, dialogs, and terminal.
  • Color Palette Derivation: Uses OKLCH for perceptually uniform color scales.
  • Contrast Auditing: Includes built-in WCAG 2.1 AA + APCA dual-check for accessibility.
  • Use Case: Convert a VS Code theme's primary color into a fully functional RStudio dark theme, maintaining semantic consistency across editors.

Quick Start

Use the rstudio-theming skill to create a new RStudio dark theme starting with the primary hex color #4A90E2.

Frequently Asked Questions about rstudio-theming

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

FAQPage Schema
How do I generate a complete RStudio dark theme from a single color?

You can generate a complete RStudio dark theme by providing a single primary hex color. The skill derives a full OKLCH color palette and maps it across all 29 UI regions, outputting a ready-to-use .rstheme file.

Can I port a VS Code theme to RStudio format?

Yes, you can port VS Code themes to RStudio format. The skill takes the primary color from your VS Code theme and generates a functionally equivalent RStudio dark theme, maintaining semantic consistency across both editors.

How does OKLCH color palette derivation work for RStudio themes?

OKLCH palette derivation creates perceptually uniform color scales for RStudio themes. It calculates lightness, chroma, and hue values from your primary hex color to ensure balanced visual hierarchy across the IDE interface.

Does the generated RStudio dark theme meet WCAG 2.1 AA accessibility standards?

Yes, the generated RStudio dark themes meet WCAG 2.1 AA standards. The skill includes a built-in dual-check contrast auditing system using both WCAG 2.1 AA and APCA algorithms to verify text accessibility.

What UI regions are covered when creating an RStudio dark theme?

Creating an RStudio dark theme covers all 29 UI regions. This includes the Ace editor, IDE chrome, dialogs, and terminal, ensuring complete visual coverage and no unstyled elements in the interface.

What is the best way to audit color contrast for RStudio custom themes?

The best way to audit color contrast for RStudio custom themes is using a dual WCAG 2.1 AA and APCA checking system. This validates both traditional web contrast and perceptual contrast for accessibility compliance.