diff --git a/src/lib/dialog/_dialog-theme.scss b/src/lib/dialog/_dialog-theme.scss index 7cb878fe485..eb0e74aeb16 100644 --- a/src/lib/dialog/_dialog-theme.scss +++ b/src/lib/dialog/_dialog-theme.scss @@ -5,9 +5,11 @@ @mixin mat-dialog-theme($theme) { $background: map-get($theme, background); + $foreground: map-get($theme, foreground); .mat-dialog-container { background: mat-color($background, dialog); + color: mat-color($foreground, text); } } diff --git a/tools/gulp/packaging/build-tasks-gulp.ts b/tools/gulp/packaging/build-tasks-gulp.ts index 5ff8995599f..355d47c0966 100644 --- a/tools/gulp/packaging/build-tasks-gulp.ts +++ b/tools/gulp/packaging/build-tasks-gulp.ts @@ -15,7 +15,7 @@ const htmlmin = require('gulp-htmlmin'); * @param packageName Name of the package. Needs to be similar to the directory name in `src/`. * @param requiredPackages Required packages that will be built before building the current package. */ -export function createPackageBuildTasks(packageName: string, requiredPackages: string[] = [], ) { +export function createPackageBuildTasks(packageName: string, requiredPackages: string[] = []) { // To avoid refactoring of the project the package material will map to the source path `lib/`. const packageRoot = join(SOURCE_ROOT, packageName === 'material' ? 'lib' : packageName); const packageOut = join(DIST_ROOT, 'packages', packageName);