Decathlon/vitamin-ios

feat: Dynamic Vitamix Image Asset

SayadiMohamedOmar opened this issue Β· 5 comments

The purpose of this issue is to give access to the app who is using Vitamix Asset to fetch the assets based on the name of the image so we can use them based on the configuration which will be provided by our app.

Example:
the method provided by vitamin for fetching country by region code.
public static func flag(countryCode: String) -> VitaminAsset?

Hello @SayadiMohamedOmar,
Thanks for your improvement request.

Can you give us more information about how you imagine the naming?
Country flags are a little different because a country code is a worldwide naming convention, there is no naming like that for icons.

Do we agree on something like the name of the icon on Figma with -fill or -line suffix? (Ex: home-fill and home-line)

Hello @florentlotthepro
yes i think it will be great if we use the icon name of Figma like you mentioned πŸ™πŸΎπŸ‘ŒπŸΏ

Hello @mackoj, What is your opinion on that?

mackoj commented

I think it's a great idea.

mackoj commented

I will add it to my ticket for the next major version of vitamin.