fastn icon indicating copy to clipboard operation
fastn copied to clipboard

color attribute for icons

Open Sarvom opened this issue 1 year ago • 3 comments

If icons in webpages can fetch color from the color scheme webpages will be more aesthetic. color attribute is there but not working similar in ftd.text, ftd.row etc.

Reference: https://codepen.io/noahblon/pen/PovZva

Sarvom avatar Oct 18 '23 09:10 Sarvom

@harshdoesdev when you have time add support for mask property (along with -webkit-mask for older Safari). https://codepen.io/noahblon/post/coloring-svgs-in-css-background-images

amitu avatar Oct 18 '23 09:10 amitu

@harshdoesdev when you have time add support for mask property (along with -webkit-mask for older Safari). https://codepen.io/noahblon/post/coloring-svgs-in-css-background-images

The mask property is a shorthand for various other properties in CSS, in the above mentioned post, mask-image is being used. It would be similar to ftd.shadow, with offset values, repeat style, bg size, etc. Otherwise if we are just implementing mask-image, it can be a single property.

harshdoesdev avatar Oct 18 '23 10:10 harshdoesdev

No, do the right thing, similar to ftd.shadow.

amitu avatar Oct 18 '23 11:10 amitu