📜  mat 单选按钮颜色 - CSS 代码示例

📅  最后修改于: 2022-03-11 14:47:58.841000             🧑  作者: Mango

代码示例1
::ng-deep .mat-radio-button.mat-accent .mat-radio-ripple .mat-ripple-element {
    opacity: 0.5 !important;     /*click effect color change*/
    background-color: blue !important;
}

::ng-deep .mat-radio-button.mat-accent .mat-radio-inner-circle {
    background-color: blue!important;   /*inner circle color change*/
}

::ng-deep.mat-radio-button.mat-accent.mat-radio-checked .mat-radio-outer-circle {
    border-color:blue!important; /*outer ring color change*/
}