Repository navigation
Dark theme support for New Project Wizard and Import Dataset dialogs - #17280
Merged
Merged
Conversation
Contributor
✅ Snyk checks have passed. No issues have been found so far.
💻 Catch issues earlier using the plugins for VS Code, JetBrains IDEs, Visual Studio, and Eclipse. |
Member
Author
|
Found a problem, if you are using a dark theme, but set the |
Collaborator
|
Very nice! Can we also tweak the border color on the Back buttons, so they're dark (in a similar way to the Create Project and Cancel buttons? Also, a bit more padding between the Type: and Package name: inputs? |
Collaborator
|
We should also consistently use grey for the "right" arrow in each menu item in the wizard. (The first ones appear to be darker grey / black) |
gtritchie
force-pushed
the
feature/dark-mode-wizard-import-dialogs
branch
2 times, most recently
from
March 24, 2026 20:13
2e2cab2 to
6d61d55
Compare
Addresses #10296 Add dark theme support for the New Project Wizard and Import Dataset dialogs by opting them into the setThemeAware(true) mechanism from PR #17242. - Add setThemeAware(true) to NewProjectWizard, DataImportDialog, ImportFileSettingsDialog, and DataImportOptionsUiCsvLocale - Add dark mode CSS overrides for wizard page selector items, sprite backgrounds, disclosure arrows, and page backgrounds - Create dedicated dark-mode back button sprites matching the standard dialog button colors (rgb(68,80,90) fill, rgb(12,31,48) border) - Add dark mode CSS for data import grid frame, code preview area, options blocks (shared and CSV-specific), and column types popup - Propagate dark class from owning dialog to DataImportColTypesMenu popup via DOM walk using hasClassName for exact class matching - Enable theme support for the data import GridViewerFrame iframe, gated on the owning dialog's dark state so the grid stays light when use_dark_theme_modal_dialogs is disabled; strip editor_dark and add editor_light to fully revert grid styling - Set dark background on grid viewer container to prevent light flash while the iframe content loads - Add dark mode override for invalid package name highlight - Add spacing between Type dropdown and Package name field on the Create R Package page
gtritchie
force-pushed
the
feature/dark-mode-wizard-import-dialogs
branch
from
March 24, 2026 20:29
6d61d55 to
c00dedd
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Intent
Additional work on #10296
Summary
setThemeAware(true)mechanism from dark theme support for modal dialogs #17242Screenshots
Test plan
use_dark_theme_modal_dialogspreference tofalse— verify all dialogs remain light even with a dark editor theme