Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Theme is not working anymore in RStudio 2021.09.2 #11

Open
iflow opened this issue Feb 6, 2022 · 4 comments
Open

Theme is not working anymore in RStudio 2021.09.2 #11

iflow opened this issue Feb 6, 2022 · 4 comments

Comments

@iflow
Copy link

iflow commented Feb 6, 2022

Issue:
The preview in RStudio is just black text with background and after applying the theme every window has got dark grey background with black text.

Steps to reproduce:

  1. Download night-owlish.rstheme
  2. Add it in RStudio 2021.09.2: Options > Appearance > Editor theme > Add...
  3. Choose Night Owl

2022-02-06 19_46_59_RStudio

@batpigandme
Copy link
Owner

I'm really sorry, but I can't reproduce this on my machine. Hopefully someone else runs into this issue and has a fix for you.

Do other custom themes work for you?

The rsthemes package has a bunch of RStudio themes (including a version of Night Owl) and uses a different installation process, so maybe check that out.

🤔 I am definitely curious, though, if the problem you're having is specific to this specific theme versus any other custom rsthemes you've installed.

@iflow
Copy link
Author

iflow commented Feb 7, 2022

Thank you!
The installation of rsthemes solved the issue. I can now choose "Night Owl {rsthemes}" in the editor theme settings.

I don't know why the other way didn't work this time for me (it did work in my previous RStudio installation).

@batpigandme
Copy link
Owner

Glad to hear it! I'll leave this issue open, since we haven't actually fixed the source of your problem.

@greglank
Copy link

greglank commented Jan 9, 2024

Exactly the same issue for me. When installing from the provided .rstheme, the preview shows black on white, and after applying all the windows are black on dark gray. Running RStudio 2023.12.0 on Windows 11.

Likewise, installing rsthemes allowed me to select "Night Owl (rsthemes)" and it worked correctly.

Edit: While doing other work, I got this console error message regarding the original Night Owl theme (not the one from rsthemes):

Warning message:
In readLines(themeFile, encoding = "UTF-8") :
  incomplete final line found on 'C:/.../night-owlish.rstheme'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants