hypnagaga/docs/assets/intro.stories-148cf5c3.js
2023-09-18 07:25:12 +00:00

14 lines
1.8 KiB
JavaScript

import{M as p}from"./chunk-S4VUQJ4A-d72e02b8.js";import{p as a,j as e}from"./jsx-runtime-bd78d6a8.js";import{u as i}from"./index-a0b8ebe1.js";import"./iframe-3c331062.js";import"../sb-preview/runtime.js";import"./index-a5f584f7.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/dist/scss/main.scss';
<\/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-148cf5c3.js.map