Coder Social home page Coder Social logo

dracula / rstudio Goto Github PK

View Code? Open in Web Editor NEW
13.0 4.0 9.0 3.22 MB

๐Ÿง›๐Ÿปโ€โ™‚๏ธ Dark theme for RStudio

Home Page: https://draculatheme.com/rstudio

License: MIT License

r rstats dark-theme dracula dracula-theme rlanguage rstheme rsthemes

rstudio's Introduction

Dracula for RStudio

A dark theme for RStudio.

Screenshot

Install

All instructions can be found at draculatheme.com/rstudio.

Team

This theme is maintained by the following person and a bunch of awesome contributors.

Zac de Lusignan
Zac de Lusignan

Community

  • Twitter - Best for getting updates about themes and new stuff.
  • GitHub - Best for asking questions and discussing issues.
  • Discord - Best for hanging out with the community.

Acknowledgements

RStudio port was largely built using Garrick Aden-Buie's rsthemes package

License

MIT License

rstudio's People

Contributors

lusignan avatar zenorocha avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

rstudio's Issues

Function coloring on Mac/Linux

From the UI screenshots it looks like functions are supposed to be #50fa7b. On Mac and Linux this coloring is incorrect. Screenshot below.

image

New Project Wizard UI Issue

The New Project Wizard has text that you can't see. For instance, in the attached screenshot the text

Create a git repository
Use renv with this project

isn't visible next to the check-boxes:
image

Cannot distinguish `std_err` in console

My company just updated our Rstudio version, bringing the updated Dracula theme. Overall, I really like the changes, especially the acid-green function calls.

Issue:
I'm unable to distinguish function reprints in the console vs. std_err, which is challenging for debugging.

  • Is it possible to have a different console color for std_err please?
  • If possible, using purple for reprints and the hot pink for std_err might be even better - makes errors pop.

Previous
image

New
image

Background image bug for project wizard dialog

Issue

Some of the classes relating to elements in the new project wizard dialog (File > New Project...) have a background property in their CSS that makes the section of the dialog unreadable. Specifically the following classes:

  • .GEL-OVUBJ2, the back button
  • .GEL-OVUBL2, the main content area of the dialog

Screenshots of problem

File > New Project ... > New Directory > New Project
Screenshot 2022-05-23 at 10 37 13

File > Existing Directory
Screenshot 2022-05-23 at 10 36 24

File > Version Control
Screenshot 2022-05-23 at 10 31 10

Solution

Override the background property of the two CSS classes, .GEL-OVUBJ2 and .GEL-OVUBL2. An override is also needed when the back button is being pressed, i.e. on .GEL-OVUBJ2:focus. The back button override likely also needs a border/outline (as per the cancel button in the bottom right of the dialogs).

Dialog as expected (background property of CSS classes disabled via the chromium developer tools inspector)
Screenshot 2022-05-23 at 10 54 55

Transfer to Dracula org

Hello!

I'm the creator of Dracula color scheme. I was searching for RStudio themes created by the community and I found yours. Good job by the way!

I was wondering if you are interested in transferring this repository to the official organization (https://github.com/dracula). You'll continue maintaining this project, the only difference is that we can make it more visible and include it on the site (https://draculatheme.com).

What do you think?

Need to fix trailing line break in `dracula.rstheme`

Currently seeing this warning when loading the theme directly from dracula.rstheme:

Warning in readLines(themeFile, encoding = "UTF-8") :
  incomplete final line found on '~/Desktop/Dracula-RStudio/dracula.rstheme'
Calls: <Anonymous> -> readLines

Scrollbar blocking code

Hi,
I've noticed that the scrollbar is blocking the last line of code (line 85, marked in red). The same issue occurs for lines with many characters (line 61).

Screen Shot 2022-04-08 at 15 05 43

Broken devtools installation

Just need to change main to master in your example install line:

rstudioapi::addTheme("https://raw.githubusercontent.com/lusignan/dracula-rstudio/main/dracula.rstheme", apply = TRUE)

Colour issues with pop-ups

Hi, I have noticed an issue with the text and background of some popups.

Some examples shown here:
Dracula-Rstudio-package-update
Dracula-Rstudio-popup
(second picture shows pop-up in Rmarkdown of results when you run inline R, mean(cars$speed in this case).

I have tried tweaking colors in the .rstheme file I have but nothing seems to stick.

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.