删除文件 windi.config.js
parent
2d2fe57c3b
commit
9529f87eb6
|
|
@ -1,58 +0,0 @@
|
|||
// windi.config.js
|
||||
import { defineConfig } from 'windicss/helpers'
|
||||
import colors from 'windicss/colors'
|
||||
|
||||
export default defineConfig({
|
||||
darkMode: 'class',
|
||||
theme: {
|
||||
colors: {
|
||||
...colors,
|
||||
primary: '#378264',
|
||||
success: '#4cd964',
|
||||
warning: '#FC8720',
|
||||
error: '#dd524d',
|
||||
txBase: '#383838',
|
||||
txGray: '#808080',
|
||||
bgBase: '#ffffff',
|
||||
txBorder: '#E5E5E5',
|
||||
bgSubtitle: '#f0ad4e',
|
||||
bgInput: '#F7F5F5',
|
||||
bgUserInput: '#F7FAF9',
|
||||
txSvip: '#D43030',
|
||||
badge: '#FC8720'// Badge 徽标数背景色
|
||||
},
|
||||
fontSize: {
|
||||
xs: '20rpx',
|
||||
sm: '24rpx',
|
||||
md: '28rpx',
|
||||
lg: '32rpx',
|
||||
xl: '36rpx',
|
||||
xxl: '40rpx',
|
||||
'3xl': '44rpx',
|
||||
'4xl': '48rpx'
|
||||
},
|
||||
spacing: {
|
||||
1: '2rpx',
|
||||
2: '4rpx',
|
||||
3: '6rpx',
|
||||
4: '8rpx',
|
||||
5: '10rpx',
|
||||
rowSm: '10rpx',
|
||||
base: '20rpx',
|
||||
rowLg: '30rpx'
|
||||
},
|
||||
borderRadius: {
|
||||
xs: '25rpx',
|
||||
sm: '24rpx',
|
||||
md: '30rpx',
|
||||
lg: '90rpx',
|
||||
xl: '',
|
||||
full: '9999px',
|
||||
}
|
||||
},
|
||||
shortcuts: {
|
||||
'btn': 'text-center rounded-full',
|
||||
'btn-primary': 'bg-primary text-white',
|
||||
'btn-default': 'default'
|
||||
}
|
||||
})
|
||||
Loading…
Reference in New Issue