mirror of
https://github.com/QuantumNous/new-api.git
synced 2026-04-19 07:07:27 +00:00
Merge pull request #1974 from RedwindA/fix/Visibility
fix: improve text visibility in warning box for dark mode in SettingsLog
This commit is contained in:
@@ -106,20 +106,21 @@ export default function SettingsLog(props) {
|
|||||||
<Text type="tertiary"> ({t('约')} {daysDiff} {t('天前')})</Text>
|
<Text type="tertiary"> ({t('约')} {daysDiff} {t('天前')})</Text>
|
||||||
)}
|
)}
|
||||||
</p>
|
</p>
|
||||||
<div style={{
|
<div style={{
|
||||||
background: '#fff7e6',
|
background: '#fff7e6',
|
||||||
border: '1px solid #ffd591',
|
border: '1px solid #ffd591',
|
||||||
padding: '12px',
|
padding: '12px',
|
||||||
borderRadius: '4px',
|
borderRadius: '4px',
|
||||||
marginTop: '12px'
|
marginTop: '12px',
|
||||||
|
color: '#333'
|
||||||
}}>
|
}}>
|
||||||
<Text type="warning" strong>⚠️ {t('注意')}:</Text>
|
<Text strong style={{ color: '#d46b08' }}>⚠️ {t('注意')}:</Text>
|
||||||
<Text>{t('将删除')} </Text>
|
<Text style={{ color: '#333' }}>{t('将删除')} </Text>
|
||||||
<Text strong type="danger">{targetTime}</Text>
|
<Text strong style={{ color: '#cf1322' }}>{targetTime}</Text>
|
||||||
{daysDiff > 0 && (
|
{daysDiff > 0 && (
|
||||||
<Text type="tertiary"> ({t('约')} {daysDiff} {t('天前')})</Text>
|
<Text style={{ color: '#8c8c8c' }}> ({t('约')} {daysDiff} {t('天前')})</Text>
|
||||||
)}
|
)}
|
||||||
<Text> {t('之前的所有日志')}</Text>
|
<Text style={{ color: '#333' }}> {t('之前的所有日志')}</Text>
|
||||||
</div>
|
</div>
|
||||||
<p style={{ marginTop: '12px' }}>
|
<p style={{ marginTop: '12px' }}>
|
||||||
<Text type="danger">{t('此操作不可恢复,请仔细确认时间后再操作!')}</Text>
|
<Text type="danger">{t('此操作不可恢复,请仔细确认时间后再操作!')}</Text>
|
||||||
|
|||||||
Reference in New Issue
Block a user