• 
      

    Update the API token policy dialog for dark mode.

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

    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.

    Summary ID
    Update the API token policy dialog for dark mode.
    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.
    06e08ddcb7dc4fae123470a41b180e5cfe3c3523

    maubin
    1. Ship It!
    2. 
        
    david
    1. Ship It!
    2. 
        
    chipx86
    Review request changed
    Status:
    Completed
    Change Summary:
    Pushed to release-7.x (859ebdb)