Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(css): add support for the subtle color map #30306

Merged
merged 27 commits into from
Apr 11, 2025
Merged

feat(css): add support for the subtle color map #30306

merged 27 commits into from
Apr 11, 2025

Conversation

brandyscarney
Copy link
Member

@brandyscarney brandyscarney commented Mar 26, 2025

Issue number: internal


What is the current behavior?

The colors are only available in bold colors.

What is the new behavior?

Adds support for a subtle hue to the colors map, generating all of the same variants but in more subtle colors. This only applies for the ionic theme. Adds an additional variant, foreground to be used by components when the color is being used for text.

The ios and md themes do not add the foreground variant because this would be a breaking change, requiring all color overrides, palettes, and new colors to include this variant. I have added tests to make sure they still work without it.

Does this introduce a breaking change?

  • Yes
  • No

No changes are made to the existing colors.

Other information

Preview

Copy link

vercel bot commented Mar 26, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
ionic-framework ✅ Ready (Inspect) Visit Preview 💬 Add feedback Apr 10, 2025 6:40pm

Copy link
Contributor

@thetaPC thetaPC left a comment

Choose a reason for hiding this comment

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

LGTM

@brandyscarney brandyscarney merged commit 207d485 into next Apr 11, 2025
48 checks passed
@brandyscarney brandyscarney deleted the FW-6252 branch April 11, 2025 16:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
package: core @ionic/core package
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants