-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1 from monsieurbiz/readme-update
Update readme with more detailed information about the project
- Loading branch information
Showing
1 changed file
with
45 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,51 @@ | ||
# Bricks frontend framework | ||
<p align="center"> | ||
<a href="https://monsieurbiz.com" target="_blank"> | ||
<img src="https://monsieurbiz.com/logo.png" width="250px" alt="Monsieur Biz logo" /> | ||
</a> | ||
</p> | ||
|
||
Frontend framework to build awesome interfaces for your next e-commerce project. | ||
<h1 align="center">Bricks frontend framework</h1> | ||
|
||
[Storybook](https://storybook.js.org/) is used to present the documentations and components. Use the following commands to visualize locally: | ||
[![Bricks framework license](https://img.shields.io/github/license/monsieurbiz/bricks-framework?public)](https://github.com/monsieurbiz/bricks-framework/blob/master/LICENSE) | ||
[![GitHub Super-Linter](https://github.com/monsieurbiz/bricks-framework/workflows/Lint%20Code%20Base/badge.svg)](https://github.com/monsieurbiz/bricks-framework/actions?query=workflow%3A%22Lint+Code+Base%22) | ||
|
||
``` | ||
Bricks is a frontend framework to build awesome interfaces for your next e-commerce project. It is currently used at [Monsieur Biz](https://monsieurbiz.com/) to build our projects. | ||
|
||
[Storybook](https://storybook.js.org/) is used to present the documentation and components. You can visualize it at [monsieurbiz.com/bricks-framework](https://monsieurbiz.com/bricks-framework/) | ||
|
||
![Storybook canvas and corresponding css code of a component](https://user-images.githubusercontent.com/713839/102231177-f98ef900-3eed-11eb-8969-88d643df4f79.png) | ||
|
||
## Installation | ||
|
||
Use the following commands to visualize locally: | ||
|
||
```shell | ||
npm install | ||
npm run storybook | ||
``` | ||
|
||
## How it works | ||
|
||
Very basic right now, it will evolve continuously. The main philosophy of the framework is to offer a mixed approach between [BEM](http://getbem.com/) and a utility-first framework like [Tailwindcss](https://tailwindcss.com/). The goal is to offer a rich variety of full featured components and the efficiency of the utility classes. | ||
|
||
### Styles | ||
|
||
[Sass](https://sass-lang.com/) is used to write the styles. | ||
|
||
#### Architecture | ||
|
||
- `settings`: Global variables, project-wide settings, etc. | ||
- `tools`: Project-wide mixins, functions and placeholders. | ||
- `elements`: Low-specificity, far-reaching rulesets and unclassed HTML elements. | ||
- `objects`: Objects, abstractions, and design patterns. | ||
- `components`: Complete chunks of UI. | ||
- `utilities`: High-specificity, very explicit selectors. | ||
|
||
## Contributing | ||
|
||
From the core to the documentation, you're very welcome to contribute by opening an issue or a Pull Request if you want! 😘 | ||
Thank you! | ||
|
||
## License | ||
|
||
This framework is completely free and released under the [MIT License](https://github.com/monsieurbiz/bricks-framework/blob/master/LICENSE). |