From ef90a3b849f92addc7d42952abcf32c57f8a77ac Mon Sep 17 00:00:00 2001 From: freetlab Date: Tue, 28 Jul 2026 20:05:00 +0200 Subject: [PATCH] fix(tokens): correct offlineAccent to the proposal's specified #E8879A MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit WU1's commit invented an arbitrary value for offlineAccent instead of using the exact hex the proposal's WU1 scope line already specifies. listSurface and liveGreen were correctly de-literalised from existing theme.dart literals; offlineAccent has no prior literal, but its value is still not this file's discretion — the proposal states #E8879A explicitly. --- lib/tema/pluriwave_tokens.dart | 7 ++++--- test/tema/pluriwave_tokens_test.dart | 4 ++-- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/lib/tema/pluriwave_tokens.dart b/lib/tema/pluriwave_tokens.dart index 0fe0b9e..3f381d7 100644 --- a/lib/tema/pluriwave_tokens.dart +++ b/lib/tema/pluriwave_tokens.dart @@ -41,8 +41,9 @@ class PluriWaveTokens extends ThemeExtension { /// literal — same value, now named. final Color liveGreen; - /// Offline/reconnect banner accent (WU16). No prior literal to promote — - /// a genuinely new colour. + /// Offline/reconnect banner accent (WU16). Value from the proposal's WU1 + /// scope line (`#E8879A`) — no prior literal in `pluriwave_theme.dart` to + /// promote, but the hex value itself is not this file's discretion. final Color offlineAccent; final double radiusSm; @@ -73,7 +74,7 @@ class PluriWaveTokens extends ThemeExtension { glowColor: Color(0x6621D4D9), listSurface: Color(0xFF102532), liveGreen: Color(0xFF7EE4C2), - offlineAccent: Color(0xFF94A3B8), + offlineAccent: Color(0xFFE8879A), radiusSm: 14, radiusMd: 22, radiusLg: 30, diff --git a/test/tema/pluriwave_tokens_test.dart b/test/tema/pluriwave_tokens_test.dart index 54f5575..b7ed267 100644 --- a/test/tema/pluriwave_tokens_test.dart +++ b/test/tema/pluriwave_tokens_test.dart @@ -27,8 +27,8 @@ void main() { }, ); - test('dark exposes offlineAccent as a genuinely new colour', () { - expect(PluriWaveTokens.dark.offlineAccent, const Color(0xFF94A3B8)); + test('dark exposes offlineAccent per the proposal (#E8879A)', () { + expect(PluriWaveTokens.dark.offlineAccent, const Color(0xFFE8879A)); }); test('copyWith overrides only the new colour fields', () {