rileytwo / darkstudio

darkstudio. A dark grey alternative to RStudio's default dark theme.
https://rileytwo.github.io/darkstudio/
MIT License
134 stars 16 forks source link

Style remaining elements #16

Open salim-b opened 4 years ago

salim-b commented 4 years ago

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

salim-b commented 4 years ago

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

rikudoukarthik commented 2 years ago

@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

salim-b commented 2 years ago

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

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?

salim-b commented 2 years ago

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.

rikudoukarthik commented 2 years ago

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?