nexus-devs / NexusHub

📈 Warframe and WoW Classic Economy Analytics
https://nexushub.co
Other
92 stars 10 forks source link

Refactor CSS modules #239

Open Kaptard opened 5 years ago

Kaptard commented 5 years ago

I'm submitting a...


Current behavior

Most styles are defined individually inside components, but we could probably abstract some of these and make them more easily available, either through scss mixins or global css classes.


Expected behavior

Manual styling should be reduced to a minimum.


Minimal reproduction of the problem


Environment

Browser:

For development issues:

Additional Description

I'm sure someone already figured out how to do this systematically, so we should probably start by researching other's methods.

Kaptard commented 5 years ago

refactor: Refactor CSS modules into a more structured structure :^)

Bitti09 commented 5 years ago

what about a switch to tailwindcss ? manual css styling won't be necessary after that

Kaptard commented 5 years ago

The idea was to make our own library of classes like that to fit our own style guides. But it's certainly a good point of reference.