The Edit Theme button appears only when viewing a custom theme. Built-in themes cannot be edited. To create a custom theme from a built-in theme, go to Settings => Themes. Click on the one you want and copy its code. Then create a custom theme, paste in the code from the built-in, and modify it.