A small Shiny app for converting editor themes between VSCode and tmTheme formats.
Note
This app has been created using AI.
This app lets you:
- Convert tmTheme
.tmThemefiles into VSCode.json - Convert VSCode
.jsonfiles into tmTheme.tmTheme
Input can be provided by file upload, drag-and-drop, or pasting the theme text directly.
- Two conversion modes:
- tmTheme → VSCode
- VSCode → tmTheme
- Real-time input/output preview using Ace editor widgets
- Optional theme name entry for converted output
- R 4.0 or newer
shinybslibshinyAcerstudiothemes
- Open the project folder in RStudio or your preferred R environment.
- Install required packages if needed:
install.packages(c("shiny", "bslib", "shinyAce", "rstudiothemes"))From the project directory, run:
shiny::runApp("app.R")or simply open app.R in RStudio and click Run App.
- Choose a conversion tab.
- Upload or paste a theme file.
- Optionally enter a theme name and select italics for RStudio conversions.
- Review the preview panels.
- Download the converted theme file.
app.R- Shiny application source_brand.yml- Theme and branding configuration for the app UI