Skip to content

Commit

Permalink
chore(react): remove unnecessary css styles.
Browse files Browse the repository at this point in the history
  • Loading branch information
Achintha Isuru committed Jul 8, 2024
1 parent 433b6d0 commit da5032f
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 5 deletions.
2 changes: 1 addition & 1 deletion packages/react/src/components/Chip/chip.scss
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@

.MuiChip-label {
background-clip: var(--oxygen-customComponents-Chip-properties-background-clip);
background-image: var(--oxygen-customComponents-Chip-properties-premium-text-background);
background-image: var(--oxygen-customComponents-Chip-properties-premium-text-color);
background-blend-mode: var(--oxygen-customComponents-Chip-properties-premium-text-background-blend-mode);
color: var(--oxygen-customComponents-Chip-properties-text-fill-color);
text-transform: var(--oxygen-customComponents-Chip-properties-text-transform);
Expand Down
1 change: 0 additions & 1 deletion packages/react/src/models/theme.ts
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,6 @@ interface CustomTheme {
'new-text-color'?: string;
'premium-background'?: string;
'premium-border-color'?: string;
'premium-text-background'?: string;
'premium-text-background-blend-mode'?: string;
'premium-text-color'?: string;
'text-fill-color'?: string;
Expand Down
5 changes: 2 additions & 3 deletions packages/react/src/theme/default-theme.ts
Original file line number Diff line number Diff line change
Expand Up @@ -198,10 +198,9 @@ export const generateDefaultThemeOptions = (baseTheme: Theme): RecursivePartial<
'premium-background':
'linear-gradient(88deg, rgba(236, 81, 97, 0.04) -3.25%, rgba(248, 118, 67, 0.04) 102.62%)',
'premium-border-color': 'rgba(255, 169, 106)',
'premium-text-background':
'radial-gradient(238.39% 44.19% at 96.59% 31.25%, rgba(255, 255, 255, 0.30) 0%, rgba(255, 255, 255, 0.00) 100%), radial-gradient(182.56% 55.34% at 5.68% 100%, rgba(246, 251, 34, 0.51) 0%, rgba(255, 158, 69, 0.00) 100%), radial-gradient(137.51% 118.3% at 32.95% 0%, rgba(255, 137, 137, 0.92) 21.25%, rgba(255, 169, 106, 0.57) 88.62%), radial-gradient(178.09% 220.16% at 94.89% -132.81%, #FF7A00 67.59%, rgba(255, 199, 0, 0.38) 100%)',
'premium-text-background-blend-mode': 'darken',
'premium-text-color': '#FFF500',
'premium-text-color':
'radial-gradient(238.39% 44.19% at 96.59% 31.25%, rgba(255, 255, 255, 0.30) 0%, rgba(255, 255, 255, 0.00) 100%), radial-gradient(182.56% 55.34% at 5.68% 100%, rgba(246, 251, 34, 0.51) 0%, rgba(255, 158, 69, 0.00) 100%), radial-gradient(137.51% 118.3% at 32.95% 0%, rgba(255, 137, 137, 0.92) 21.25%, rgba(255, 169, 106, 0.57) 88.62%), radial-gradient(178.09% 220.16% at 94.89% -132.81%, #FF7A00 67.59%, rgba(255, 199, 0, 0.38) 100%)',
'text-fill-color': 'transparent',
'text-transform': 'uppercase',
},
Expand Down

0 comments on commit da5032f

Please sign in to comment.