Theming the contact form in Drupal 7 is almost the same as most people did it in Drupal 6, but the one change through me for a loop for quite awhile.
Using Drupal 6, most people would add some code to their template.php file and create something like the following:
DRUPAL 6
function myTheme_theme() {
return array(
'contact_mail_page' => array(
'arguments' => array('form' => NULL),
'template' => 'contact-form',
),
);
}
function myTheme_preprocess_contact_mail_page(&$vars)
{
$vars['name'] = drupal_render($vars['form']['name']);