i\'m writing a small css-in-js api where i have a main singleton class to define my theme properties, and a method to register styles that return the classNames for that sty