Skip to content

Commit 3be6bac

Browse files
chore(release): 1.1.5 [skip ci]
## [1.1.5](v1.1.4...v1.1.5) (2023-03-17) ### Bug Fixes * add info color ([20bb47b](20bb47b))
1 parent 20bb47b commit 3be6bac

File tree

5 files changed

+29
-12
lines changed

5 files changed

+29
-12
lines changed

CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
## [1.1.5](https://github.com/ocadotechnology/codeforlife-package-javascript/compare/v1.1.4...v1.1.5) (2023-03-17)
2+
3+
4+
### Bug Fixes
5+
6+
* add info color ([20bb47b](https://github.com/ocadotechnology/codeforlife-package-javascript/commit/20bb47bfc4a3b074d837ca8545c2e74522a1ab73))
7+
18
## [1.1.4](https://github.com/ocadotechnology/codeforlife-package-javascript/compare/v1.1.3...v1.1.4) (2023-03-17)
29

310

lib/cjs/theme.d.ts

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,21 @@
11
import { PaletteColor } from '@mui/material';
22
declare module '@mui/material/styles' {
3-
interface Palette {
3+
interface CustomPaletteColors {
44
tertiary: PaletteColor;
55
white: PaletteColor;
66
}
7-
interface PaletteOptions {
8-
tertiary: PaletteColor;
9-
white: PaletteColor;
7+
interface Palette extends CustomPaletteColors {
8+
}
9+
interface PaletteOptions extends CustomPaletteColors {
1010
}
1111
}
12-
declare module '@mui/material/Button' {
13-
interface ButtonPropsColorOverrides {
12+
declare module '@mui/material' {
13+
interface PropsColorOverrides {
1414
tertiary: true;
1515
white: true;
1616
}
17+
interface ButtonPropsColorOverrides extends PropsColorOverrides {
18+
}
1719
}
1820
declare const theme: import("@mui/material").Theme;
1921
export default theme;

lib/cjs/theme.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,9 @@ var theme = (0, styles_1.responsiveFontSizes)((0, styles_1.createTheme)({
2121
main: colors_1.common.white
2222
}
2323
}),
24+
info: {
25+
main: '#f1ecec'
26+
},
2427
error: {
2528
main: colors_1.red.A700
2629
}

lib/esm/theme.d.ts

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,21 @@
11
import { PaletteColor } from '@mui/material';
22
declare module '@mui/material/styles' {
3-
interface Palette {
3+
interface CustomPaletteColors {
44
tertiary: PaletteColor;
55
white: PaletteColor;
66
}
7-
interface PaletteOptions {
8-
tertiary: PaletteColor;
9-
white: PaletteColor;
7+
interface Palette extends CustomPaletteColors {
8+
}
9+
interface PaletteOptions extends CustomPaletteColors {
1010
}
1111
}
12-
declare module '@mui/material/Button' {
13-
interface ButtonPropsColorOverrides {
12+
declare module '@mui/material' {
13+
interface PropsColorOverrides {
1414
tertiary: true;
1515
white: true;
1616
}
17+
interface ButtonPropsColorOverrides extends PropsColorOverrides {
18+
}
1719
}
1820
declare const theme: import("@mui/material").Theme;
1921
export default theme;

lib/esm/theme.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,9 @@ var theme = responsiveFontSizes(createTheme({
1919
main: common.white
2020
}
2121
}),
22+
info: {
23+
main: '#f1ecec'
24+
},
2225
error: {
2326
main: red.A700
2427
}

0 commit comments

Comments
 (0)