Rerouted (cache, verified). The original is gone. This copy comes from a Lamdera package cache made before it went. The Lamdera package server serves a copy recovered from a Lamdera package cache from 2021-02-13.
What we checked: Rebuilt from the unpacked sources in a Lamdera package cache (5 copies agree), which Elm only writes after the published SHA-1 checked out; elm.json is byte-identical to package.elm-lang.org's; the exposed modules match docs.json; the zip is our own, so its SHA-1 is not the published one.
The Lamdera compiler uses this copy and prints a one-line notice saying so. elm itself fails to download this version.
Details · package.elm-lang.org's zip: https://github.com/altayaydemir/style-elements/zipball/1.0.0/
Note This project had a major rewrite and continues as Elm UI. Go check it out :)
Check out the intro guide to style-elements!
I also spoke about the basis of this library at Elm Europe, 2017
Join us on the #style-elements channel in the Elm Slack. Many style-element friends and I are there to answer questions and point you in the right direction. Don't be shy!
The Style Elements library is a new set of primitives for working with layout and style in Elm.
The most common goal when working with your view is usually to set or to adjust your layout.
HTML and CSS make this difficult because there's no central place that represents your layout.
You're generally forced to bounce back and forth between multiple definitions in multiple files in order to adjust layout, even though it's probably the most common thing you'll do.
The Style Elements library makes layout a first class idea, which makes working with style and layout a breeze.
It also makes refactoring your style feel similarly invincible as refactoring in Elm!
The main idea is that layout should live in your view, and your stylesheet should deal with all properties except those relating to layout, position, sizing, and spacing.
The Element module contains all the components that go in your view.
The Style module is the base for creating your stylesheet.