Skip to content

Commit df4338d

Browse files
chore(release): 1.1.4 [skip ci]
## [1.1.4](v1.1.3...v1.1.4) (2023-03-17) ### Bug Fixes * add white to color palette ([57d112f](57d112f))
1 parent 57d112f commit df4338d

File tree

5 files changed

+24
-1
lines changed

5 files changed

+24
-1
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.4](https://github.com/ocadotechnology/codeforlife-package-javascript/compare/v1.1.3...v1.1.4) (2023-03-17)
2+
3+
4+
### Bug Fixes
5+
6+
* add white to color palette ([57d112f](https://github.com/ocadotechnology/codeforlife-package-javascript/commit/57d112feca9a1ec0de18ccf5c3217f248f23bca4))
7+
18
## [1.1.3](https://github.com/ocadotechnology/codeforlife-package-javascript/compare/v1.1.2...v1.1.3) (2023-03-16)
29

310

lib/cjs/theme.d.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,17 @@ import { PaletteColor } from '@mui/material';
22
declare module '@mui/material/styles' {
33
interface Palette {
44
tertiary: PaletteColor;
5+
white: PaletteColor;
56
}
67
interface PaletteOptions {
78
tertiary: PaletteColor;
9+
white: PaletteColor;
810
}
911
}
1012
declare module '@mui/material/Button' {
1113
interface ButtonPropsColorOverrides {
1214
tertiary: true;
15+
white: true;
1316
}
1417
}
1518
declare const theme: import("@mui/material").Theme;

lib/cjs/theme.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,11 @@ var theme = (0, styles_1.responsiveFontSizes)((0, styles_1.createTheme)({
1616
main: '#ffd23b'
1717
}
1818
}),
19+
white: palette.augmentColor({
20+
color: {
21+
main: colors_1.common.white
22+
}
23+
}),
1924
error: {
2025
main: colors_1.red.A700
2126
}

lib/esm/theme.d.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,17 @@ import { PaletteColor } from '@mui/material';
22
declare module '@mui/material/styles' {
33
interface Palette {
44
tertiary: PaletteColor;
5+
white: PaletteColor;
56
}
67
interface PaletteOptions {
78
tertiary: PaletteColor;
9+
white: PaletteColor;
810
}
911
}
1012
declare module '@mui/material/Button' {
1113
interface ButtonPropsColorOverrides {
1214
tertiary: true;
15+
white: true;
1316
}
1417
}
1518
declare const theme: import("@mui/material").Theme;

lib/esm/theme.js

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { createTheme, responsiveFontSizes } from '@mui/material/styles';
2-
import { red } from '@mui/material/colors';
2+
import { red, common } from '@mui/material/colors';
33
var palette = createTheme().palette;
44
var theme = responsiveFontSizes(createTheme({
55
palette: {
@@ -14,6 +14,11 @@ var theme = responsiveFontSizes(createTheme({
1414
main: '#ffd23b'
1515
}
1616
}),
17+
white: palette.augmentColor({
18+
color: {
19+
main: common.white
20+
}
21+
}),
1722
error: {
1823
main: red.A700
1924
}

0 commit comments

Comments
 (0)