dracula / rstudio

🧛🏻‍♂️ Dark theme for RStudio
https://draculatheme.com/rstudio
MIT License
13 stars 9 forks source link

Background image bug for project wizard dialog #14

Open mattkerlogue opened 2 years ago

mattkerlogue commented 2 years ago

Issue

Some of the classes relating to elements in the new project wizard dialog (File > New Project...) have a background property in their CSS that makes the section of the dialog unreadable. Specifically the following classes:

Screenshots of problem

File > New Project ... > New Directory > New Project

Screenshot 2022-05-23 at 10 37 13

File > Existing Directory

Screenshot 2022-05-23 at 10 36 24

File > Version Control

Screenshot 2022-05-23 at 10 31 10

Solution

Override the background property of the two CSS classes, .GEL-OVUBJ2 and .GEL-OVUBL2. An override is also needed when the back button is being pressed, i.e. on .GEL-OVUBJ2:focus. The back button override likely also needs a border/outline (as per the cancel button in the bottom right of the dialogs).

Dialog as expected (background property of CSS classes disabled via the chromium developer tools inspector)

Screenshot 2022-05-23 at 10 54 55
kieran-mace commented 1 year ago

This PR seems to fix the issue: https://github.com/dracula/rstudio/pull/13