Skip to content

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

@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

Activity

added
needs triageThis issue needs to be triaged by the team
on Jun 9, 2025
self-assigned this
on Jun 10, 2025
added
P3An issue that is relevant to core functions, but does not impede progress. Important, but not urgent
and removed
needs triageThis issue needs to be triaged by the team
on Jun 10, 2025
added a commit that references this issue on Jun 10, 2025
9549dc3
added 2 commits that reference this issue on Jun 10, 2025
ae8fe4d
9d15f86
added a commit that references this issue on Jun 11, 2025
567ddbe
added a commit that references this issue on Jun 11, 2025
3f7d277
angular-automatic-lock-bot

angular-automatic-lock-bot commented on Jul 12, 2025

@angular-automatic-lock-bot

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

locked and limited conversation to collaborators on Jul 12, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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

    Participants

    @pgg@crisbeto

    Issue actions

      bug(mat-radio): radio-color mixin not emitting color theme styles · Issue #31319 · angular/components