Removed properties from BackstagePaletteAdditions
Signed-off-by: Andre Wanlin <awanlin@rapidrtc.com>
This commit is contained in:
committed by
Andre Wanlin
parent
f9e2ec2551
commit
ff4f56eb49
@@ -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.
|
||||
@@ -53,10 +53,6 @@ export type BackstagePaletteAdditions = {
|
||||
};
|
||||
bursts: {
|
||||
fontColor: string;
|
||||
slackChannelText: string;
|
||||
backgroundColor: {
|
||||
default: string;
|
||||
};
|
||||
gradient: {
|
||||
linear: string;
|
||||
};
|
||||
|
||||
@@ -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%)',
|
||||
},
|
||||
|
||||
@@ -65,10 +65,6 @@ export type BackstagePaletteAdditions = {
|
||||
};
|
||||
bursts: {
|
||||
fontColor: string;
|
||||
slackChannelText: string;
|
||||
backgroundColor: {
|
||||
default: string;
|
||||
};
|
||||
gradient: {
|
||||
linear: string;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user