-
-
Notifications
You must be signed in to change notification settings - Fork 255
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add new variant “info” for inline message boxes (#1818)
As discussed in #1815, we want to add an informational message box to the Static IP dialog (in Pro). This PR introduces the `info`-type variant for our `<inline-message>` component, and defines its usage in our app styleguide. Similar to [the existing `--brand-metallic-lighter`](https://github.com/tiny-pilot/tinypilot/blob/04108124805238b1554c588fab8e6a3a0c7817d6/app/static/css/style.css#L17), I had to introduce a new blue colour variant, otherwise the background of the box would have been too dark (when using `--brand-blue-light`). <img width="732" alt="Screenshot 2024-07-04 at 12 32 03" src="https://github.com/tiny-pilot/tinypilot/assets/83721279/52ad11f5-e708-4fa2-bfc3-a6b42a5b5fe0"> <a data-ca-tag href="https://codeapprove.com/pr/tiny-pilot/tinypilot/1818"><img src="https://codeapprove.com/external/github-tag-allbg.png" alt="Review on CodeApprove" /></a> --------- Co-authored-by: Jan Heuermann <[email protected]>
- Loading branch information
1 parent
e8379ea
commit adb8cf0
Showing
3 changed files
with
19 additions
and
2 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
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