mirror of
https://github.com/correl/elm-mdl.git
synced 2024-11-23 11:09:51 +00:00
Added Scheme as an export
This commit is contained in:
parent
cca7cb7696
commit
7a1469e3ab
3 changed files with 13 additions and 5 deletions
|
@ -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"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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.
|
||||
|
||||
<!-- MDL -->
|
||||
<link href='https://fonts.googleapis.com/css?family=Roboto:400,300,500|Roboto+Mono|Roboto+Condensed:400,700&subset=latin,latin-ext' rel='stylesheet' type='text/css'>
|
||||
<link rel="stylesheet" href="https://fonts.googleapis.com/icon?family=Material+Icons">
|
||||
|
|
Loading…
Reference in a new issue