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

Can't import scss file #1435

Closed
3 tasks done
wouterrutgers opened this issue Jan 24, 2025 · 0 comments
Closed
3 tasks done

Can't import scss file #1435

wouterrutgers opened this issue Jan 24, 2025 · 0 comments
Labels

Comments

@wouterrutgers
Copy link

wouterrutgers commented Jan 24, 2025

Prerequisites

  • I am running the latest version
  • I checked the documentation and found no answer
  • I checked to make sure that this issue has not already been filed

💥 Demo Page

React issue template:
https://codesandbox.io/s/tagify-react-issue-template-4ub1r?file=/src/index.js

I can't fork the above template. But if you open it and replace the CSS with:

$tags-border-color: transparent;
$tags-hover-border-color: transparent;
$tags-focus-border-color: transparent;

@import '@yaireo/tagify/src/tagify.scss';

You will get compilaton errors.

Explanation

  • What is the expected behavior?
    I can still import the scss file, to altar the scss variables.

  • What is happening instead?
    Compilation error.

  • What error message are you getting?

Image

I'm not up to date with the exports property in the package.json file, but would it be as simple to add the src/tagify.scss to that list of files?

@yairEO yairEO added the Bug label Jan 26, 2025
@yairEO yairEO mentioned this issue Jan 26, 2025
@yairEO yairEO closed this as completed in 311dc0e Jan 26, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants