@momentum-design/components 0.1.4 → 0.1.5
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/browser/index.js +11 -11
- package/dist/browser/index.js.map +2 -2
- package/dist/components/themeprovider/themeprovider.component.js +1 -0
- package/dist/components/themeprovider/themeprovider.constants.d.ts +1 -0
- package/dist/components/themeprovider/themeprovider.constants.js +1 -0
- package/dist/components/themeprovider/themeprovider.styles.js +1 -1
- package/package.json +1 -1
@@ -41,6 +41,7 @@ class ThemeProvider extends models_1.Provider {
|
|
41
41
|
* Default: 'mds-theme-stable-darkWebex'
|
42
42
|
*/
|
43
43
|
this.themeclass = themeprovider_constants_1.DEFAULTS.THEMECLASS;
|
44
|
+
this.classList.add(themeprovider_constants_1.DEFAULTS.TYPOGRAPHYCLASS);
|
44
45
|
}
|
45
46
|
/**
|
46
47
|
* Context object of the ThemeProvider, to be consumed by child components
|
@@ -4,7 +4,7 @@ const lit_1 = require("lit");
|
|
4
4
|
// todo: use type tokens once the full set with fallbacks is available
|
5
5
|
const styles = (0, lit_1.css) `
|
6
6
|
:host {
|
7
|
-
--mdc-themeprovider-font-family:
|
7
|
+
--mdc-themeprovider-font-family: var(--mds-font-family-primary);
|
8
8
|
--mdc-themeprovider-color-default: var(--mds-color-theme-text-primary-normal);
|
9
9
|
|
10
10
|
font-family: var(--mdc-themeprovider-font-family);
|
package/package.json
CHANGED