Organize & write better CSS #3504
Labels
difficulty: hard
Front end
good first issue
Good for newcomers
⚙ Improvement
New feature or request
🚶🏻♀️ Priority low
Work on it if possible
We are using SASS pre-process to write CSS styles, here's are a few examples of styles:
The quality of the CSS needs to be improved, in terms of CSS class names and by applying some CSS principle.
We are using the BEM to write the CSS class name, and they also need to be re-named for a better understanding of each class name.
There are few styles which we still wrote in native
.sass
files, those styles also need to move to.vue
file or make a separate component out of it.CSS Principles
Grouping properties
Colour Declarations
You might see a lot inside the Thermal codebase where color is used by its keyword name
white
andblack
. Keep the color value inrgba(255, 255, 255, .5)
, so even if we want to change increase the transparency in the color we have to just decrease the value of the fourth parameter.Please: Do share your feedback/suggestion about how we can further improve the CSS.
The text was updated successfully, but these errors were encountered: