14 lines
1.8 KiB
JavaScript
14 lines
1.8 KiB
JavaScript
import{M as p}from"./chunk-S4VUQJ4A-dcf9c092.js";import{p as a,j as e}from"./jsx-runtime-27acf58e.js";import{u as i}from"./index-0992c0bc.js";import"./iframe-6236eea6.js";import"../sb-preview/runtime.js";import"./index-299597cd.js";import"./_commonjsHelpers-de833af9.js";import"./index-d37d4223.js";import"./index-e04ae519.js";import"./index-356e4a49.js";function c(r={}){const{wrapper:o}=Object.assign({},i(),r.components);return o?e.jsx(o,{...r,children:e.jsx(n,{})}):n();function n(){const s=Object.assign({p:"p",img:"img",h1:"h1",h3:"h3",pre:"pre",code:"code"},i(),r.components);return e.jsxs(e.Fragment,{children:[e.jsx(p,{title:"Styles/Intro",parameters:{...a}}),`
|
|
`,e.jsx(s.p,{children:e.jsx(s.img,{src:"https://graphics.thomsonreuters.com/style-assets/images/logos/reuters-graphics-logo/svg/graphics-logo-color-dark.svg",alt:""})}),`
|
|
`,e.jsx(s.h1,{id:"styles",children:"Styles"}),`
|
|
`,e.jsx(s.p,{children:"This library also includes our main SCSS stylesheets with pre-defined classes you can use to style your page."}),`
|
|
`,e.jsx(s.h3,{id:"importing-our-main-stylesheet",children:"Importing our main stylesheet"}),`
|
|
`,e.jsx(s.p,{children:"Import the SCSS directly in your top-level component. (This is done for you in the Graphics Kit.)"}),`
|
|
`,e.jsx(s.pre,{children:e.jsx(s.code,{className:"language-svelte",children:`<!-- pages/index.svelte -->
|
|
<script>
|
|
// other imports and stuffs ...
|
|
|
|
import '@reuters-graphics/graphics-components/scss/main';
|
|
<\/script>
|
|
`})})]})}}const m=()=>{throw new Error("Docs-only story")};m.parameters={docsOnly:!0};const t={title:"Styles/Intro",parameters:{...a},tags:["stories-mdx"],includeStories:["__page"]};t.parameters=t.parameters||{};t.parameters.docs={...t.parameters.docs||{},page:c};const _=["__page"];export{_ as __namedExportsOrder,m as __page,t as default};
|
|
//# sourceMappingURL=intro.stories-fe37c5ab.js.map
|