Skip to content

bug(mat-radio): radio-color mixin not emitting color theme styles #31319

Closed
@pgg

Description

@pgg

Is this a regression?

  • Yes, this behavior used to work in the previous version

The previous version in which this bug was not present was

v17

Description

expecting radio-color mixin to emit color theme styles

Reproduction

StackBlitz link: https://stackblitz.com/edit/stackblitz-starters-6m33ghzx?file=src%2Fstyles.scss
Steps to reproduce:

  1. run stackblitz, button-color mixin from styles.scss produces styles and works for mat button, but radio-color mixin does not

Expected Behavior

radio groups styled in the theme color variants primary, secondary, tertiary, error. just like the button

Actual Behavior

not styled

Environment

Angular CLI: 20.0.1
Node: 20.19.1
Package Manager: npm 10.8.2
OS: linux x64

Angular: 20.0.2
... animations, cdk, common, compiler, compiler-cli, core, forms
... material, platform-browser, router

Package Version

@angular-devkit/architect 0.2000.1
@angular-devkit/core 20.0.1
@angular-devkit/schematics 20.0.1
@angular/build 20.0.1
@angular/cli 20.0.1
@schematics/angular 20.0.1
rxjs 7.8.2
typescript 5.8.3

Metadata

Metadata

Assignees

Labels

P3An issue that is relevant to core functions, but does not impede progress. Important, but not urgentarea: material/radio

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions