-
-
Notifications
You must be signed in to change notification settings - Fork 413
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Define a default icon source #4042
Comments
You imagine a treatment on server side that updates a sitemap after loading it to inject the default icon source ? |
Yes, something on the server. |
The default icon source would be a global server setting, not a setting for each sitemap ? Depending on sitemap, a user could prefer different default icon source. I would rather imagine a new "property" of each sitemap. |
I usually define icons for all items, so that they are the same on all sitemaps and the settings in Main UI. Therefore I personally need the icon to be changed in the compoment that parses the items. |
So rather a global server setting considered by server when responding to REST calls. |
It's possible to use other icon sets than the default one in (but not only) sitemaps, e.g.
f7:light
. It can be a bit cumbersome to define the icon source and icon set prefix for every icon when someone wants to use the same style for all icons.Thus I suggest to implement a new setting called "Default icon source" which will prefix all icons without an explicit source, e.g. setting is
f7
than the iconlight
becomesf7:light
. This transformation can be done by the server, so no UI needs to be adapted (BasicUI, Android and iOS apps support this syntax). Icons from the classic set can be referenced byoh:classic:light
.The text was updated successfully, but these errors were encountered: