• 
      

    Add dark mode styling for modal boxes.

    Review Request #13830 — Created May 6, 2024 and submitted

    Information

    Djblets
    release-5.x

    Reviewers

    This introduces basic styling for modal boxes to support dark mode. It
    uses the Ink container styling for the main box, and Ink header styling
    for the title box.

    As modalbox doesn't actually control other elements of the page, this
    doesn't do anything to style buttons or other elements. That's up to the
    caller.

    There are long-term plans to move modal dialog functionality directly
    into Ink, at which point modalboxes in Djblets will be deprecated.

    Tested with various dialogs in Review Board (which are undergoing
    updates).

    Summary ID
    Add dark mode styling for modal boxes.
    This introduces basic styling for modal boxes to support dark mode. It uses the Ink container styling for the main box, and Ink header styling for the title box. As modalbox doesn't actually control other elements of the page, this doesn't do anything to style buttons or other elements. That's up to the caller. There are long-term plans to move modal dialog functionality directly into Ink, at which point modalboxes in Djblets will be deprecated.
    db6970b8d3dfc6286a06e5f7a91cf66528c0fa0f

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