增加两个预制图标
This commit is contained in:
Binary file not shown.
|
After Width: | Height: | Size: 116 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 128 KiB |
@@ -6788,6 +6788,8 @@ const ThemeConfigComponent = ({
|
|||||||
<div className='grid grid-cols-2 md:grid-cols-3 gap-3'>
|
<div className='grid grid-cols-2 md:grid-cols-3 gap-3'>
|
||||||
{[
|
{[
|
||||||
{ id: 'renako', name: '玲奈子', url: '/icons/q/renako.png', color: '#ec4899' },
|
{ id: 'renako', name: '玲奈子', url: '/icons/q/renako.png', color: '#ec4899' },
|
||||||
|
{ id: 'irena', name: '伊蕾娜', url: '/icons/q/irena.png', color: '#f8fafc' },
|
||||||
|
{ id: 'emilia', name: '爱蜜莉雅', url: '/icons/q/emilia.png', color: '#f8fafc' },
|
||||||
].map((thumb) => (
|
].map((thumb) => (
|
||||||
<button
|
<button
|
||||||
key={thumb.id}
|
key={thumb.id}
|
||||||
@@ -6830,9 +6832,6 @@ const ThemeConfigComponent = ({
|
|||||||
</button>
|
</button>
|
||||||
))}
|
))}
|
||||||
</div>
|
</div>
|
||||||
<p className='text-xs text-gray-500 dark:text-gray-400 mt-2'>
|
|
||||||
选择玲奈子图标时,进度条将变为粉色主题
|
|
||||||
</p>
|
|
||||||
</div>
|
</div>
|
||||||
)}
|
)}
|
||||||
|
|
||||||
|
|||||||
@@ -5830,6 +5830,8 @@ function PlayPageClient() {
|
|||||||
if (config.PROGRESS_THUMB_TYPE === 'preset' && config.PROGRESS_THUMB_PRESET_ID) {
|
if (config.PROGRESS_THUMB_TYPE === 'preset' && config.PROGRESS_THUMB_PRESET_ID) {
|
||||||
const presetConfig: Record<string, { url: string; color: string }> = {
|
const presetConfig: Record<string, { url: string; color: string }> = {
|
||||||
renako: { url: '/icons/q/renako.png', color: '#ec4899' }, // 粉色
|
renako: { url: '/icons/q/renako.png', color: '#ec4899' }, // 粉色
|
||||||
|
irena: { url: '/icons/q/irena.png', color: '#f8fafc' }, // 雪白色
|
||||||
|
emilia: { url: '/icons/q/emilia.png', color: '#f8fafc' }, // 雪白色
|
||||||
};
|
};
|
||||||
const preset = presetConfig[config.PROGRESS_THUMB_PRESET_ID];
|
const preset = presetConfig[config.PROGRESS_THUMB_PRESET_ID];
|
||||||
if (preset) {
|
if (preset) {
|
||||||
|
|||||||
Reference in New Issue
Block a user