feat: 히어로 두 칸을 상황별로 고르고 아이콘·색을 상태에 맞춤

- 비 예보 → 미세먼지 나쁨 → 자외선 높음(낮) → 일교차 10° → 체감 쌀쌀 → 불쾌지수 75 순서, 모자라면 비 없음·미세먼지·자외선·달
- 조심(노랑)·비(파랑) 강조, 미세먼지 나쁨은 마스크 아이콘(Fluent Emoji)
- Hero.stats 추가, 자외선은 openmeteo_hourly 지금 시각 값
This commit is contained in:
minaChoi committed 2026-10-07 16:25:01 +09:00
1 parent 5e2846ff72
commit 4096ce0441
13 files changed
+288 -21

No files matched your search

+11
View File
@@ -184,6 +184,17 @@
.b-hero[data-t='sunset'] .b-stat {
background: rgb(30 16 80 / 0.2);
}
/* 히어로 칸 강조: 조심(노랑)·비(파랑). 시간대 배경과 상관없이 같은 색 */
.b-hero .b-stat[data-tone='warn'] {
background: #fff3d6;
color: var(--ink);
box-shadow: inset 0 -5px 0 #ffd98a;
}
.b-hero .b-stat[data-tone='rain'] {
background: #dcecff;
color: var(--ink);
box-shadow: inset 0 -5px 0 #a9cdf5;
}
.b-orb-label {
text-shadow: 0 2px 0 rgb(255 255 255 / 0.7);
}