If you have glass doors you may want the inside box to match the exterior colour of the cabinets.
However, if your cupboards are laminated with a durable white vinyl surface, it's usually unnecessary to paint them.
If they are dirty you can generally clean them up with a mild soap or something similar to Spray Nine.
Image
![Painting Glass Cupboard Doors - before](/sites/default/files/styles/max_1300x1300/public/2023-03/glass_cupboards_before.jpeg.webp?itok=Rcxf55uR)
Image
![Painting Glass Cupboard Doors](/sites/default/files/styles/max_1300x1300/public/2023-03/glass-cabinets-after.png.webp?itok=tbhvdoA8)