I downloaded a bunch of icons from https://github.com/iconic/open-iconic The icons are originally black and in .png format.
I want to add an arrow pointing upwards on one of my canvas.
I found one way of importing the icon, but the problem is that I cannot change the icon-color. Can I change the icon color within Kivy, or do I need to create a separate .png image for each color that I will use?
<VitalBoard>:
canvas:
Color:
rgba: 0.17, 0.89, 0.89, 1
hsv: 0.48, 0.80, 0.34
Rectangle:
pos: root.width * 2 / 3 + 20, root.height * 13 / 24 + 20
size: root.width * 2 / 6 - 10 , root.height * 9 / 24 - 20
Label:
font_size: 70
text: "0"
pos: root.width * 2 / 3 + 20, root.height * 13 / 24 + 20
size: root.width * 2 / 6 - 10 , root.height * 9 / 24 - 20
Image:
source: 'open-iconic/png/arrow-thick-top-8x.png'
pos: root.width * 2 / 3 + 20, root.height * 13 / 24 + 20
size: root.width * 2 / 6 - 10 , root.height * 9 / 24 - 20
width: 74