diff --git a/elm-package.json b/elm-package.json index 2299b2d..076aaf1 100644 --- a/elm-package.json +++ b/elm-package.json @@ -18,15 +18,15 @@ "Material.Grid", "Material.Component", "Material.Elevation", - "Material.Snackbar" + "Material.Snackbar", + "Material.Scheme" ], "dependencies": { "debois/elm-dom": "1.0.0 <= v < 2.0.0", "elm-lang/core": "3.0.0 <= v < 4.0.0", "evancz/elm-effects": "2.0.1 <= v < 3.0.0", "evancz/elm-html": "4.0.2 <= v < 5.0.0", - "evancz/elm-markdown": "2.0.1 <= v < 3.0.0", "evancz/start-app": "2.0.2 <= v < 3.0.0" }, "elm-version": "0.16.0 <= v < 0.17.0" -} \ No newline at end of file +} diff --git a/src/Material.elm b/src/Material.elm index a406f4c..be46cc9 100644 --- a/src/Material.elm +++ b/src/Material.elm @@ -37,7 +37,13 @@ We recommend going with the one that uses the library's component support rather than working directly in plain Elm Architecture. -# Colors and CSS +# Interfacing with CSS + +This library depends on the CSS part of Google's Material Design Lite. Your app +will have to load that. See the +[Scheme](http://package.elm-lang.org/packages/debois/elm-mdl/latest/Material-Scheme) +module for details. (The starting point implementations above +load CSS automatically.) The view function of most components has this signature: @@ -56,6 +62,7 @@ module contains various `Style` values and helper functions for working with this color palette. + # Component Support This module contains only convenience functions for working with nested diff --git a/src/Material/Scheme.elm b/src/Material/Scheme.elm index 99c3a24..a8b4165 100644 --- a/src/Material/Scheme.elm +++ b/src/Material/Scheme.elm @@ -14,7 +14,8 @@ HTML-file containing your app, or # Load CSS from HTML -To load CSS manually, add the following to your +To load CSS manually, add the following to your main html file. +