@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: ('sm' 'md'),
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: ('lg' 'xl'),
90
+ padding: 'lg',
91
91
  gap: 'sm',
92
92
  radius: 'md'
93
93
  ));
@@ -29,10 +29,10 @@ $init-color: (
29
29
  $init-struct: (
30
30
  width: (
31
31
  default: 100%,
32
- min: 69px,
32
+ min: 50px,
33
33
  max: max-content
34
34
  ),
35
- padding: ('md' 'lg'),
35
+ padding: 'md',
36
36
  radius: 'small',
37
37
  border-width: 'xs',
38
38
  border-style: solid,
@@ -95,8 +95,7 @@
95
95
  }
96
96
 
97
97
  .ms-card__media {
98
- width: 100%;
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
- object-fit: cover;
108
- object-position: center;
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 {
@@ -4,13 +4,13 @@
4
4
 
5
5
  $init-color: (
6
6
  fill: (
7
- default: 'primary-400'
7
+ default: 'primary-600'
8
8
  ),
9
9
  ink: (
10
10
  default: 'primary-ink',
11
11
  subtitle: 'primary-ink',
12
12
  ),
13
- border: 'primary-400',
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: 'xl',
23
+ padding: 'lg',
24
24
  gap: (
25
25
  section: 'md',
26
26
  header: 'md',
@@ -42,7 +42,7 @@ $init-struct: (
42
42
  radio: 'pill'
43
43
  )
44
44
  ),
45
- padding: ('md' 'lg'),
45
+ padding: ('lg'),
46
46
  gap: (
47
47
  default: 0.7rem,
48
48
  text: 0.3rem
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@matteusan/himig",
3
- "version": "1.8.0",
3
+ "version": "1.8.1",
4
4
  "description": "Matteu's personal design system for building user interfaces.",
5
5
  "repository": "https://github.com/MatteuSan/himig",
6
6
  "author": "Matteu <matteugt@gmail.com>",