33> Do not edit this file. It is a report generated by [ API Extractor] ( https://api-extractor.com/ ) .
44
55``` ts
6-
76import { AppTheme } from ' @backstage/core-plugin-api' ;
87import { Theme } from ' @mui/material/styles' ;
98import { UnifiedThemeOptions } from ' @backstage/theme' ;
@@ -13,18 +12,18 @@ export type BackstageThemePalette = UnifiedThemeOptions['palette'];
1312
1413// @public (undocumented)
1514export interface Branding {
16- // (undocumented)
17- theme? : {
18- [key : string ]: ThemeConfig ;
19- };
15+ // (undocumented)
16+ theme? : {
17+ [key : string ]: ThemeConfig ;
18+ };
2019}
2120
2221// @public (undocumented)
2322export interface Config {
24- // (undocumented)
25- app: {
26- branding? : Branding ;
27- };
23+ // (undocumented)
24+ app: {
25+ branding? : Branding ;
26+ };
2827}
2928
3029// @public (undocumented)
@@ -35,124 +34,120 @@ export const getThemes: () => AppTheme[];
3534
3635// @public (undocumented)
3736export interface RHDHThemePalette {
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- };
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+ };
8178}
8279
8380// @public (undocumented)
8481export interface ThemeConfig {
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' ;
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' ;
10198}
10299
103100// @public (undocumented)
104101export interface ThemeConfigOptions {
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' ;
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' ;
137132}
138133
139134// @public (undocumented)
140135export interface ThemeConfigPageTheme {
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 ;
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 ;
151146}
152147
153148// @public (undocumented)
154149export type ThemeConfigPalette = BackstageThemePalette & {
155- rhdh? : RHDHThemePalette ;
150+ rhdh? : RHDHThemePalette ;
156151};
157152
158153// @public (undocumented)
@@ -174,5 +169,4 @@ export const useThemeOptions: (themeConfig: ThemeConfig) => UnifiedThemeOptions;
174169export const useThemes: () => AppTheme [];
175170
176171// (No @packageDocumentation comment for this package)
177-
178172```
0 commit comments