In SAS for Windows, select Tools->Options->Enhanced Editor to get to the appearance options for the code editor.

In SAS Enterprise Guide, select Tools->Options, SAS Programs, then click the Editor Options button. That gets you to the same appearance options window.

Editor options are global to your machine, so if you change them in SAS Enterprise Guide that will also change them in SAS for Windows.