Coder Social home page Coder Social logo

rstudio-one-dark-pro-theme's Introduction

One Dark Pro for RStudio

A 'Total IDE' build of the One Dark Pro theme for RStudio!

Installation

FIRST: In RStudio, go to Global Options -> Appearance and ensure either Modern or Sky are selected as the RStudio Theme at the top

Automatic

Run the following snippet in the RStudio Console:

rstudioapi::addTheme('https://raw.githubusercontent.com/snicklepickles/rstudio-one-dark-pro-theme/master/OneDarkPro.rstheme', apply=TRUE, force=TRUE)

Note that this will override any other theme named 'One Dark Pro' you may have (this can be controlled by removing the force=True argument).

If you get the error:

Error in loadNamespace(name) : there is no package called 'rstudioapi'

run install.packages('rstudioapi') and try again.

Manual

  • Download the OneDarkPro.rstheme file from this repository (or clone)
  • In RStudio go to Global Options -> Appearance, and click the Add... button under Editor Theme
  • Navigate to the downloaded OneDarkPro.rstheme file, hit Open and you're good to go

Info

This theme was adapted from this theme, many thanks to Patrick for working out how to theme more than just the code editor in RStudio!

Note: There can be versioning issues with some of the various UI components (different item class codes etc). These usually present themselves as parts of the UI with white text on a white background. If you do run into any UI issues, feel free to look through the issues listed here or create a new one for me to take a look at.

This theme has been tested and is fully functional on:

macOS Catalina 10.15.6, RStudio 1.4.750
macOS Catalina 10.15.6, RStudio 1.4.1010
macOS Sequoia 15.0 Beta 2, RStudio 2024.04.2+764

and

Windows 10, RStudio 1.2.5033
Windows 11 Pro, RStudio 2024.04.2+764

The editor font I use is Fira Code, and the majority of the UI font is Open Sans. It is not necessary to install these.

If you have any suggested improvements, let me know here!

rstudio-one-dark-pro-theme's People

Contributors

johnnybarrels avatar snicklepickles avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.