I googled this question, but most of the posts I saw were related to to running CSS or JS on the admin page, and weren't related to adding a theme option.
I'm not sure how to get started. Do I have to register a setting (http://codex.wordpress.org/Settings_API#Adding_Setting_Fields)?
If so, in which file do I add add_settings_field function? Functions.php?