Skip to content

Commit c35763b

Browse files
authored
fix(material/core): add typography to prebuilt themes (#25696)
1 parent 1e969dd commit c35763b

File tree

8 files changed

+16
-9
lines changed

8 files changed

+16
-9
lines changed

src/material/core/theming/prebuilt/deeppurple-amber.scss

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
@use '../../core';
33
@use '../palette';
44
@use '../theming';
5-
5+
@use '../../typography/all-typography';
66

77
// Include non-theme styles for core.
88
@include core.core();
@@ -16,7 +16,7 @@ $theme: theming.define-light-theme((
1616
primary: $primary,
1717
accent: $accent,
1818
),
19-
typography: null,
19+
typography: all-typography.define-typography-config(),
2020
density: 0,
2121
));
2222

src/material/core/theming/prebuilt/indigo-pink.scss

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
@use '../../core';
33
@use '../palette';
44
@use '../theming';
5+
@use '../../typography/all-typography';
56

67

78
// Include non-theme styles for core.
@@ -16,7 +17,7 @@ $theme: theming.define-light-theme((
1617
primary: $primary,
1718
accent: $accent
1819
),
19-
typography: null,
20+
typography: all-typography.define-typography-config(),
2021
density: 0,
2122
));
2223

src/material/core/theming/prebuilt/pink-bluegrey.scss

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
@use '../../core';
33
@use '../palette';
44
@use '../theming';
5+
@use '../../typography/all-typography';
56

67

78
// Include non-theme styles for core.
@@ -16,7 +17,7 @@ $theme: theming.define-dark-theme((
1617
primary: $primary,
1718
accent: $accent
1819
),
19-
typography: null,
20+
typography: all-typography.define-typography-config(),
2021
density: 0,
2122
));
2223

src/material/core/theming/prebuilt/purple-green.scss

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
@use '../../core';
33
@use '../palette';
44
@use '../theming';
5+
@use '../../typography/all-typography';
56

67

78
// Include non-theme styles for core.
@@ -16,7 +17,7 @@ $theme: theming.define-dark-theme((
1617
primary: $primary,
1718
accent: $accent
1819
),
19-
typography: null,
20+
typography: all-typography.define-typography-config(),
2021
density: 0,
2122
));
2223

src/material/legacy-core/theming/prebuilt/deeppurple-amber.scss

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
@use '../../core';
33
@use '../../../core/theming/palette';
44
@use '../../../core/theming/theming';
5+
@use '../../../core/typography/all-typography';
56

67

78
// Include non-theme styles for core.
@@ -16,7 +17,7 @@ $theme: theming.define-light-theme((
1617
primary: $primary,
1718
accent: $accent,
1819
),
19-
typography: null,
20+
typography: all-typography.define-typography-config(),
2021
density: 0,
2122
));
2223

src/material/legacy-core/theming/prebuilt/indigo-pink.scss

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
@use '../../core';
33
@use '../../../core/theming/palette';
44
@use '../../../core/theming/theming';
5+
@use '../../../core/typography/all-typography';
56

67

78
// Include non-theme styles for core.
@@ -16,7 +17,7 @@ $theme: theming.define-light-theme((
1617
primary: $primary,
1718
accent: $accent
1819
),
19-
typography: null,
20+
typography: all-typography.define-typography-config(),
2021
density: 0,
2122
));
2223

src/material/legacy-core/theming/prebuilt/pink-bluegrey.scss

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
@use '../../core';
33
@use '../../../core/theming/palette';
44
@use '../../../core/theming/theming';
5+
@use '../../../core/typography/all-typography';
56

67

78
// Include non-theme styles for core.
@@ -16,7 +17,7 @@ $theme: theming.define-dark-theme((
1617
primary: $primary,
1718
accent: $accent
1819
),
19-
typography: null,
20+
typography: all-typography.define-typography-config(),
2021
density: 0,
2122
));
2223

src/material/legacy-core/theming/prebuilt/purple-green.scss

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
@use '../../core';
33
@use '../../../core/theming/palette';
44
@use '../../../core/theming/theming';
5+
@use '../../../core/typography/all-typography';
56

67

78
// Include non-theme styles for core.
@@ -16,7 +17,7 @@ $theme: theming.define-dark-theme((
1617
primary: $primary,
1718
accent: $accent
1819
),
19-
typography: null,
20+
typography: all-typography.define-typography-config(),
2021
density: 0,
2122
));
2223

0 commit comments

Comments
 (0)