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(select): add ionic theme styles #29989

Merged
merged 15 commits into from
Nov 7, 2024
Merged

feat(select): add ionic theme styles #29989

merged 15 commits into from
Nov 7, 2024

Conversation

thetaPC
Copy link
Contributor

@thetaPC thetaPC commented Nov 1, 2024

Issue number: internal


What is the current behavior?

ion-select does not have styles for ionic theme.

What is the new behavior?

  • Added styles for ionic theme specifically for the outline fill, stacked label placement: typography, spacing, default size, default shape, colors, and disabled state
  • Added snapshots

Does this introduce a breaking change?

  • Yes
  • No

Other information

Some of the select components will look unfinished since this PR targets outline, stacked label.

Previews:

Copy link

vercel bot commented Nov 1, 2024

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 Nov 7, 2024 7:37pm

@thetaPC thetaPC marked this pull request as ready for review November 6, 2024 00:52
@thetaPC thetaPC requested a review from a team as a code owner November 6, 2024 00:52
@thetaPC thetaPC requested a review from joselrio November 6, 2024 00:52
Copy link
Member

@tanner-reits tanner-reits left a comment

Choose a reason for hiding this comment

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

Think all looks good AFAICT

@@ -0,0 +1,185 @@
@use "../../themes/ionic/ionic.globals.scss" as globals;
@use "./select.common";
@use "./select.ionic.outline" as outline;
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
@use "./select.ionic.outline" as outline;
@use "./select.ionic.outline";

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 is necessary to keep else Sass throws this error:
Screenshot 2024-11-07 at 11 33 11 AM

@thetaPC thetaPC merged commit 9e30629 into next Nov 7, 2024
46 checks passed
@thetaPC thetaPC deleted the ROU-11314 branch November 7, 2024 21:33
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