Skip to content
This repository has been archived by the owner on Sep 6, 2019. It is now read-only.

Warnings #11

Open
7 tasks
k15a opened this issue Mar 19, 2017 · 0 comments
Open
7 tasks

Warnings #11

k15a opened this issue Mar 19, 2017 · 0 comments

Comments

@k15a
Copy link
Member

k15a commented Mar 19, 2017

Elm can type check pretty much but some CSS declaration have some other limitation. I would like to add warnings if they get ignored.

  • steps first argument has to be positive
  • animationIterationCount has to be positive
  • cubicBezier x1 x2 has to be between 0 and 1
  • validate colors (hex, rgb, hsl)
  • opacity has to be between 0 and 1
  • flexBasis, flexGrow, flexShrink have to be positive
  • columnCount and columnGap have to be positive
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant