Skip to content

Conversation

@thetaPC
Copy link
Contributor

@thetaPC thetaPC commented Nov 19, 2025

Issue number: resolves #


What is the current behavior?

What is the new behavior?

Does this introduce a breaking change?

  • Yes
  • No

Other information

@vercel
Copy link

vercel bot commented Nov 19, 2025

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

Project Deployment Preview Comments Updated (UTC)
ionic-framework Ready Ready Preview Comment Nov 27, 2025 3:49am

@github-actions github-actions bot added the package: core @ionic/core package label Nov 19, 2025
// TODO: ADD TYPE
export const darkPrimitiveColors = {
// TODO: Update hex values to use the text color variable and background color variable
gray: generateColorSteps('#ffffff', '#000', true),
Copy link
Contributor Author

Choose a reason for hiding this comment

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

I decided to use white and black for the base because base should be as simple as possible.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Created this file so these colors can be exported to iOS since iOS uses the same gray colors. I didn't think we needed duplicate code (one for base and one for iOS) when the colors are the same.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Created this file so these colors can be exported to iOS since iOS uses the same gray colors. I didn't think we needed duplicate code (one for base and one for iOS) when the colors are the same.

// TODO: ADD TYPE
export const defaultPrimitiveColors = {
// TODO: Update hex values to use the text color variable and background color variable
gray: generateColorSteps('#fff', '#000'),
Copy link
Contributor Author

Choose a reason for hiding this comment

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

I decided to use white and black for the base because base should be as simple as possible.

},
components: {
IonBreadcrumb: {
separatorColor: '#73849a',
Copy link
Contributor Author

Choose a reason for hiding this comment

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

All 3 themes use this color so the variable is being set at base.

background: '#000000',
},
IonBreadcrumb: {
separatorColor: colors.gray['550']!,
Copy link
Contributor Author

Choose a reason for hiding this comment

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

All themes use a variable to set separator color. I decided to use the color that iOS uses since it uses the simple gray token steps (black and white). But md and ionic would need to override the colors since they use something else.

separatorColor: colors.gray['550']!,
},
IonDatetimeButton: {
bg: colors.gray['300']!,
Copy link
Contributor Author

Choose a reason for hiding this comment

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

All themes use a variable to set separator color. I decided to use the color that iOS uses since it uses the simple gray token steps (black and white). But md and ionic would need to override the colors since they use something else.

font-size: 12px;
font-weight: normal;

color: var(--ion-color-step-600);
Copy link
Contributor Author

Choose a reason for hiding this comment

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

This wasn't being used anywhere.

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.

2 participants