Those are the CSS selector to directly customize every part of the new Angular Material 15 Slider:
/* Change style of active track */
.mat-primary .mdc-slider__track--active_fill {
background-color: #00a716;
border: 0px solid #FFFFFF !important; /* Removes border from active track */
border-radius: 3px;
}
/* Change style of inactive track */
.mat-primary .mdc-slider__track--inactive {
background-color: #9c0087 !important;
border-radius: 3px;
}
/* Change style of progress bar */
.mat-primary .mdc-slider__track--active_fill, .mat-primary .mdc-slider__track--inactive, .mat-primary .mdc-slider__track--active, .mat-primary .mdc-slider__track {
height: 60px !important;
}
/* Change style of thumb */
.mat-primary .mdc-slider__thumb {
height: 24px;
width: 24px;
border-radius: 50%;
box-shadow: 0 2px 2px rgba(0, 0, 0, 0.14),
0 3px 1px rgba(0, 0, 0, 0.12),
0 1px 5px rgba(0, 0, 0, 0.2);
}
/* Change style of thumb when active */
.mat-primary .mdc-slider__thumb--with-indicator:after {
background-color: #F44336; /* Change color of thumb indicator */
}
/* Change style of numerical value */
.mat-primary .mdc-slider__value-indicator {
background-color: #dadd0c;
color: #FFFFFF;
height: 24px;
width: 24px;
border-radius: 50%;
font-size: 14px;
font-weight: 500;
box-shadow: 0 2px 2px rgba(0, 0, 0, 0.14),
0 3px 1px rgba(0, 0, 0, 0.12),
0 1px 5px rgba(0, 0, 0, 0.2);
}
/* Hide numerical value when thumb is active */
.mat-primary .mdc-slider__thumb--with-indicator.mdc-slider__thumb--focused .mdc-slider__value-indicator {
opacity: 0;
}
/* Change style of thumb knob */
.mat-primary .mdc-slider__thumb-knob {
background-color: #F44336;
border-color: #FFFFFF;
height: 16px;
width: 16px;
border-radius: 50%;
box-shadow: 0 2px 2px rgba(0, 0, 0, 0.14),
0 3px 1px rgba(0, 0, 0, 0.12),
0 1px 5px rgba(0, 0, 0, 0.2);
}
/* Change style of focus indicator */
.mat-primary .mdc-slider__thumb--with-indicator .mdc-slider__thumb-knob:focus {
outline: none;
}
/* Change style of focus ripple */
.mat-primary .mat-mdc-focus-indicator {
border-radius: 50%;
background-color: rgba(244, 67, 54, 0.26);
}
This is the StackBlitz