feat(splitter): update splitter styles#16909
Merged
Conversation
desig9stein
previously approved these changes
Feb 18, 2026
desig9stein
reviewed
Mar 6, 2026
|
|
||
| //splitter-size + borders | ||
| $splitter-size: unitless(map.get($theme, 'size')) + 2; | ||
| $base-font-size: 16; |
Contributor
There was a problem hiding this comment.
we have a global --ig-base-font-size, why not using it?
| border-inline-end: unset; | ||
| border-bottom: var-get($theme, 'size') solid transparent; | ||
| border-block-end: var-get($theme, 'size') solid transparent; | ||
| border-inline-start: var-get($theme, 'size') solid var-get($theme, 'expander-color'); |
Contributor
There was a problem hiding this comment.
var-get($theme, 'size') is used in a lot of places; better store it in a variable
desig9stein
previously approved these changes
Mar 6, 2026
Contributor
There was a problem hiding this comment.
Pull request overview
Updates the Ignite UI for Angular splitter styling to better align with the referenced handoff/design direction (issue #2022), mainly by adjusting sizing calculations, interaction states (hover/focus/active), and visual treatment of the bar/controls.
Changes:
- Introduced CSS custom properties to drive indigo splitter sizing/“slim” scaling with runtime calc().
- Adjusted hover/focus/active visuals (opacity, transitions, focus ring, active colors) for splitter bar, handle, and expanders.
- Switched focus styling trigger from
:focusto:focus-visibleon the bar host.
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.
| File | Description |
|---|---|
| projects/igniteui-angular/core/src/core/styles/components/splitter/_splitter-theme.scss | Refines splitter bar/controls visuals and adds CSS custom properties for sizing + new active-state styling hooks. |
| projects/igniteui-angular/core/src/core/styles/components/splitter/_splitter-component.scss | Updates focus selector to :focus-visible and wires active-state styling via :active selectors. |
projects/igniteui-angular/core/src/core/styles/components/splitter/_splitter-theme.scss
Outdated
Show resolved
Hide resolved
projects/igniteui-angular/core/src/core/styles/components/splitter/_splitter-component.scss
Outdated
Show resolved
Hide resolved
…tter/_splitter-theme.scss Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
…tter/_splitter-component.scss Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
simeonoff
approved these changes
Apr 14, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Related to IgniteUI/igniteui-webcomponents#2022
Aligning the angular splitter to the handoff