Added alternateTextColor; made spacing non-optional in RawTheme.

This commit is contained in:
Alexandru Ciuca
2015-10-01 10:46:00 +03:00
parent ad5abf0ed4
commit 94f3ac3e35
+12 -11
View File
@@ -844,16 +844,17 @@ declare namespace __MaterialUI {
desktopToolbarHeight?: number;
}
interface ThemePalette {
primary1Color?: string,
primary2Color?: string,
primary3Color?: string,
accent1Color?: string,
accent2Color?: string,
accent3Color?: string,
textColor?: string,
canvasColor?: string,
borderColor?: string,
disabledColor?: string
primary1Color?: string;
primary2Color?: string;
primary3Color?: string;
accent1Color?: string;
accent2Color?: string;
accent3Color?: string;
textColor?: string;
canvasColor?: string;
borderColor?: string;
disabledColor?: string;
alternateTextColor?: string;
}
interface MuiTheme {
rawTheme: RawTheme;
@@ -1044,7 +1045,7 @@ declare namespace __MaterialUI {
}
interface RawTheme {
spacing?: Spacing;
spacing: Spacing;
fontFamily?: string;
palette: ThemePalette;
}