Migrate border and margin classes to Tailwind (#29828)

Used all existing css vars, other migrations are 1:1.

---------

Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
This commit is contained in:
silverwind 2024-03-18 15:47:05 +01:00 committed by GitHub
parent b251e608c0
commit 34290a00c4
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
17 changed files with 43 additions and 48 deletions

View file

@ -55,5 +55,16 @@ export default {
current: 'currentcolor',
transparent: 'transparent',
},
borderRadius: {
'none': '0',
'sm': '2px',
'DEFAULT': 'var(--border-radius)', // 4px
'md': 'var(--border-radius-medium)', // 6px
'lg': '8px',
'xl': '12px',
'2xl': '16px',
'3xl': '24px',
'full': 'var(--border-radius-circle)', // 50%
},
},
};