Removed properties from BackstagePaletteAdditions

Signed-off-by: Andre Wanlin <awanlin@rapidrtc.com>
This commit is contained in:
Andre Wanlin
2022-03-12 11:17:28 -06:00
committed by Andre Wanlin
parent f9e2ec2551
commit ff4f56eb49
4 changed files with 29 additions and 16 deletions
+29
View File
@@ -0,0 +1,29 @@
---
'@backstage/theme': patch
---
Removed the following unused properties from BackstagePaletteAdditions under the `bursts` property:
```ts
slackChannelText: string;
backgroundColor: {
default: string;
};
```
If these were being used you can add them back to your custom theme, for example like this:
```diff
bursts: {
fontColor: '#FEFEFE',
+ slackChannelText: '#ddd',
+ backgroundColor: {
+ default: '#7C3699',
+ },
gradient: {
linear: 'linear-gradient(-137deg, #4BB8A5 0%, #187656 100%)',
},
},
```
The [Customize the look-and-feel of your App](https://backstage.io/docs/getting-started/app-custom-theme) documentation has more details on creating and using a custom theme.
-4
View File
@@ -53,10 +53,6 @@ export type BackstagePaletteAdditions = {
};
bursts: {
fontColor: string;
slackChannelText: string;
backgroundColor: {
default: string;
};
gradient: {
linear: string;
};
-8
View File
@@ -39,10 +39,6 @@ export const lightTheme = createTheme({
},
bursts: {
fontColor: '#FEFEFE',
slackChannelText: '#ddd',
backgroundColor: {
default: '#7C3699',
},
gradient: {
linear: 'linear-gradient(-137deg, #4BB8A5 0%, #187656 100%)',
},
@@ -116,10 +112,6 @@ export const darkTheme = createTheme({
},
bursts: {
fontColor: '#FEFEFE',
slackChannelText: '#ddd',
backgroundColor: {
default: '#7C3699',
},
gradient: {
linear: 'linear-gradient(-137deg, #4BB8A5 0%, #187656 100%)',
},
-4
View File
@@ -65,10 +65,6 @@ export type BackstagePaletteAdditions = {
};
bursts: {
fontColor: string;
slackChannelText: string;
backgroundColor: {
default: string;
};
gradient: {
linear: string;
};