feat: components

This commit is contained in:
EleanorMao
2023-04-23 22:15:39 +08:00
parent c4e3ec3f7c
commit 6345d35d4d
9 changed files with 242 additions and 132 deletions

View File

@ -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,
},
}
}}
>