whitepapertools / whitepaper-bem Goto Github PK
View Code? Open in Web Editor NEWDesign System Library
Home Page: https://whitepaper.tools
License: MIT License
Design System Library
Home Page: https://whitepaper.tools
License: MIT License
MIT https://github.com/whitepapertools/whitepaper-bem/blob/master/LICENSE
ISC https://github.com/whitepapertools/whitepaper-bem/blob/master/package.json
Актуализируйте информацию о лицензии, пожалуйста.
https://github.com/whitepapertools/whitepaper-bem/blob/master/pt-form/__item/_indent-t/pt-form__item_indent-t_s.post.css#L1
Вместо .pt-form__item_indent-v_s
должно быть .pt-form__item_indent-t_s
.
в social-icon_name_twitter.bemhtml.js не свои иконки
На проекте подключен stylelint, но при запуске он выдаёт 1180 ошибок из них 354 не фиксятся автоматом. Давайте настроим как надо stylelint, пофиксим ошибки и добавим husky/lint-staged на precommit хук.
Можно ещё добавить prettier.
This domain has expired. If you owned this domain, contact your domain registration service provider for further assistance. If you need help identifying your provider, visit https://www.tucowsdomains.com/
в social-icon_name_codepen.bemhtml.js лежат не свои иконки
в social-icon_name_instagram.bemhtml.js чужие иконки и имя github
в social-icon_name_github.bemhtml.js лежат не свои иконки
в social-icon_name_facebook.bemhtml.js лежат не свои иконки
Сейчас при выводе картинки запихиванием её внутрь avatar__photo
(описано тут) она не масштабируется под выбранный размер аватарки. На неё навешен класс image, но стилей нет. Можно добавить стилей классу image или avatar__photo, чтоб картинка масштабировалась.
А вообще, хочется упростить использование своей картинки в аватарке. Например, передавать url картинки непосредственно в avatar__photo
. Зачем класть ее внутрь, если можно отобразить в самом элементе.
Побочным профитом будет упрощение и унификация (c иконкой) использования компонентов в реакте (whitepaper-react).
Иконка:
<Icon name="comment" size="m" />
Аватарка сейчас:
<AvatarPhoto size="s">
<img className="image" src="…" alt="" />
</AvatarPhoto>
Аватарка будет:
<AvatarPhoto url="…" size="s" />
В этом репозитории только css, но нет скрипта сборки. Как получается whitepaper.css?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.