Skip to content

Commit

Permalink
style(errorStyles.tsx): update color theme from indigo to deepPurple …
Browse files Browse the repository at this point in the history
…for better visual consistency

The color theme in the errorStyles file has been updated from indigo to deepPurple to maintain visual consistency with the rest of the UI components.
  • Loading branch information
ktun95 committed Nov 20, 2024
1 parent 79a3f86 commit 7ba0573
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions packages/ui-common/src/Error/errorStyles.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { makeStyles } from "@material-ui/core/styles"
import { indigo, grey } from "@material-ui/core/colors"
import { deepPurple, grey } from "@material-ui/core/colors"

const useStyles = makeStyles(({ palette }) => ({
error400: {
Expand Down Expand Up @@ -51,13 +51,12 @@ const useStyles = makeStyles(({ palette }) => ({
fontFamily: "'Nimbus Mono PS', 'Courier New', monospace",
color: grey[800],
padding: "1rem",
backgroundColor: indigo[50],
backgroundColor: deepPurple[50],
maxWidth: "20rem",
margin: "auto",
borderRadius: "7px",
fontStyle: "italic",
border: `1px solid ${grey[400]}`,
// boxShadow: `${grey[800]} 1px 1px 2px`,
},
}))

Expand Down

0 comments on commit 7ba0573

Please sign in to comment.