My widget is powered by Java7, Spring for REST URI, and HTML/CSS/JS for the view part. I am looking to allow my users to customize the widget by injecting CSS color from a backend website. To achieve this, I have set up a form to store these values in a database.
Next, I am aiming to generate a custom CSS file based on these values so that users can easily inject it into their HTML pages. How can I approach this particular scenario? Ideally, I would like a solution that integrates with Java7 and/or Spring.
Thank you in advance for your insights.