Skip to content

shadows

Ordered list of shadows; Shadow.inset distinguishes drop (absent/false) vs inner (true)

Path

…elements.<element>.styles.effects.shadows[]

Value

An array of:

Shadow

Ordered list of shadows; Shadow.inset distinguishes drop (absent/false) vs inner (true)

Examples

- visible: true
offsetX: 0
offsetY: 2
blur: 4
spread: 0
color: "#00000033"
- visible: true
offsetX: 0
offsetY: 1
blur: 2
spread: 0
color: "#0000001F"
- visible: true
inset: true
offsetX: 0
offsetY: 1
blur: 0
spread: 0
color: "#FFFFFF66"

Decisions

  • ADR-002 — Replace effectStyleId with effects — Add Shadow, Blur, and Effects Types
  • ADR-116 — Nested style members declare their own defaults

Source

FormatFile
JSON Schemapackages/schema/schema/styles.schema.json
TypeScriptpackages/schema/types/Styles.ts
Specification§4.1a, §11