feat: components
This commit is contained in:
@ -5,6 +5,7 @@ import React from 'react';
|
||||
|
||||
const outputPath = './src/styles/antd.min.css';
|
||||
|
||||
|
||||
const brandPrimary = '#FF5200';
|
||||
const textPrimary = '#1E1D1F'
|
||||
const textDarker = '#000022'
|
||||
@ -69,7 +70,44 @@ const css = extractStyle((node) => (
|
||||
Steps: {
|
||||
colorSplit: brandPrimary,
|
||||
colorTextDescription: textLighter,
|
||||
}
|
||||
},
|
||||
Input: {
|
||||
colorErrorOutline: brandPrimary,
|
||||
colorBorder: textDarker,
|
||||
colorError: textDarker,
|
||||
colorErrorBorderHover: textDarker,
|
||||
borderRadius: 2,
|
||||
fontSize: 16,
|
||||
colorIcon: '#D9D9D9',
|
||||
colorPrimaryHover: textDarker,
|
||||
colorTextPlaceholder: '#CACACC',
|
||||
},
|
||||
Select: {
|
||||
colorBorder: textDarker,
|
||||
colorPrimaryHover: textDarker,
|
||||
colorTextPlaceholder: '#CACACC',
|
||||
colorErrorOutline: brandPrimary,
|
||||
colorError: textDarker,
|
||||
colorErrorBorderHover: textDarker,
|
||||
colorTextQuaternary: textDarker,
|
||||
borderRadius: 2,
|
||||
fontSize: 16,
|
||||
borderRadiusLG: 0
|
||||
},
|
||||
Checkbox: {
|
||||
controlInteractiveSize: 24,
|
||||
colorPrimaryHover: textDarker,
|
||||
colorPrimary: textDarker,
|
||||
colorTextDisabled: textDarker,
|
||||
colorBorder: textDarker,
|
||||
borderRadiusSM: 2,
|
||||
},
|
||||
Radio: {
|
||||
colorPrimaryHover: textDarker,
|
||||
colorPrimary: textDarker,
|
||||
colorTextDisabled: textDarker,
|
||||
colorBorder: textDarker,
|
||||
},
|
||||
}
|
||||
}}
|
||||
>
|
||||
|
Reference in New Issue
Block a user