@oardi/css-utils 0.41.0 → 0.42.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.41.0",
3
+ "version": "0.42.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",
@@ -1,9 +1,4 @@
1
1
  :root {
2
- --line-height: 1.7;
3
- --font-size: 16px;
4
- --font-weight: 400;
5
- --font-family: 'Inter', sans-serif;
6
-
7
2
  --h1: 500 2.25rem var(--font-family);
8
3
  --h2: 500 2rem var(--font-family);
9
4
  --h3: 500 1.45rem var(--font-family);
@@ -101,19 +101,51 @@
101
101
  width: 100% !important;
102
102
  }
103
103
 
104
+ .rounded {
105
+ border-radius: var(--border-radius);
106
+ }
107
+
108
+ .rounded-sm {
109
+ border-radius: var(--border-radius-sm);
110
+ }
111
+
112
+ .rounded-lg {
113
+ border-radius: var(--border-radius-lg);
114
+ }
115
+
116
+ .rounded-pill {
117
+ border-radius: 9999px;
118
+ }
119
+
104
120
  .rounded-circle {
105
121
  border-radius: 50% !important;
106
122
  }
107
123
 
108
- .rounded {
109
- border-radius: var(--border-radius) !important;
124
+ .rounded-top {
125
+ border-top-right-radius: var(--border-radius);
126
+ border-top-left-radius: var(--border-radius);
127
+ }
128
+
129
+ .rounded-bottom {
130
+ border-bottom-right-radius: var(--border-radius);
131
+ border-bottom-left-radius: var(--border-radius);
132
+ }
133
+
134
+ .rounded-start {
135
+ border-top-left-radius: var(--border-radius);
136
+ border-bottom-left-radius: var(--border-radius);
137
+ }
138
+
139
+ .rounded-end {
140
+ border-top-right-radius: var(--border-radius);
141
+ border-bottom-right-radius: var(--border-radius);
110
142
  }
111
143
 
112
- .rounded-50 {
113
- border-radius: 50px !important;
144
+ .rounded-0 {
145
+ border-radius: 0;
114
146
  }
115
147
 
116
- .shadow-none {
148
+ .shadow-0 {
117
149
  box-shadow: none !important;
118
150
  }
119
151
 
@@ -31,6 +31,11 @@
31
31
  --spacer-#{$name}: #{$value};
32
32
  }
33
33
 
34
+ --line-height: 1.7;
35
+ --font-size: 16px;
36
+ --font-weight: 400;
37
+ --font-family: 'Inter', sans-serif;
38
+
34
39
  --body-bg-color: var(--gray-50);
35
40
 
36
41
  --bg-surface: var(--white);
@@ -45,7 +50,10 @@
45
50
 
46
51
  --border-width: 1px;
47
52
  --border-color: var(--gray-100);
48
- --border-radius: 8px;
53
+
54
+ --border-radius-sm: 0.25rem;
55
+ --border-radius: 0.5rem;
56
+ --border-radius-lg: 0.75rem;
49
57
 
50
58
  --disabled-font-color: var(--gray-600);
51
59
  --disabled-bg-color: var(--gray-300);