1.0.0 • Published 6 years ago

@silvancodes/svelte-the-stack v1.0.0

Weekly downloads
1
License
MIT
Repository
github
Last release
6 years ago

Welcome

This component implements 'The Stack' from EveryLayout.

It is used like so:

<script>
    import Stack from '@silvancodes/svelte-the-stack';
</script>

 <Stack>
    <your/>
    <html/>
    <here/>
 </Stack>

When you setup a global CSS with a scale as described here or have your own CSS variables it can be parametrized like so:

<Stack margin="--some-css-variable">
    ...
 </Stack>