@@ -6,41 +6,55 @@ Custom Themes for SourceGit
6
6
7
7
1 . Create a new json file, and provide your favorite colors with follow keys:
8
8
9
+ * Basic Colors
10
+
9
11
| Key | Description |
10
12
| --- | --- |
11
- | Color.Window | Window background color |
12
- | Color.WindowBorder | Window border color. Only used on Linux. |
13
- | Color.TitleBar | Title bar background color |
14
- | Color.ToolBar | Tool bar background color |
15
- | Color.Popup | Popup panel background color |
16
- | Color.Contents | Background color used in inputs, data grids, file content viewer, change lists, text diff viewer, etc. |
17
- | Color.Badge | Badge background color |
18
- | Color.BadgeFG | Badge foreground color |
19
- | Color.Conflict | Conflict panel background color |
20
- | Color.ConflictForeground | Conflict panel foreground color |
21
- | Color.DecoratorIconBG | Background color for commit ref icon |
22
- | Color.DecoratorIcon | Foreground color for commit ref icon |
23
- | Color.DecoratorBranch | Background color for commit branch ref name |
24
- | Color.DecoratorTag | Background color for commit tag ref name |
25
- | Color.DecoratorFG | Foreground color for commit ref name |
26
- | Color.Border0 | Border color used in some controls, like Window, Tab, Toolbar, etc. |
27
- | Color.Border1 | Border color used in inputs, like TextBox, ComboBox, etc. |
28
- | Color.Border2 | Border color used in visual lines, like seperators, Rectange, etc. |
29
- | Color.FlatButton.Background | Flat button background color, like ` Cancel ` , ` Commit & Push ` button |
30
- | Color.FlatButton.BackgroundHovered | Flat button background color when hovered, like ` Cancel ` button |
31
- | Color.FG1 | Primary foreground color for all text elements |
32
- | Color.FG2 | Secondary foreground color for all text elements |
33
- | Color.Diff.EmptyBG | Background color used in empty lines in diff viewer |
34
- | Color.Diff.AddedBG | Background color used in added lines in diff viewer |
35
- | Color.Diff.DeletedBG | Background color used in deleted lines in diff viewer |
36
- | Color.Diff.AddedHighlight | Background color used for changed words in added lines in diff viewer |
37
- | Color.Diff.DeletedHighlight | Background color used for changed words in deleted lines in diff viewer |
13
+ | Window | Window background color |
14
+ | WindowBorder | Window border color. Only used on Linux. |
15
+ | TitleBar | Title bar background color |
16
+ | ToolBar | Tool bar background color |
17
+ | Popup | Popup panel background color |
18
+ | Contents | Background color used in inputs, data grids, file content viewer, change lists, text diff viewer, etc. |
19
+ | Badge | Badge background color |
20
+ | BadgeFG | Badge foreground color |
21
+ | Conflict | Conflict panel background color |
22
+ | ConflictForeground | Conflict panel foreground color |
23
+ | DecoratorIconBG | Background color for commit ref icon |
24
+ | DecoratorIcon | Foreground color for commit ref icon |
25
+ | DecoratorBranch | Background color for commit branch ref name |
26
+ | DecoratorTag | Background color for commit tag ref name |
27
+ | DecoratorFG | Foreground color for commit ref name |
28
+ | Border0 | Border color used in some controls, like Window, Tab, Toolbar, etc. |
29
+ | Border1 | Border color used in inputs, like TextBox, ComboBox, etc. |
30
+ | Border2 | Border color used in visual lines, like seperators, Rectange, etc. |
31
+ | FlatButton.Background | Flat button background color, like ` Cancel ` , ` Commit & Push ` button |
32
+ | FlatButton.BackgroundHovered | Flat button background color when hovered, like ` Cancel ` button |
33
+ | FG1 | Primary foreground color for all text elements |
34
+ | FG2 | Secondary foreground color for all text elements |
35
+ | Diff.EmptyBG | Background color used in empty lines in diff viewer |
36
+ | Diff.AddedBG | Background color used in added lines in diff viewer |
37
+ | Diff.DeletedBG | Background color used in deleted lines in diff viewer |
38
+ | Diff.AddedHighlight | Background color used for changed words in added lines in diff viewer |
39
+ | Diff.DeletedHighlight | Background color used for changed words in deleted lines in diff viewer |
40
+
41
+ * Colors used in commit graph.
42
+
43
+ Array of colors used to draw commit graph. Optional. At least one color is needed.
38
44
39
45
For example:
40
46
41
47
``` json
42
48
{
43
- "Color.Window" : " #FFFF6059"
49
+ "Basic" : {
50
+ "Window" : " #FFFF6059"
51
+ },
52
+ "Graph" : [
53
+ " Red" ,
54
+ " Yellow" ,
55
+ " Green" ,
56
+ " #FF00FF" ,
57
+ ]
44
58
}
45
59
```
46
60
0 commit comments