Update the API token policy dialog for dark mode.

Review Request #13839 — Created May 8, 2024 and submitted — Latest diff uploaded

Information

Review Board
release-7.x

Reviewers

The API token policy dialog now supports light and dark modes. This
involved updating the CodeMirror instance to make use of the same theme
that the standard rich text editors use, updating the defaults for
the .CodeMirror style, and moving the syntax highlighting theme into
the common bundle.

The token policy dialog now uses Ink buttons instead of standard
input-based buttons.

Tested the editor, styles, and selections in light and dark mode.

Tested all buttons and their expected behavior.


Commits

Files