Skip to content
Browse files

Reordering styles in console response.

  • Loading branch information...
1 parent 2b60429 commit af558016f67c73e3ca5b84c8c86b5decf0270d60 @davidpersson davidpersson committed
Showing with 6 additions and 6 deletions.
  1. +6 −6 console/Response.php
View
12 console/Response.php
@@ -111,11 +111,7 @@ public function __destruct() {
*/
public function styles($styles = array()) {
$defaults = array(
- 'heading' => "\033[1;36m",
- 'option' => "\033[0;35m",
- 'command' => "\033[0;35m",
- 'error' => "\033[0;31m",
- 'success' => "\033[0;32m",
+ 'end' => "\033[0m",
'black' => "\033[0;30m",
'red' => "\033[0;31m",
'green' => "\033[0;32m",
@@ -124,7 +120,11 @@ public function styles($styles = array()) {
'purple' => "\033[0;35m",
'cyan' => "\033[0;36m",
'white' => "\033[0;37m",
- 'end' => "\033[0m"
+ 'heading' => "\033[1;36m",
+ 'option' => "\033[0;35m",
+ 'command' => "\033[0;35m",
+ 'error' => "\033[0;31m",
+ 'success' => "\033[0;32m"
);
if ($styles === false) {
return array_combine(array_keys($defaults), array_pad(array(), count($defaults), null));

0 comments on commit af55801

Please sign in to comment.
Something went wrong with that request. Please try again.