meganesu / generate-gb-opcodes

A helper project to dynamically generate the opcodes for each Game Boy CPU instruction mnemonic
https://meganesu.github.io/generate-gb-opcodes/
42 stars 9 forks source link

Break up global stylesheet #8

Closed meganesu closed 4 years ago

meganesu commented 4 years ago

Right now, the styles for this app are all stored in the dist/index.css file. Ideally, these styles should be broken up and live with the components they're related to.

meganesu commented 4 years ago

Goal: To modularize styles so that each component can have its own self-contained stylesheet.

Two strategies for doing this are CSS-in-JS and CSS modules. See Modular CSS with React article on Medium for a detailed breakdown of differences between the two.

In order to maintain ability to easily use CSS pseudo-classes, I'm going to move forward with using CSS modules.

meganesu commented 4 years ago

Closed by ed8dc3de511c083a68161b40007e88421601b368