디자인 토큰을 Figma 실측값으로 교체 · 42dot Sans · ABeeZee 폰트 동봉

This commit is contained in:
Sn-Kinos
2026-09-02 19:16:27 +09:00
parent 4543503c70
commit 166b2a0e99
7 changed files with 131 additions and 111 deletions
+3 -2
View File
@@ -14,7 +14,8 @@ void main() {
/// 코스믹 팔레트에 속한 색인가. 토큰 밖의 색이면 Material 이 만들어 낸 것이다.
bool isCosmic(Color? c) {
if (c == null) return false;
final palette = <Color>{
// 값이 같은 토큰이 있어도 되도록 리스트에서 집합을 만든다.
final palette = <Color>[
AppColors.cosmicVoid,
AppColors.cosmicSurface,
AppColors.cosmicSurfaceContainer,
@@ -27,7 +28,7 @@ void main() {
AppColors.neonCyan,
AppColors.neonViolet,
AppColors.error,
};
].toSet();
return palette.contains(c) || c == Colors.transparent;
}