revodavid / rlangtip

R package to generate a helpful tip about R
Other
22 stars 6 forks source link

See if we can find out what color of IDE background is #41

Open aedobbyn opened 5 years ago

jimhester commented 5 years ago

If they are using RStudio you can use rstudioapi::getThemeInfo() for this, but there isn't a way to query this for users using command line R or other clients. e.g.

rstudioapi::getThemeInfo()
# $editor
# [1] "Solarized Light"
# 
# $global
# [1] "Classic"
# 
# $dark
# [1] FALSE
# 
# $foreground
# [1] "rgb(88, 110, 117)"
# 
# $background
# [1] "rgb(253, 246, 227)"