Перейти к основному содержимому

2 записи с тегом "css variables"

Посмотреть все теги

The Architect's Guide to Frontend Theming

· 17 мин. чтения
Evan Carter
Evan Carter
Senior frontend

TLDR:

Frontend Theming

Frontend theming is no longer just about switching between light and dark colors. At scale, it becomes an architectural concern that affects design tokens, component boundaries, React state flow, white-label customization, and long-term maintainability. This guide explains how to build a theming system that stays clean as your product and team grow.

Design Tokens: The Foundation of Your UI Arch

· 16 мин. чтения
Evan Carter
Evan Carter
Senior frontend

TLDR:

Design Tokens

Design tokens provide a single source of truth for colors, spacing, typography, and motion, enabling consistent theming and scalable UI architecture. This article explores how design tokens work, how to implement them with CSS variables, and why Feature-Sliced Design is a robust foundation for managing tokens in large frontend codebases.