33> Do not edit this file. It is a report generated by [ API Extractor] ( https://api-extractor.com/ ) .
44
55``` ts
6+
67import { AppTheme } from ' @backstage/core-plugin-api' ;
78import { Theme } from ' @mui/material/styles' ;
89import { UnifiedThemeOptions } from ' @backstage/theme' ;
@@ -12,18 +13,18 @@ export type BackstageThemePalette = UnifiedThemeOptions['palette'];
1213
1314// @public (undocumented)
1415export interface Branding {
15- // (undocumented)
16- theme? : {
17- [key : string ]: ThemeConfig ;
18- };
16+ // (undocumented)
17+ theme? : {
18+ [key : string ]: ThemeConfig ;
19+ };
1920}
2021
2122// @public (undocumented)
2223export interface Config {
23- // (undocumented)
24- app: {
25- branding? : Branding ;
26- };
24+ // (undocumented)
25+ app: {
26+ branding? : Branding ;
27+ };
2728}
2829
2930// @public (undocumented)
@@ -34,120 +35,124 @@ export const getThemes: () => AppTheme[];
3435
3536// @public (undocumented)
3637export interface RHDHThemePalette {
37- // (undocumented)
38- cards? : {
39- headerTextColor: string ;
40- headerBackgroundColor: string ;
41- headerBackgroundImage: string ;
42- };
43- // (undocumented)
44- general: {
45- disabled: string ;
46- disabledBackground: string ;
47- paperBackgroundImage: string ;
48- paperBorderColor: string ;
49- popoverBoxShadow: string ;
50- cardBackgroundColor: string ;
51- cardBorderColor: string ;
52- headerBottomBorderColor: string ;
53- mainSectionBackgroundColor: string ;
54- formControlBackgroundColor: string ;
55- sideBarBackgroundColor? : string ;
56- sidebarBackgroundColor: string ;
57- sidebarItemSelectedBackgroundColor: string ;
58- tableTitleColor: string ;
59- tableSubtitleColor: string ;
60- tableColumnTitleColor: string ;
61- tableRowHover: string ;
62- tableBorderColor: string ;
63- tableBackgroundColor: string ;
64- tabsDisabledBackgroundColor: string ;
65- tabsBottomBorderColor: string ;
66- contrastText: string ;
67- };
68- // (undocumented)
69- primary: {
70- main: string ;
71- focusVisibleBorder: string ;
72- };
73- // (undocumented)
74- secondary: {
75- main: string ;
76- focusVisibleBorder: string ;
77- };
38+ // (undocumented)
39+ cards? : {
40+ headerTextColor: string ;
41+ headerBackgroundColor: string ;
42+ headerBackgroundImage: string ;
43+ };
44+ // (undocumented)
45+ general: {
46+ disabled: string ;
47+ disabledBackground: string ;
48+ paperBackgroundImage: string ;
49+ paperBorderColor: string ;
50+ popoverBoxShadow: string ;
51+ cardBackgroundColor: string ;
52+ cardBorderColor: string ;
53+ headerBottomBorderColor: string ;
54+ mainSectionBackgroundColor: string ;
55+ formControlBackgroundColor: string ;
56+ sideBarBackgroundColor? : string ;
57+ sidebarBackgroundColor: string ;
58+ sidebarItemSelectedBackgroundColor: string ;
59+ tableTitleColor: string ;
60+ tableSubtitleColor: string ;
61+ tableColumnTitleColor: string ;
62+ tableRowHover: string ;
63+ tableBorderColor: string ;
64+ tableBackgroundColor: string ;
65+ tabsDisabledBackgroundColor: string ;
66+ tabsBottomBorderColor: string ;
67+ contrastText: string ;
68+ appBarBackgroundColor: string ;
69+ appBarBackgroundImage: string ;
70+ };
71+ // (undocumented)
72+ primary: {
73+ main: string ;
74+ focusVisibleBorder: string ;
75+ };
76+ // (undocumented)
77+ secondary: {
78+ main: string ;
79+ focusVisibleBorder: string ;
80+ };
7881}
7982
8083// @public (undocumented)
8184export interface ThemeConfig {
82- // (undocumented)
83- defaultPageTheme? : string ;
84- // (undocumented)
85- fontFamily? : UnifiedThemeOptions [' fontFamily' ];
86- // (undocumented)
87- htmlFontSize? : UnifiedThemeOptions [' htmlFontSize' ];
88- mode? : ' light' | ' dark' ;
89- // (undocumented)
90- options? : ThemeConfigOptions ;
91- // (undocumented)
92- pageTheme? : Record <string , ThemeConfigPageTheme >;
93- // (undocumented)
94- palette? : ThemeConfigPalette ;
95- // (undocumented)
96- typography? : UnifiedThemeOptions [' typography' ];
97- variant? : ' rhdh' | ' backstage' ;
85+ // (undocumented)
86+ defaultPageTheme? : string ;
87+ // (undocumented)
88+ fontFamily? : UnifiedThemeOptions [' fontFamily' ];
89+ // (undocumented)
90+ htmlFontSize? : UnifiedThemeOptions [' htmlFontSize' ];
91+ mode? : ' light' | ' dark' ;
92+ // (undocumented)
93+ options? : ThemeConfigOptions ;
94+ // (undocumented)
95+ pageTheme? : Record <string , ThemeConfigPageTheme >;
96+ // (undocumented)
97+ palette? : ThemeConfigPalette ;
98+ // (undocumented)
99+ typography? : UnifiedThemeOptions [' typography' ];
100+ variant? : ' rhdh' | ' backstage' ;
98101}
99102
100103// @public (undocumented)
101104export interface ThemeConfigOptions {
102- // (undocumented)
103- accordions? : ' patternfly' | ' mui' ;
104- // (undocumented)
105- buttons? : ' patternfly' | ' mui' ;
106- // (undocumented)
107- cards? : ' patternfly' | ' mui' ;
108- // (undocumented)
109- checkbox? : ' patternfly' | ' mui' ;
110- // (undocumented)
111- components? : ' rhdh' | ' backstage' | ' mui' ;
112- // (undocumented)
113- dialogs? : ' patternfly' | ' mui' ;
114- // (undocumented)
115- headers? : ' patternfly' | ' mui' ;
116- // (undocumented)
117- inputs? : ' patternfly' | ' mui' ;
118- // (undocumented)
119- pages? : ' patternfly' | ' mui' ;
120- // (undocumented)
121- paper? : ' patternfly' | ' mui' ;
122- // (undocumented)
123- rippleEffect? : ' on' | ' off' ;
124- // (undocumented)
125- sidebars? : ' patternfly' | ' mui' ;
126- // (undocumented)
127- tables? : ' patternfly' | ' mui' ;
128- // (undocumented)
129- tabs? : ' patternfly' | ' mui' ;
130- // (undocumented)
131- toolbars? : ' patternfly' | ' mui' ;
105+ // (undocumented)
106+ accordions? : ' patternfly' | ' mui' ;
107+ // (undocumented)
108+ appBar? : ' patternfly' | ' mui' ;
109+ // (undocumented)
110+ buttons? : ' patternfly' | ' mui' ;
111+ // (undocumented)
112+ cards? : ' patternfly' | ' mui' ;
113+ // (undocumented)
114+ checkbox? : ' patternfly' | ' mui' ;
115+ // (undocumented)
116+ components? : ' rhdh' | ' backstage' | ' mui' ;
117+ // (undocumented)
118+ dialogs? : ' patternfly' | ' mui' ;
119+ // (undocumented)
120+ headers? : ' patternfly' | ' mui' ;
121+ // (undocumented)
122+ inputs? : ' patternfly' | ' mui' ;
123+ // (undocumented)
124+ pages? : ' patternfly' | ' mui' ;
125+ // (undocumented)
126+ paper? : ' patternfly' | ' mui' ;
127+ // (undocumented)
128+ rippleEffect? : ' on' | ' off' ;
129+ // (undocumented)
130+ sidebars? : ' patternfly' | ' mui' ;
131+ // (undocumented)
132+ tables? : ' patternfly' | ' mui' ;
133+ // (undocumented)
134+ tabs? : ' patternfly' | ' mui' ;
135+ // (undocumented)
136+ toolbars? : ' patternfly' | ' mui' ;
132137}
133138
134139// @public (undocumented)
135140export interface ThemeConfigPageTheme {
136- // (undocumented)
137- backgroundColor? : string | string [];
138- // (undocumented)
139- backgroundImage? : string ;
140- // (undocumented)
141- colors? : string | string [];
142- // (undocumented)
143- fontColor? : string ;
144- // (undocumented)
145- shape? : string ;
141+ // (undocumented)
142+ backgroundColor? : string | string [];
143+ // (undocumented)
144+ backgroundImage? : string ;
145+ // (undocumented)
146+ colors? : string | string [];
147+ // (undocumented)
148+ fontColor? : string ;
149+ // (undocumented)
150+ shape? : string ;
146151}
147152
148153// @public (undocumented)
149154export type ThemeConfigPalette = BackstageThemePalette & {
150- rhdh? : RHDHThemePalette ;
155+ rhdh? : RHDHThemePalette ;
151156};
152157
153158// @public (undocumented)
@@ -169,4 +174,5 @@ export const useThemeOptions: (themeConfig: ThemeConfig) => UnifiedThemeOptions;
169174export const useThemes: () => AppTheme [];
170175
171176// (No @packageDocumentation comment for this package)
177+
172178```
0 commit comments