feat(android): FabledSword theme — Material 3 + Google Fonts
M8 phase 1.4. Mirrors flutter_client/lib/theme/. Source of truth for hex values is flutter_client/shared/fabledsword.tokens.json (manual sync until cross-language codegen lands; ports the dark-surface + flat cohort). Material 3 ColorScheme takes accent as primary; action colors (Moss/Bronze/Oxblood) live in LocalActionColors as semantic roles per the project_design_system rule "NEVER use accent for action buttons". Typography uses androidx.compose.ui.text.googlefonts to fetch Fraunces / Inter / JetBrains Mono at runtime via Play Services Fonts — matches the Flutter client's `google_fonts` package (no bundled .ttf files in either tree). Weights restricted to 400/500. Fraunces is reserved for ≥18sp display/headline slots per the design-system rule. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -41,6 +41,7 @@ compose-ui-graphics = { module = "androidx.compose.ui:ui-graphics" }
|
||||
compose-ui-tooling = { module = "androidx.compose.ui:ui-tooling" }
|
||||
compose-ui-tooling-preview = { module = "androidx.compose.ui:ui-tooling-preview" }
|
||||
compose-material3 = { module = "androidx.compose.material3:material3" }
|
||||
compose-ui-text-google-fonts = { module = "androidx.compose.ui:ui-text-google-fonts", version = "1.7.5" }
|
||||
hilt-android = { module = "com.google.dagger:hilt-android", version.ref = "hilt" }
|
||||
hilt-compiler = { module = "com.google.dagger:hilt-compiler", version.ref = "hilt" }
|
||||
room-runtime = { module = "androidx.room:room-runtime", version.ref = "room" }
|
||||
|
||||
Reference in New Issue
Block a user