@oardi/css-utils 0.69.0 → 0.70.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@oardi/css-utils",
3
- "version": "0.69.0",
3
+ "version": "0.70.0",
4
4
  "author": "Ardian Shala",
5
5
  "homepage": "https://css-utils.oardi.com",
6
6
  "description": "Powerful set of semantic css classes with support for breakpoints, directions and spacings",
package/readme.md CHANGED
@@ -25,29 +25,16 @@ CSS Utils provides utility classes, responsive helpers and reusable component st
25
25
  npm i @oardi/css-utils
26
26
  ```
27
27
 
28
- ### Create a layer order
29
-
30
- To ensure correct cascade layer ordering, create a `layers.scss` file:
31
-
32
- ```scss
33
- @layer reset, base, components, utilities;
34
- ```
35
-
36
- Import it before the library styles:
37
-
38
- ```scss
39
- @use 'layers.scss';
40
- // ...
41
- ```
42
-
43
28
  ### Import the library
44
29
 
45
- Import the full library with all utilities, responsive helpers and component styles:
30
+ Load the full library once in your global stylesheet:
46
31
 
47
32
  ```scss
48
33
  @use '@oardi/css-utils/scss/index.scss';
49
34
  ```
50
35
 
36
+ CSS Utils includes its cascade order automatically: `reset`, `base`, `components`, then `utilities`. This lets utility classes adjust component styles without additional setup.
37
+
51
38
  ## Usage
52
39
 
53
40
  ### Utility classes
package/scss/index.scss CHANGED
@@ -1,3 +1,4 @@
1
+ @forward './layers.scss';
1
2
  @forward './reboot.scss';
2
3
  @forward './theme.scss';
3
4
  @forward './variables.scss';
@@ -0,0 +1 @@
1
+ @layer reset, base, components, utilities;