diff --git a/composer.json b/composer.json index 112a6bde..0daaa089 100644 --- a/composer.json +++ b/composer.json @@ -1,5 +1,5 @@ { - "name": "leafo/scssphp", + "name": "apolakipso/scssphp", "type": "library", "description": "scssphp is a compiler for SCSS written in PHP.", "keywords": ["css", "stylesheet", "scss", "sass", "less"], diff --git a/src/Compiler.php b/src/Compiler.php index 19623e6a..3917fe4b 100644 --- a/src/Compiler.php +++ b/src/Compiler.php @@ -2518,9 +2518,11 @@ public function compileValue($value) $h = sprintf('#%02x%02x%02x', $r, $g, $b); // Converting hex color to short notation (e.g. #003399 to #039) - if ($h[1] === $h[2] && $h[3] === $h[4] && $h[5] === $h[6]) { - $h = '#' . $h[1] . $h[3] . $h[5]; - } + // NOTE: Removed support for short notation + // TODO: Add option to enable short notation + // if ($h[1] === $h[2] && $h[3] === $h[4] && $h[5] === $h[6]) { + // $h = '#' . $h[1] . $h[3] . $h[5]; + // } return $h;