design: красивые пустые состояния таймеров/Spotify, акцентный прогноз
Some checks failed
Deploy / deploy (push) Has been cancelled

- таймеры: светящаяся градиентная иконка + голосовая подсказка вместо серого текста
- Spotify: зелёный музыкальный орб + подсказка
- прогноз: ячейка «сейчас» — яркий градиентный акцент с тенью
This commit is contained in:
d.klimov
2026-07-22 23:25:21 +03:00
parent d7b1747533
commit 2755980165
3 changed files with 45 additions and 11 deletions

View File

@@ -89,7 +89,22 @@ export default function SpotifyWidget() {
{loading ? (
<div style={{ fontSize: 13, color: 'var(--text-tertiary)', textAlign: 'center', padding: '8px 0' }}>Загрузка...</div>
) : !state?.track ? (
<div style={{ fontSize: 13, color: 'var(--text-tertiary)', textAlign: 'center', padding: '8px 0' }}>Ничего не играет</div>
<div style={{ display: 'flex', flexDirection: 'column', alignItems: 'center', justifyContent: 'center', gap: 12, padding: '18px 0' }}>
<div style={{ position: 'relative', width: 78, height: 78, display: 'flex', alignItems: 'center', justifyContent: 'center' }}>
<div style={{
position: 'absolute', inset: 0, borderRadius: '50%',
background: 'radial-gradient(circle, rgba(30,215,96,0.38), transparent 70%)', filter: 'blur(7px)',
}} />
<div style={{
position: 'absolute', inset: 12, borderRadius: '50%',
background: 'linear-gradient(135deg, rgba(30,215,96,0.24), rgba(30,215,96,0.08))',
border: '1px solid rgba(30,215,96,0.32)',
}} />
<Music size={32} color="#1ED760" style={{ position: 'relative' }} />
</div>
<div style={{ fontSize: 15, fontWeight: 700, color: 'var(--text-primary)' }}>Ничего не играет</div>
<div style={{ fontSize: 12, color: 'var(--text-secondary)', textAlign: 'center' }}>Скажи «Эй, космо, включи что-нибудь»</div>
</div>
) : (
<div style={{ display: 'flex', flexDirection: 'column', gap: 2 }}>
<div style={{