@oardi/css-utils 0.27.1 → 0.27.2

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.27.1",
3
+ "version": "0.27.2",
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/scss/index.scss CHANGED
@@ -1,26 +1,26 @@
1
- @use './theme.scss';
2
- @use './variables.scss';
3
- @use './reboot.scss';
4
- @use './typography.scss';
5
- @use './utilities.scss';
6
- @use './spacings.scss';
7
- @use './spacings-responsive.scss';
8
- @use './flex.scss';
9
- @use './flex-responsive.scss';
10
- @use './grid.scss';
11
- @use './grid-responsive.scss';
1
+ @forward './theme.scss';
2
+ @forward './variables.scss';
3
+ @forward './reboot.scss';
4
+ @forward './typography.scss';
5
+ @forward './utilities.scss';
6
+ @forward './spacings.scss';
7
+ @forward './spacings-responsive.scss';
8
+ @forward './flex.scss';
9
+ @forward './flex-responsive.scss';
10
+ @forward './grid.scss';
11
+ @forward './grid-responsive.scss';
12
12
 
13
- @use './components/breadcrumb.scss';
14
- @use './components/button.scss';
15
- @use './components/card.scss';
16
- @use './components/chip.scss';
17
- @use './components/drawer.scss';
18
- @use './components/expansion-panel.scss';
19
- @use './components/form.scss';
20
- @use './components/icon-button.scss';
21
- @use './components/list.scss';
22
- @use './components/navbar.scss';
23
- @use './components/overlay.scss';
24
- @use './components/tabs.scss';
25
- @use './components/table.scss';
26
- @use './components/toast.scss';
13
+ @forward './components/breadcrumb.scss';
14
+ @forward './components/button.scss';
15
+ @forward './components/card.scss';
16
+ @forward './components/chip.scss';
17
+ @forward './components/drawer.scss';
18
+ @forward './components/expansion-panel.scss';
19
+ @forward './components/form.scss';
20
+ @forward './components/icon-button.scss';
21
+ @forward './components/list.scss';
22
+ @forward './components/navbar.scss';
23
+ @forward './components/overlay.scss';
24
+ @forward './components/tabs.scss';
25
+ @forward './components/table.scss';
26
+ @forward './components/toast.scss';
package/scss/theme.scss CHANGED
@@ -1,4 +1,6 @@
1
- $theme: (
1
+ @use 'sass:map';
2
+
3
+ $default-theme: (
2
4
  colors: (
3
5
  primary: #715acd,
4
6
  secondary: #595959,
@@ -67,4 +69,8 @@ $theme: (
67
69
  xl: 1200px,
68
70
  xxl: 1400px,
69
71
  ),
70
- ) !default;
72
+ );
73
+
74
+ $theme: () !default; // user overrides via with()
75
+
76
+ $theme: map.deep-merge($default-theme, $theme);
@@ -84,13 +84,17 @@ bg-light(top)?
84
84
  }
85
85
 
86
86
  .rounded-circle {
87
- border-radius: 50%;
87
+ border-radius: 50% !important;
88
88
  }
89
89
 
90
90
  .rounded {
91
91
  border-radius: var(--border-radius) !important;
92
92
  }
93
93
 
94
+ .rounded-50 {
95
+ border-radius: 50px !important;
96
+ }
97
+
94
98
  .shadow-none {
95
99
  box-shadow: none !important;
96
100
  }
@@ -1,6 +1,6 @@
1
1
  @use 'sass:color';
2
2
  @use 'sass:map';
3
- @use './theme.scss';
3
+ @use './theme.scss' as theme;
4
4
 
5
5
  :root {
6
6
  @each $name, $value in map.get(theme.$theme, colors) {