mirror of
https://github.com/wailsapp/wails.git
synced 2025-05-04 17:42:24 +08:00
.. | ||
info-dark2x.png | ||
info-dark.png | ||
info-light2x.png | ||
info-light.png | ||
question-dark2x.png | ||
question-dark.png | ||
question-light2x.png | ||
question-light.png | ||
README.md | ||
warning-dark2x.png | ||
warning-dark.png | ||
warning-light2x.png | ||
warning-light.png |
Dialog
NOTE: Currently, this is a Mac only feature.
Place any PNG file in this directory to be able to use them in message dialogs.
The files should have names in the following format: name[-(light|dark)][2x].png
Examples:
mypic.png
- Standard definition icon with IDmypic
mypic-light.png
- Standard definition icon with IDmypic
, used when system theme is lightmypic-dark.png
- Standard definition icon with IDmypic
, used when system theme is darkmypic2x.png
- High definition icon with IDmypic
mypic-light2x.png
- High definition icon with IDmypic
, used when system theme is lightmypic-dark2x.png
- High definition icon with IDmypic
, used when system theme is dark
Order of preference
Icons are selected with the following order of preference:
For High Definition displays:
- name-(theme)2x.png
- name2x.png
- name-(theme).png
- name.png
For Standard Definition displays:
- name-(theme).png
- name.png