@matteusan/himig 1.8.0 → 1.8.1
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.
|
@@ -78,7 +78,7 @@ $_states: ('error');
|
|
|
78
78
|
|
|
79
79
|
&:where(.is-small) {
|
|
80
80
|
@include pintig.struct-bind('button', (
|
|
81
|
-
padding:
|
|
81
|
+
padding: 'sm',
|
|
82
82
|
));
|
|
83
83
|
@include pintig.typography-apply('button', (
|
|
84
84
|
size: 'xs'
|
|
@@ -87,7 +87,7 @@ $_states: ('error');
|
|
|
87
87
|
|
|
88
88
|
&:where(.is-large) {
|
|
89
89
|
@include pintig.struct-bind('button', (
|
|
90
|
-
padding:
|
|
90
|
+
padding: 'lg',
|
|
91
91
|
gap: 'sm',
|
|
92
92
|
radius: 'md'
|
|
93
93
|
));
|
package/ms-card/_card-base.scss
CHANGED
|
@@ -95,8 +95,7 @@
|
|
|
95
95
|
}
|
|
96
96
|
|
|
97
97
|
.ms-card__media {
|
|
98
|
-
|
|
99
|
-
height: 100%;
|
|
98
|
+
height: auto;
|
|
100
99
|
max-height: 100%;
|
|
101
100
|
overflow: hidden;
|
|
102
101
|
@include pintig.struct-apply('card-media', (
|
|
@@ -104,8 +103,15 @@
|
|
|
104
103
|
));
|
|
105
104
|
aspect-ratio: var(--ms-card-aspect-ratio, 16 / 8);
|
|
106
105
|
transition: all 0.4s ease;
|
|
107
|
-
|
|
108
|
-
|
|
106
|
+
|
|
107
|
+
img {
|
|
108
|
+
width: 100%;
|
|
109
|
+
height: 100%;
|
|
110
|
+
aspect-ratio: var(--ms-card-aspect-ratio, 16 / 8);
|
|
111
|
+
transition: all 0.4s ease;
|
|
112
|
+
object-fit: cover;
|
|
113
|
+
object-position: center;
|
|
114
|
+
}
|
|
109
115
|
}
|
|
110
116
|
|
|
111
117
|
.ms-card__details {
|
package/ms-card/_card-theme.scss
CHANGED
|
@@ -4,13 +4,13 @@
|
|
|
4
4
|
|
|
5
5
|
$init-color: (
|
|
6
6
|
fill: (
|
|
7
|
-
default: 'primary-
|
|
7
|
+
default: 'primary-600'
|
|
8
8
|
),
|
|
9
9
|
ink: (
|
|
10
10
|
default: 'primary-ink',
|
|
11
11
|
subtitle: 'primary-ink',
|
|
12
12
|
),
|
|
13
|
-
border: 'primary-
|
|
13
|
+
border: 'primary-600',
|
|
14
14
|
);
|
|
15
15
|
|
|
16
16
|
$init-struct: (
|
|
@@ -20,7 +20,7 @@ $init-struct: (
|
|
|
20
20
|
max: auto
|
|
21
21
|
),
|
|
22
22
|
radius: 'md',
|
|
23
|
-
padding: '
|
|
23
|
+
padding: 'lg',
|
|
24
24
|
gap: (
|
|
25
25
|
section: 'md',
|
|
26
26
|
header: 'md',
|
package/package.json
CHANGED