Skip to content

Commit 38e40f0

Browse files
authored
docs: prebuilt themes incorrectly listed as dark (#23291)
Fixes that the light/dark state of a couple of themes was mixed up. Fixes angular/material.angular.io#1031.
1 parent c660dac commit 38e40f0

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

guides/theming.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,7 @@ $my-theme: mat.define-light-theme((
188188
)
189189
));
190190

191-
// Emit theme-dependent styles for common features used across multiple components.
191+
// Emit theme-dependent styles for common features used across multiple components.
192192
@include mat.core-theme($my-theme);
193193

194194
// Emit styles for MatButton based on `$my-theme`. Because the configuration
@@ -235,10 +235,10 @@ You can use one of these pre-built themes if you don't want to define a custom t
235235

236236
| Theme | Light or dark? | Palettes (primary, accent, warn) |
237237
|------------------------|----------------|----------------------------------|
238-
| `deeppurple-amber.css` | Dark | deep-purple, amber, red |
238+
| `deeppurple-amber.css` | Light | deep-purple, amber, red |
239239
| `indigo-pink.css` | Light | indigo, pink, red |
240240
| `pink-bluegray.css` | Dark | pink, bluegray, red |
241-
| `purple-green.css` | Light | purple, green, red |
241+
| `purple-green.css` | Dark | purple, green, red |
242242

243243
These files include the CSS for every component in the library. To include only the CSS for a subset
244244
of components, you must use the Sass API detailed in [Defining a theme](#defining-a-theme) above.

0 commit comments

Comments
 (0)