swift502 / Sketchbook

3D playground built on three.js and cannon.js.
https://jblaha.art/sketchbook/latest
MIT License
1.47k stars 389 forks source link

add modules for css files #28

Closed ghost closed 4 years ago

ghost commented 4 years ago

Add modularity to CSS files in order to keep the files maintainable and styles reusable over time. Buttons, labels, or cards styles could be reusable for a future growing UI for example. Finally, It will be just a 'main.css' to import in Sketchbook.ts even if we have 20 css files.

swift502 commented 4 years ago

Sure thing! I wasn't planning to expand the UI that much, but it can't hurt to keep things organised.