Skip to content

Commit

Permalink
Merge pull request #815 from lokesh-sagi125/dropshadow
Browse files Browse the repository at this point in the history
remove deprecated dropshadows
  • Loading branch information
AlexVelezLl authored Nov 15, 2024
2 parents 22a4e58 + 0f4810a commit de81215
Showing 1 changed file with 86 additions and 84 deletions.
170 changes: 86 additions & 84 deletions lib/styles/definitions.scss
Original file line number Diff line number Diff line change
Expand Up @@ -67,91 +67,93 @@ $core-time: 0.15s;
box-shadow: 0 1px 5px 0 rgba(0, 0, 0, 0.2), 0 2px 2px 0 rgba(0, 0, 0, 0.14),
0 3px 1px -2px rgba(0, 0, 0, 0.12);
}
%dropshadow-3dp {
box-shadow: 0 1px 8px 0 rgba(0, 0, 0, 0.2), 0 3px 4px 0 rgba(0, 0, 0, 0.14),
0 3px 3px -2px rgba(0, 0, 0, 0.12);
}
%dropshadow-4dp {
box-shadow: 0 2px 4px -1px rgba(0, 0, 0, 0.2), 0 4px 5px 0 rgba(0, 0, 0, 0.14),
0 1px 10px 0 rgba(0, 0, 0, 0.12);
}
%dropshadow-5dp {
box-shadow: 0 3px 5px -1px rgba(0, 0, 0, 0.2), 0 5px 8px 0 rgba(0, 0, 0, 0.14),
0 1px 14px 0 rgba(0, 0, 0, 0.12);
}
//NOTE: uncommenting needs to be discussed with designers and should be aligned with the guidelines.

