-
Notifications
You must be signed in to change notification settings - Fork 0
Refactoring
Marie-Louise edited this page Dec 7, 2018
·
5 revisions
To refactor mean to change the way that the code is written with out changing it's how it behaves or what is is supposed to do.
This is when re-used classes are put together in order to achieve a desired behaviour. Here's an example from ticket #2713
This is a custom class that I've added during the refactoring process. The existing ones are as follows:
.link--lg {
border-top: solid 1px $ruleAndSeparatorColour; // suggestion: one class
font-size: 20px; //
font-weight: bold;
line-height: 1.81818;
padding: 10px 0; // suggestion: one class
text-align: left;
}