This commit is contained in:
Joel
2026-03-09 10:14:23 +08:00
1301 changed files with 30844 additions and 12184 deletions

View File

@ -33,7 +33,7 @@ const SettingTimeZone: FC<{
}) => {
const setShowAccountSettingModal = useModalContextSelector(s => s.setShowAccountSettingModal)
return (
<span className="body-xs-regular cursor-pointer text-text-accent" onClick={() => setShowAccountSettingModal({ payload: ACCOUNT_SETTING_TAB.LANGUAGE })}>{children}</span>
<span className="cursor-pointer text-text-accent body-xs-regular" onClick={() => setShowAccountSettingModal({ payload: ACCOUNT_SETTING_TAB.LANGUAGE })}>{children}</span>
)
}
const AutoUpdateSetting: FC<Props> = ({
@ -116,7 +116,7 @@ const AutoUpdateSetting: FC<Props> = ({
/>
{inputElem}
</div>
<div className="system-sm-regular text-text-tertiary">{convertTimezoneToOffsetStr(timezone)}</div>
<div className="text-text-tertiary system-sm-regular">{convertTimezoneToOffsetStr(timezone)}</div>
</div>
)
}, [timezone])
@ -124,7 +124,7 @@ const AutoUpdateSetting: FC<Props> = ({
return (
<div className="self-stretch px-6">
<div className="my-3 flex items-center">
<div className="system-xs-medium-uppercase text-text-tertiary">{t(`${i18nPrefix}.updateSettings`, { ns: 'plugin' })}</div>
<div className="text-text-tertiary system-xs-medium-uppercase">{t(`${i18nPrefix}.updateSettings`, { ns: 'plugin' })}</div>
<div className="ml-2 h-px grow bg-divider-subtle"></div>
</div>
@ -149,7 +149,7 @@ const AutoUpdateSetting: FC<Props> = ({
renderTrigger={renderTimePickerTrigger}
placement="bottom-end"
/>
<div className="body-xs-regular mt-1 text-right text-text-tertiary">
<div className="mt-1 text-right text-text-tertiary body-xs-regular">
<Trans
i18nKey={`${i18nPrefix}.changeTimezone`}
ns="plugin"

View File

@ -22,7 +22,7 @@ const NoDataPlaceholder: FC<Props> = ({
<div className={cn('flex items-center justify-center', className)}>
<div className="flex flex-col items-center">
{icon}
<div className="system-sm-regular mt-2 text-text-tertiary">{text}</div>
<div className="mt-2 text-text-tertiary system-sm-regular">{text}</div>
</div>
</div>
)

View File

@ -14,7 +14,7 @@ const NoPluginSelected: FC<Props> = ({
const { t } = useTranslation()
const text = `${t(`autoUpdate.upgradeModePlaceholder.${updateMode === AUTO_UPDATE_MODE.partial ? 'partial' : 'exclude'}`, { ns: 'plugin' })}`
return (
<div className="system-xs-regular rounded-[10px] border border-components-option-card-option-border bg-background-section p-3 text-center text-text-tertiary">
<div className="rounded-[10px] border border-components-option-card-option-border bg-background-section p-3 text-center text-text-tertiary system-xs-regular">
{text}
</div>
)

View File

@ -39,7 +39,7 @@ const PluginsPicker: FC<Props> = ({
? (
<div className="flex justify-between text-text-tertiary">
<div className="system-xs-medium">{t(`${i18nPrefix}.${isExcludeMode ? 'excludeUpdate' : 'partialUPdate'}`, { ns: 'plugin', num: value.length })}</div>
<div className="system-xs-medium cursor-pointer" onClick={handleClear}>{t(`${i18nPrefix}.operation.clearAll`, { ns: 'plugin' })}</div>
<div className="cursor-pointer system-xs-medium" onClick={handleClear}>{t(`${i18nPrefix}.operation.clearAll`, { ns: 'plugin' })}</div>
</div>
)
: (

View File

@ -23,7 +23,7 @@ const PluginsSelected: FC<Props> = ({
<Icon key={plugin} size="tiny" src={`${MARKETPLACE_API_PREFIX}/plugins/${plugin}/icon`} />
))}
{!isShowAll && (
<div className="system-xs-medium text-text-tertiary">
<div className="text-text-tertiary system-xs-medium">
+
{plugins.length - MAX_DISPLAY_COUNT}
</div>

View File

@ -85,8 +85,8 @@ const StrategyPicker = ({
}
</div>
<div className="grow">
<div className="system-sm-semibold mb-0.5 text-text-secondary">{option.label}</div>
<div className="system-xs-regular text-text-tertiary">{option.description}</div>
<div className="mb-0.5 text-text-secondary system-sm-semibold">{option.label}</div>
<div className="text-text-tertiary system-xs-regular">{option.description}</div>
</div>
</div>
))

View File

@ -30,8 +30,8 @@ const ToolItem: FC<Props> = ({
>
<div className="flex h-8 grow items-center space-x-2 pl-3 pr-2">
<Icon size="tiny" src={`${MARKETPLACE_API_PREFIX}/plugins/${plugin_id}/icon`} />
<div className="system-sm-medium max-w-[150px] shrink-0 truncate text-text-primary">{renderI18nObject(label, language)}</div>
<div className="system-xs-regular max-w-[150px] shrink-0 truncate text-text-quaternary">{org}</div>
<div className="max-w-[150px] shrink-0 truncate text-text-primary system-sm-medium">{renderI18nObject(label, language)}</div>
<div className="max-w-[150px] shrink-0 truncate text-text-quaternary system-xs-regular">{org}</div>
</div>
<Checkbox
checked={isChecked}