cedricss/elm-css-systems/1.0.0

NOTE: the latest version is 3.2.1

Design systems for Elm

Based on elm-css, inspired by Tailwind.

elm install rtfeldman/elm-css
elm install cedricss/elm-css-systems
import Css exposing (..)
import Css.Systems.Colors exposing (..)
import Css.Systems.Spacing exposing (..)
import Css.Systems.Utitilies exposing (..)
import Html.Styled exposing (div)
import Html.Styled.Attributes as Attributes exposing (css)

Color System

Built from the Tailwind palette.

view =
  div
      [ css
          [ backgroundColor indigo300
          , color indigo900
          ]
      ]
      []

Browse all colors ➝ Color system

Spacing system

view =
  div
      [ css
          [ height (fluid 2 3)
          , width (fluid 1 2)
          , marginY space4
          ]
      ]
      []

Browse spacing ➝ Color system

Other systems and utilities

Browse the full API