Skip to content

Conversation

@brandyscarney
Copy link
Member

Issue number: internal


What is the current behavior?

The mixins file is not using prefixing the string functions, resulting in the string function file needing to be imported to work in the *.common.scss files.

What is the new behavior?

Properly prefix the string function calls.

Does this introduce a breaking change?

  • Yes
  • No

Other information

Steps to test:

  1. Switch to the next branch
  2. Navigate to the core directory in your terminal and run the local server
  3. Open all *.common.scss files that import the following line and remove it:
    @import "../../themes/functions.string";
  4. See the error in the terminal: $n: Invalid index 2 for a list with 1 elements.
  5. Switch to this branch, see the error is gone without the imports

@vercel
Copy link

vercel bot commented Oct 31, 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 Oct 31, 2024 5:26pm

@github-actions github-actions bot added the package: core @ionic/core package label Oct 31, 2024
@brandyscarney brandyscarney marked this pull request as ready for review October 31, 2024 16:37
@brandyscarney brandyscarney requested a review from a team as a code owner October 31, 2024 16:37
@brandyscarney brandyscarney changed the title fix(scss): properly prefix string imports refactor(scss): properly prefix string imports Oct 31, 2024
@brandyscarney brandyscarney merged commit ca091e2 into next Oct 31, 2024
47 checks passed
@brandyscarney brandyscarney deleted the fix-scss-imports branch October 31, 2024 18:16
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.

3 participants