Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(dialog): invalid text color in dark themes #4849

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions src/lib/dialog/_dialog-theme.scss
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,10 @@

@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);
}
}
2 changes: 1 addition & 1 deletion tools/gulp/packaging/build-tasks-gulp.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ const inlineResources = require('../../../scripts/release/inline-resources');
* @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);
Expand Down