Croatia has 4 festivals in this guide, spread across 3 cities. They run in June, July and August, and festival-day temperatures range from 27°C (81°F) to 31°C (88°F), with nights down to 19°C (66°F). That range is the reason there is no single "Croatia festival outfit". The answer changes by month and by site.
3 of them run in real heat (28°C or more), where loose natural fabrics beat coverage and a brimmed hat does more than any garment.
The ground matters as much as the sky. You will find beach and city streets, which puts flat sandals you can rinse, plus trainers for the night stages at the top of the list for most of these events. None of them have camping on site, so you are travelling in and out each day and the outfit has to survive the journey at both ends.
Stylistically the crowd here leans beach, tropical, island and house. Ultra Europe is the largest of them at around 150,000 people, and it sets the tone the smaller ones react to. None of that is a dress code. It is what you will see, which is worth knowing if you would rather blend in or deliberately not.