Skip to content

Commit 941194b

Browse files
committed
1.2.2 changes
1 parent d068fac commit 941194b

33 files changed

+162
-68862
lines changed

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@
55
.next/
66
.sass-cache
77
.stylelintcache
8+
.parcel-cache/
9+
.cache
810
node_modules/
911
tmp/
12+
dist/
1013
package-lock.json

README.md

Lines changed: 55 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -29,41 +29,86 @@ npm install @webpixels/css@latest bootstrap@latest --save-dev
2929

3030
This will automatically install the latest Bootstrap version, so you don't need to do that manually.
3131

32-
## Import the styles into your CSS
32+
## Create the Sass files
3333

34-
In your main.scss, you’ll import the source Sass files. Bootstrap is automatically loaded when you use the source files, so you don't need to worry about what Bootstrap files should you incorporate in your styles.
34+
In your `scss` folder create two new files and name them:
35+
36+
- main.scss
37+
- utility.scss
3538

36-
You have two options: include all of styles at once:
39+
### Import the base styles and components
40+
41+
In your main.scss, you’ll import the source Sass files. Bootstrap is automatically loaded when you use the source files, so you don't need to worry about what Bootstrap files should you incorporate in your styles.
3742

3843
```scss
39-
@import "@webpixels/css";
44+
@import "@webpixels/css/base";
45+
@import "@webpixels/css/forms";
46+
47+
// Load all the components
48+
@import "@webpixels/css/components";
4049
```
4150

4251
or pick the parts you need:
4352

4453
```scss
4554
@import "@webpixels/css/base";
4655
@import "@webpixels/css/forms";
47-
@import "@webpixels/css/components";
56+
57+
// Load only the components you use
58+
@import "@webpixels/css/components/alerts";
59+
@import "@webpixels/css/components/avatars";
60+
@import "@webpixels/css/components/buttons";
61+
@import "@webpixels/css/components/navbars";
62+
@import "@webpixels/css/components/cards";
63+
```
64+
65+
[**Click here**](https://github.com/webpixels/css/blob/master/src/components/_index.scss) to see the complete list of available components.
66+
67+
### Import the utility classes
68+
69+
In Webpixels CSS you'll notice that we don't create custom styles, but rather make use of the utility classes. We are using the new Bootstrap Utility API to generate a comprehensive list of classes.
70+
71+
In your utility.scss you'll import all the utilities:
72+
73+
```scss
4874
@import "@webpixels/css/utilities";
4975
```
5076

5177
## Documentation
5278

53-
Check out our [documentation website](https://webpixels.io/docs).
79+
Check out our [documentation website](https://webpixels.io/docs?ref=github).
80+
81+
## Integrations
82+
83+
If you want to see how it works, check out these functional examples of using Bootstrap and Webpixels CSS in common JS frameworks like Webpack, Parcel, Vite, and more!
84+
85+
[See all integrations](https://github.com/webpixels/css/tree/master/integrations)
5486

55-
## UI Components
87+
## Detailed UI components library
5688

57-
Explore, copy, use and mix hundreds of carefully crafted components made just for Bootstrap. [Explore components](https://webpixels.io/components)
89+
Explore, copy, use and mix hundreds of carefully crafted components made just for Bootstrap.
90+
91+
[Explore components](https://webpixels.io/components?ref=github)
92+
93+
## Beautiful designer-made templates
94+
95+
Get your new web design project started with these amazing templates, or copy and paste elements into your existing projects to give them a creative boost.
96+
97+
[Explore templates](https://webpixels.io/templates?ref=github)
5898

5999
## Community
60100

61101
Get updates on the development of our CSS tool and chat with the project maintainers and community members.
62102

63-
- Follow [@webpxs](https://twitter.com/intent/user?screen_name=webpxs) on Twitter
103+
- Follow [@webpixels_](https://twitter.com/intent/user?screen_name=webpxs) on Twitter
104+
- Get inspired through our designs on [Dribbble](https://dribbble.com/webpixels)
64105
- Read and subscribe to [The Official Webpixels Blog](https://webpixels.io/blog)
65106
- Join [Github Discussions](https://github.com/webpixels/css/discussions)
66107

108+
## Thank you
109+
110+
- [Mark Otto and the Team](https://github.com/twbs/bootstrap)
111+
67112
## License
68113

69-
Webpixels CSS is open-sourced software licensed under the [MIT license](https://github.com/webpixels/css/blob/master/LICENSE).
114+
Made with ❤️ by [Webpixels](https://webpixels.io?ref=github). Webpixels CSS is open-sourced software licensed under the [MIT license](https://github.com/webpixels/css/blob/master/LICENSE).

dist/index.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/index.css.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/main.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/main.css.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/utility.css.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)