@@ -4,6 +4,7 @@
|
||||
|
||||
```ts
|
||||
import type { ComponentsProps } from '@material-ui/core/styles/props';
|
||||
import { Context } from 'react';
|
||||
import { Overrides } from '@material-ui/core/styles/overrides';
|
||||
import type { Palette } from '@material-ui/core/styles/createPalette';
|
||||
import type { PaletteOptions } from '@material-ui/core/styles/createPalette';
|
||||
@@ -18,6 +19,9 @@ import { ThemeOptions as ThemeOptions_2 } from '@material-ui/core/styles';
|
||||
import type { ThemeOptions as ThemeOptions_3 } from '@material-ui/core/styles/createTheme';
|
||||
import { UnifiedTheme as UnifiedTheme_2 } from '@backstage/theme';
|
||||
|
||||
// @public
|
||||
export const AppThemeIdContext: Context<string | undefined>;
|
||||
|
||||
// @public @deprecated
|
||||
export type BackstagePalette = Palette & BackstagePaletteAdditions;
|
||||
|
||||
|
||||
@@ -29,6 +29,10 @@ import {
|
||||
import { UnifiedTheme } from './types';
|
||||
import { unstable_ClassNameGenerator as ClassNameGenerator } from '@mui/material/className';
|
||||
|
||||
/**
|
||||
* React context for the current application theme ID.
|
||||
* @public
|
||||
*/
|
||||
export const AppThemeIdContext = createContext<string | undefined>(undefined);
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user