hypnagaga/docs/assets/intro.stories-568b1ce4.js
2023-07-06 18:59:26 +00:00

14 lines
1.9 KiB
JavaScript

import{M as p}from"./chunk-PCJTTTQV-8ea8b36c.js";import{p as a,j as s}from"./jsx-runtime-539b76a3.js";import{u as i}from"./index-297ebefe.js";import"./iframe-647e33a7.js";import"../sb-preview/runtime.js";import"./extends-b40c5bac.js";import"./_commonjsHelpers-725317a4.js";import"./index-d475d2ea.js";import"./index-d37d4223.js";import"./index-1a79a776.js";import"./index-356e4a49.js";function c(r={}){const{wrapper:o}=Object.assign({},i(),r.components);return o?s.jsx(o,{...r,children:s.jsx(n,{})}):n();function n(){const e=Object.assign({p:"p",img:"img",h1:"h1",h3:"h3",pre:"pre",code:"code"},i(),r.components);return s.jsxs(s.Fragment,{children:[s.jsx(p,{title:"SCSS/Intro",parameters:{...a}}),`
`,s.jsx(e.p,{children:s.jsx(e.img,{src:"https://graphics.thomsonreuters.com/style-assets/images/logos/reuters-graphics-logo/svg/graphics-logo-color-dark.svg",alt:""})}),`
`,s.jsx(e.h1,{id:"scss",children:"SCSS"}),`
`,s.jsx(e.p,{children:"This library also includes our main SCSS stylesheets and pre-defined classes and SCSS mixins you can use to style your pages."}),`
`,s.jsx(e.h3,{id:"importing-our-main-stylesheet",children:"Importing our main stylesheet"}),`
`,s.jsx(e.p,{children:"Import the SCSS directly in your top-level component. (This is done for you in the Graphics Kit.)"}),`
`,s.jsx(e.pre,{children:s.jsx(e.code,{className:"language-html",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:"SCSS/Intro",parameters:{...a},tags:["stories-mdx"],includeStories:["__page"]};t.parameters=t.parameters||{};t.parameters.docs={...t.parameters.docs||{},page:c};const C=["__page"];export{C as __namedExportsOrder,m as __page,t as default};
//# sourceMappingURL=intro.stories-568b1ce4.js.map