// %dropshadow-3dp {
// box-shadow: 0 1px 8px 0 rgba(0, 0, 0, 0.2), 0 3px 4px 0 rgba(0, 0, 0, 0.14),
// 0 3px 3px -2px rgba(0, 0, 0, 0.12);
// }
// %dropshadow-4dp {
// box-shadow: 0 2px 4px -1px rgba(0, 0, 0, 0.2), 0 4px 5px 0 rgba(0, 0, 0, 0.14),
// 0 1px 10px 0 rgba(0, 0, 0, 0.12);
// }
// %dropshadow-5dp {
// box-shadow: 0 3px 5px -1px rgba(0, 0, 0, 0.2), 0 5px 8px 0 rgba(0, 0, 0, 0.14),
// 0 1px 14px 0 rgba(0, 0, 0, 0.12);
// }
%dropshadow-6dp {
box-shadow: 0 3px 5px -1px rgba(0, 0, 0, 0.2), 0 6px 10px 0 rgba(0, 0, 0, 0.14),
0 1px 18px 0 rgba(0, 0, 0, 0.12);
}
%dropshadow-7dp {
box-shadow: 0 4px 5px -2px rgba(0, 0, 0, 0.2), 0 7px 10px 1px rgba(0, 0, 0, 0.14),
0 2px 16px 1px rgba(0, 0, 0, 0.12);
}
%dropshadow-8dp {
box-shadow: 0 5px 5px -3px rgba(0, 0, 0, 0.2), 0 8px 10px 1px rgba(0, 0, 0, 0.14),
0 3px 14px 2px rgba(0, 0, 0, 0.12);
}
%dropshadow-9dp {
box-shadow: 0 5px 6px -3px rgba(0, 0, 0, 0.2), 0 9px 12px 1px rgba(0, 0, 0, 0.14),
0 3px 16px 2px rgba(0, 0, 0, 0.12);
}
%dropshadow-10dp {
box-shadow: 0 6px 6px -3px rgba(0, 0, 0, 0.2), 0 10px 14px 1px rgba(0, 0, 0, 0.14),
0 4px 18px 3px rgba(0, 0, 0, 0.12);
}
%dropshadow-11dp {
box-shadow: 0 6px 7px -4px rgba(0, 0, 0, 0.2), 0 11px 15px 1px rgba(0, 0, 0, 0.14),
0 4px 20px 3px rgba(0, 0, 0, 0.12);
}
%dropshadow-12dp {
box-shadow: 0 7px 8px -4px rgba(0, 0, 0, 0.2), 0 12px 17px 2px rgba(0, 0, 0, 0.14),
0 5px 22px 4px rgba(0, 0, 0, 0.12);
}
%dropshadow-13dp {
box-shadow: 0 7px 8px -4px rgba(0, 0, 0, 0.2), 0 13px 19px 2px rgba(0, 0, 0, 0.14),
0 5px 24px 4px rgba(0, 0, 0, 0.12);
}
%dropshadow-14dp {
box-shadow: 0 7px 9px -4px rgba(0, 0, 0, 0.2), 0 14px 21px 2px rgba(0, 0, 0, 0.14),
0 5px 26px 4px rgba(0, 0, 0, 0.12);
}
%dropshadow-15dp {
box-shadow: 0 8px 9px -5px rgba(0, 0, 0, 0.2), 0 15px 22px 2px rgba(0, 0, 0, 0.14),
0 6px 28px 5px rgba(0, 0, 0, 0.12);
}
%dropshadow-16dp {
box-shadow: 0 8px 10px -5px rgba(0, 0, 0, 0.2), 0 16px 24px 2px rgba(0, 0, 0, 0.14),
0 6px 30px 5px rgba(0, 0, 0, 0.12);
}
%dropshadow-17dp {
box-shadow: 0 8px 11px -5px rgba(0, 0, 0, 0.2), 0 17px 26px 2px rgba(0, 0, 0, 0.14),
0 6px 32px 5px rgba(0, 0, 0, 0.12);
}
%dropshadow-18dp {
box-shadow: 0 9px 11px -5px rgba(0, 0, 0, 0.2), 0 18px 28px 2px rgba(0, 0, 0, 0.14),
0 7px 34px 6px rgba(0, 0, 0, 0.12);
}
%dropshadow-19dp {
box-shadow: 0 9px 12px -6px rgba(0, 0, 0, 0.2), 0 19px 29px 2px rgba(0, 0, 0, 0.14),
0 7px 36px 6px rgba(0, 0, 0, 0.12);
}
%dropshadow-20dp {
box-shadow: 0 10px 13px -6px rgba(0, 0, 0, 0.2), 0 20px 31px 3px rgba(0, 0, 0, 0.14),
0 8px 38px 7px rgba(0, 0, 0, 0.12);
}
%dropshadow-21dp {
box-shadow: 0 10px 13px -6px rgba(0, 0, 0, 0.2), 0 21px 33px 3px rgba(0, 0, 0, 0.14),
0 8px 40px 7px rgba(0, 0, 0, 0.12);
}
%dropshadow-22dp {
box-shadow: 0 10px 14px -6px rgba(0, 0, 0, 0.2), 0 22px 35px 3px rgba(0, 0, 0, 0.14),
0 8px 42px 7px rgba(0, 0, 0, 0.12);
}
%dropshadow-23dp {
box-shadow: 0 11px 14px -7px rgba(0, 0, 0, 0.2), 0 23px 36px 3px rgba(0, 0, 0, 0.14),
0 9px 44px 8px rgba(0, 0, 0, 0.12);
}
%dropshadow-24dp {
box-shadow: 0 11px 15px -7px rgba(0, 0, 0, 0.2), 0 24px 38px 3px rgba(0, 0, 0, 0.14),
0 9px 46px 8px rgba(0, 0, 0, 0.12);
}
// %dropshadow-7dp {
// box-shadow: 0 4px 5px -2px rgba(0, 0, 0, 0.2), 0 7px 10px 1px rgba(0, 0, 0, 0.14),
// 0 2px 16px 1px rgba(0, 0, 0, 0.12);
// }
// %dropshadow-8dp {
// box-shadow: 0 5px 5px -3px rgba(0, 0, 0, 0.2), 0 8px 10px 1px rgba(0, 0, 0, 0.14),
// 0 3px 14px 2px rgba(0, 0, 0, 0.12);
// }
// %dropshadow-9dp {
// box-shadow: 0 5px 6px -3px rgba(0, 0, 0, 0.2), 0 9px 12px 1px rgba(0, 0, 0, 0.14),
// 0 3px 16px 2px rgba(0, 0, 0, 0.12);
// }
// %dropshadow-10dp {
// box-shadow: 0 6px 6px -3px rgba(0, 0, 0, 0.2), 0 10px 14px 1px rgba(0, 0, 0, 0.14),
// 0 4px 18px 3px rgba(0, 0, 0, 0.12);
// }
// %dropshadow-11dp {
// box-shadow: 0 6px 7px -4px rgba(0, 0, 0, 0.2), 0 11px 15px 1px rgba(0, 0, 0, 0.14),
// 0 4px 20px 3px rgba(0, 0, 0, 0.12);
// }
// %dropshadow-12dp {
// box-shadow: 0 7px 8px -4px rgba(0, 0, 0, 0.2), 0 12px 17px 2px rgba(0, 0, 0, 0.14),
// 0 5px 22px 4px rgba(0, 0, 0, 0.12);
// }
// %dropshadow-13dp {
// box-shadow: 0 7px 8px -4px rgba(0, 0, 0, 0.2), 0 13px 19px 2px rgba(0, 0, 0, 0.14),
// 0 5px 24px 4px rgba(0, 0, 0, 0.12);
// }
// %dropshadow-14dp {
// box-shadow: 0 7px 9px -4px rgba(0, 0, 0, 0.2), 0 14px 21px 2px rgba(0, 0, 0, 0.14),
// 0 5px 26px 4px rgba(0, 0, 0, 0.12);
// }
// %dropshadow-15dp {
// box-shadow: 0 8px 9px -5px rgba(0, 0, 0, 0.2), 0 15px 22px 2px rgba(0, 0, 0, 0.14),
// 0 6px 28px 5px rgba(0, 0, 0, 0.12);
// }
// %dropshadow-16dp {
// box-shadow: 0 8px 10px -5px rgba(0, 0, 0, 0.2), 0 16px 24px 2px rgba(0, 0, 0, 0.14),
// 0 6px 30px 5px rgba(0, 0, 0, 0.12);
// }
// %dropshadow-17dp {
// box-shadow: 0 8px 11px -5px rgba(0, 0, 0, 0.2), 0 17px 26px 2px rgba(0, 0, 0, 0.14),
// 0 6px 32px 5px rgba(0, 0, 0, 0.12);
// }
// %dropshadow-18dp {
// box-shadow: 0 9px 11px -5px rgba(0, 0, 0, 0.2), 0 18px 28px 2px rgba(0, 0, 0, 0.14),
// 0 7px 34px 6px rgba(0, 0, 0, 0.12);
// }
// %dropshadow-19dp {
// box-shadow: 0 9px 12px -6px rgba(0, 0, 0, 0.2), 0 19px 29px 2px rgba(0, 0, 0, 0.14),
// 0 7px 36px 6px rgba(0, 0, 0, 0.12);
// }
// %dropshadow-20dp {
// box-shadow: 0 10px 13px -6px rgba(0, 0, 0, 0.2), 0 20px 31px 3px rgba(0, 0, 0, 0.14),
// 0 8px 38px 7px rgba(0, 0, 0, 0.12);
// }
// %dropshadow-21dp {
// box-shadow: 0 10px 13px -6px rgba(0, 0, 0, 0.2), 0 21px 33px 3px rgba(0, 0, 0, 0.14),
// 0 8px 40px 7px rgba(0, 0, 0, 0.12);
// }
// %dropshadow-22dp {
// box-shadow: 0 10px 14px -6px rgba(0, 0, 0, 0.2), 0 22px 35px 3px rgba(0, 0, 0, 0.14),
// 0 8px 42px 7px rgba(0, 0, 0, 0.12);
// }
// %dropshadow-23dp {
// box-shadow: 0 11px 14px -7px rgba(0, 0, 0, 0.2), 0 23px 36px 3px rgba(0, 0, 0, 0.14),
// 0 9px 44px 8px rgba(0, 0, 0, 0.12);
// }
// %dropshadow-24dp {
// box-shadow: 0 11px 15px -7px rgba(0, 0, 0, 0.2), 0 24px 38px 3px rgba(0, 0, 0, 0.14),
// 0 9px 46px 8px rgba(0, 0, 0, 0.12);
// }

0 comments on commit de81215

Please sign in to comment.