@lutris/saline-components
v0.0.11
Published
## Usage
Downloads
37
Readme
Saline Components
Usage
In your Svelte files:
<script lang="ts">
// Import a theme in your layout
import LutrisTheme from '@lutris/saline-components/themes/LutrisTheme.svelte';
// Import components on your pages
import { Container, Heading, ProjectBadge } from '@lutris/saline-components';
</script>
<LutrisTheme>
<Container>
<Heading level={1}>My Page</Heading>
<ProjectBadge code="FBOX" name="Fleetbox" />
</Container>
</LutrisTheme>