canonical / canonical/vanilla-framework

[Bug]: Import error for Typography

Open
#5,675 2 comments 0 reactions 0 assignees View on GitHub
Bug 🐛
Dominant language
HTML
Stars
983
Forks
216
Avg merge
3d 13h
Merged PRs (30d)
3

Description

**Describe the bug**

On the documentation for [Typography](https://vanillaframework.io/docs/base/typography#import), the import does not work
`@import 'patterns_headings';`

**To Reproduce**

Steps to reproduce the behavior:

1. Run a project that imports vanilla i.e [cookie-policy](https://github.com/canonical/cookie-policy/)
2. Import the stylesheet
3. See error

Image

**Expected behavior**

The provided import on documentation should locate the stylesheet correctly

**Screenshots**

If applicable, add screenshots to help explain your problem.

**Desktop (please complete the following information):**

- OS: [e.g. iOS]
- Browser [e.g. chrome, safari]
- Version [e.g. 22]

**Smartphone (please complete the following information):**

- Device: [e.g. iPhone6]
- OS: [e.g. iOS8.1]
- Browser [e.g. stock browser, safari]
- Version [e.g. 22]

**Additional context**

Add any other context about the problem here.

Contributor guide

Open the contributing guide

Research direction

Start with the Typography documentation import section and reproduce the issue in the linked cookie-policy project using `@import 'patterns_headings';`. Check whether the documented import resolves the Typography stylesheet without an error; done means the provided import works as documented.

Written by the indexing model from the issue text.

Assessment

Tech stack
sass
Domain
documentation, frontend
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.