feat: 워치 앱 첫 장을 하늘 장 대신 주변 축제로 (축제가 없으면 오늘의 각부터)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
c0e0363759
commit
1990a1f998
3 files changed
+5
-176
No files matched your search
@@ -18,7 +18,6 @@ object Tok {
|
||||
val navyTop = Color(0xFF2B3577)
|
||||
val card = Color.White.copy(alpha = 0.78f)
|
||||
val stat = Color.White.copy(alpha = 0.72f)
|
||||
val statDark = Color.White.copy(alpha = 0.18f)
|
||||
|
||||
val jua = FontFamily(Font(R.font.jua))
|
||||
val bagel = FontFamily(Font(R.font.bagel_fat_one))
|
||||
@@ -34,16 +33,6 @@ 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"
|
||||
|
||||
// 카드·장 배경 (.b-bg-*)
|
||||
val bgButter = v(0f to 0xFFFFE7A0, 1f to 0xFFFFF6D8)
|
||||
val bgMint = v(0f to 0xFFBFECD6, 1f to 0xFFEFFAF4)
|
||||
|
||||
Reference in new issue
Block a user