<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array">
    <added>
      <filename>src/github-badge.js</filename>
    </added>
    <added>
      <filename>test/functional/github-badge-launcher_test.html</filename>
    </added>
    <added>
      <filename>test/functional/github_badge_launcher_black_test.html</filename>
    </added>
  </added>
  <modified type="array">
    <modified>
      <diff>@@ -52,6 +52,7 @@ task :dist do
     FileUtils.copy_file &quot;#{APP_NAME}.js&quot;, &quot;#{APP_NAME}-#{APP_VERSION}.js&quot;
     FileUtils.copy_file &quot;#{APP_BADGE_NAME}.js&quot;, &quot;#{APP_BADGE_NAME}-#{APP_VERSION}.js&quot;
   end
+  FileUtils.cp_r &quot;src/ext&quot;, &quot;dist/ext&quot;
   if File.directory?(&quot;website&quot;)
     FileUtils.rm_rf &quot;website/dist&quot; rescue nil
     FileUtils.mkdir_p &quot;website/dist&quot;</diff>
      <filename>Rakefile</filename>
    </modified>
    <modified>
      <diff>@@ -7,6 +7,7 @@
 
 #github-badge a {
   color: #4183c4; /* blue */
+  background-color: white;
   text-decoration: none;
 }
 
@@ -44,10 +45,6 @@
   background: transparent none repeat scroll 0%;
 }
 
-#github-badge .watching li {
-  font-size: 110%;
-}
-
 #github-badge .repos img {
   padding-right: .2em;
   vertical-align: middle;
@@ -58,6 +55,10 @@
   background-color: #f0f0f0;
 }
 
+#github-badge .repos .public a {
+  background-color: #f0f0f0;
+}
+
 #github-badge .repos .public .description {
   margin-left: 18px;
 }</diff>
      <filename>src/ext/stylesheets/badge.css</filename>
    </modified>
    <modified>
      <diff>@@ -7,6 +7,7 @@
 
 #github-badge a {
   color: #4183c4; /* blue */
+  background-color: black;
   text-decoration: none;
 }
 
@@ -44,10 +45,6 @@
   background: transparent none repeat scroll 0%;
 }
 
-#github-badge .watching li {
-  font-size: 110%;
-}
-
 #github-badge .repos img {
   padding-right: .2em;
   vertical-align: middle;
@@ -58,6 +55,10 @@
   background-color: rgb(20,20,20);
 }
 
+#github-badge .repos .public a {
+  background-color: rgb(20,20,20);
+}
+
 #github-badge .repos .public .description {
   margin-left: 18px;
 }</diff>
      <filename>src/ext/stylesheets/black_badge.css</filename>
    </modified>
    <modified>
      <diff>@@ -3,8 +3,8 @@ var GitHubBadge = GitHubBadge || {};
 GitHubBadge.Launcher = new function() {
   function requestStylesheet( url, style_id ) {
     if (&quot;jQuery&quot; in window) {
-      jQuery('head').append(
-        jQuery('&lt;style rel=&quot;stylesheet&quot; type=&quot;text/css&quot;&gt;&lt;/style&gt;')
+      jQuery('head').prepend(
+        jQuery('&lt;link rel=&quot;stylesheet&quot; type=&quot;text/css&quot;&gt;&lt;/link&gt;')
         .attr('href', url)
         .attr('id', style_id)
       )
@@ -52,7 +52,7 @@ GitHubBadge.Launcher = new function() {
       throw(&quot;GitHub Badge requires jQuery and jQuery.template&quot;);
     
     var is_black = (&quot;GITHUB_THEME&quot; in window &amp;&amp; GITHUB_THEME) || 'white';
-    if (is_black == 'black' || jQuery('#github-badge').parent().css('background-color') == 'rgb(0, 0, 0)') {
+    if (is_black == 'black' || jQuery.color.almostBlack(jQuery('#github-badge').parent().css('background-color'))) {
       requestStylesheet(this.path + 'ext/stylesheets/black_badge.css', 'black_badge');
     } else {
       requestStylesheet(this.path + 'ext/stylesheets/badge.css', 'badge');</diff>
      <filename>src/github-badge-launcher.js</filename>
    </modified>
  </modified>
  <removed type="array">
    <removed>
      <filename>test/unit/github-badge-launcher_test.html</filename>
    </removed>
    <removed>
      <filename>test/unit/github_badge_launcher_black_test.html</filename>
    </removed>
  </removed>
  <parents type="array">
    <parent>
      <id>99cbcc4f37afaf4bf971d70975c049a1ea2aeb01</id>
    </parent>
  </parents>
  <author>
    <name>Dr Nic Williams</name>
    <email>drnicwilliams@gmail.com</email>
  </author>
  <url>http://github.com/drnic/github-badges/commit/aa9f9e32474b23149222497fe9ed0199043e60c4</url>
  <id>aa9f9e32474b23149222497fe9ed0199043e60c4</id>
  <committed-date>2008-05-05T21:33:01-07:00</committed-date>
  <authored-date>2008-05-05T21:33:01-07:00</authored-date>
  <message>1.2.0 - fixed check for blackness</message>
  <tree>dfb8ee74c58f3193e85aea32310dcdaf7fd74ba9</tree>
  <committer>
    <name>Dr Nic Williams</name>
    <email>drnicwilliams@gmail.com</email>
  </committer>
</commit>
