You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+22-1Lines changed: 22 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -19,20 +19,41 @@ Gutter Color is a cross-platform Sublime Text plugin which displays a colored ic
19
19
}
20
20
```
21
21
* For help with either, view [this blog post by Wes Bos](http://wesbos.com/css-gutter-color-sublime-text/)
22
+
**Additional user settings:*
23
+
*`supported_syntax` sets the filetypes the script runs in.
24
+
*`use_transparency` determines whether to draw RGBA, HSLA, and custom formats with alpha channels enabled, compositing the fill color over a checkered gray background. Setting this to `"light"` is the same as `true`, but uses a lighter checkerboard.
25
+
*`custom_colors` adds additional regexes for custom color string formats, along with associated string matching and affixing rules. (See default settings file.)
26
+
*`fix_color_schemes` enables automatic editing of the current tmTheme to correct ST's icon tinting. (See **Icon Tinting and Light Color Schemes** below.)
22
27
23
-
## Fixing ImageMagick on OSX
28
+
## Troubleshooting
29
+
30
+
#### Fixing ImageMagick on OSX
24
31
If you're experiencing issues with ImageMagick (installed via brew) when using GutterColor on OSX, follow these instructions to fix it.
25
32
26
33
1. Uninstall IM with `brew uninstall imagemagick`
27
34
2. Install again with a couple of options `brew install imagemagick --with-xz --with-font-config --with-little-cms --with-little-cms2`
28
35
3. Check the location of `convert` with `type convert`
29
36
4. Copy the location and edit the GutterColor/Settings - User `convert_path` to be the value of step 3.
30
37
38
+
#### Icon Tinting and Light Color Schemes
39
+
Sublime Text automatically tints gutter icons to match your background color settings. Unfortunately this can cause Gutter Color's samples to vary from slightly inaccurate to completely black. To counteract this effect, Gutter Color can generate a new copy of your current color scheme that sets the background to black *only for the scope of the plugin*. You will not see any visual changes other than the icons.
40
+
41
+

42
+
43
+
* To manually update a color scheme, open the Command Palette and select `GutterColor: Fix Current Color Scheme`.
44
+
* Alternatively, the plugin can run this process automatically via the setting `fix_color_schemes`.
45
+
46
+
#### Other Display Issues
47
+
48
+
Sublime's placeholder image is a red-and-yellow-striped box. If you are seeing these, it is most likely that Gutter Color cannot find ImageMagick to generate the samples. Double-check that you have your `convert_path` setting and/or your `PATH` environment variable set correctly, and restart Sublime Text. If the problem persists, feel free to [contact us](https://github.com/ggordan/GutterColor/issues).
49
+
31
50
## TODO
32
51
33
52
* Add support for SASS/LESS variables
34
53
* Backport to ST2
35
54
* Handle conflicts with GitGutter/VCS Gutter
55
+
* Support for CSS gradients and named colors
56
+
* Better cleanup processes
36
57
37
58
## Thanks
38
59
Thanks to all of the [contributors](https://github.com/ggordan/GutterColor/graphs/contributors) who continue to improve GutterColor!
0 commit comments