CotEditor’s theme is a collection of settings about the editor’s coloring.
To select a theme to customize:
To use an existing theme as a guide for creating your own, choose Duplicate in the action button (gear icon) instead. You can also export your themes and import themes that are created by others.
To customize a theme:
The change will be saved automatically and applied immediately.
If you check the “Use system color” option, the color specified in the system (System Preferences > General) will be used for the background of the selected text in the editor, instead of a fixed color.
A pair of themes with the same theme name but “ (Dark)” (with a space) at the end of one of them will automatically switch themes depending on the window’s appearance. In this case, the theme name for light mode can be either the theme name only or the theme name with “ (Light)” at the end. For example, bundled “Anura” and “Anura (Dark)” themes are a pair. So, “Anura” is used when the appearance is light, and “Anura (Dark)” is used in Dark Mode.
However, if you select a theme opposite to the appearance as the default theme, that theme will take precedence regardless of the appearance.
CotEditor theme file must have extension .cottheme and its format is based on JSON with hexadecimal color values with a # symbol.