Skip to content

White syntax highlighting theme for Web IDE

Problem to solve

GitLab currently supports a White syntax highlighting preference for viewing blobs in the repository. However, this is not supported when editing code inside of the Web IDE. While the Web IDE does default to dark text on a white background, the syntax highlighting between these two is different:

Screenshot_2020-02-12_14.17.32Screenshot_2020-02-12_14.17.40

Proposal

Inside of the Web IDE we should support White syntax preference based on white which GitLab uses in the blob viewer.

webide-white-theme

Important Note: In scope for this is only the code editing area. In a future iteration we'll work to expand themes to more of the viewable area in the Web IDE.

Further details

Only the code editing pane will be in scope for this change, all sidebars will be out of scope for the initial implementation so that we can continue to evaluate the change across the application.

Documentation

Documentation should be updated for the Syntax highlighting theme to indicate which Themes are also supported in the Web IDE and that it also applies to the Web IDE.

Edited by Kai Armstrong