You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
drops typography.
This happens to all key's which are not specific handled within ngrid.
What are the steps to reproduce?
create a global styles.scss with the above theme and call ngrid.define-light-theme on it. The return value would drop any key that is not handled by it.
Which versions of Angular, CDK, Material, NGrid, OS, TypeScript, browsers are affected?
I would suggest to either document the workaround in the examples or use merge on the provided theme.
BTW: Is there a reason why ngrid.ngrid-typography is not called from withing ngrid.theme and get typography with mat.get-typography-config($theme)?
It seems to be overall standard to have separate mixin's for color and typography and call both in theme. So the user has only to call ngrid.theme and in ngrid's case beforehand ngrid.define-...-theme.
The text was updated successfully, but these errors were encountered:
What is the expected behavior?
ngrid's
define-dark-theme
anddefine-dark-theme
should only merge to the theme as it does with the palettes.What is the current behavior?
having a "custom" key in the theme:
drops
typography
.This happens to all key's which are not specific handled within ngrid.
What are the steps to reproduce?
create a global styles.scss with the above theme and call
ngrid.define-light-theme
on it. The return value would drop any key that is not handled by it.Which versions of Angular, CDK, Material, NGrid, OS, TypeScript, browsers are affected?
12
Is there anything else we should know?
Workaround:
I would suggest to either document the workaround in the examples or use merge on the provided theme.
BTW: Is there a reason why
ngrid.ngrid-typography
is not called from withingngrid.theme
and get typography withmat.get-typography-config($theme)
?It seems to be overall standard to have separate mixin's for
color
andtypography
and call both intheme
. So the user has only to callngrid.theme
and in ngrid's case beforehandngrid.define-...-theme
.The text was updated successfully, but these errors were encountered: