Skip to content

docs: prebuilt themes incorrectly listed as dark #23291

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Aug 2, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions guides/theming.md
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ $my-theme: mat.define-light-theme((
)
));

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

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

| Theme | Light or dark? | Palettes (primary, accent, warn) |
|------------------------|----------------|----------------------------------|
| `deeppurple-amber.css` | Dark | deep-purple, amber, red |
| `deeppurple-amber.css` | Light | deep-purple, amber, red |
| `indigo-pink.css` | Light | indigo, pink, red |
| `pink-bluegray.css` | Dark | pink, bluegray, red |
| `purple-green.css` | Light | purple, green, red |
| `purple-green.css` | Dark | purple, green, red |

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