#7633 FreeOTP: create an icon to represent FreeIPA tokens in FreeOTP
Opened 5 years ago by abbra. Modified 5 years ago

FreeOTP app is in a process of upgrading its visual look and is gained ability to specify icon associated with the token. An icon to represent FreeIPA internal OTP tokens thus need to be developed after a visual identity for FreeIPA was changed.

From what I understand, new FreeOTP-android application token layout needs an image of 96dpx96dp for the token: https://github.com/freeotp/freeotp-android/blob/master/app/src/main/res/layout/token.xml#L29-L36, however, since these are density-independent units, icon sizes would be different for each screen density buckets.

https://www.captechconsulting.com/blogs/understanding-density-independence-in-android describes density independence and how to convert the dp units to px.

@npmccallum, please confirm I correctly presented your intentions.


The latest code is actually here:
https://github.com/npmccallum/freeotp-android/blob/master/mobile/src/main/res/layout/token.xml#L33-L59

Documentation is here:
https://github.com/npmccallum/freeotp-android/blob/master/BRANDING.md

Specifically, I'd like FreeIPA to provide the following two parameters:
https://github.com/npmccallum/freeotp-android/blob/master/URI.md#image
https://github.com/npmccallum/freeotp-android/blob/master/URI.md#color

Both of these parameters should be configurable realm-wide by the administrator. FreeIPA should also provide defaults which highlight FreeIPA branding.

Icons should be in Font Awesome style (https://fontawesome.com). It should be relatively easy to adapt the existing FreeIPA logo to this style.

Color should be the predominant dark color from the FreeIPA palette.

Just to not confuse, @npmccallum this ticket is about graphics artefact to be produced. Supporting an additional configuration is a different thing and I'll open a ticket for that too.

So you need us to produce an icon of FreeIPA logo and submitted to fontawesome project for inclusion. Is that correct?

That would be my preference. From there we would need to host is somewhere publicly available at a well known URL.

I added https://pagure.io/freeipa/issue/7636 to cover the management part of the token image/color.

Login to comment on this ticket.

Metadata