Skip to content
tezvyn:

Theming

54 bites tagged Theming — interview questions with model answers, and 60-second explainers.

Design Systems1 min read

Semantic Colors: Naming a Color's Job, Not Its Value

Semantic colors name a color's purpose (e.g., `color-background-interactive`) instead of its value (`#007BFF`). This simplifies theming, like light/dark mode, by mapping roles to specific primitive colors, ensuring a consistent UI across an application.

Design Systems2 min read

SwiftUI Theming with the Environment

Treat SwiftUI's Environment as a cascading style sheet for your app. You define design tokens like colors and fonts once at the top, and all child views automatically inherit them. This is key for building design systems or multi-brand apps.

Design Systems2 min read

Jetpack Compose Theming for Design Systems

Compose theming uses `CompositionLocal` to implicitly pass design tokens like colors and fonts down the UI tree. This is key for building a design system where you can swap themes (like light/dark) without rewriting components.

Design Systems2 min read

White-Label UI: Design Once, Rebrand Infinitely

White-label UI is like a WordPress theme for your product: a single design that other companies can rebrand. It lets agencies serve multiple clients without rebuilding the UI from scratch.

Design Systems2 min read

Theming: One Design System, Many Visual Styles

Theming lets one component library wear many visual styles, like skins on a character. You can support multiple brands or dark/light modes by swapping design tokens instead of rebuilding components.

Android & Kotlin2 min read

Theming in Compose: Style from a Single Source

Theming in Compose is like a CSS stylesheet for your app. You define colors, typography, and shapes once in a central `Theme` composable, and it cascades down. Use it for light/dark modes and brand consistency.

Get Theming bites daily.

Five a day, five minutes, offline. With quizzes so it sticks.

Open testing — you’ll join as an early tester.