Skip to contents

Create and convert themes

Convert Visual Studio Code, Positron and TextMate themes to RStudio, or convert themes between Visual Studio Code, Positron and TextMate formats.

convert_to_rstudio_theme()
Convert a TextMate, Visual Studio Code or Positron theme to an RStudio theme
convert_vs_to_tm_theme() convert_positron_to_tm_theme()
Convert a Visual Studio Code or Positron theme into a TextMate theme
convert_tm_to_vs_theme() convert_tm_to_positron_theme()
Convert a TextMate theme into a Visual Studio Code or Positron theme

Install, manage and preview themes

Install, remove, list and preview the bundled RStudio themes. These functions are adapted from the rsthemes package.

Read themes

Read Visual Studio Code, Positron and TextMate theme files as tabular data.

read_tm_theme()
Read and parse a TextMate theme
read_vs_theme() read_positron_theme()
Read and parse a Visual Studio Code or Positron theme

Helpers

Helper functions for environment checks and generated theme identifiers.

generate_uuid()
Generate random UUIDs
on_rstudio()
Check whether the session is running in RStudio

Package overview

Learn what the package does and where to start.

rstudiothemes rstudiothemes-package
rstudiothemes: Create and Install Custom 'RStudio' Themes from 'Visual Studio Code', 'Positron' and 'TextMate' Themes