From 92c51404ff090d9e45db8a03b41f9b13ed55f2db Mon Sep 17 00:00:00 2001 From: Samuel Susla Date: Wed, 10 Jun 2026 09:17:52 -0700 Subject: [PATCH] Remove dead getWarningHighlightColor export from LogBoxStyle Summary: X-link: https://github.com/facebook/react-native/pull/57138 `getWarningHighlightColor` in `LogBox/UI/LogBoxStyle.js` was an exported color helper with no importers. It is a duplicate of the live `getHighlightColor` (identical `rgba(252, 176, 29, ...)` value), which is the one actually used by LogBox UI. This removes the dead duplicate. Changelog: [Internal] Reviewed By: mdvacca Differential Revision: D108012913 fbshipit-source-id: dd22adcf191284eb3c81778f92a8c72be15f9d30 --- packages/react-native/Libraries/LogBox/UI/LogBoxStyle.js | 4 ---- 1 file changed, 4 deletions(-) diff --git a/packages/react-native/Libraries/LogBox/UI/LogBoxStyle.js b/packages/react-native/Libraries/LogBox/UI/LogBoxStyle.js index 3ac32103e3e..0d8b215e91b 100644 --- a/packages/react-native/Libraries/LogBox/UI/LogBoxStyle.js +++ b/packages/react-native/Libraries/LogBox/UI/LogBoxStyle.js @@ -48,10 +48,6 @@ export function getLogColor(opacity?: number): string { return `rgba(119, 119, 119, ${opacity == null ? 1 : opacity})`; } -export function getWarningHighlightColor(opacity?: number): string { - return `rgba(252, 176, 29, ${opacity == null ? 1 : opacity})`; -} - export function getDividerColor(opacity?: number): string { return `rgba(255, 255, 255, ${opacity == null ? 1 : opacity})`; }