We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 30b2470 commit 5716886Copy full SHA for 5716886
packages/css/test/index.ts
@@ -160,6 +160,25 @@ test('handles all core styled system props', () => {
160
})
161
162
163
+test('handles css logical properties', () => {
164
+ const result = css({
165
+ borderInlineStartWidth: 'thin',
166
+ borderStartEndRadius: 'small',
167
+ marginInlineStart: 'auto',
168
+ maxBlockSize: 'large',
169
+ paddingInline: 0,
170
+ marginBlockEnd: 2,
171
+ })({ theme })
172
+ expect(result).toEqual({
173
+ borderInlineStartWidth: 1,
174
+ borderStartEndRadius: 5,
175
+ maxBlockSize: 16,
176
177
+ marginBlockEnd: 8,
178
179
+ })
180
+})
181
+
182
test('works with the css prop', () => {
183
const result = css({
184
color: 'primary',
0 commit comments