Ver código fonte

* Whoops -- had some stuff backwards in my mind
* Added some different colors for one theme that really had problems before.

Tyler Akins 24 anos atrás
pai
commit
04bf3425d2
3 arquivos alterados com 10 adições e 8 exclusões
  1. 2 2
      doc/themes.txt
  2. 5 5
      functions/strings.php
  3. 3 1
      themes/black_bean_burrito_theme.php

+ 2 - 2
doc/themes.txt

@@ -50,8 +50,8 @@ are color of:
  10: Darker version of #9
  11: Special folders color (Inbox, Trash, Sent)
  12: Alternate color for message list (alters between 4 and this one)
- 13: Color for single-quoted text ("> text") when reading (default:  #FF0000)
- 14: Color for text with more than one quote (default: #800000)
+ 13: Color for single-quoted text ("> text") when reading (default:  #800000)
+ 14: Color for text with more than one quote (default: #FF0000)
 
 Next all you have to do is run conf.pl and add the theme to the list
 of themes available to you.  If you would like your theme to be 

+ 5 - 5
functions/strings.php

@@ -206,13 +206,13 @@
          }
          
          if ($Quotes > 1) {
-	    if (! isset($color[13]))
-	       $color[13] = '#FF0000';
-            $line = '<FONT COLOR="' . $color[13] . '">' . $line . '</FONT>';
-	 } elseif ($Quotes) {
 	    if (! isset($color[14]))
-	       $color[14] = '#800000';
+	       $color[14] = '#FF0000';
             $line = '<FONT COLOR="' . $color[14] . '">' . $line . '</FONT>';
+	 } elseif ($Quotes) {
+	    if (! isset($color[13]))
+	       $color[13] = '#800000';
+            $line = '<FONT COLOR="' . $color[13] . '">' . $line . '</FONT>';
 	 }
 
          $body_ary[$i] = $line;

+ 3 - 1
themes/black_bean_burrito_theme.php

@@ -16,6 +16,8 @@
     $color[8]   = "#D0D0D0"; // (off-white)			Normal text
     $color[9]   = "#414141"; // (dark gray)			Darker version of #0
     $color[10]  = "#292929"; // (darker gray)		Darker version of #9
-    $color[11]  = "#AAAA44"; // (light red)			Special Folders color
+    $color[11]  = "#AAAA44"; // (gold)			Special Folders color
     $color[12]  = "#202020"; // (dark gray)             Alternate color for message backround in index table
+    $color[13]  = "#FF7733"; // (orange-ish)  Single-quoted text
+    $color[14]  = "#FF3377"; // (pink-ish)  2 or more quotes
 ?>