LibGfx: Fix cut off CSS color names

This commit is contained in:
Luke 2020-09-28 23:40:25 +01:00 committed by Andreas Kling
parent 709581e141
commit c0d9daadb0

View file

@ -278,7 +278,7 @@ Optional<Color> Color::from_string(const StringView& string)
{ 0xadd8e6, "lightblue" },
{ 0xf08080, "lightcoral" },
{ 0xe0ffff, "lightcyan" },
{ 0xfafad2, "lightgoldenrody" },
{ 0xfafad2, "lightgoldenrodyellow" },
{ 0xd3d3d3, "lightgray" },
{ 0x90ee90, "lightgreen" },
{ 0xd3d3d3, "lightgrey" },
@ -293,13 +293,13 @@ Optional<Color> Color::from_string(const StringView& string)
{ 0x32cd32, "limegreen" },
{ 0xfaf0e6, "linen" },
{ 0xff00ff, "magenta" },
{ 0x66cdaa, "mediumaquamarin" },
{ 0x66cdaa, "mediumaquamarine" },
{ 0x0000cd, "mediumblue" },
{ 0xba55d3, "mediumorchid" },
{ 0x9370db, "mediumpurple" },
{ 0x3cb371, "mediumseagreen" },
{ 0x7b68ee, "mediumslateblue" },
{ 0x00fa9a, "mediumspringgre" },
{ 0x00fa9a, "mediumspringgreen" },
{ 0x48d1cc, "mediumturquoise" },
{ 0xc71585, "mediumvioletred" },
{ 0x191970, "midnightblue" },