UdacityFrontEndScholarship/task-master

Import framework rather using a cdn

Closed this issue · 3 comments

I would suggest not to go with CDN as if we do have to change things we'are overwriting CSS every time and importing framework will give us the flexibility to tweak that.........I

Before we go ahead with this issue I just want to ask, Is it a good practice to change the CSS of materialize file rather than overwritting it ? If yes please provide one good explanation.

yes frameworks are there to help and make our tasks easy and customizing them can increase our productivity, let me explain with an example

Let's say we have a design system which has a certain type of inputs, buttons and navigation instead of overwriting your framework we'll customize itself in core files and now we can use elements everywhere without hesitating that design system would be violated by another team member(If he doesn't use our custom declared classes)

Moreover we are removing some dead code from framework

customizing them can increase our productivity

There is also one term called maintainability, what if there is new version of materialize CSS available and now we want to shift all our CSS code to the new code base. How you are planning to solve this problem ? Because if we change the previous original css file to meet our condition then for this new css file we again might need to find all those elements and change each and every thing manually,