Backgrounds and surfaces
Load when choosing page surfaces, background imagery, gradients or textures.
skills/design-skill/references/background-rules.mdLoad when choosing page surfaces, background imagery, gradients or textures. Requirement = correctness/accessibility obligation; Pattern = adaptable starting point; Taste hypothesis = design judgment to validate in context.
Choose from the content
- Confidence Level: Taste hypothesis
- Purpose: Support readability and relevant personality.
- Reasoning: Category-based background recipes can become another skin.
- Constraint: Select white, black, tinted, photographic, illustrated or textured surfaces according to brand, content and task. Do not force warm paper, charcoal or a fixed palette on every product. A requested pure-white or pure-black base is valid.
- Example:
- Bad: Every developer product must be dark and monospaced.
- Good: Follow the established identity and inspect text, focus and semantics on actual surfaces.
- Exceptions: Patterns may change when the product, user constraints or observed evidence justify it. Requirements remain.
Layer without obscuring
- Confidence Level: Pattern
- Purpose: Make surfaces distinguishable where needed.
- Reasoning: Tint, borders, spacing and elevation can all establish hierarchy.
- Constraint: Choose the minimum surface differentiation that makes roles clear. Gradients, patterns, noise and glass are optional. Check text over all image/scroll states. Avoid global blur or fixed opacity recipes as substitutes for measured contrast.
- Example:
- Bad: A translucent header disappears over a changing photo.
- Good: Use a sufficiently opaque header surface and verify the scrolled state.
- Exceptions: Patterns may change when the product, user constraints or observed evidence justify it. Requirements remain.