angular / angular/components

feat(slider): Introduce token for slider height

Open
#31,101 1 comment 0 reactions 0 assignees View on GitHub
feature P3
Dominant language
TypeScript
Stars
25k
Forks
6.8k
Avg merge
1d 8h
Merged PRs (30d)
91

Description

### Feature Description

Currently slider component has hard-coded height of 48px. In our app we need 34px height (we are replacing jquery slider control with material slider).
We cannot simply change the height of the component since internal elements (i.e. thumb) depend on the component height.
Thereby please expose the token that can be used to change height of the slider component.

### Use Case

Expose token to customize height of slider component.

Contributor guide

Open the contributing guide

Research direction

Start by locating the Angular Material slider component implementation and its styling or token definitions for the hard-coded 48px height. Confirm how the thumb and other internal elements depend on that height, then verify that a token can set a 34px slider without breaking those elements.

Written by the indexing model from the issue text.

Assessment

Tech stack
angular, typescript
Domain
frontend
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.