Add dark mode support to the GitLab CLI Windows installer by updating setup_windows.iss to use Inno Setup’s theming (dynamic)
Problem to solve
As a user installing GitLab CLI on Windows, I want the Inno Setup installer to support dark mode so that the installation process is visually consistent with my system theme and more comfortable for users who prefer or require dark mode for accessibility reasons.
Proposal
Add dark mode support to the Inno Setup installer script (setup_windows.iss). This could be achieved by:
- Leveraging Inno Setup’s modern UI theming capabilities.
- Detecting the system theme (light/dark) and applying the corresponding installer theme automatically.
Further details
-
Use cases:
- Developers working late at night who prefer dark mode for eye comfort.
- Users with accessibility needs (e.g., light sensitivity).
- Consistency with GitLab CLI’s dark mode support in terminal environments.
-
Benefits:
- Improves user experience and accessibility.
- Aligns installer visuals with modern application standards.
- Provides a professional and polished first impression of GitLab CLI.
-
Goals:
- Ensure installer UI adapts to system theme.
- Maintain readability and usability in both light and dark modes.
- Keep implementation lightweight and maintainable within the existing Inno Setup script.
Links / references
- GitLab CLI project: https://gitlab.com/gitlab-org/cli
- Installer script: https://gitlab.com/gitlab-org/cli/-/blob/main/scripts/setup_windows.iss
Edited by RC Chuah