Skip to content

DatetimePicker not picking up theme text color in dark mode #321

Closed Answered by nzbin
opticSquid asked this question in Q&A
Discussion options

You must be logged in to vote

👇 Very important

$light-theme: mat.private-deep-merge-all( 
  mat.define-theme($light-config), 
  mtx.define-theme($light-config) 
); 

$light-config: (
color: (
theme-type: 'light',
primary: mat.$azure-palette,
tertiary: mat.$blue-palette,
),
);
// Define the default (light) theme.
$light-theme: mat.private-deep-merge-all(
mat.define-theme($light-config),
mtx.define-theme($light-config)
);
:root {
@include mat.all-component-themes($light-theme);
@include mtx.all-component-themes($light-theme);
}

Replies: 3 comments 4 replies

Comment options

You must be logged in to vote
1 reply
@opticSquid
Comment options

Comment options

You must be logged in to vote
2 replies
@opticSquid
Comment options

@opticSquid
Comment options

Answer selected by opticSquid
Comment options

You must be logged in to vote
1 reply
@liemwellys
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants