'Use same colors in pies in PieDonut

I'm using the following reproducible example to plot the PieDonut chart. Here each pie section uses shades of different colours.

library(webr)
require(moonBook)
PieDonut(acs,aes(smoking,Dx),title="Distribution of smoking status by diagnosis")

enter image description here

Is there any way to use the same colour for the outer donut pies (eg. same colour for STEMI in Smoker, Ex-smoker and Never) as following example:

enter image description here



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source