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
effectStyleIdwitheffects— AddShadow,Blur, andEffectsTypes - ADR-116 — Nested style members declare their own defaults
Source
| Format | File |
|---|---|
| JSON Schema | packages/schema/schema/styles.schema.json |
| TypeScript | packages/schema/types/Styles.ts |
| Specification | §4.1a, §11 |