2021-12-10 02:37:01 +00:00
|
|
|
/**
|
|
|
|
|
* @license
|
|
|
|
|
* Copyright Google LLC All Rights Reserved.
|
|
|
|
|
*
|
|
|
|
|
* Use of this source code is governed by an MIT-style license that can be
|
2024-09-20 15:23:15 +00:00
|
|
|
* found in the LICENSE file at https://angular.dev/license
|
2021-12-10 02:37:01 +00:00
|
|
|
*/
|
|
|
|
|
|
2021-12-16 07:00:43 +00:00
|
|
|
/// <reference types="chrome"/>
|
2025-09-28 13:58:16 +00:00
|
|
|
const theme = chrome.devtools.panels.themeName;
|
|
|
|
|
chrome.devtools.panels.create(
|
|
|
|
|
'Angular',
|
|
|
|
|
// Firefox specifically displays the icon in the tab.
|
|
|
|
|
// the bw icon wasn't visible in dark mode
|
|
|
|
|
theme === 'dark' ? 'assets/icon16.png' : 'assets/icon-bw16.png',
|
|
|
|
|
'index.html',
|
|
|
|
|
);
|