-
Notifications
You must be signed in to change notification settings - Fork 6.8k
Closed
Labels
featureThis issue represents a new feature or feature request rather than a bug or bug fixThis issue represents a new feature or feature request rather than a bug or bug fixneeds triageThis issue needs to be triaged by the teamThis issue needs to be triaged by the team
Description
Feature Description
$indigo-palette does not seem to be usable with m3 when I tried the below code
$m3-dark-theme: matx.define-theme(
(
color: (
theme-type: dark,
primary: matx.$m3-indigo-palette,
tertiary: matx.$m3-blue-palette,
),
)
);
I get an error!
./src/theme.scss?ngGlobalStyle - Error: Module build failed (from ./node_modules/mini-css-extract-plugin/dist/loader.js):
HookWebpackError: Module build failed (from ./node_modules/sass-loader/dist/cjs.js):
Undefined variable.
╷
8 │ primary: matx.$m3-indigo-palette,
│ ^^^^^^^^^^^^^^^^^^^^^^^
╵
src/theme.scss 8:16 root stylesheet
Stackblitz Demo
Use Case
Indigo palette is one of the common styles used by angular, so it has to be there in m3 right?
Metadata
Metadata
Assignees
Labels
featureThis issue represents a new feature or feature request rather than a bug or bug fixThis issue represents a new feature or feature request rather than a bug or bug fixneeds triageThis issue needs to be triaged by the teamThis issue needs to be triaged by the team