You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -41,37 +41,21 @@ In your `scss` folder create two new files and name them:
41
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.
42
42
43
43
```scss
44
-
@import"@webpixels/css/base";
45
-
@import"@webpixels/css/forms";
44
+
// Functions
45
+
@import"bootstrap/scss/functions";
46
46
47
-
//Load all the components
48
-
@import"@webpixels/css/components";
47
+
//Main
48
+
@import"@webpixels/css/main";
49
49
```
50
50
51
-
or pick the parts you need:
52
-
53
-
```scss
54
-
@import"@webpixels/css/base";
55
-
@import"@webpixels/css/forms";
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/scss/components/_index.scss) to see the complete list of available components.
66
-
67
51
### Import the utility classes
68
52
69
53
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
54
71
55
In your utility.scss you'll import all the utilities:
72
56
73
57
```scss
74
-
@import"@webpixels/css/utilities";
58
+
@import"@webpixels/css/utility";
75
59
```
76
60
77
61
## Documentation
@@ -107,7 +91,7 @@ Get updates on the development of our CSS tool and chat with the project maintai
107
91
108
92
## Thank you
109
93
110
-
-[Mark Otto and the Team](https://github.com/twbs/bootstrap)
0 commit comments