commit | c929b61630f6259180af05e9074d7d1439b5aa73 | [log] [tgz] |
---|---|---|
author | Paul Lewis <[email protected]> | Wed Dec 15 11:31:05 2021 |
committer | Devtools-frontend LUCI CQ <devtools-frontend-scoped@luci-project-accounts.iam.gserviceaccount.com> | Wed Dec 15 12:19:41 2021 |
tree | 0dd5d9833f93eb5a9bdc934b3d9012c2583a0475 | |
parent | c2675ef35a358f4501ca45adc90017799c9d87cc [diff] [blame] |
Remove patchColorText in Network Panel [email protected] Bug: 1278738 Change-Id: Ibfe80d33138978a69e92c70972353637f1852afc Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/3341593 Commit-Queue: Paul Lewis <[email protected]> Auto-Submit: Paul Lewis <[email protected]> Reviewed-by: Jack Franklin <[email protected]> Commit-Queue: Jack Franklin <[email protected]>
diff --git a/front_end/panels/network/NetworkLogView.ts b/front_end/panels/network/NetworkLogView.ts index f75f0a4..ebb3bc6 100644 --- a/front_end/panels/network/NetworkLogView.ts +++ b/front_end/panels/network/NetworkLogView.ts
@@ -2265,15 +2265,11 @@ } static getDCLEventColor(): string { - if (ThemeSupport.ThemeSupport.instance().themeName() === 'dark') { - return '#03A9F4'; - } - return '#0867CB'; + return ThemeSupport.ThemeSupport.instance().getComputedValue('--color-syntax-3'); } static getLoadEventColor(): string { - return ThemeSupport.ThemeSupport.instance().patchColorText( - '#B31412', ThemeSupport.ThemeSupport.ColorUsage.Foreground); + return ThemeSupport.ThemeSupport.instance().getComputedValue('--color-syntax-1'); } }