fastn icon indicating copy to clipboard operation
fastn copied to clipboard

module as component argument doesn't resolve margin

Open amitu opened this issue 2 years ago • 0 comments

-- component hero:
module ds: design-system

-- hero.ds.section-row: hero section
ds: $hero.ds
;; this doesn't work
;; margin.px: $hero.ds.spaces.vertical-gap.extra-extra-large.gap
;; following both work
;; margin.px: 128
margin.px: $design-system.spaces.vertical-gap.extra-extra-large.gap

.. rest of the code omitted ..

Checkout dropbase.ftd.

amitu avatar Dec 09 '23 09:12 amitu