Open salim-b opened 4 years ago
The menu theme is the top menu bar; this is what is changed when rscodeio::activate_menu_theme()
is executed. All of the remaining UI elements are styled with the editor theme.
I see... so this means, there's currently no way to combine your UI element modifications besides the syntax highlighing theme with the default editor themes provided by RStudio, right?
I guess it would then be a simple copy-paste effort to create an editor theme with all of your awesome UI element mods but with Tomorrow Night Bright syntax higlighting? Would you accept a PR introducing such a second editor theme (with the name Tomorrow Night Bright (rscodeio)
for example)?
@salim-b Were you able to get around this, I am running into the same issue and want to run a different editor theme but keep all the styling.
Thanks
@salim-b yes that will be ok & sorry for the (very) delayed response.
If possible, could the file be changed in a way where the editor themes can just be copy pasted from other sources yet all the other styling remains the same? Haven't done anything like this before so just wondering, Thanks for such a nice theme btw love this alot!
It is possible, but given the way I hacked the stylesheet together, it's probably going to be painful. There are some css variables defined at the top of the stylesheet which you could take a look at; I expect it's incomplete for what you want though. I had intended to refactor that stylesheet into a postcss pipeline, but I haven't had time to complete it, unfortunately.
@salim-b Were you able to get around this, I am running into the same issue and want to run a different editor theme but keep all the styling.
I've just submitted #44 which adds a theme named Tomorrow Night Bright (rscodeio)
.
You can use one of RStudio's default themes and complement it by the necessary CSS from rscodeio if you like.
First of all, awesome work, thanks a lot!
Now, while I love your dark menu palettes (and especially the fact that you provide GNOME-specific style sheets!), I don't like the
rscodeio
editor theme and prefer to stick to Tomorrow Night Bright instead.Although in #18 you state
this is not true for me. The menu theme (except the top menu bar) reverts back to
Modern
's default ugly blue colors as soon as I switch the editor theme to anything other thanrscodeio
.Screenshot (note the top menu bar which is still dark):
Maybe this is because I'm using the latest development version of RStudio (
1.3.1039
1.3.1050
at the time of writing)?Excerpt of
xfun::session_info()
: