This is not frosting, but cookie paint that was a major tradition when I was growing up, so I also did it with my own kids.
It was simply an egg yolk with food coloring added to make "paint". It was brushed on cut-out sugar cookies before baking.
Hope that helps!
Jan Snell