Skip to content

Commit 5ad133d

Browse files
authored
fix(material/core): allow optgroup overrides through core-overrides (#29897)
Fixes that we were supporting overrides for `mat-option` through the `core-overrides` mixin, but not for `mat-optgroup`.
1 parent 57d9a2f commit 5ad133d

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/material/core/_core-theme.scss

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,13 +75,15 @@
7575
$app-tokens: tokens-mat-app.get-token-slots();
7676
$ripple-tokens: tokens-mat-ripple.get-token-slots();
7777
$option-tokens: tokens-mat-option.get-token-slots();
78+
$optgroup-tokens: tokens-mat-optgroup.get-token-slots();
7879
$full-pseudo-checkbox-tokens: tokens-mat-full-pseudo-checkbox.get-token-slots();
7980
$minimal-pseudo-checkbox-tokens: tokens-mat-minimal-pseudo-checkbox.get-token-slots();
8081

8182
@return (
8283
(namespace: tokens-mat-app.$prefix, tokens: $app-tokens, prefix: 'app-'),
8384
(namespace: tokens-mat-ripple.$prefix, tokens: $ripple-tokens, prefix: 'ripple-'),
8485
(namespace: tokens-mat-option.$prefix, tokens: $option-tokens, prefix: 'option-'),
86+
(namespace: tokens-mat-optgroup.$prefix, tokens: $optgroup-tokens, prefix: 'optgroup-'),
8587
(
8688
namespace: tokens-mat-full-pseudo-checkbox.$prefix,
8789
tokens: $full-pseudo-checkbox-tokens,

0 commit comments

Comments
 (0)