Skip to content

Commit aa9c836

Browse files
committed
feat: highlight palette 정의 추가
1 parent 5cee482 commit aa9c836

File tree

3 files changed

+15
-1
lines changed

3 files changed

+15
-1
lines changed

apps/pyconkr/src/styles/globalStyles.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,12 @@ export const muiTheme = createTheme({
1818
light: "#B6D8D7",
1919
dark: "#126D7F",
2020
},
21+
highlight: {
22+
main: "#E17101",
23+
light: "#EE8D74",
24+
dark: "#C66900",
25+
contrastText: "#FFFFFF",
26+
},
2127
text: {
2228
primary: "#000000",
2329
secondary: "#666666",

packages/common/tsconfig.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,5 @@
88
"strict": true,
99
"jsx": "react"
1010
},
11-
"include": ["src"]
11+
"include": ["src", "vite.config.ts", "vite-env.d.ts", "../../types"],
1212
}

types/emotion.d.ts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,14 @@ import "@emotion/react";
22
import { type Theme as MuiTheme } from "@mui/material/styles";
33

44
declare module "@mui/material/styles" {
5+
interface Palette {
6+
highlight: PaletteColor;
7+
}
8+
9+
interface PaletteOptions {
10+
highlight: PaletteColor;
11+
}
12+
513
interface PaletteColor {
614
nonFocus?: string;
715
}

0 commit comments

Comments
 (0)