-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Showing
5 changed files
with
53 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
export const MAX_PAGE_WIDTH: number = 1700; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
<script> | ||
import Grid from './Grid.svelte'; | ||
import { Meta, Story } from '@storybook/addon-svelte-csf'; | ||
const content = [ | ||
'Lorem Ipsum has been the industry\'s standard dummy text ever since the 1500s,', | ||
'when an unknown printer took a galley of type and scrambled it to make a type specimen book.', | ||
'It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged.', | ||
'It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages,', | ||
'and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.', | ||
'Contrary to popular belief, Lorem Ipsum is not simply random text.', | ||
'It has roots in a piece of classical Latin literature from 45 BC, making it over 2000 years old.', | ||
'Richard McClintock, a Latin professor at Hampden-Sydney College in Virginia, looked up one of the more obscure Latin words:', | ||
'consectetur, from a Lorem Ipsum passage, and going through the cites of the word in classical literature, discovered the undoubtable source.', | ||
'Quisque vitae ipsum enim.', | ||
'Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. ', | ||
'Aliquam lobortis nisl mi, et ultrices mi gravida ac.', | ||
]; | ||
</script> | ||
<Meta title="Design System/Grid" /> | ||
Resize window or activate responsive sizing in the development panel to see grid changes. | ||
<Story name="Grid"> | ||
<Grid class="xs:xs md:sm"> | ||
{#each content as line, i} | ||
<p><b>Paragraph {i+1}: </b> | ||
{line} | ||
</p> | ||
{/each} | ||
</Grid> | ||
<p>Source: <a class="underline text-brightBlue hover:text-gray2" href="https://www.lipsum.com/">Lorem Ipsum</a></p> | ||
</Story> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
<style> | ||
</style> | ||
<div class="m-f16 md:m-f32 lg:m-f120 {$$restProps.class}"> | ||
<div class="grid grid-cols-4 gap-f16 md:grid-cols-6 lg:grid-cols-12 lg:gap-f32"> | ||
<slot /> | ||
</div> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters