wavded / humane-js

A simple, modern, browser notification system
http://wavded.github.io/humane-js/
2.06k stars 196 forks source link

Use new syntax of linear-gradient #78

Open vtaits opened 6 years ago

vtaits commented 6 years ago

I use autoprefixer and see next warnings:

34:3    ⚠  Gradient has outdated direction syntax. New syntax is like `to left` instead of `right`. [autoprefixer]
66:3    ⚠  Gradient has outdated direction syntax. New syntax is like `to left` instead of `right`. [autoprefixer]
79:3    ⚠  Gradient has outdated direction syntax. New syntax is like `to left` instead of `right`. [autoprefixer]
92:3    ⚠  Gradient has outdated direction syntax. New syntax is like `to left` instead of `right`. [autoprefixer]

Description of new syntax: https://developer.mozilla.org/en-US/docs/Web/CSS/linear-gradient

wavded commented 6 years ago

Yeah those CSS files were generated quite some time ago using Stylus/Nib. I'd be open to a PR that adds the most modern syntax first and falls back to those CSS files.

gadget00 commented 5 years ago

any advances with this PR?

vtaits commented 5 years ago

Sorry, i was too busy. I can do it at weekend.

gadget00 commented 3 years ago

Hello folks; did anyone worked on this? if not, how can I help?

wavded commented 3 years ago

I don't think so, you are welcome to work on it and open a PR.