|
29 | 29 | // If using features such as custom properties, those that are global
|
30 | 30 | // custom properties should be described in this section.
|
31 | 31 |
|
| 32 | +// Most likely, these will be imported via @use in other files, not |
| 33 | +// included in this entry point file. |
| 34 | + |
32 | 35 | // =====================================================================
|
33 | 36 | // 2. Tools
|
34 | 37 | // This section is specifically for preprocessor global mixins and
|
35 | 38 | // functions. No CSS should be generated by the preprocessor from
|
36 | 39 | // partials in this section.
|
37 | 40 |
|
| 41 | +// Most likely, these will be imported via @use in other files, not |
| 42 | +// included in this entry point file. |
| 43 | + |
38 | 44 | // =====================================================================
|
39 | 45 | // 3. Generic
|
40 | 46 | // Here we define any generic styles that are not specific to the styles of
|
41 | 47 | // the site. This section should include any Reset or Normalize libraries
|
42 | 48 | // and any preferential base styles for elements. There shouldn’t be any
|
43 | 49 | // classes or ids used in this section.
|
44 |
| -@import 'generic/reset'; |
| 50 | +@forward 'generic/reset'; |
45 | 51 |
|
46 | 52 | // =====================================================================
|
47 | 53 | // 4. Elements
|
48 | 54 | // Styling for bare HTML elements (like H1, A, etc.). These come with
|
49 | 55 | // default styling from the browser so we can redefine them here.
|
50 |
| -@import 'elements/root'; |
51 |
| -@import 'elements/a'; |
52 |
| -@import 'elements/h1-6'; |
53 |
| -@import 'elements/p'; |
| 56 | +@forward 'elements/root'; |
| 57 | +@forward 'elements/a'; |
| 58 | +@forward 'elements/h1-6'; |
| 59 | +@forward 'elements/p'; |
54 | 60 |
|
55 | 61 | // =====================================================================
|
56 | 62 | // 5. Objects
|
57 | 63 | // Class-based selectors which define undecorated design patterns,
|
58 | 64 | // for example media object known from OOCSS.
|
59 |
| -@import 'object/width-limiter'; |
| 65 | +@forward 'object/width-limiter'; |
60 | 66 |
|
61 | 67 | // =====================================================================
|
62 | 68 | // 6. Components
|
63 | 69 | // Specific UI components. This is where majority of our work takes place
|
64 | 70 | // and our UI components are often composed of Objects and Components
|
65 |
| -@import 'components/main-nav'; |
66 |
| -@import 'components/pagination'; |
67 |
| -@import 'components/post-preview'; |
68 |
| -@import 'components/primary-sidebar'; |
69 |
| -@import 'components/post-body'; |
70 |
| -@import 'components/skip-to-content'; |
71 |
| -@import 'components/sticky-footer'; |
| 71 | +@forward 'components/main-nav'; |
| 72 | +@forward 'components/pagination'; |
| 73 | +@forward 'components/post-preview'; |
| 74 | +@forward 'components/primary-sidebar'; |
| 75 | +@forward 'components/post-body'; |
| 76 | +@forward 'components/skip-to-content'; |
| 77 | +@forward 'components/sticky-footer'; |
72 | 78 |
|
73 | 79 | // =====================================================================
|
74 | 80 | // 7. Vendors
|
|
81 | 87 | // 8. Utilities
|
82 | 88 | // Utilities and helper classes with ability to override anything
|
83 | 89 | // which goes before in the triangle, eg. hide helper class
|
84 |
| -@import 'utilities/visually-hidden'; |
| 90 | +@forward 'utilities/visually-hidden'; |
0 commit comments