@oardi/css-utils 0.40.2 → 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 +1 -1
- package/scss/components/list.scss +15 -0
- package/scss/typography.scss +0 -5
- package/scss/utilities.scss +37 -5
- package/scss/variables.scss +9 -1
package/package.json
CHANGED
|
@@ -34,5 +34,20 @@
|
|
|
34
34
|
a {
|
|
35
35
|
color: inherit;
|
|
36
36
|
}
|
|
37
|
+
|
|
38
|
+
&:first-child {
|
|
39
|
+
border-top-left-radius: inherit;
|
|
40
|
+
border-top-right-radius: inherit;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
&:last-child {
|
|
44
|
+
border-bottom-right-radius: inherit;
|
|
45
|
+
border-bottom-left-radius: inherit;
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
&.list-flush {
|
|
50
|
+
border: 0;
|
|
51
|
+
border-radius: inherit;
|
|
37
52
|
}
|
|
38
53
|
}
|
package/scss/typography.scss
CHANGED
package/scss/utilities.scss
CHANGED
|
@@ -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)
|
|
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-
|
|
113
|
-
border-radius:
|
|
144
|
+
.rounded-0 {
|
|
145
|
+
border-radius: 0;
|
|
114
146
|
}
|
|
115
147
|
|
|
116
|
-
.shadow-
|
|
148
|
+
.shadow-0 {
|
|
117
149
|
box-shadow: none !important;
|
|
118
150
|
}
|
|
119
151
|
|
package/scss/variables.scss
CHANGED
|
@@ -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
|
-
|
|
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);
|