feat: 날씨각 워치 스킨(WFF) — 1~7위 링, 구름·비·눈 애니메이션, 귀여운 해
- watchface 모듈: 큰 원 1위 + 둘레 링 2~7위, 시간대 하늘, 구름 흐름, 비·눈 오버레이 - 앱: 순위별 컴플리케이션(1~7위), 비·눈 컴플리케이션, 히어로 장 비·눈·해 광선 - 백엔드: /v1/watch/summary top 을 7개로 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
3f806f9955
commit
8c7fbdaac7
47 files changed
+1119
-32
No files matched your search
@@ -34,6 +34,13 @@ fun skyBrush(mode: String): Brush = when (mode) {
|
||||
else -> v(0f to 0xFF9FD3FF, 0.55f to 0xFFCFE9FF, 1f to 0xFFF1F8FF)
|
||||
}
|
||||
|
||||
/** 비·눈 오는 날 하늘. 밤에는 어두운 회청색 */
|
||||
fun precipBrush(kind: String, mode: String): Brush = when {
|
||||
mode == "night" -> v(0f to 0xFF1C2238, 0.6f to 0xFF2E3650, 1f to 0xFF434B66)
|
||||
kind == "snow" -> v(0f to 0xFFB8C4D6, 0.55f to 0xFFDFE6F0, 1f to 0xFFF4F7FB)
|
||||
else -> v(0f to 0xFF7F93AD, 0.55f to 0xFFA9B7C9, 1f to 0xFFD5DDE8)
|
||||
}
|
||||
|
||||
/** 하늘 위 글자가 흰색이어야 하는 시간대 */
|
||||
fun isDark(mode: String) = mode == "evening" || mode == "night"
|
||||
|
||||
|
||||
Reference in new issue
Block a user