-
Notifications
You must be signed in to change notification settings - Fork 45
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: Доки чеклист code review & css-переменные #121
Conversation
Собрана новая демка. |
Собрана новая демка. |
@@ -31,69 +33,109 @@ import shadowsIndigo from '!!raw-loader!./shadows-indigo.css'; | |||
```css | |||
@import '@alfalab/core-components/vars'; | |||
``` | |||
Для удобства использования все CSS-переменные экспортируются в виде JS-переменных: | |||
|
|||
Все CSS-переменные можно также экспортировать в виде JS-переменных: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Думаю, это можно куда-то в конец)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Я сейчас использую styled-components и прям удобно сверху доков брать этот импорт
@Oladii есть что причесать в доках, запиши в бэклог, пожалуйста) |
Чуть-чуть воздуха бы добавить в оформление чек-листов)) @Oladii |
docs/15.code-review.stories.mdx
Outdated
Иначе переменные в сборке не будут работать. | ||
- При использовании других компонент из библиотеки необходимо следить, | ||
чтобы импорт начинался с `@alfalab`. | ||
> При использовании автоимпорта, иногда происходит ошибка ипорта из локальной папки `../component/src`. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Оформление сломалось
Собрана новая демка. |
🎉 This PR is included in version 28.3.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
🚀