Skip to content

Commit

Permalink
Fix the light theme palette
Browse files Browse the repository at this point in the history
  • Loading branch information
wenxuanjun committed May 20, 2024
1 parent a0edefb commit fcc143c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions lefthook.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ pre-commit:
commands:
tsc:
run: node_modules/.bin/tsc
# eslint:
# run: node_modules/.bin/eslint src --fix
eslint:
run: node_modules/.bin/eslint --fix
autocorrect:
run: node src/tools/autocorrect src/**/*.md
6 changes: 3 additions & 3 deletions src/styles/theme.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,16 @@ import { ThemeOptions, PaletteOptions } from '@mui/material'

const lightPalette = {
mode: 'light',
primary: { main: '#b71c1c' },
primary: { main: '#a30b19' },
secondary: { main: '#ad1457' },
error: { main: '#e53935' },
warning: { main: '#ffa000' },
info: { main: '#1565c0' },
success: { main: '#2e7d32' },
action: { selectedOpacity: 0.1 },
background: {
paper: '#fff8f5',
default: '#fff6f4'
paper: '#fffcfd',
default: '#fffbfc'
}
} as PaletteOptions

Expand Down

0 comments on commit fcc143c

Please sign in to comment.