Skip to content

Comments

[DPEDE-6330] Migrate icons to material symbols#1942

Open
mattnickles wants to merge 14 commits intomasterfrom
DPEDE-6330-Migrate-icons-to-material-symbols
Open

[DPEDE-6330] Migrate icons to material symbols#1942
mattnickles wants to merge 14 commits intomasterfrom
DPEDE-6330-Migrate-icons-to-material-symbols

Conversation

@mattnickles
Copy link
Contributor

@mattnickles mattnickles requested a review from a team as a code owner February 10, 2026 20:07
@mattnickles mattnickles requested a review from Copilot February 10, 2026 20:09
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR migrates Chi's icon system from a custom icon font and SVG sprites to Google Material Symbols Outlined font. The migration enables access to 2,500+ icons without requiring build processes for updates, while maintaining backward compatibility through icon name mappings.

Changes:

  • Replaced custom chi icon font with Material Symbols Outlined font from Google Fonts CDN
  • Added comprehensive icon mapping in icon-mapping.scss to preserve existing icon class names
  • Updated icon references across components to use Material Symbols ligature names instead of unicode values
  • Removed SVG sprite generation and related build scripts
  • Adjusted icon sizing throughout components to accommodate the new font system

Reviewed changes

Copilot reviewed 23 out of 378 changed files in this pull request and generated 5 comments.

Show a summary per file
File Description
src/chi/components/icons/icons.scss Core icon component refactored to use Material Symbols font with ligatures, removed SVG handling
src/chi/components/icons/icon-mapping.scss New file mapping 300+ Chi icon names to Material Symbols equivalents with fill states
src/chi/components/dropdown/dropdown.scss Updated chevron icon references from unicode to ligature names
src/chi/components/card/card.scss Updated arrow icon reference from unicode to ligature name
src/chi/components/buttons/buttons.scss Simplified icon sizing rules for new font-based icons
src/chi/components/badge/badge.scss Adjusted icon dimensions for Material Symbols font
src/chi/components/avatars/avatars.scss Updated icon sizing and alignment for font-based icons
src/chi/components/alert/_alert-common.scss Updated close button icon sizing
src/chi/components/accordion/accordion.scss Changed icon reference from unicode to ligature name
src/chi/_global-variables.scss Changed global icon font family from 'chi' to 'Material Symbols Outlined'
scripts/build/utils/buildSprites.js Removed SVG sprite generation script (no longer needed)
scripts/build/utils/buildIcons.js Removed icon font and SVG copying tasks
scripts/build/build.sh Removed sprite build step from build process
cypress/fixtures/chidata.json Removed icon list fixture (icons now available via font)
backstop-non-responsive.json Removed SVG-specific visual regression tests
backstop-non-responsive-ce.json Updated test selectors from SVG to icon-based naming
assets/themes/*/\_content.scss Updated checkmark icon references across all themes from unicode to ligature name
.github/copilot-instructions.md Updated documentation to reflect Material Symbols migration

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@lumen-jenkins-prod
Copy link

The CI pipeline did not run successfully in https://jenkinsprod.corp.intranet:8443/job/UX-CHI/job/Productive/job/Chi/job/PR-1942/1/. ❌

@lumen-jenkins-prod
Copy link

The CI pipeline did not run successfully in https://jenkinsprod.corp.intranet:8443/job/UX-CHI/job/Productive/job/Chi/job/PR-1942/2/. ❌

@lumen-jenkins-prod
Copy link

The CI pipeline did not run successfully in https://jenkinsprod.corp.intranet:8443/job/UX-CHI/job/Productive/job/Chi/job/PR-1942/3/. ❌

@lumen-jenkins-prod
Copy link

The CI pipeline did not run successfully in https://jenkinsprod.corp.intranet:8443/job/UX-CHI/job/Productive/job/Chi/job/PR-1942/4/. ❌

@lumen-jenkins-prod
Copy link

The CI pipeline did not run successfully in https://jenkinsprod.corp.intranet:8443/job/UX-CHI/job/Productive/job/Chi/job/PR-1942/5/. ❌

@lumen-jenkins-prod
Copy link

The CI pipeline did not run successfully in https://jenkinsprod.corp.intranet:8443/job/UX-CHI/job/Productive/job/Chi/job/PR-1942/6/. ❌

@lumen-jenkins-prod
Copy link

The CI pipeline did not run successfully in https://jenkinsprod.corp.intranet:8443/job/UX-CHI/job/Productive/job/Chi/job/PR-1942/7/. ❌

@lumen-jenkins-prod
Copy link

The CI pipeline did not run successfully in https://jenkinsprod.corp.intranet:8443/job/UX-CHI/job/Productive/job/Chi/job/PR-1942/8/. ❌

@lumen-jenkins-prod
Copy link

The CI pipeline did not run successfully in https://jenkinsprod.corp.intranet:8443/job/UX-CHI/job/Productive/job/Chi/job/PR-1942/9/. ❌

@lumen-jenkins-prod
Copy link

The CI pipeline did not run successfully in https://jenkinsprod.corp.intranet:8443/job/UX-CHI/job/Productive/job/Chi/job/PR-1942/11/. ❌

@lumen-jenkins-prod
Copy link

The CI pipeline did not run successfully in https://jenkinsprod.corp.intranet:8443/job/UX-CHI/job/Productive/job/Chi/job/PR-1942/12/. ❌

@lumen-jenkins-prod
Copy link

The CI pipeline did not run successfully in https://jenkinsprod.corp.intranet:8443/job/UX-CHI/job/Productive/job/Chi/job/PR-1942/13/. ❌

@lumn-sonarent
Copy link

lumn-sonarent bot commented Feb 19, 2026

SonarQube Quality Gate

Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

@lumen-jenkins-prod
Copy link

The CI pipeline has run successfully in https://jenkinsprod.corp.intranet:8443/job/UX-CHI/job/Productive/job/Chi/job/PR-1942/14/. ✅

@lumen-jenkins-prod
Copy link

You can check this PRs instance in https://nginx-pr-1942-ux-chi.rke-odc-test.corp.intranet (internal)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants