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:
auto-submit[bot]
2024-02-27 22:04:18 +00:00
committed by GitHub
parent 7f2b238c55
commit 2eee0b5750
181 changed files with 998 additions and 2519 deletions

View File

@@ -330,10 +330,10 @@ void main() {
result.reason,
'SemanticsNode#4(Rect.fromLTRB(300.0, 200.0, 500.0, 400.0), '
'label: "this is a test", textDirection: ltr):\n'
'Expected contrast ratio of at least 4.5 but found 1.16 for a font '
'Expected contrast ratio of at least 4.5 but found 1.19 for a font '
'size of 14.0.\n'
'The computed colors was:\n'
'light - Color(0xfffef7ff), dark - Color(0xffffeb3b)\n'
'light - Color(0xfffffbfe), dark - Color(0xffffeb3b)\n'
'See also: https://www.w3.org/TR/UNDERSTANDING-WCAG20/visual-audio-contrast-contrast.html',
);
handle.dispose();