tiny-pilot / tinypilot

Use your Raspberry Pi as a browser-based KVM.
https://tinypilotkvm.com
MIT License
2.95k stars 244 forks source link

Add new variant “info” for inline message boxes #1818

Closed jotaen4tinypilot closed 1 week ago

jotaen4tinypilot commented 1 week ago

As discussed in https://github.com/tiny-pilot/tinypilot/issues/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, 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).

Screenshot 2024-07-04 at 12 32 03

Review on CodeApprove