Merge pull request #334 from stuartmorgan/import-css-colors

[css_colors] Import from flutter/css_colors
diff --git a/README.md b/README.md
index f0aea64..bbe62b2 100644
--- a/README.md
+++ b/README.md
@@ -27,17 +27,18 @@
 please review our [contribution guide](https://github.com/flutter/packages/blob/master/CONTRIBUTING.md),
 and send a [pull request](https://github.com/flutter/packages/pulls).
 
-## Plugins
+## Packages
 
 These are the available packages in this repository.
 
 | Plugin | Pub |
 |--------|-----|
 | [animations](./packages/animations/) | [![pub package](https://img.shields.io/pub/v/animations.svg)](https://pub.dev/packages/animations) |
-| [extension_google_sign_in_as_googleapis_auth](./packages/extension_google_sign_in_as_googleapis_auth/) | [![pub package](https://img.shields.io/pub/v/extension_google_sign_in_as_googleapis_auth.svg)](https://pub.dev/packages/extension_google_sign_in_as_googleapis_auth) |
-| [fuchsia_ctl](./packages/fuchsia_ctl/) | [![pub package](https://img.shields.io/pub/v/fuchsia_ctl.svg)](https://pub.dev/packages/fuchsia_ctl) |
-| [multicast_dns](./packages/multicast_dns/) | [![pub package](https://img.shields.io/pub/v/multicast_dns.svg)](https://pub.dev/packages/multicast_dns) |
-| [palette_generator](./packages/palette_generator/) | [![pub package](https://img.shields.io/pub/v/palette_generator.svg)](https://pub.dartlang.org/packages/palette_generator) |
+| [css\_colors](./packages/css_colors/) | [![pub package](https://img.shields.io/pub/v/css_colors.svg)](https://pub.dev/packages/css_colors) |
+| [extension\_google\_sign\_in\_as\_googleapis\_auth](./packages/extension_google_sign_in_as_googleapis_auth/) | [![pub package](https://img.shields.io/pub/v/extension_google_sign_in_as_googleapis_auth.svg)](https://pub.dev/packages/extension_google_sign_in_as_googleapis_auth) |
+| [fuchsia\_ctl](./packages/fuchsia_ctl/) | [![pub package](https://img.shields.io/pub/v/fuchsia_ctl.svg)](https://pub.dev/packages/fuchsia_ctl) |
+| [multicast\_dns](./packages/multicast_dns/) | [![pub package](https://img.shields.io/pub/v/multicast_dns.svg)](https://pub.dev/packages/multicast_dns) |
+| [palette\_generator](./packages/palette_generator/) | [![pub package](https://img.shields.io/pub/v/palette_generator.svg)](https://pub.dartlang.org/packages/palette_generator) |
 | [pigeon](./packages/pigeon/) | [![pub package](https://img.shields.io/pub/v/pigeon.svg)](https://pub.dev/packages/pigeon) |
-| [pointer_interceptor](./packages/pointer_interceptor/) | [![pub package](https://img.shields.io/pub/v/pointer_interceptor.svg)](https://pub.dev/packages/pointer_interceptor) |
-| [xdg_directories](./packages/xdg_directories/) | [![pub package](https://img.shields.io/pub/v/xdg_directories.svg)](https://pub.dev/packages/xdg_directories) |
+| [pointer\_interceptor](./packages/pointer_interceptor/) | [![pub package](https://img.shields.io/pub/v/pointer_interceptor.svg)](https://pub.dev/packages/pointer_interceptor) |
+| [xdg\_directories](./packages/xdg_directories/) | [![pub package](https://img.shields.io/pub/v/xdg_directories.svg)](https://pub.dev/packages/xdg_directories) |
diff --git a/packages/css_colors/.gitignore b/packages/css_colors/.gitignore
new file mode 100644
index 0000000..93d2a1e
--- /dev/null
+++ b/packages/css_colors/.gitignore
@@ -0,0 +1,2 @@
+.packages
+pubspec.lock
diff --git a/packages/css_colors/CHANGELOG.md b/packages/css_colors/CHANGELOG.md
new file mode 100644
index 0000000..705ae85
--- /dev/null
+++ b/packages/css_colors/CHANGELOG.md
@@ -0,0 +1,16 @@
+## 1.1.1
+
+- Moved source to flutter/packages
+
+## 1.1.0
+
+- Add support for null safety
+- Update SDK constraints
+
+## 1.0.0
+
+- Add SDK constraints for Dart and Flutter
+
+## 1.0.0
+
+- Initial version
diff --git a/packages/css_colors/LICENSE b/packages/css_colors/LICENSE
new file mode 100644
index 0000000..e789252
--- /dev/null
+++ b/packages/css_colors/LICENSE
@@ -0,0 +1,27 @@
+// Copyright 2017 Google, Inc. All rights reserved.
+//
+// Redistribution and use in source and binary forms, with or without
+// modification, are permitted provided that the following conditions are
+// met:
+//
+//    * Redistributions of source code must retain the above copyright
+// notice, this list of conditions and the following disclaimer.
+//    * Redistributions in binary form must reproduce the above
+// copyright notice, this list of conditions and the following disclaimer
+// in the documentation and/or other materials provided with the
+// distribution.
+//    * Neither the name of Google Inc. nor the names of its
+// contributors may be used to endorse or promote products derived from
+// this software without specific prior written permission.
+//
+// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
+// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
+// OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
+// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
+// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
diff --git a/packages/css_colors/README.md b/packages/css_colors/README.md
new file mode 100644
index 0000000..7e1e2ae
--- /dev/null
+++ b/packages/css_colors/README.md
@@ -0,0 +1,20 @@
+CSS Colors
+==========
+
+This package defines color constants for the CSS colors. These color constants
+use the [Color](https://docs.flutter.io/flutter/dart-ui/Color-class.html) class
+from `dart:ui`, which means they're useful for Flutter apps.
+
+Import
+------
+
+```dart
+import 'package:css_colors/css_colors.dart';
+```
+
+Use
+---
+
+```dart
+new Container(color: CSSColors.orange)
+```
diff --git a/packages/css_colors/lib/css_colors.dart b/packages/css_colors/lib/css_colors.dart
new file mode 100644
index 0000000..1bd4f8f
--- /dev/null
+++ b/packages/css_colors/lib/css_colors.dart
@@ -0,0 +1,184 @@
+// Copyright 2017 Google, Inc. All rights reserved.
+//
+// Redistribution and use in source and binary forms, with or without
+// modification, are permitted provided that the following conditions are
+// met:
+//
+//    * Redistributions of source code must retain the above copyright
+// notice, this list of conditions and the following disclaimer.
+//    * Redistributions in binary form must reproduce the above
+// copyright notice, this list of conditions and the following disclaimer
+// in the documentation and/or other materials provided with the
+// distribution.
+//    * Neither the name of Google Inc. nor the names of its
+// contributors may be used to endorse or promote products derived from
+// this software without specific prior written permission.
+//
+// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
+// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
+// OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
+// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
+// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+import 'dart:ui' show Color;
+
+// ignore_for_file: public_member_api_docs
+
+/// Provides a collection of [Color] constants corresponding to the CSS named
+/// colors.
+class CSSColors {
+  static const Color aliceBlue = Color(0xFFF0F8FF);
+  static const Color antiqueWhite = Color(0xFFFAEBD7);
+  static const Color aqua = Color(0xFF00FFFF);
+  static const Color aquamarine = Color(0xFF7FFFD4);
+  static const Color azure = Color(0xFFF0FFFF);
+  static const Color beige = Color(0xFFF5F5DC);
+  static const Color bisque = Color(0xFFFFE4C4);
+  static const Color black = Color(0xFF000000);
+  static const Color blanchedAlmond = Color(0xFFFFEBCD);
+  static const Color blue = Color(0xFF0000FF);
+  static const Color blueViolet = Color(0xFF8A2BE2);
+  static const Color brown = Color(0xFFA52A2A);
+  static const Color burlyWood = Color(0xFFDEB887);
+  static const Color cadetBlue = Color(0xFF5F9EA0);
+  static const Color chartreuse = Color(0xFF7FFF00);
+  static const Color chocolate = Color(0xFFD2691E);
+  static const Color coral = Color(0xFFFF7F50);
+  static const Color cornflowerBlue = Color(0xFF6495ED);
+  static const Color cornsilk = Color(0xFFFFF8DC);
+  static const Color crimson = Color(0xFFDC143C);
+  static const Color cyan = Color(0xFF00FFFF);
+  static const Color darkBlue = Color(0xFF00008B);
+  static const Color darkCyan = Color(0xFF008B8B);
+  static const Color darkGoldenRod = Color(0xFFB8860B);
+  static const Color darkGray = Color(0xFFA9A9A9);
+  static const Color darkGreen = Color(0xFF006400);
+  static const Color darkGrey = Color(0xFFA9A9A9);
+  static const Color darkKhaki = Color(0xFFBDB76B);
+  static const Color darkMagenta = Color(0xFF8B008B);
+  static const Color darkOliveGreen = Color(0xFF556B2F);
+  static const Color darkOrange = Color(0xFFFF8C00);
+  static const Color darkOrchid = Color(0xFF9932CC);
+  static const Color darkRed = Color(0xFF8B0000);
+  static const Color darkSalmon = Color(0xFFE9967A);
+  static const Color darkSeaGreen = Color(0xFF8FBC8F);
+  static const Color darkSlateBlue = Color(0xFF483D8B);
+  static const Color darkSlateGray = Color(0xFF2F4F4F);
+  static const Color darkSlateGrey = Color(0xFF2F4F4F);
+  static const Color darkTurquoise = Color(0xFF00CED1);
+  static const Color darkViolet = Color(0xFF9400D3);
+  static const Color deepPink = Color(0xFFFF1493);
+  static const Color deepSkyBlue = Color(0xFF00BFFF);
+  static const Color dimGray = Color(0xFF696969);
+  static const Color dimGrey = Color(0xFF696969);
+  static const Color dodgerBlue = Color(0xFF1E90FF);
+  static const Color fireBrick = Color(0xFFB22222);
+  static const Color floralWhite = Color(0xFFFFFAF0);
+  static const Color forestGreen = Color(0xFF228B22);
+  static const Color fuchsia = Color(0xFFFF00FF);
+  static const Color gainsboro = Color(0xFFDCDCDC);
+  static const Color ghostWhite = Color(0xFFF8F8FF);
+  static const Color gold = Color(0xFFFFD700);
+  static const Color goldenRod = Color(0xFFDAA520);
+  static const Color gray = Color(0xFF808080);
+  static const Color green = Color(0xFF008000);
+  static const Color greenYellow = Color(0xFFADFF2F);
+  static const Color grey = Color(0xFF808080);
+  static const Color honeyDew = Color(0xFFF0FFF0);
+  static const Color hotPink = Color(0xFFFF69B4);
+  static const Color indianRed = Color(0xFFCD5C5C);
+  static const Color indigo = Color(0xFF4B0082);
+  static const Color ivory = Color(0xFFFFFFF0);
+  static const Color khaki = Color(0xFFF0E68C);
+  static const Color lavender = Color(0xFFE6E6FA);
+  static const Color lavenderBlush = Color(0xFFFFF0F5);
+  static const Color lawnGreen = Color(0xFF7CFC00);
+  static const Color lemonChiffon = Color(0xFFFFFACD);
+  static const Color lightBlue = Color(0xFFADD8E6);
+  static const Color lightCoral = Color(0xFFF08080);
+  static const Color lightCyan = Color(0xFFE0FFFF);
+  static const Color lightGoldenRodYellow = Color(0xFFFAFAD2);
+  static const Color lightGray = Color(0xFFD3D3D3);
+  static const Color lightGreen = Color(0xFF90EE90);
+  static const Color lightGrey = Color(0xFFD3D3D3);
+  static const Color lightPink = Color(0xFFFFB6C1);
+  static const Color lightSalmon = Color(0xFFFFA07A);
+  static const Color lightSeaGreen = Color(0xFF20B2AA);
+  static const Color lightSkyBlue = Color(0xFF87CEFA);
+  static const Color lightSlateGray = Color(0xFF778899);
+  static const Color lightSlateGrey = Color(0xFF778899);
+  static const Color lightSteelBlue = Color(0xFFB0C4DE);
+  static const Color lightYellow = Color(0xFFFFFFE0);
+  static const Color lime = Color(0xFF00FF00);
+  static const Color limeGreen = Color(0xFF32CD32);
+  static const Color linen = Color(0xFFFAF0E6);
+  static const Color magenta = Color(0xFFFF00FF);
+  static const Color maroon = Color(0xFF800000);
+  static const Color mediumAquaMarine = Color(0xFF66CDAA);
+  static const Color mediumBlue = Color(0xFF0000CD);
+  static const Color mediumOrchid = Color(0xFFBA55D3);
+  static const Color mediumPurple = Color(0xFF9370DB);
+  static const Color mediumSeaGreen = Color(0xFF3CB371);
+  static const Color mediumSlateBlue = Color(0xFF7B68EE);
+  static const Color mediumSpringGreen = Color(0xFF00FA9A);
+  static const Color mediumTurquoise = Color(0xFF48D1CC);
+  static const Color mediumVioletRed = Color(0xFFC71585);
+  static const Color midnightBlue = Color(0xFF191970);
+  static const Color mintCream = Color(0xFFF5FFFA);
+  static const Color mistyRose = Color(0xFFFFE4E1);
+  static const Color moccasin = Color(0xFFFFE4B5);
+  static const Color navajoWhite = Color(0xFFFFDEAD);
+  static const Color navy = Color(0xFF000080);
+  static const Color oldLace = Color(0xFFFDF5E6);
+  static const Color olive = Color(0xFF808000);
+  static const Color oliveDrab = Color(0xFF6B8E23);
+  static const Color orange = Color(0xFFFFA500);
+  static const Color orangeRed = Color(0xFFFF4500);
+  static const Color orchid = Color(0xFFDA70D6);
+  static const Color paleGoldenRod = Color(0xFFEEE8AA);
+  static const Color paleGreen = Color(0xFF98FB98);
+  static const Color paleTurquoise = Color(0xFFAFEEEE);
+  static const Color paleVioletRed = Color(0xFFDB7093);
+  static const Color papayaWhip = Color(0xFFFFEFD5);
+  static const Color peachPuff = Color(0xFFFFDAB9);
+  static const Color peru = Color(0xFFCD853F);
+  static const Color pink = Color(0xFFFFC0CB);
+  static const Color plum = Color(0xFFDDA0DD);
+  static const Color powderBlue = Color(0xFFB0E0E6);
+  static const Color purple = Color(0xFF800080);
+  static const Color rebeccaPurple = Color(0xFF663399);
+  static const Color red = Color(0xFFFF0000);
+  static const Color rosyBrown = Color(0xFFBC8F8F);
+  static const Color royalBlue = Color(0xFF4169E1);
+  static const Color saddleBrown = Color(0xFF8B4513);
+  static const Color salmon = Color(0xFFFA8072);
+  static const Color sandyBrown = Color(0xFFF4A460);
+  static const Color seaGreen = Color(0xFF2E8B57);
+  static const Color seaShell = Color(0xFFFFF5EE);
+  static const Color sienna = Color(0xFFA0522D);
+  static const Color silver = Color(0xFFC0C0C0);
+  static const Color skyBlue = Color(0xFF87CEEB);
+  static const Color slateBlue = Color(0xFF6A5ACD);
+  static const Color slateGray = Color(0xFF708090);
+  static const Color slateGrey = Color(0xFF708090);
+  static const Color snow = Color(0xFFFFFAFA);
+  static const Color springGreen = Color(0xFF00FF7F);
+  static const Color steelBlue = Color(0xFF4682B4);
+  static const Color tan = Color(0xFFD2B48C);
+  static const Color teal = Color(0xFF008080);
+  static const Color thistle = Color(0xFFD8BFD8);
+  static const Color tomato = Color(0xFFFF6347);
+  static const Color turquoise = Color(0xFF40E0D0);
+  static const Color violet = Color(0xFFEE82EE);
+  static const Color wheat = Color(0xFFF5DEB3);
+  static const Color white = Color(0xFFFFFFFF);
+  static const Color whiteSmoke = Color(0xFFF5F5F5);
+  static const Color yellow = Color(0xFFFFFF00);
+  static const Color yellowGreen = Color(0xFF9ACD32);
+}
diff --git a/packages/css_colors/pubspec.yaml b/packages/css_colors/pubspec.yaml
new file mode 100644
index 0000000..1d09d46
--- /dev/null
+++ b/packages/css_colors/pubspec.yaml
@@ -0,0 +1,12 @@
+name: css_colors
+description: Defines constants for the CSS Colors
+repository: https://github.com/flutter/packages/tree/master/packages/css_colors
+version: 1.1.1
+
+environment:
+  sdk: '>=2.12.0 <3.0.0'
+  flutter: ">=2.0.0"
+
+dependencies:
+  flutter:
+    sdk: flutter