diff --git a/src/components/Block/Block.svelte b/src/components/Block/Block.svelte index 8c9f25e2..57a9b5c7 100644 --- a/src/components/Block/Block.svelte +++ b/src/components/Block/Block.svelte @@ -38,7 +38,10 @@ .article-block { max-width: var(--normal-column-width, 660px); @include fmx-auto; - @include fmy-5; + // Note to P: Don't want any default top-bottom margin by default here b/c + // it's too hard to get rid of. Let's add default within components + // with class tokens... + // @include fmy-5; &.narrower { max-width: var(--narrower-column-width, 330px); diff --git a/src/components/Byline/Byline.stories.svelte b/src/components/Byline/Byline.stories.svelte new file mode 100644 index 00000000..894b08d6 --- /dev/null +++ b/src/components/Byline/Byline.stories.svelte @@ -0,0 +1,41 @@ + + + + + + + + + diff --git a/src/components/Byline/Byline.svelte b/src/components/Byline/Byline.svelte new file mode 100644 index 00000000..e8073f1b --- /dev/null +++ b/src/components/Byline/Byline.svelte @@ -0,0 +1,133 @@ + + + + + + + diff --git a/src/components/Byline/stories/docs/component.md b/src/components/Byline/stories/docs/component.md new file mode 100644 index 00000000..7d024982 --- /dev/null +++ b/src/components/Byline/stories/docs/component.md @@ -0,0 +1,20 @@ +A simplified Reuters Graphics headline, loosely modelled off our dotcom site. + +Styles for this headline are intentionally restricted. It is meant to serve as a unifying style for quick-turnaround, usually shorter breaking news pages. + +```svelte + + + +```