feat: dark mode for knowledge (#15236)

This commit is contained in:
Wu Tianwei 2025-03-19 11:19:57 +08:00 • committed by GitHub
commit 411e332f1b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
72 changed files with 473 additions and 761 deletions

View file

@ -25,7 +25,7 @@ const CheckboxWithLabel: FC<Props> = ({
return (
<label className={cn(className, 'flex items-center h-7 space-x-2')}>
<Checkbox checked={isChecked} onCheck={() => onChange(!isChecked)} />
<div className={cn(labelClassName, 'text-sm font-normal text-text-secondary')}>{label}</div>
<div className={cn('text-sm font-normal text-text-secondary', labelClassName)}>{label}</div>
{tooltip && (
<Tooltip
popupContent={