Skip to content

Latest commit

 

History

History
13 lines (8 loc) · 738 Bytes

File metadata and controls

13 lines (8 loc) · 738 Bytes
@spectrum-css/dropzone major

Spectrum 2 migration

Since dropzone shares a lot of illustrated message's new content tokens (typography and spacing), tons of unused--mods were removed.

The component reflects the new design of the borders that includes dash length and dash gap.

SVG Border

To support the intention of the design, an SVG element is used. There are tokens to adjust the length of dashed lines and the gap between them. It's understood it may be too much to consume an additional element so there's a fallback where the SVG element is not necessary - dropzone will use the standard border CSS property.