style(components): 移除图标组件中的固定文本大小样式

移除了 Check.tsx 和 Radio.tsx 文件中 Icon 组件的 text-[14px] 类,以适应新的设计要求。这项更改将使图标大小更加灵活,以便在不同场景下自定义样式。
This commit is contained in:
Vixalie
2025-08-12 16:42:12 +08:00
parent cbf04fb0dc
commit 12af84e680
2 changed files with 4 additions and 4 deletions

View File

@@ -19,8 +19,8 @@ interface CheckBoxProps {
} }
const CheckIcon = [ const CheckIcon = [
() => <Icon icon="hugeicons:square" class="text-[14px] stroke-1" />, () => <Icon icon="hugeicons:square" class="stroke-1" />,
() => <Icon icon="hugeicons:checkmark-square-03" class="text-[14px] stroke-1 text-primary" />, () => <Icon icon="hugeicons:checkmark-square-03" class="stroke-1 text-primary" />,
]; ];
const Check: ParentComponent<CheckBoxProps> = (props) => { const Check: ParentComponent<CheckBoxProps> = (props) => {

View File

@@ -19,8 +19,8 @@ interface RadioProps {
} }
const RadioIcon = [ const RadioIcon = [
() => <Icon icon="hugeicons:circle" class="text-[14px] stroke-1" />, () => <Icon icon="hugeicons:circle" class="stroke-1" />,
() => <Icon icon="hugeicons:checkmark-circle-03" class="text-[14px] stroke-1 text-primary" />, () => <Icon icon="hugeicons:checkmark-circle-03" class="stroke-1 text-primary" />,
]; ];
const Radio: ParentComponent<RadioProps> = (props) => { const Radio: ParentComponent<RadioProps> = (props) => {