We had 29 nights in Sicily last spring, and it was our 2nd trip there, but maybe some of this summary will be useful to you.
Palermo — 5 nights (wished for 2 or 3 more nights — it’s a great city and packed with things to see + day trip to Monreale)
Erice — 3 nights (2 or even 1 would have been enough, day trip to salt flats + lunch near Trapani)
Randazzo — 3 nights (nice town & convenient for day trips to Bronte & Etna winery)
Ortigia — 3 nights (2 would have been fine)
Ragusa Ibla — 5 nights (day trips to Modica, etc.)
Catania — 3 nights (mainly there for opera & food & markets & WWII museum but we did like the city itself)
Piazza Armerina — 2 nights (just one night before seeing Villa Romana would have been fine)
Sciacca — 5 nights (for Easter events & for several day trips that didn’t happen because I got flu)
For us, this trip had too many short stays, but that’s the way Sicily is — there’s just too much to see! I would go back to Palermo tomorrow.
P.S. We had been to Agrigento and up Etna as day trips on our first trip to Sicily. We had a car both trips.