81 lines
3.6 KiB
JavaScript
81 lines
3.6 KiB
JavaScript
import{M as m}from"./chunk-S4VUQJ4A-333d721b.js";import{p as i,j as r}from"./jsx-runtime-c0e99e85.js";import{C as s}from"./Table-d04241c3.js";import{e as d}from"./parseCss-64e03cd7.js";import{u as c}from"./index-d41ddae7.js";import"./iframe-8327eba7.js";import"../sb-preview/runtime.js";import"./index-5b61f687.js";import"./_commonjsHelpers-de833af9.js";import"./index-d37d4223.js";import"./index-e04ae519.js";import"./index-356e4a49.js";import"./ImportSnippet-503f745b.js";import"./prism-e6636ad9.js";import"./scss-efc2351e.js";import"./index-6f011b84.js";import"./toString-25ea340b.js";import"./isSymbol-50749e90.js";const l=`// Brand colours from RCOM's raptor system
|
|
// https://github.com/tr/rcom-arc_raptor-ui/blob/develop/packages/rcom-raptor-ui_atomic/styles/_colors.scss
|
|
:root {
|
|
--tr-orange: #fa6400;
|
|
--tr-dark-orange: #dc4300;
|
|
--tr-light-orange: #ffa100;
|
|
--tr-dark-grey: #404040;
|
|
--tr-medium-grey: #666666;
|
|
--tr-light-grey: #afafaf;
|
|
--tr-muted-grey: #d0d0d0;
|
|
--tr-contrast-grey: #949494;
|
|
--tr-hover-background-grey: #f8f8f8;
|
|
--tr-light-muted-grey: #f4f4f4;
|
|
--tr-ultra-light-grey: #fafafa;
|
|
--tr-dark-blue: #005da2;
|
|
--tr-light-blue: #0099c4;
|
|
--tr-muted-blue: #4386b9;
|
|
--tr-lighter-blue: #7facce;
|
|
--tr-superlight-blue: #e5eef5;
|
|
--tr-dark-purple: #621f95;
|
|
--tr-light-purple: #6e3ab7;
|
|
--tr-dark-red: #a00000;
|
|
--tr-light-red: #dc0a0a;
|
|
--tr-dark-green: #387c2b;
|
|
--tr-light-green: #77a22d;
|
|
--tr-black: #000;
|
|
--tr-white: #fff;
|
|
--tr-ad-placeholder: #ffb1b1;
|
|
}
|
|
`,p=`:root {
|
|
--nord-0: #2e3440;
|
|
--nord-polar-night-0: #2e3440;
|
|
--nord-black: #2e3440;
|
|
--nord-1: #3b4252;
|
|
--nord-polar-night-1: #3b4252;
|
|
--nord-2: #434c5e;
|
|
--nord-polar-night-2: #434c5e;
|
|
--nord-3: #4c566a;
|
|
--nord-polar-night-3: #4c566a;
|
|
--nord-4: #d8dee9;
|
|
--nord-snow-storm-0: #d8dee9;
|
|
--nord-5: #e5e9f0;
|
|
--nord-snow-storm-1: #e5e9f0;
|
|
--nord-6: #eceff4;
|
|
--nord-snow-storm-2: #eceff4;
|
|
--nord-white: #eceff4;
|
|
--nord-7: #8fbcbb;
|
|
--nord-frost-0: #8fbcbb;
|
|
--nord-8: #88c0d0;
|
|
--nord-frost-1: #88c0d0;
|
|
--nord-9: #81a1c1;
|
|
--nord-frost-2: #81a1c1;
|
|
--nord-10: #5e81ac;
|
|
--nord-frost-3: #5e81ac;
|
|
--nord-blue: #5e81ac;
|
|
--nord-11: #bf616a;
|
|
--nord-aurora-0: #bf616a;
|
|
--nord-red: #bf616a;
|
|
--nord-12: #d08770;
|
|
--nord-aurora-1: #d08770;
|
|
--nord-orange: #d08770;
|
|
--nord-13: #ebcb8b;
|
|
--nord-aurora-2: #ebcb8b;
|
|
--nord-yellow: #ebcb8b;
|
|
--nord-14: #a3be8c;
|
|
--nord-aurora-3: #a3be8c;
|
|
--nord-green: #a3be8c;
|
|
--nord-15: #b48ead;
|
|
--nord-aurora-4: #b48ead;
|
|
--nord-purple: #b48ead;
|
|
}
|
|
`;function g(o={}){const{wrapper:t}=Object.assign({},c(),o.components);return t?r.jsx(t,{...o,children:r.jsx(a,{})}):a();function a(){const e=Object.assign({p:"p",img:"img",h1:"h1"},c(),o.components);return r.jsxs(r.Fragment,{children:[`
|
|
`,`
|
|
`,`
|
|
`,`
|
|
`,r.jsx(m,{title:"Styles/Colours/Thematic",parameters:{...i}}),`
|
|
`,r.jsx(e.p,{children:r.jsx(e.img,{src:"https://graphics.thomsonreuters.com/style-assets/images/logos/reuters-graphics-logo/svg/graphics-logo-color-dark.svg",alt:""})}),`
|
|
`,r.jsx(e.h1,{id:"thematic-colours",children:"Thematic colours"}),`
|
|
`,r.jsx(s,{title:"Thomson Reuters",body:d(l),included:!0,partial:"thematic/_tr.scss"}),`
|
|
`,r.jsx(s,{title:"Nord",body:d(p),partial:"thematic/_nord.scss"})]})}}const b=()=>{throw new Error("Docs-only story")};b.parameters={docsOnly:!0};const n={title:"Styles/Colours/Thematic",parameters:{...i},tags:["stories-mdx"],includeStories:["__page"]};n.parameters=n.parameters||{};n.parameters.docs={...n.parameters.docs||{},page:g};const X=["__page"];export{X as __namedExportsOrder,b as __page,n as default};
|
|
//# sourceMappingURL=thematic.stories-8ad74868.js.map
|