Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update the linear-gradient() function to new syntax. Close #73 #77

Merged
merged 1 commit into from
Oct 6, 2017
Merged

Conversation

meteorlxy
Copy link
Contributor

Update the linear-gradient() function to new syntax. Issue #73.

BTW, why there is no official package on npm?

@alexwolfe
Copy link
Owner

@roblevintennis mind taking a peak at this one?

@roblevintennis
Copy link
Collaborator

roblevintennis commented Jul 14, 2017

@alexwolfe in terms of staging it or spot checking, I'm not going to have time for a bit .. slammed at work. But the syntax refactor looks correct to me.

@alexwolfe
Copy link
Owner

alexwolfe commented Jul 14, 2017 via email

@roblevintennis
Copy link
Collaborator

@alexwolfe I'm in the process of trying to update our app to the buttons-2 branch, and noticed this in our webpack compile (I believe the warning was via autoprefixer). In any event, I changed to bottom and the warnings went away

@alexwolfe
Copy link
Owner

alexwolfe commented Aug 21, 2017 via email

@roblevintennis
Copy link
Collaborator

@alexwolfe and fwiw, I'm now spot checking buttons on pages and their rendering as expected (I think) ... this is probably fine to merge

@alexwolfe
Copy link
Owner

alexwolfe commented Aug 21, 2017 via email

@roblevintennis
Copy link
Collaborator

roblevintennis commented Aug 22, 2017

image

Kinda posting back as I see things lol, sorry, but here's the raised button in the app after changing syntax (using v2 Buttons, but the raised buttons appear to be the same).

Here's console CSS (I manually added raised, so ignore the fact that the adjacent invite buttons are flat 😄

image

I'm not sure which browser has what syntax at this point, but, we use a very conservative autoprefixer:

last 5 versions
Explorer >= 10
Firefox >= 17
Chrome >= 31
Safari >= 5
Opera >= 12

So I'm not sure how helpful the output is ... in any event, it's compiling with no complaints and rendering

@gwleuverink
Copy link

gwleuverink commented Oct 6, 2017

Having the same problem here. Any news?
As far as I can see this new syntax fixes the autoprefixer warnings. Haven't come across unexpected behaviour yet. It would be great if this could be merged and released as a minor version.

@roblevintennis roblevintennis merged commit 0a91b65 into alexwolfe:master Oct 6, 2017
@roblevintennis
Copy link
Collaborator

@gwleuverink sorry, yeah, I just merged this..Alex and I have trouble finding time to maintain. If you don't mind, could you just pull down latest and ensure we didn't break something in a major way? Thanks .. cc / @meteorlxy thanks for PR. If you have a spare moment, your code was merged and I don't have time to verify nothing broke. Thanks in advanced and sorry for the delay!

@gwleuverink
Copy link

Hi @roblevintennis. Thanks for your quick reply and making time to adress this. I have been running a fork with this fix in a project since this morning and have not noticed any issues with compiling or the buttons themselves. I will swap the repo on monday to confirm this pr works as well.

@meteorlxy
Copy link
Contributor Author

@roblevintennis Never mind, finally merged~
Don't worry, this is a systax update of this css function (see: linear-gradient) and won't break anything. I've been using this PR in my own projects.

@meteorlxy meteorlxy deleted the patch-1 branch October 7, 2017 02:35
@roblevintennis
Copy link
Collaborator

awesome .. thanks @meteorlxy !

@gwleuverink
Copy link

Yep it works perfectly. Tested it today.

@roblevintennis
Copy link
Collaborator

great thx for confirmation @gwleuverink cc / @alexwolfe .. are we porting these up to the unicorn-ui version buttons 2 version? I sort of lost track of which branch has "buttons 2"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants