Handbook: Add note about image exports (#21772)

Follow-up from discussion @ product design sync awhile back re:
exporting any image more complex than an icon as PNG. (Complex SVGs can
have issues like emojis not rendering and inconsistencies between
browsers.)
This commit is contained in:
Rachael Shaw 2024-09-03 14:04:54 -05:00 committed by GitHub
parent c0687573c6
commit bb77b9a5ff
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -584,6 +584,10 @@ Use the 🧩 ["Design System (current)"](https://www.figma.com/file/8oXlYXpgCV1S
Use `---`, with color `$ui-fleet-black-50` as the default UI for empty columns.
**Images**
Simple icons (aka any images used in the icon [design system component](https://www.figma.com/design/8oXlYXpgCV1Sn4ek7OworP/%F0%9F%A7%A9-Design-system-(current)?node-id=12-2&t=iO2vXbQ9Sc1kFVEJ-1)) are exported as SVGs. All other images are exported as PNGs, following the [Fleet website image](https://github.com/fleetdm/fleet/tree/main/website/assets/images) naming conventions.
**Form behavior**
Pressing the return or enter key with an open form will cause the form to be submitted.