function commentOutUnusedDeclarations(content) {
	const lines = content.split("\n");
	let commentOut = false;
	for (let i = 0; i < lines.length; i++) {
		const line = lines[i].trim();
		if (
			line === "@font-face {" ||
			line === ".sapSvgIconNegative {" ||
			line === ".sapSvgIconCritical {" ||
			line === ".sapSvgIconPositive {"
		) {
			commentOut = true;
		}
		if (commentOut) {
			lines[i] = "// " + lines[i];
			if (line === "}") {
				commentOut = false;
			}
		}
	}
	return lines.join("\n") + "\n";
}
/*
 * Commenting out declarations that are currently not used by UI5
 * - @font-face declarations should be converted to mixins that can be applied by UI5
 * - svgIcon classes are not related to UI5 at all
 *
 * Note: Using LESS comments (//) to also hide the content from the CSS
 */
Commenting out declarations that are currently not used by UI5
- @font-face declarations should be converted to mixins that can be applied by UI5
- svgIcon classes are not related to UI5 at all

Using LESS comments (//) to also hide the content from the CSS
Commenting out declarations that are currently not used by UI5 - @font - face declarations should be converted to mixins that can be applied by UI5 - svgIcon classes are not related to UI5 at all Using LESS comments ( // ) to also hide the content from the CSS
function commentOutUnusedDeclarations(content) {
	const lines = content.split("\n");
	let commentOut = false;
	for (let i = 0; i < lines.length; i++) {
		const line = lines[i].trim();
		if (
			line === "@font-face {" ||
			line === ".sapSvgIconNegative {" ||
			line === ".sapSvgIconCritical {" ||
			line === ".sapSvgIconPositive {"
		) {
			commentOut = true;
		}
		if (commentOut) {
			lines[i] = "// " + lines[i];
			if (line === "}") {
				commentOut = false;
			}
		}
	}
	return lines.join("\n") + "\n";
}
function commentOutUnusedDeclarations ( content ) { const lines = content . split ( "\n" ) ; let commentOut = false ; for ( let i = 0 ; i < lines . length ; i ++ ) { const line = lines [ i ] . trim ( ) ; if ( line === "@font-face {" || line === ".sapSvgIconNegative {" || line === ".sapSvgIconCritical {" || line === ".sapSvgIconPositive {" ) { commentOut = true ; } if ( commentOut ) { lines [ i ] = "// " + lines [ i ] ; if ( line === "}" ) { commentOut = false ; } } } return lines . join ( "\n" ) + "\n" ; }
Commenting out declarations that are currently not used by UI5
 - @font-face declarations should be converted to mixins that can be applied by UI5
 - svgIcon classes are not related to UI5 at all
Commenting out declarations that are currently not used by UI5 - @font - face declarations should be converted to mixins that can be applied by UI5 - svgIcon classes are not related to UI5 at all