@kartikarora Brand Jetpack Compose & Multiplatform Theme (v2.0.0)

This skill defines the official Tokyo Neo-Brutalist Material 3 Design System & Component Registry for Jetpack Compose on Android and Compose Multiplatform (CMP - iOS, Desktop, Web/Wasm). It ensures all native UI automatically adheres to @kartikarora brand guidelines across colors, typography, shapes, spacing, and animations, maintaining 100% visual parity with the web baseline.


⚠️ Strict Mandates for AI Agents

  1. Brand Fidelity: The Material 3 ColorScheme, Typography, and Shapes must strictly follow the brand tokens.
  2. No Dynamic Color: Avoid Android 12+ Wallpaper/Dynamic Color (dynamicLightColorScheme / dynamicDarkColorScheme) to ensure visual brand consistency across all platforms.
  3. Typography Standard: Use Chivo as the primary font family (FontWeight.Black for headings with -0.03em tracking, FontWeight.Normal/Medium for body) and JetBrains Mono for code/monospace blocks. (Albert Sans has been retired).
  4. Font Delivery Strategy:
  5. The Tokyo Punch in Compose:
  6. Spacing System: Use MaterialTheme.spacing (8dp base grid: 4dp, 8dp, 16dp, 24dp, 32dp, 48dp, 64dp, 96dp) instead of arbitrary hardcoded padding.
  7. Authoritative Editorial Statements: Render pull quotes with the BrandStatement composable featuring the 3.dp signal left border and balanced semibold styling (no faux italics).
  8. Fast Transitions: UI animations and state transitions must use standard Android emphasized easing (FastTransitionSpec = tween(220, easing = FastOutSlowInEasing)).
  9. System Theme Tracking: Respect isSystemInDarkTheme(). Automatically switch between Deep Space Obsidian (#070a10 canvas) and Architectural Concrete (#ffffff canvas).
  10. Brand Synchronization: This skill derives directly from kartikarora-brand. Any changes to brand tokens, CSS, or guidelines must immediately be reflected here.

🎨 Design Tokens & Specifications

1. Color Scheme Mapping

Brand CSS Token Hex (Light) Hex (Dark) Material 3 Semantic Role Components / Usage
--color-signal #0084C7 #00F0FF primary Akihabara Cyan: active states, key interactive accents
On Signal #FFFFFF #000000 onPrimary Text/icons on primary components
--color-signal-secondary #E6B800 #FFE600 secondary Caution Yellow: contrast pop cards, highlight tags
On Signal Secondary #0A111C #000000 onSecondary Text on caution yellow badges/cards
--color-ink-muted #49586E #8A9BB4 onSurfaceVariant Secondary controls, subtitles, metadata
--color-ink-faint #7F90A6 #4E5F7A tertiary Tertiary elements, subtle indicators
--color-paper #FFFFFF #070A10 background Screen background (Scaffold, Surface)
--color-ink #0A111C #F0F6FC onBackground, onSurface Main body text, headings, prominent icons
--color-paper-alt #F4F6FA #0D121C surface, surfaceContainer Card, ElevatedCard, Sheets, Dialogs
--color-paper-sunken #E6EBF3 #04060A surfaceVariant, surfaceContainerLowest Sunken terminals, code blocks, input containers
--color-rule #CDD8E6 #1A2436 outline Hairline borders and rules
--color-rule-strong #0A111C #273752 outlineVariant Active card borders, neo-brutalist dividers

2. Font Setup

Option A β€” Android Downloadable Fonts (Preferred when Play Services / font_certs.xml is available)

  1. Add implementation("androidx.compose.ui:ui-text-google-fonts:<compose_version>") (or declare it in lightbuild.yaml).
  2. Copy references/font_certs.xml verbatim to src/main/res/values/font_certs.xml.
  3. Define GoogleFont.Provider and pass the font families to createKartikAroraTypography:
import androidx.compose.ui.text.googlefonts.Font
import androidx.compose.ui.text.googlefonts.GoogleFont
import <your.package>.R

val googleFontProvider = GoogleFont.Provider(
    providerAuthority = "com.google.android.gms.fonts",
    providerPackage = "com.google.android.gms",
    certificates = R.array.com_google_android_gms_fonts_certs
)

val chivoGoogleFont = GoogleFont("Chivo")
val jetBrainsMonoGoogleFont = GoogleFont("JetBrains Mono")

val AppChivoFontFamily = FontFamily(
    Font(googleFont = chivoGoogleFont, fontProvider = googleFontProvider, weight = FontWeight.Normal),
    Font(googleFont = chivoGoogleFont, fontProvider = googleFontProvider, weight = FontWeight.Medium),
    Font(googleFont = chivoGoogleFont, fontProvider = googleFontProvider, weight = FontWeight.SemiBold),
    Font(googleFont = chivoGoogleFont, fontProvider = googleFontProvider, weight = FontWeight.Bold),
    Font(googleFont = chivoGoogleFont, fontProvider = googleFontProvider, weight = FontWeight.Black)
)

val AppJetBrainsMonoFontFamily = FontFamily(
    Font(googleFont = jetBrainsMonoGoogleFont, fontProvider = googleFontProvider, weight = FontWeight.Normal),
    Font(googleFont = jetBrainsMonoGoogleFont, fontProvider = googleFontProvider, weight = FontWeight.Medium),
    Font(googleFont = jetBrainsMonoGoogleFont, fontProvider = googleFontProvider, weight = FontWeight.SemiBold),
    Font(googleFont = jetBrainsMonoGoogleFont, fontProvider = googleFontProvider, weight = FontWeight.Bold)
)

Option B β€” Bundled .ttf Fonts (CMP, Offline, or @Preview / Screenshot Parity)

Place verified .ttf files in src/main/res/font/ (Android) or commonMain/composeResources/font/ (CMP):

val AppChivoFontFamily = FontFamily(
    Font(R.font.chivo_regular, FontWeight.Normal),
    Font(R.font.chivo_medium, FontWeight.Medium),
    Font(R.font.chivo_semibold, FontWeight.SemiBold),
    Font(R.font.chivo_bold, FontWeight.Bold),
    Font(R.font.chivo_black, FontWeight.Black)
)

val AppJetBrainsMonoFontFamily = FontFamily(
    Font(R.font.jetbrains_mono_regular, FontWeight.Normal),
    Font(R.font.jetbrains_mono_medium, FontWeight.Medium),
    Font(R.font.jetbrains_mono_semibold, FontWeight.SemiBold),
    Font(R.font.jetbrains_mono_bold, FontWeight.Bold)
)

KartikAroraTheme(
    typography = createKartikAroraTypography(
        sansFontFamily = AppChivoFontFamily,
        monoFontFamily = AppJetBrainsMonoFontFamily
    )
) {
    AppContent()
}

πŸ“¦ Component Registry & Usage

All components are located in references/Components.kt and can be used directly in any Jetpack Compose or CMP screen:

1. BrandButton

High-contrast neo-brutalist buttons with solid offset block shadows, enabled state handling, and animated hover/press/focus physics:

BrandButton(
    text = "Launch Platform",
    onClick = { launch() },
    variant = BrandButtonVariant.Primary
)

BrandButton(
    text = "View Architecture",
    onClick = { openSpecs() },
    variant = BrandButtonVariant.Outline,
    enabled = isReady
)

2. StatusBadge

Tokyo neo-brutalist status badges with solid 2dp drop shadow:

StatusBadge(label = "GDE Android", variant = StatusBadgeVariant.Pop)
StatusBadge(label = "Experimental", variant = StatusBadgeVariant.Secondary)

3. CLICommandPill

Terminal command execution container with solid 4dp cyan left border rule:

CLICommandPill(
    command = "klaat compile --source ./spec.gdoc",
    onCopy = { copyToClipboard("klaat compile --source ./spec.gdoc") }
)

4. SlidingTabs

Accessible neo-brutalist sliding tabs with Role.Tab semantics and Caution Yellow pop shadow on the active Cyan pill:

var selectedTab by remember { mutableStateOf("Overview") }
val tabs = listOf("Overview", "Architecture", "Telemetry", "Specs")

SlidingTabs(
    tabs = tabs,
    selectedTab = selectedTab,
    onTabSelected = { selectedTab = it },
    tabLabel = { it }
)

5. FeatureCard & TokyoCard

Solid block shadow card containers with 2dp border rule, optional click physics, contrast Caution Yellow shadow (isContrast = true), and configurable contentPadding:

FeatureCard(
    title = "High-Performance Runtimes",
    description = "Optimized GraalVM native image binaries delivering sub-10ms cold starts.",
    onClick = { openRuntimeDetails() }
)

TokyoCard(
    isContrast = true,
    onClick = { openLedger() }
) {
    Text(
        text = "Deep Architecture Ledger",
        style = MaterialTheme.typography.titleLarge.copy(fontWeight = FontWeight.Black)
    )
}

6. ArtifactRow

Full-bleed software showcase row with tag, title, summary, copyable CLI command, and action link:

ArtifactRow(
    tag = "Tooling / 2026",
    badge = "GraalVM Native",
    title = "Klaat",
    summary = "High-performance CLI compiler converting Google Docs into interactive codelabs.",
    cliCommand = "klaat compile --source ./spec.gdoc",
    onCopyCommand = { copyToClipboard(it) },
    actionTitle = "Launch codelab",
    onAction = { openKlaat() }
)

7. StanceView

Architectural invariant statement with hairline bottom divider:

StanceView(
    title = "Declarative State Performance",
    bodyText = "UI is a pure reflection of state. Hoisting state cleanly guarantees 120Hz frame rates."
)

8. KeynoteRow

Conference presentation ledger row:

KeynoteRow(
    year = "2026",
    location = "Sydney",
    title = "High-Performance Multiplatform Runtimes",
    event = "Android Developer Summit",
    onOpen = { openTalk() }
)

9. BrandStatement

Authoritative editorial statement with 3dp Cyan left accent rule:

BrandStatement(
    quote = "Code is an artifact of thought; design is the discipline of making it inevitable.",
    citation = "Kartik Arora Β· Lead Engineer"
)

10. SpecCard & TelemetryMetric

Technical specification ledger and high-impact metric counters:

SpecCard(
    title = "Runtime Specifications",
    specs = listOf("Target" to "CMP", "Architecture" to "ARM64", "Startup" to "8.2ms")
)

TelemetryMetric(
    value = "150K+",
    label = "Active Developer Sessions"
)

11. BrandTopBar

Neo-brutalist app bar with 2dp structural bottom divider, FontWeight.Black display title, and optional monospace subtitle:

BrandTopBar(
    title = "ICanHazStream",
    subtitle = "STREAMING AVAILABILITY LEDGER",
    actions = {
        BrandButton(
            text = "Watchlist",
            onClick = { openWatchlist() },
            variant = BrandButtonVariant.Small
        )
    }
)

12. BrandTextField

Sunken neo-brutalist input field with 2dp focus border and solid focus block shadow:

BrandTextField(
    value = query,
    onValueChange = { query = it },
    label = "SEARCH CATALOG",
    placeholder = "Movie or show title..."
)

13. BrandChip

Selectable filter / provider chip with Caution Yellow active pop shadow and Role.Checkbox semantics:

BrandChip(
    label = "4K HDR",
    selected = isHdrOnly,
    onClick = { isHdrOnly = !isHdrOnly }
)

πŸ—‚ Reference Implementation Files