-
Notifications
You must be signed in to change notification settings - Fork 34
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: implement theme-based dynamic styles for Code Issue Panel [IDE-…
…250] (#514) * feat: implement theme-based dynamic styles for Code Issue Panel - Dynamically sets CSS properties via `browser.executeJavaScript` based on the current IDE theme (dark or light). - Visual elements rendered from the Language Server, such as text color, background color, link color, and other UI components, are consistent with the user's theme preference. Related: snyk/snyk-ls#491 where support for dynamic dark and light themes was added. * refactor: optimise JS initialisation and event handling in JBCefBrowser - Use event delegation for the `.data-flow-clickable-row` elements. This change reduces the number of event listeners attached to the DOM by binding a single listener on the document rather than individual listeners on each element. - Prevent redefinition of the `openFileQuery` function initialising just once per page load. * feat: support Dark, Light and Darcula themes * refactor: apply styles in a single iteration * chore: update README * fix: remove unnecessary file
- Loading branch information
Showing
2 changed files
with
72 additions
and
18 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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