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 shadow values. now with ∞ more umbra #10

Merged
merged 2 commits into from
Apr 29, 2015
Merged

Conversation

morethanreal
Copy link

--shadow-elevation-1: {
box-shadow: 0 1px 4px 0 rgba(0, 0, 0, 0.37);
box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.14),

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you do this?

mixin(--shadow-elevation-2dp);

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cannot right now due to Polymer/polymer#1399 :(

@shyndman
Copy link

Needs more umbra.

lgtm

@morethanreal
Copy link
Author

FYI, I will also open PR's to elements using shadows to switch to the -*dp mixins.

--shadow-elevation-2dp: {
box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.14),
0 1px 5px 0 rgba(0, 0, 0, 0.12),
0 3px 1px -2px rgba(0, 0, 0, 0.2);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Lol, the dp is such a lie!

@nevir
Copy link
Contributor

nevir commented Apr 29, 2015

LGTM

morethanreal pushed a commit that referenced this pull request Apr 29, 2015
update shadow values. now with ∞ more umbra
@morethanreal morethanreal merged commit e501d20 into master Apr 29, 2015
@morethanreal morethanreal deleted the moar-umbra branch April 29, 2015 18:16
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