Skip to content

Commit

Permalink
Remove vestigial lamp from status pills (#2270)
Browse files Browse the repository at this point in the history
OKTA-742039 feat: remove vestigial lamp from status pills
  • Loading branch information
jordankoschei-okta authored Jul 1, 2024
1 parent c4d73ea commit 68388e5
Showing 1 changed file with 0 additions and 25 deletions.
25 changes: 0 additions & 25 deletions packages/odyssey-react-mui/src/theme/components.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -1029,49 +1029,24 @@ export const components = ({
fontSize: "0.71428571rem",
textTransform: "uppercase",

"&::before": {
content: "''",
width: "0.42857143rem",
height: "0.42857143rem",
marginInlineEnd: odysseyTokens.Spacing2,
borderRadius: "100%",
backgroundColor: odysseyTokens.HueNeutral400,
},

[`&.${chipClasses.colorError}`]: {
backgroundColor: odysseyTokens.PaletteDangerLighter,
color: odysseyTokens.TypographyColorDanger,

"&::before": {
backgroundColor: odysseyTokens.PaletteDangerMain,
},
},

[`&.${chipClasses.colorInfo}`]: {
backgroundColor: odysseyTokens.PalettePrimaryLighter,
color: odysseyTokens.PalettePrimaryText,

"&::before": {
backgroundColor: odysseyTokens.HueBlue400,
},
},

[`&.${chipClasses.colorSuccess}`]: {
backgroundColor: odysseyTokens.PaletteSuccessLighter,
color: odysseyTokens.TypographyColorSuccess,

"&::before": {
backgroundColor: odysseyTokens.PaletteSuccessMain,
},
},

[`&.${chipClasses.colorWarning}`]: {
backgroundColor: odysseyTokens.PaletteWarningLighter,
color: odysseyTokens.TypographyColorWarning,

"&::before": {
backgroundColor: odysseyTokens.HueYellow200,
},
},
}),

Expand Down

0 comments on commit 68388e5

Please sign in to comment.