Index: template.php
===================================================================
RCS file: /cvs/drupal-contrib/contributions/themes/rootcandy/template.php,v
retrieving revision 1.36.2.50
diff -u -p -r1.36.2.50 template.php
--- template.php	7 Jun 2010 07:19:59 -0000	1.36.2.50
+++ template.php	7 Jun 2010 08:22:48 -0000
@@ -284,6 +284,14 @@ function rootcandy_preprocess_page(&$var
 
     $vars['rootcandy_user_links'] = $links;
   }
+
+  if ($rootcandy_custom_css = theme_get_setting('rootcandy_custom_css')) {
+    if (file_exists(check_plain($rootcandy_custom_css))) {
+      drupal_add_css($rootcandy_custom_css, 'theme');
+      $vars['css'] = drupal_add_css();
+      $vars['styles'] = drupal_get_css();
+    }
+  }
 }
 
 function rootcandy_admin_block_content($content) {
Index: theme-settings.php
===================================================================
RCS file: /cvs/drupal-contrib/contributions/themes/rootcandy/theme-settings.php,v
retrieving revision 1.6.2.20
diff -u -p -r1.6.2.20 theme-settings.php
--- theme-settings.php	23 Apr 2010 18:44:58 -0000	1.6.2.20
+++ theme-settings.php	7 Jun 2010 08:22:48 -0000
@@ -185,6 +185,13 @@ function rootcandy_settings($saved_setti
     '#title' => t('Hide author footer message'),
     '#default_value' => $settings['rootcandy_hide_author'],
   );
+  $form['Misc']['rootcandy_custom_css'] = array(
+    '#type' => 'textfield',
+    '#title' => t('Custom css file'),
+    '#size' => 40,
+    '#default_value' => $settings['rootcandy_custom_css'],
+    '#description' => t('Enter the path to custom css file relative to drupal root, eg. "sites/default/files/custom.css"'),
+  );
 
   $max_weight = (isset($max_weight)) ? $max_weight : 100;
   foreach ($roles as $rid => $role) {
@@ -204,4 +211,4 @@ function rootcandy_settings($saved_setti
 
   // Return the additional form widgets
   return $form;
-}
\ No newline at end of file
+}
