Skip to content

Commit 159a5eb

Browse files
committed
fix: fixed images size warnings and zIndex warnings
1 parent 44b4678 commit 159a5eb

File tree

2 files changed

+7
-8
lines changed

2 files changed

+7
-8
lines changed

src/theme/components/image.ts

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
// Image
22
const sizes = {
3-
'2xs': 6,
4-
'xs': 10,
5-
'sm': 16,
6-
'md': 20,
7-
'lg': 24,
8-
'xl': 32,
9-
'2xl': 64,
3+
'2xs': '6',
4+
'xs': '10',
5+
'sm': '16',
6+
'md': '20',
7+
'lg': '24',
8+
'xl': '32',
9+
'2xl': '64',
1010
'full': '100%',
1111
};
1212

src/theme/styled-system.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,6 @@ export const position = {
129129
position: true,
130130
zIndex: {
131131
property: 'zIndex',
132-
scale: 'zIndices',
133132
},
134133
top: {
135134
property: 'top',

0 commit comments

Comments
 (0)