rlangtip icon indicating copy to clipboard operation
rlangtip copied to clipboard

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

Open aedobbyn opened this issue 6 years ago • 1 comments

aedobbyn avatar Mar 10 '19 15:03 aedobbyn

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)"

jimhester avatar Mar 10 '19 19:03 jimhester