batpigandme / night-owlish

🌙🦉 An RStudio, tmThemes, and Ace editor adaptation of @sdras' Night Owl VS Code theme…
MIT License
151 stars 59 forks source link

Theme is not working anymore in RStudio 2021.09.2 #11

Open iflow opened 2 years ago

iflow commented 2 years ago

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 commented 2 years ago

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 commented 2 years ago

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 commented 2 years ago

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

greglank commented 8 months ago

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'