feat: add code block to backstage theme
This commit is contained in:
@@ -48,6 +48,10 @@ export const lightTheme = createTheme({
|
||||
text: '#FFFFFF',
|
||||
link: '#000000',
|
||||
},
|
||||
code: {
|
||||
background: '#333333',
|
||||
text: '#FFFFFF',
|
||||
},
|
||||
border: '#E6E6E6',
|
||||
textContrast: '#000000',
|
||||
textVerySubtle: '#DDD',
|
||||
@@ -110,6 +114,10 @@ export const darkTheme = createTheme({
|
||||
text: '#FFFFFF',
|
||||
link: '#000000',
|
||||
},
|
||||
code: {
|
||||
background: '#F8F8F8',
|
||||
text: '#333333',
|
||||
},
|
||||
border: '#E6E6E6',
|
||||
textContrast: '#FFFFFF',
|
||||
textVerySubtle: '#727272',
|
||||
|
||||
@@ -69,6 +69,10 @@ type PaletteAdditions = {
|
||||
text: string;
|
||||
link: string;
|
||||
};
|
||||
code: {
|
||||
background: string;
|
||||
text: string;
|
||||
};
|
||||
};
|
||||
|
||||
export type BackstagePalette = Palette & PaletteAdditions;
|
||||
|
||||
Reference in New Issue
Block a user