rileytwo / darkstudio

darkstudio. A dark grey alternative to RStudio's default dark theme.

Home Page:https://rileytwo.github.io/darkstudio/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Style remaining elements

salim-b opened this issue · comments

With the current darkstudio.css a bunch of UI elements remains unchanged (i.e. they're still in that ugly default blue). Especially the top menu bar strikes the eye...

Screenshot:

Bildschirmfoto von 2020-06-20 19-36-53

Addendum: The rscodeio theme does style all of the these elements properly.

@salim-b Using rscodeio::activate_menu_theme() only gets rid of the top menu bar. Opened dataframes and other bars (Git status in below image) still remain blue. Note: this is because my editor theme is Tomorrow Night, not rscodeio (I want the syntax colours of the former).

Is there any way to resolve these issues? (This is on Windows.)

image

The other bars you mention should be styled via the RStudio theme CSS, apparently darkstudio doesn't style them (yet).

You can try my rscodeio fork for an alternative dark theme that should style everything:

if (!("remotes" %in% rownames(installed.packages()))) {
  install.packages(pkgs = "remotes",
                   repos = "https://cloud.r-project.org/")
}
remotes::install_github("salim-b/rscodeio@interim-merge")
rscodeio::install_themes(apply_theme = "Tomorrow Night Bright (rscodeio)")

I am getting this error:

> rscodeio::install_themes(apply_theme = "Tomorrow Night Bright (rscodeio)")
Error: 'install_themes' is not an exported object from 'namespace:rscodeio'

Moreover, is it possible to use Tomorrow Night instead of Tomorrow Night Bright?

Did you really install rscodeio from my fork's interim-merge branch? Maybe you also need to restart the R session after package installation and then run rscodeio::install_themes(apply_theme = "Tomorrow Night Bright (rscodeio)").

Moreover, is it possible to use Tomorrow Night instead of Tomorrow Night Bright?

No, not currently. You could add support yourself though, by simply creating a rscodeio_tomorrow_night.rstheme similar to rscodeio_tomorrow_night_bright.rstheme, I'd be happy to merge it.

Maybe you also need to restart the R session after package installation and then run rscodeio::install_themes(apply_theme = "Tomorrow Night Bright (rscodeio)").

Thanks, this worked.

No, not currently. You could add support yourself though, by simply creating a rscodeio_tomorrow_night.rstheme similar to rscodeio_tomorrow_night_bright.rstheme, I'd be happy to merge it.

As a newbie to this, I am unable to figure out what in the linked code I'd have to change in order to use Tomorrow Night instead of Tomorrow Night Bright---can't find any instance where the theme name is mentioned (aside from the first two lines commented out). Any advice?