cookbook icon indicating copy to clipboard operation
cookbook copied to clipboard

Cleaning of CSS in vue files (migration to SCSS)

Open christianlupus opened this issue 5 years ago • 4 comments

The vue files have a quite wide mix of CSS styles and are not well readible. It might be a good idea to use SCSS to reduce the overhead plus #531 to have a good indentation

christianlupus avatar Jan 18 '21 10:01 christianlupus

We could also (additionally) consider using the BEM class naming scheme.

seyfeb avatar Jan 18 '21 13:01 seyfeb

I have never used BEM (had to google) and have no experience of the benefits/drawbacks. I can understand that the specificity might cause trouble from time to time if understood wrong. Here, BEM seems an easy solution.

Nevertheless, this is not something I would consider high-priority currently. It's here to be kept in mind.

christianlupus avatar Jan 18 '21 15:01 christianlupus

Let’s say, it is less helpful than for general use due to the scoped styles we are using with vue.js

seyfeb avatar Jan 18 '21 16:01 seyfeb

Maybe Tailwind could be a good option for styling.

TheMBeat avatar Jun 24 '21 11:06 TheMBeat