mirror of
https://github.com/angular/angular
synced 2026-05-24 09:28:37 +00:00
- Move all styles to ng-devtools/src/styles. - Create a BrowserService that detects the browsers and adds it as a class to the body. Move global browser styles. - Create theme mixins that incorporate the browser type into them. - Refactor some of the affected code along with the introduced changes. PR Close #59589
16 lines
407 B
TypeScript
16 lines
407 B
TypeScript
/**
|
|
* @license
|
|
* Copyright Google LLC All Rights Reserved.
|
|
*
|
|
* Use of this source code is governed by an MIT-style license that can be
|
|
* found in the LICENSE file at https://angular.dev/license
|
|
*/
|
|
|
|
import {InjectionToken, Provider} from '@angular/core';
|
|
|
|
export const WINDOW = new InjectionToken<Window>('WINDOW');
|
|
|
|
export const WINDOW_PROVIDER: Provider = {
|
|
provide: WINDOW,
|
|
useValue: window,
|
|
};
|