Passa al contenuto
Menu
È necessario essere registrati per interagire con la community.
La domanda è stata contrassegnata
6 Risposte
51293 Visualizzazioni

What is the easiest/fastest way to create an icon for my own application, that looks like the ones from Odoo.

I found that the original Odoo icons are square, "material design" icons and have shadow toward bottom left.

My easiest/fastest way:

  1. Find an image you want to use in Odoo icon. This image is usually black and white and it's PNG or SVG file.

  2. Flip image horizontally (I'll tell you why in a moment). You can use some software or online tools.

  3. Go to https://romannurik.github.io/AndroidAssetStudio/and click "Launcher icon generator"

  4. Load your image, set color to white, choose background color and set effect to "Cast shadow". Shadow is only toward bottom right and we need toward bottom left. That's why we fliped image horizontally. Download icon pack.

  5. Flip icon horizontally again and crop to have 140x140 icon. Done!

Do you know easiest/fastest way?

Avatar
Abbandona

Great job

Thank you!

Risposta migliore

An alternative is https://spilymp.github.io/ibo/


Here you can also download the created icon directly as an image and the creation is a bit more comfortable than via the generator of Ray/Fabrice. But there are less icon sets supported so far:

  • https://fontawesome.com/icons?d=gallery&m=free

  • https://icons.getbootstrap.com/

  • https://simplelineicons.github.io/

  • https://remixicon.com

  • https://tabler-icons.io/

But everybody is invited to extend the icon generator at https://github.com/spilymp/ibo and to add additional icon sets.

Avatar
Abbandona

Thank you !

Here is the video explanation i have created: https://youtu.be/PS5F_C1nL0k

Risposta migliore

Hi @Spilymp,

 Your tool is brilliant! Are you thinking of upgrading it for the new versions of odoo? Thank you and well done


Avatar
Abbandona
Risposta migliore

Please visit https://codepen.io/fheodoo/pen/XWNawZd

This was created by Fabrice. It supports thousands of icons. It is consistent with Odoo's standard design. It can be extended to any icon set.



It currently showcases examples using:

  • https://fontawesome.com/icons?d=gallery&m=free

  • https://simplelineicons.github.io/

  • https://useiconic.com/open

  • https://material.io/resources/icons/

  • https://tablericons.com/

  • https://erikflowers.github.io/weather-icons/

  • https://icons.getbootstrap.com/#icons

  • https://remixicon.com/

Avatar
Abbandona
Risposta migliore

Hello @Daniel,

I found this site : https://android-material-icon-generator.bitdroid.de/

This is much easier and user friendly site to create material design icons. The only condition for using custom icons is that the format should be .svg for the icon file that you upload. 

Hope this helps.

Thank you!

Regards,




Email:      odoo@aktivsoftware.com  

Skype: kalpeshmaheshwari

   

Avatar
Abbandona
Risposta migliore

Thank you !

Avatar
Abbandona
Risposta migliore

Informative thread.

Avatar
Abbandona
Post correlati Risposte Visualizzazioni Attività
2
lug 22
15392
0
lug 20
2667
1
lug 25
2521
0
lug 24
1857
0
mag 23
2287