feat: add dark mode detection and styling enhancements to PersonalSetting and TopUp components

This commit is contained in:
CaIon
2025-06-09 19:24:21 +08:00
parent b3209030b0
commit e4217f64d3
3 changed files with 312 additions and 290 deletions

View File

@@ -580,7 +580,7 @@ export function renderText(text, limit) {
export function renderGroup(group) {
if (group === '') {
return (
<Tag size='large' key='default' color='orange' shape='circle' prefixIcon={<Users size={14} />}>
<Tag size='large' key='default' color='orange' shape='circle'>
{i18next.t('用户分组')}
</Tag>
);
@@ -603,7 +603,6 @@ export function renderGroup(group) {
color={tagColors[group] || stringToColor(group)}
key={group}
shape='circle'
prefixIcon={<Users size={14} />}
onClick={async (event) => {
event.stopPropagation();
if (await copy(group)) {