Skip to content
tezvyn:

All bites

The whole library, newest first. Filter by what you are here for, or pick a topic if you already know.

4330 bites

Page 151

Design Systems1 min read

Coexisting major versions during migration

Scoped aliases or namespaced packages, isolated token scopes, and incremental migration.

Design Systems1 min read

Automated enforcement of deprecated component removal

Lint rule failing new usages, codemods for existing ones, and a usage dashboard gating removal.

Design Systems1 min read

Implementing light and dark mode on the web

CSS custom properties for color tokens, a data-theme attribute toggle, and prefers-color-scheme as default.

Design Systems1 min read

Structuring tokens for brand and sub-brand inheritance

Tiered tokens (primitive, semantic, component), sub-brands override only semantic aliases, and references keep inheritance live.

Design Systems1 min read

Architecting a themeable React component library

A ThemeProvider supplying tokens through Context, components reading them, and CSS variables for performance.

Design Systems1 min read

CSS custom properties versus Sass for theming

Custom properties are live and cascade for dynamic switching; Sass variables compile away.

Design Systems1 min read

Token build pipeline for multi-platform output

JSON source of truth, a tool like Style Dictionary with per-platform transforms and formats, and CI publishing.

Design Systems1 min read

Preventing theme flash in SSR apps

Flash comes from server not knowing client preference; fix with a blocking inline script setting the theme before paint.

Design Systems1 min read

Delivering one color token to three platforms

One JSON source, generated CSS variable for web, color resource XML for Android, and Swift/asset for iOS.

Design Systems1 min read

Pixel-identical modals across platforms

Raise back-button and gesture behavior, safe areas and keyboard insets, native dismiss patterns, and accessibility differences.

Design Systems1 min read

Versioning and distributing multi-platform tokens

JSON source, Style Dictionary transforms per platform, semantic versioning, and per-platform package registries in CI.

Design Systems1 min read

Sharing logic, native UI across platforms

Shared module (e.g. Kotlin Multiplatform) for state/business rules, platform-native UI consuming it, and a clean interface boundary.

Design Systems1 min read

Responsive Tabs with one consistent API

One stable public API (items, value, onChange), internal swap of presentation by breakpoint, and shared selection state.

Design Systems1 min read

Modeling a confirmation action for voice

Model confirmation as a modality-agnostic intent, add voice tokens (prompts, accepted phrases, reprompts, timeouts), and map intent to each modality.

Design Systems1 min read

Performance trade-offs of abstracting native UI

Bridge/serialization overhead, JS-thread bottlenecks for lists, and mitigations like virtualization, native modules, and profiling both threads.

Design Systems1 min read

Governance to keep platforms from diverging

A federated model with central stewards plus platform reps, an RFC process, and contribution rules.

Design Systems1 min read

Token architecture for multi-modal alerts

A semantic alert concept with per-modality token groups (visual, voice, haptic) under one name, single source of truth, and platform transforms.

Design Systems1 min read

Challenges of breaking changes in a design system

Technical (semver, codemods, coexistence) and organizational (comms, migration support, timelines) challenges.

Design Systems1 min read

Versioning and shipping design tokens via NPM

Semver, deprecate-before-delete with aliases, codemods and migration guides.

Design Systems1 min read

Rolling out a breaking change to a shared Button

Major semver bump, deprecation period, codemod and migration guide, staged comms.