Reverts "Reland - Introduce tone-based surfaces and accent color add-ons - Part 2 (#144001)" (#144262)
Reverts flutter/flutter#144001
Initiated by: Piinks
Reason for reverting: Failing goldens at the tip of tree
Original PR Author: QuncCccccc
Reviewed By: {HansMuller}
This change reverts the following previous change:
Original Description:
Reverts flutter/flutter#143973
This is a reland for #138521 with an updated g3fix(cl/605555997). Local test: cl/609608958.
This commit is contained in:
@@ -31,9 +31,9 @@ void main() {
|
||||
expect(defaultCard.shape, const RoundedRectangleBorder(
|
||||
borderRadius: BorderRadius.all(Radius.circular(12.0)),
|
||||
));
|
||||
expect(defaultCard.color, const Color(0xfff7f2fa));
|
||||
expect(defaultCard.color, const Color(0xfffffbfe));
|
||||
expect(defaultCard.shadowColor, const Color(0xff000000));
|
||||
expect(defaultCard.surfaceTintColor, Colors.transparent);
|
||||
expect(defaultCard.surfaceTintColor, const Color(0xff6750a4));
|
||||
|
||||
final Material filledCard = getCardMaterial(tester, 1);
|
||||
expect(filledCard.clipBehavior, Clip.none);
|
||||
@@ -41,7 +41,7 @@ void main() {
|
||||
expect(filledCard.shape, const RoundedRectangleBorder(
|
||||
borderRadius: BorderRadius.all(Radius.circular(12.0)),
|
||||
));
|
||||
expect(filledCard.color, const Color(0xffe6e0e9));
|
||||
expect(filledCard.color, const Color(0xffe7e0ec));
|
||||
expect(filledCard.shadowColor, const Color(0xff000000));
|
||||
expect(filledCard.surfaceTintColor, const Color(0x00000000));
|
||||
|
||||
@@ -52,8 +52,8 @@ void main() {
|
||||
side: BorderSide(color: Color(0xffcac4d0)),
|
||||
borderRadius: BorderRadius.all(Radius.circular(12.0)),
|
||||
));
|
||||
expect(outlinedCard.color, const Color(0xfffef7ff));
|
||||
expect(outlinedCard.color, const Color(0xfffffbfe));
|
||||
expect(outlinedCard.shadowColor, const Color(0xff000000));
|
||||
expect(outlinedCard.surfaceTintColor, Colors.transparent);
|
||||
expect(outlinedCard.surfaceTintColor, const Color(0xff6750a4));
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user