Skip to content

feat(themes): remove deprecated color steps and update bg and text steps#31035

Merged
thetaPC merged 6 commits intoionic-modularfrom
FW-6751-pt3
Mar 26, 2026
Merged

feat(themes): remove deprecated color steps and update bg and text steps#31035
thetaPC merged 6 commits intoionic-modularfrom
FW-6751-pt3

Conversation

@thetaPC
Copy link
Contributor

@thetaPC thetaPC commented Mar 24, 2026

Issue number: internal


What is the current behavior?

Code still references the deprecated color steps.

What is the new behavior?

  • Removed the color steps
  • Upgraded the stepped test page to view the background steps and text steps easier.
  • Added a function to generate the stepped colors

Does this introduce a breaking change?

  • Yes
  • No
  • The deprecated color step CSS variables, --ion-color-step-[number], have been removed and should be replaced with either --ion-background-color-step-[number] or --ion-text-color-step-[number] depending on the specific use case, as outlined in the migration guide.

Other information

Preview

@vercel
Copy link

vercel bot commented Mar 24, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
ionic-framework Ready Ready Preview, Comment Mar 26, 2026 4:09pm

Request Review

@github-actions github-actions bot added package: core @ionic/core package package: angular @ionic/angular package package: react @ionic/react package labels Mar 24, 2026
@thetaPC thetaPC changed the title feat(themes): remove deprecated color steps feat(themes): remove deprecated color steps and update bg and text stepped colors Mar 24, 2026
@thetaPC thetaPC changed the title feat(themes): remove deprecated color steps and update bg and text stepped colors feat(themes): remove deprecated color steps and update bg and text steps Mar 24, 2026
@thetaPC thetaPC marked this pull request as ready for review March 24, 2026 23:15
@thetaPC thetaPC requested a review from a team as a code owner March 24, 2026 23:15
@thetaPC thetaPC requested review from BenOsodrac and brandyscarney and removed request for BenOsodrac March 24, 2026 23:15
Copy link
Member

@brandyscarney brandyscarney left a comment

Choose a reason for hiding this comment

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

Looks good! 💯

Copy link
Member

@ShaneK ShaneK left a comment

Choose a reason for hiding this comment

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

This looks all good to me, great work!

@thetaPC thetaPC merged commit 863c21f into ionic-modular Mar 26, 2026
49 checks passed
@thetaPC thetaPC deleted the FW-6751-pt3 branch March 26, 2026 16:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

package: angular @ionic/angular package package: core @ionic/core package package: react @ionic/react package

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants