Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/brianhicks/elm-css-reset
https://github.com/brianhicks/elm-css-reset
Last synced: 6 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/brianhicks/elm-css-reset
- Owner: BrianHicks
- License: bsd-3-clause
- Created: 2019-11-06T21:42:22.000Z (about 5 years ago)
- Default Branch: main
- Last Pushed: 2022-05-18T13:47:00.000Z (over 2 years ago)
- Last Synced: 2024-12-09T19:53:31.055Z (14 days ago)
- Language: Nix
- Size: 16.6 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Elm CSS Resets
Some handy resets converted to [rtfeldman/elm-css](https://package.elm-lang.org/packages/rtfeldman/elm-css/latest/).
## Install
```
elm install BrianHicks/elm-css-reset
```## Use
```elm
import Css.Reset as Reset
import Html.Styled as Html exposing (Html)view : Model -> Html Msg
view _ =
[ Reset.meyerV2
, Reset.borderBoxV201408
-- your application view stuff here
]
```## Upgrades and Compatibility Policy
Each reset is versioned according to the date it's original creator published it (e.g. `Css.Reset.meyerV2` corresponds to the [Eric Meyer CSS Reset, version 2]().)
The Elm definitions of these resets will only change if they're out of sync with the original CSS as linked in the docs.If you find that the rules produced by this library do not produce the same styles as using the equivalent CSS reset, please open a bug.
## Climate Action
I want my open-source activities to support projects addressing the climate crisis (for example, projects in clean energy, public transit, reforestation, or sustainable agriculture.)
If you are working on such a project, and find a bug or missing feature in any of my libraries, **please let me know and I will treat your issue as high priority.**
I'd also be happy to support such projects in other ways.
In particular, I've worked with Elm for a long time and would be happy to advise on your implementation.## License
This package is licensed under the BSD 3-Clause license, located at `LICENSE` in the source.