Skip to content

Commit ff90e4f

Browse files
committed
Add "grey" variants for "gray" colors
The non-American spelling of grey is widely supported, and explicitly in the SVG color spec http://www.w3.org/TR/css3-color/#svg-color Fixes gh-86 Fixes CSSLint/csslint#407
1 parent 8aac15c commit ff90e4f

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

src/css/Colors.js

+8
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ var Colors = {
2525
darkcyan :"#008b8b",
2626
darkgoldenrod :"#b8860b",
2727
darkgray :"#a9a9a9",
28+
darkgrey :"#a9a9a9",
2829
darkgreen :"#006400",
2930
darkkhaki :"#bdb76b",
3031
darkmagenta :"#8b008b",
@@ -36,11 +37,13 @@ var Colors = {
3637
darkseagreen :"#8fbc8f",
3738
darkslateblue :"#483d8b",
3839
darkslategray :"#2f4f4f",
40+
darkslategrey :"#2f4f4f",
3941
darkturquoise :"#00ced1",
4042
darkviolet :"#9400d3",
4143
deeppink :"#ff1493",
4244
deepskyblue :"#00bfff",
4345
dimgray :"#696969",
46+
dimgrey :"#696969",
4447
dodgerblue :"#1e90ff",
4548
firebrick :"#b22222",
4649
floralwhite :"#fffaf0",
@@ -51,6 +54,7 @@ var Colors = {
5154
gold :"#ffd700",
5255
goldenrod :"#daa520",
5356
gray :"#808080",
57+
grey :"#808080",
5458
green :"#008000",
5559
greenyellow :"#adff2f",
5660
honeydew :"#f0fff0",
@@ -68,12 +72,14 @@ var Colors = {
6872
lightcyan :"#e0ffff",
6973
lightgoldenrodyellow :"#fafad2",
7074
lightgray :"#d3d3d3",
75+
lightgrey :"#d3d3d3",
7176
lightgreen :"#90ee90",
7277
lightpink :"#ffb6c1",
7378
lightsalmon :"#ffa07a",
7479
lightseagreen :"#20b2aa",
7580
lightskyblue :"#87cefa",
7681
lightslategray :"#778899",
82+
lightslategrey :"#778899",
7783
lightsteelblue :"#b0c4de",
7884
lightyellow :"#ffffe0",
7985
lime :"#00ff00",
@@ -126,6 +132,7 @@ var Colors = {
126132
skyblue :"#87ceeb",
127133
slateblue :"#6a5acd",
128134
slategray :"#708090",
135+
slategrey :"#708090",
129136
snow :"#fffafa",
130137
springgreen :"#00ff7f",
131138
steelblue :"#4682b4",
@@ -151,6 +158,7 @@ var Colors = {
151158
buttontext :"Text on push buttons.",
152159
captiontext :"Text in caption, size box, and scrollbar arrow box.",
153160
graytext :"Grayed (disabled) text. This color is set to #000 if the current display driver does not support a solid gray color.",
161+
greytext :"Greyed (disabled) text. This color is set to #000 if the current display driver does not support a solid grey color.",
154162
highlight :"Item(s) selected in a control.",
155163
highlighttext :"Text of item(s) selected in a control.",
156164
inactiveborder :"Inactive window border.",

0 commit comments

Comments
 (0)