README: Add screenshot to demonstrate the skin-ability of egui
This commit is contained in:
parent
62504fface
commit
f92df7db56
2 changed files with 5 additions and 1 deletions
|
@ -303,7 +303,11 @@ Also see [GitHub Discussions](https://github.com/emilk/egui/discussions/categori
|
|||
Yes! But you need to install your own font (`.ttf` or `.otf`) using `Context::set_fonts`.
|
||||
|
||||
### Can I customize the look of egui?
|
||||
Yes! You can customize the colors, spacing and sizes of everything. By default egui comes with a dark and a light theme.
|
||||
Yes! You can customize the colors, spacing, fonts and sizes of everything using `Context::set_style`.
|
||||
|
||||
Here is an example (from https://github.com/AlexxxRu/TinyPomodoro):
|
||||
|
||||
<img src="media/pompodoro-skin.png" width="50%">
|
||||
|
||||
### What about accessibility, such as screen readers?
|
||||
There is experimental support for a screen reader. In [the web demo](https://www.egui.rs/#demo) you can enable it in the "Backend" tab.
|
||||
|
|
BIN
media/pompodoro-skin.png
Normal file
BIN
media/pompodoro-skin.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 77 KiB |
Loading…
Reference in a new issue