Anvil/assets/ColorPalette-1f2060ce.js

4 lines
3.6 KiB
JavaScript
Raw Normal View History

2024-03-01 12:55:15 +01:00
import{j as r}from"./jsx-runtime-0c99b718.js";import{M as s,C as t,b as o}from"./index-90e07932.js";import{u as e}from"./index-6d3866ad.js";import"./iframe-421daae7.js";import"../sb-preview/runtime.js";import"./_commonjsHelpers-725317a4.js";import"./index-11d98b33.js";import"./index-a04a29e8.js";import"./index-356e4a49.js";function l(a){const c=Object.assign({p:"p"},e(),a.components);return r.jsxs(r.Fragment,{children:[r.jsx(s,{title:"Colors"}),`
2024-02-15 20:47:41 +01:00
`,r.jsx(c.p,{children:"Consider the value at 500 to be the default."}),`
`,r.jsxs(t,{children:[r.jsx(o,{title:"color.primary",subtitle:"Primary",colors:{50:"rgb(var(--color-primary-50))",100:"rgb(var(--color-primary-100))",200:"rgb(var(--color-primary-200))",300:"rgb(var(--color-primary-300))",400:"rgb(var(--color-primary-400))",500:"rgb(var(--color-primary-500))",600:"rgb(var(--color-primary-600))",700:"rgb(var(--color-primary-700))",800:"rgb(var(--color-primary-800))",900:"rgb(var(--color-primary-900))"}}),r.jsx(o,{title:"color.secondary",subtitle:"Secondary",colors:{50:"rgb(var(--color-secondary-50))",100:"rgb(var(--color-secondary-100))",200:"rgb(var(--color-secondary-200))",300:"rgb(var(--color-secondary-300))",400:"rgb(var(--color-secondary-400))",500:"rgb(var(--color-secondary-500))",600:"rgb(var(--color-secondary-600))",700:"rgb(var(--color-secondary-700))",800:"rgb(var(--color-secondary-800))",900:"rgb(var(--color-secondary-900))"}}),r.jsx(o,{title:"color.tertiary",subtitle:"Tertiary",colors:{50:"rgb(var(--color-tertiary-50))",100:"rgb(var(--color-tertiary-100))",200:"rgb(var(--color-tertiary-200))",300:"rgb(var(--color-tertiary-300))",400:"rgb(var(--color-tertiary-400))",500:"rgb(var(--color-tertiary-500))",600:"rgb(var(--color-tertiary-600))",700:"rgb(var(--color-tertiary-700))",800:"rgb(var(--color-tertiary-800))",900:"rgb(var(--color-tertiary-900))"}}),r.jsx(o,{title:"color.success",subtitle:"Success",colors:{50:"rgb(var(--color-success-50))",100:"rgb(var(--color-success-100))",200:"rgb(var(--color-success-200))",300:"rgb(var(--color-success-300))",400:"rgb(var(--color-success-400))",500:"rgb(var(--color-success-500))",600:"rgb(var(--color-success-600))",700:"rgb(var(--color-success-700))",800:"rgb(var(--color-success-800))",900:"rgb(var(--color-success-900))"}}),r.jsx(o,{title:"color.warning",subtitle:"Warning",colors:{50:"rgb(var(--color-warning-50))",100:"rgb(var(--color-warning-100))",200:"rgb(var(--color-warning-200))",300:"rgb(var(--color-warning-300))",400:"rgb(var(--color-warning-400))",500:"rgb(var(--color-warning-500))",600:"rgb(var(--color-warning-600))",700:"rgb(var(--color-warning-700))",800:"rgb(var(--color-warning-800))",900:"rgb(var(--color-warning-900))"}}),r.jsx(o,{title:"color.error",subtitle:"Error",colors:{50:"rgb(var(--color-error-50))",100:"rgb(var(--color-error-100))",200:"rgb(var(--color-error-200))",300:"rgb(var(--color-error-300))",400:"rgb(var(--color-error-400))",500:"rgb(var(--color-error-500))",600:"rgb(var(--color-error-600))",700:"rgb(var(--color-error-700))",800:"rgb(var(--color-error-800))",900:"rgb(var(--color-error-900))"}}),r.jsx(o,{title:"color.surface",subtitle:"Surface",colors:{50:"rgb(var(--color-surface-50))",100:"rgb(var(--color-surface-100))",200:"rgb(var(--color-surface-200))",300:"rgb(var(--color-surface-300))",400:"rgb(var(--color-surface-400))",500:"rgb(var(--color-surface-500))",600:"rgb(var(--color-surface-600))",700:"rgb(var(--color-surface-700))",800:"rgb(var(--color-surface-800))",900:"rgb(var(--color-surface-900))"}})]})]})}function d(a={}){const{wrapper:c}=Object.assign({},e(),a.components);return c?r.jsx(c,Object.assign({},a,{children:r.jsx(l,a)})):l(a)}export{d as default};