tgbdc7 / zeton

an application supporting behavioural therapy. A token system designed for a child / student. It allows to earn points for performed activities and exchange them for prizes
23 stars 12 forks source link

Clarify generating SCSS assets #184

Open olo2552 opened 4 years ago

olo2552 commented 4 years ago

I see in PRs that we are diffing in our PRs some CSS files, some SCSS files, some of the SCSS files seem to be scoped (starting with leading _). So how it is actually generated? What files are generated, and what are not? Why sourcemaps are in the repository? For me it's high time to investigate it, thus discuss who knows what.

Web-ski commented 4 years ago

At the beginning styles were generated from various CSS files. And the first style was written that way. By introducing the second (current) style, I created the style.css file as the only one CSS, the only place for all styles generated from SCSS files. Unfortunately, it was not possible to remove previous styles without writing the new. Because, this would make it very difficult to work on the project for the rest of the team. So, currently, in these files where is 2th style, should be linked only one style.css. In other, there are still linked some files CSS.