mirror of
https://github.com/matthiasmullie/minify.git
synced 2025-02-22 10:58:36 +01:00
add replace 'white' and 'black' to '#fff' and '#000'
This commit is contained in:
parent
6d922d0e2a
commit
8be95e10e6
@ -514,6 +514,8 @@ class CSS extends Minify
|
||||
'#FF6347' => 'tomato',
|
||||
'#EE82EE' => 'violet',
|
||||
'#F5DEB3' => 'wheat',
|
||||
'WHITE' => '#fff',
|
||||
'BLACK' => '#000',
|
||||
);
|
||||
|
||||
return preg_replace_callback(
|
||||
|
Loading…
x
Reference in New Issue
Block a user