Did you by any chance update your OS recently, or perhaps update your desktop environment or were trying out a different theme or something similar? It seems as though the operating system is setting a dark theme on some of the RStudio UI elements, and as far as I know this is outside the control of RStudio.