Skip to content

Commit 683bac9

Browse files
committed
docs: explain how to install custom color schemes
1 parent dcc2138 commit 683bac9

1 file changed

Lines changed: 21 additions & 0 deletions

File tree

hiddenSettings.md

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -114,3 +114,24 @@ Click any row in the **Example** column to copy the full command to the clipboar
114114
</tbody>
115115
</table>
116116
</div>
117+
118+
# [How to Use a Custom Color Scheme](#install_theme)
119+
120+
**Installation**
121+
122+
Use the [Color Scheme Editor](https://visualdiffer.com/colors.html) to create a custom color scheme, then download the JSON file. For example, save the file as `~/Downloads/my-scheme.json`.
123+
124+
Open Terminal and run the following commands. The first command copies the file to a directory that the VisualDiffer sandbox can access.
125+
126+
```sh
127+
cp ~/Downloads/my-scheme.json ~/Library/Application\ Scripts/com.visualdiffer
128+
defaults write com.visualdiffer colorsConfigPath ~/Library/Application\ Scripts/com.visualdiffer/my-scheme.json
129+
```
130+
131+
**Restore the Default Setting**
132+
133+
To stop using the custom color scheme, run the following command:
134+
135+
```sh
136+
defaults delete com.visualdiffer colorsConfigPath
137+
```

0 commit comments

Comments
 (0)