导入 v0.1.0 / v0.2.0 源码:五模块首版、交互重构、重复任务、任务分布

- 源码镜像 src/main(81 个文件):首页双模式、任务、项目、统计、设置
- 补齐 README / LICENSE / CHANGELOG / CONTRIBUTING / .gitignore
- 不含构建配置、签名材料、编译产物与备份数据
This commit is contained in:
XIGE
2026-11-28 00:25:22 +08:00
parent f87c29f232
commit d52deeff5e
85 changed files with 6215 additions and 1 deletions

View File

@@ -0,0 +1,21 @@
package com.focusbox.app.util
/** 项目配色。八色一组,两两之间在色相上有足够间距,圆点上也能分辨。 */
object Palette {
val colors = intArrayOf(
0xFFC75B45.toInt(), // 陶土红
0xFFD98324.toInt(), // 琥珀
0xFFC9A227.toInt(), // 芥黄
0xFF4C8C4A.toInt(), // 苔绿
0xFF3F7F6E.toInt(), // 松石
0xFF3B7DD8.toInt(), // 靛蓝
0xFF6C5CE7.toInt(), // 紫
0xFFB7548E.toInt(), // 玫红
)
/** 收件箱用中性灰,避免和自建项目争注意力 */
const val INBOX = 0xFF7A756C.toInt()
fun colorAt(index: Int): Int = colors[index.mod(colors.size)]
}