Skip to content

LutrisEng/saline-components

Repository files navigation

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>