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

docs: Fix bad path in customization #279

Merged
merged 1 commit into from
Dec 26, 2022
Merged

Conversation

mattcroat
Copy link
Contributor

The example on the customization page for importing components is wrong and should use the proper path in node_modules.

// Import needed components
- @import "@picocss/pico/scss/pico/layout/document";
+ @import "@picocss/pico/scss/layout/document";
- @import "@picocss/pico/scss/pico/layout/sectioning";
+ @import "@picocss/pico/scss/layout/sectioning";

The example on the [customization page](https://picocss.com/docs/customization.html) for importing components is wrong and should use the proper path in `node_modules`.
```diff
// Import needed components
- @import "@picocss/pico/scss/pico/layout/document";
+ @import "@picocss/pico/scss/layout/document";
- @import "@picocss/pico/scss/pico/layout/sectioning";
+ @import "@picocss/pico/scss/layout/sectioning";
````
@lucaslarroche
Copy link
Member

Hi @mattcroat,
Thank you, good find.
I will merge your PR into dev, then I will add a few more fixes before merging into master.

@lucaslarroche lucaslarroche changed the base branch from master to dev December 26, 2022 07:03
@lucaslarroche lucaslarroche merged commit bce1bee into picocss:dev Dec 26, 2022
@lucaslarroche lucaslarroche mentioned this pull request Dec 26, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants