diff --git a/css/clean-code.css b/css/clean-code.css index f88792a..c4d2955 100644 --- a/css/clean-code.css +++ b/css/clean-code.css @@ -127,3 +127,9 @@ a { border-radius: 0; } } + +/* Testing some sass properties */ + +a:hover { + color: color.adjust($color-hl, $lightness: -20%); +} diff --git a/css/dirty-code.css b/css/dirty-code.css index 4d8a5e7..ba4996e 100644 --- a/css/dirty-code.css +++ b/css/dirty-code.css @@ -82,3 +82,6 @@ justify-content: center; // 3. this comment is not removed /* Is @media working ? */ @media(max-width:768px) {body {border-radius: 0px}} + +/* Testing some sass properties */ +a:hover{color: color.adjust($color-hl, $lightness: -20%)} diff --git a/inc/classes/csslisible.class.php b/inc/classes/csslisible.class.php index 33209d6..00849b5 100644 --- a/inc/classes/csslisible.class.php +++ b/inc/classes/csslisible.class.php @@ -35,6 +35,10 @@ class CSSLisible { 'regex' => '#((translate|rgba|calc)\((.+)\))#U', 'list' => array() ), + 'color_include' => array( + 'regex' => '#(color\.adjust\([^\)]*\))#U', + 'list' => array() + ), 'url_data_etc' => array( 'regex' => '#url\((.*)\)#U', 'list' => array()