Skip to content

Commit

Permalink
Run full prettier in CI (#2713)
Browse files Browse the repository at this point in the history
  • Loading branch information
Janpot authored Sep 22, 2023
1 parent d2847b1 commit cfa489a
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ jobs:
- install_js
- run:
name: '`yarn prettier` changes committed?'
command: yarn prettier --check
command: yarn prettier:all --check
- run:
name: '`yarn jsonSchemas` changes committed?'
command: |
Expand Down
12 changes: 7 additions & 5 deletions docs/src/components/landing/Hero.js
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ export default function Hero() {
size="small"
variant="outlined"
clickable
onDelete={() => { }}
onDelete={() => {}}
deleteIcon={<ChevronRightIcon />}
sx={[
(theme) => ({
Expand Down Expand Up @@ -258,8 +258,9 @@ export default function Hero() {
height: '100%',
borderRadius: '16px',
padding: '8px',
background: `linear-gradient(120deg, ${(theme.vars || theme).palette.grey[50]
} 0%, ${alpha(theme.palette.primary[50], 0.5)} 150%)`,
background: `linear-gradient(120deg, ${
(theme.vars || theme).palette.grey[50]
} 0%, ${alpha(theme.palette.primary[50], 0.5)} 150%)`,
border: '1px solid',
borderColor: (theme.vars || theme).palette.grey[100],
backfaceVisibility: 'hidden',
Expand All @@ -273,8 +274,9 @@ export default function Hero() {
}),
(theme) =>
theme.applyDarkStyles({
background: `linear-gradient(120deg, ${(theme.vars || theme).palette.primaryDark[500]
} 0%, ${alpha(theme.palette.primaryDark[800], 0.4)} 150%)`,
background: `linear-gradient(120deg, ${
(theme.vars || theme).palette.primaryDark[500]
} 0%, ${alpha(theme.palette.primaryDark[800], 0.4)} 150%)`,
borderColor: `${alpha(theme.palette.primaryDark[300], 0.3)}`,
boxShadow: `0 4px 8px ${alpha(theme.palette.common.black, 0.8)}`,
}),
Expand Down

0 comments on commit cfa489a

Please sign in to comment.