/
ColorHighlighter.sublime-settings
135 lines (135 loc) · 4.72 KB
/
ColorHighlighter.sublime-settings
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
{
"search_colors_in": {
"selection": {
"enabled": true,
"color_highlighters": {
"color_scheme": {
"enabled": false,
"highlight_style": "filled"
},
"gutter_icons": {
"enabled": false,
"icon_style": "circle"
},
"phantoms": {
"enabled": true,
"style": "right",
"length": 2
}
}
},
"all_content": {
"enabled": true,
"color_highlighters": {
"color_scheme": {
"enabled": true,
"highlight_style": "text"
},
"gutter_icons": {
"enabled": true,
"icon_style": "circle"
},
"phantoms": {
"enabled": false,
"style": "right",
"length": 2
}
}
},
"hover": {
"enabled": true,
"color_highlighters": {
"color_scheme": {
"enabled": false,
"highlight_style": "filled"
},
"gutter_icons": {
"enabled": false,
"icon_style": "circle"
},
"phantoms": {
"enabled": false,
"style": "right",
"length": 2
}
}
}
},
"default_keybindings": true,
"file_extensions": [".css", ".less", ".scss", ".sass", ".styl"],
"icon_factory": {
"convert_command": "convert",
"convert_timeout": 5
},
"autoreload": {
"when_settings_change": true,
"when_color_scheme_change": true
},
"regex_compiler": {
"channels": {
"hex": "[0-9a-fA-F]",
"dec": "\\d{1,3}",
"float": "(?:[0|1])|(?:[1][\\.]?[0]*)|(?:[0]?[\\.]\\d*)",
"perc": "(?:\\d{1,3}[%])|(?:0)"
},
"formats": {
"sharp8": {
"description": "Hex #RRGGBBAA color format",
"regex": "#[0-9a-fA-F]{8}",
"white": "#FFFFFFFF"
},
"sharp6": {
"description": "Hex #RRGGBBAA color format",
"regex": "#[0-9a-fA-F]{6}",
"white": "#FFFFFF",
"after": "sharp8"
},
"sharp4": {
"description": "Hex #RGBA color format",
"regex": "#(?P<R>hex)(?P<G>hex)(?P<B>hex)(?P<A>hex)",
"white": "#FFFF",
"after": "sharp6"
},
"sharp3": {
"description": "Hex #RGB color format",
"regex": "#(?P<R>hex)(?P<G>hex)(?P<B>hex)",
"white": "#FFF",
"after": "sharp4"
},
"rgba": {
"description": "rgba(255,255,100%,1) color format",
"regex": "rgba[(][ ]*(?P<R>dec|perc)[ ]*[,][ ]*(?P<G>dec|perc)[ ]*[,][ ]*(?P<B>dec|perc)[ ]*[,][ ]*(?P<A>float)[ ]*[)]",
"white": "rgba(255, 255, 100%, 1)"
},
"rgb": {
"description": "rgb(255,255,100%) color format",
"regex": "rgb[(][ ]*(?P<R>dec|perc)[ ]*[,][ ]*(?P<G>dec|perc)[ ]*[,][ ]*(?P<B>dec|perc)[ ]*[)]",
"white": "rgb(255, 255, 100%)"
},
"hsva": {
"description": "hsva(hue 0..360, s%, v%, alpha 0.0 .. 1.0) color format",
"regex": "hsva[(][ ]*(?P<H>dec)[ ]*[,][ ]*(?P<S>perc)[ ]*[,][ ]*(?P<V>perc)[ ]*[,][ ]*(?P<A>float)[ ]*[)]",
"white": "hsva(0, 0%, 100%, 1.)"
},
"hsv": {
"description": "hsv(hue 0..360, s%, v%) color format",
"regex": "hsv[(][ ]*(?P<H>dec)[ ]*[,][ ]*(?P<S>perc)[ ]*[,][ ]*(?P<V>perc)[ ]*[)]",
"white": "hsv(0, 0%, 100%)"
},
"hsla": {
"description": "hsla(hue 0..360, s%, v%, alpha 0.0 .. 1.0) color format",
"regex": "hsla[(][ ]*(?P<H>dec)[ ]*[,][ ]*(?P<S>perc)[ ]*[,][ ]*(?P<L>perc)[ ]*[,][ ]*(?P<A>float)[ ]*[)]",
"white": "hsla(0, 0%, 100%, 1.)"
},
"hsl": {
"description": "hsl(hue 0..360, s%, v%) color format",
"regex": "hsl[(][ ]*(?P<H>dec)[ ]*[,][ ]*(?P<S>perc)[ ]*[,][ ]*(?P<L>perc)[ ]*[)]",
"white": "hsl(0, 0%, 100%)"
}
}
},
"experimental": {
"asynchronosly_update_color_scheme": false
},
"debug": false
}