433 lines
9 KiB
JavaScript
433 lines
9 KiB
JavaScript
import{j as r}from"./index-bIIEL2MP.js";import{useMDXComponents as s}from"./index-CO-0pc0F.js";import{M as b}from"./index-Z-6k0Xrj.js";import{p as a}from"./docsPage-CT2vyZOj.js";import{C as e}from"./Table-F-lkejrq.js";import{c as o}from"./parseCss-DFN8Q8fx.js";import"./_commonjsHelpers-D6-XlEtG.js";import"./iframe-CzjIX-qr.js";import"./index-aQYXhgXp.js";import"./index-DrFu-skq.js";import"./index-D7HDsfES.js";const i=`.border-inherit {
|
|
border-color: inherit;
|
|
}
|
|
.border-current {
|
|
border-color: currentColor;
|
|
}
|
|
.border-transparent {
|
|
border-color: transparent;
|
|
}
|
|
.border-black {
|
|
border-color: #000;
|
|
}
|
|
.border-white {
|
|
border-color: #fff;
|
|
}
|
|
`,u=`.rounded-none {
|
|
border-radius: 0px;
|
|
}
|
|
.rounded-sm {
|
|
border-radius: 0.125rem;
|
|
}
|
|
.rounded {
|
|
border-radius: 0.25rem;
|
|
}
|
|
.rounded-md {
|
|
border-radius: 0.375rem;
|
|
}
|
|
.rounded-lg {
|
|
border-radius: 0.5rem;
|
|
}
|
|
.rounded-xl {
|
|
border-radius: 0.75rem;
|
|
}
|
|
.rounded-2xl {
|
|
border-radius: 1rem;
|
|
}
|
|
.rounded-3xl {
|
|
border-radius: 1.5rem;
|
|
}
|
|
.rounded-full {
|
|
border-radius: 9999px;
|
|
}
|
|
.rounded-t-none {
|
|
border-start-start-radius: 0px;
|
|
border-start-end-radius: 0px;
|
|
}
|
|
.rounded-t-sm {
|
|
border-start-start-radius: 0.125rem;
|
|
border-start-end-radius: 0.125rem;
|
|
}
|
|
.rounded-t {
|
|
border-start-start-radius: 0.25rem;
|
|
border-start-end-radius: 0.25rem;
|
|
}
|
|
.rounded-t-md {
|
|
border-start-start-radius: 0.375rem;
|
|
border-start-end-radius: 0.375rem;
|
|
}
|
|
.rounded-t-lg {
|
|
border-start-start-radius: 0.5rem;
|
|
border-start-end-radius: 0.5rem;
|
|
}
|
|
.rounded-t-xl {
|
|
border-start-start-radius: 0.75rem;
|
|
border-start-end-radius: 0.75rem;
|
|
}
|
|
.rounded-t-2xl {
|
|
border-start-start-radius: 1rem;
|
|
border-start-end-radius: 1rem;
|
|
}
|
|
.rounded-t-3xl {
|
|
border-start-start-radius: 1.5rem;
|
|
border-start-end-radius: 1.5rem;
|
|
}
|
|
.rounded-t-full {
|
|
border-start-start-radius: 9999px;
|
|
border-start-end-radius: 9999px;
|
|
}
|
|
.rounded-r-none {
|
|
border-start-end-radius: 0px;
|
|
border-end-end-radius: 0px;
|
|
}
|
|
.rounded-r-sm {
|
|
border-start-end-radius: 0.125rem;
|
|
border-end-end-radius: 0.125rem;
|
|
}
|
|
.rounded-r {
|
|
border-start-end-radius: 0.25rem;
|
|
border-end-end-radius: 0.25rem;
|
|
}
|
|
.rounded-r-md {
|
|
border-start-end-radius: 0.375rem;
|
|
border-end-end-radius: 0.375rem;
|
|
}
|
|
.rounded-r-lg {
|
|
border-start-end-radius: 0.5rem;
|
|
border-end-end-radius: 0.5rem;
|
|
}
|
|
.rounded-r-xl {
|
|
border-start-end-radius: 0.75rem;
|
|
border-end-end-radius: 0.75rem;
|
|
}
|
|
.rounded-r-2xl {
|
|
border-start-end-radius: 1rem;
|
|
border-end-end-radius: 1rem;
|
|
}
|
|
.rounded-r-3xl {
|
|
border-start-end-radius: 1.5rem;
|
|
border-end-end-radius: 1.5rem;
|
|
}
|
|
.rounded-r-full {
|
|
border-start-end-radius: 9999px;
|
|
border-end-end-radius: 9999px;
|
|
}
|
|
.rounded-b-none {
|
|
border-end-end-radius: 0px;
|
|
border-end-start-radius: 0px;
|
|
}
|
|
.rounded-b-sm {
|
|
border-end-end-radius: 0.125rem;
|
|
border-end-start-radius: 0.125rem;
|
|
}
|
|
.rounded-b {
|
|
border-end-end-radius: 0.25rem;
|
|
border-end-start-radius: 0.25rem;
|
|
}
|
|
.rounded-b-md {
|
|
border-end-end-radius: 0.375rem;
|
|
border-end-start-radius: 0.375rem;
|
|
}
|
|
.rounded-b-lg {
|
|
border-end-end-radius: 0.5rem;
|
|
border-end-start-radius: 0.5rem;
|
|
}
|
|
.rounded-b-xl {
|
|
border-end-end-radius: 0.75rem;
|
|
border-end-start-radius: 0.75rem;
|
|
}
|
|
.rounded-b-2xl {
|
|
border-end-end-radius: 1rem;
|
|
border-end-start-radius: 1rem;
|
|
}
|
|
.rounded-b-3xl {
|
|
border-end-end-radius: 1.5rem;
|
|
border-end-start-radius: 1.5rem;
|
|
}
|
|
.rounded-b-full {
|
|
border-end-end-radius: 9999px;
|
|
border-end-start-radius: 9999px;
|
|
}
|
|
.rounded-l-none {
|
|
border-start-start-radius: 0px;
|
|
border-end-start-radius: 0px;
|
|
}
|
|
.rounded-l-sm {
|
|
border-start-start-radius: 0.125rem;
|
|
border-end-start-radius: 0.125rem;
|
|
}
|
|
.rounded-l {
|
|
border-start-start-radius: 0.25rem;
|
|
border-end-start-radius: 0.25rem;
|
|
}
|
|
.rounded-l-md {
|
|
border-start-start-radius: 0.375rem;
|
|
border-end-start-radius: 0.375rem;
|
|
}
|
|
.rounded-l-lg {
|
|
border-start-start-radius: 0.5rem;
|
|
border-end-start-radius: 0.5rem;
|
|
}
|
|
.rounded-l-xl {
|
|
border-start-start-radius: 0.75rem;
|
|
border-end-start-radius: 0.75rem;
|
|
}
|
|
.rounded-l-2xl {
|
|
border-start-start-radius: 1rem;
|
|
border-end-start-radius: 1rem;
|
|
}
|
|
.rounded-l-3xl {
|
|
border-start-start-radius: 1.5rem;
|
|
border-end-start-radius: 1.5rem;
|
|
}
|
|
.rounded-l-full {
|
|
border-start-start-radius: 9999px;
|
|
border-end-start-radius: 9999px;
|
|
}
|
|
.rounded-tl-none {
|
|
border-start-start-radius: 0px;
|
|
}
|
|
.rounded-tl-sm {
|
|
border-start-start-radius: 0.125rem;
|
|
}
|
|
.rounded-tl {
|
|
border-start-start-radius: 0.25rem;
|
|
}
|
|
.rounded-tl-md {
|
|
border-start-start-radius: 0.375rem;
|
|
}
|
|
.rounded-tl-lg {
|
|
border-start-start-radius: 0.5rem;
|
|
}
|
|
.rounded-tl-xl {
|
|
border-start-start-radius: 0.75rem;
|
|
}
|
|
.rounded-tl-2xl {
|
|
border-start-start-radius: 1rem;
|
|
}
|
|
.rounded-tl-3xl {
|
|
border-start-start-radius: 1.5rem;
|
|
}
|
|
.rounded-tl-full {
|
|
border-start-start-radius: 9999px;
|
|
}
|
|
.rounded-tr-none {
|
|
border-start-end-radius: 0px;
|
|
}
|
|
.rounded-tr-sm {
|
|
border-start-end-radius: 0.125rem;
|
|
}
|
|
.rounded-tr {
|
|
border-start-end-radius: 0.25rem;
|
|
}
|
|
.rounded-tr-md {
|
|
border-start-end-radius: 0.375rem;
|
|
}
|
|
.rounded-tr-lg {
|
|
border-start-end-radius: 0.5rem;
|
|
}
|
|
.rounded-tr-xl {
|
|
border-start-end-radius: 0.75rem;
|
|
}
|
|
.rounded-tr-2xl {
|
|
border-start-end-radius: 1rem;
|
|
}
|
|
.rounded-tr-3xl {
|
|
border-start-end-radius: 1.5rem;
|
|
}
|
|
.rounded-tr-full {
|
|
border-start-end-radius: 9999px;
|
|
}
|
|
.rounded-br-none {
|
|
border-end-end-radius: 0px;
|
|
}
|
|
.rounded-br-sm {
|
|
border-end-end-radius: 0.125rem;
|
|
}
|
|
.rounded-br {
|
|
border-end-end-radius: 0.25rem;
|
|
}
|
|
.rounded-br-md {
|
|
border-end-end-radius: 0.375rem;
|
|
}
|
|
.rounded-br-lg {
|
|
border-end-end-radius: 0.5rem;
|
|
}
|
|
.rounded-br-xl {
|
|
border-end-end-radius: 0.75rem;
|
|
}
|
|
.rounded-br-2xl {
|
|
border-end-end-radius: 1rem;
|
|
}
|
|
.rounded-br-3xl {
|
|
border-end-end-radius: 1.5rem;
|
|
}
|
|
.rounded-br-full {
|
|
border-end-end-radius: 9999px;
|
|
}
|
|
.rounded-bl-none {
|
|
border-end-start-radius: 0px;
|
|
}
|
|
.rounded-bl-sm {
|
|
border-end-start-radius: 0.125rem;
|
|
}
|
|
.rounded-bl {
|
|
border-end-start-radius: 0.25rem;
|
|
}
|
|
.rounded-bl-md {
|
|
border-end-start-radius: 0.375rem;
|
|
}
|
|
.rounded-bl-lg {
|
|
border-end-start-radius: 0.5rem;
|
|
}
|
|
.rounded-bl-xl {
|
|
border-end-start-radius: 0.75rem;
|
|
}
|
|
.rounded-bl-2xl {
|
|
border-end-start-radius: 1rem;
|
|
}
|
|
.rounded-bl-3xl {
|
|
border-end-start-radius: 1.5rem;
|
|
}
|
|
.rounded-bl-full {
|
|
border-end-start-radius: 9999px;
|
|
}
|
|
`,l=`.border-solid {
|
|
border-style: solid;
|
|
}
|
|
.border-dashed {
|
|
border-style: dashed;
|
|
}
|
|
.border-dotted {
|
|
border-style: dotted;
|
|
}
|
|
.border-double {
|
|
border-style: double;
|
|
}
|
|
.border-hidden {
|
|
border-style: hidden;
|
|
}
|
|
.border-none {
|
|
border-style: none;
|
|
}
|
|
`,m=`.border-0 {
|
|
border-width: 0px;
|
|
}
|
|
.border-2 {
|
|
border-width: 2px;
|
|
}
|
|
.border-4 {
|
|
border-width: 4px;
|
|
}
|
|
.border-8 {
|
|
border-width: 8px;
|
|
}
|
|
.border {
|
|
border-width: 1px;
|
|
}
|
|
.border-x-0 {
|
|
border-inline-start-width: 0px;
|
|
border-inline-end-width: 0px;
|
|
}
|
|
.border-x-2 {
|
|
border-inline-start-width: 2px;
|
|
border-inline-end-width: 2px;
|
|
}
|
|
.border-x-4 {
|
|
border-inline-start-width: 4px;
|
|
border-inline-end-width: 4px;
|
|
}
|
|
.border-x-8 {
|
|
border-inline-start-width: 8px;
|
|
border-inline-end-width: 8px;
|
|
}
|
|
.border-x {
|
|
border-inline-start-width: 1px;
|
|
border-inline-end-width: 1px;
|
|
}
|
|
.border-y-0 {
|
|
border-block-start-width: 0px;
|
|
border-block-end-width: 0px;
|
|
}
|
|
.border-y-2 {
|
|
border-block-start-width: 2px;
|
|
border-block-end-width: 2px;
|
|
}
|
|
.border-y-4 {
|
|
border-block-start-width: 4px;
|
|
border-block-end-width: 4px;
|
|
}
|
|
.border-y-8 {
|
|
border-block-start-width: 8px;
|
|
border-block-end-width: 8px;
|
|
}
|
|
.border-y {
|
|
border-block-start-width: 1px;
|
|
border-block-end-width: 1px;
|
|
}
|
|
.border-t-0 {
|
|
border-block-start-width: 0px;
|
|
}
|
|
.border-t-2 {
|
|
border-block-start-width: 2px;
|
|
}
|
|
.border-t-4 {
|
|
border-block-start-width: 4px;
|
|
}
|
|
.border-t-8 {
|
|
border-block-start-width: 8px;
|
|
}
|
|
.border-t {
|
|
border-block-start-width: 1px;
|
|
}
|
|
.border-r-0 {
|
|
border-inline-end-width: 0px;
|
|
}
|
|
.border-r-2 {
|
|
border-inline-end-width: 2px;
|
|
}
|
|
.border-r-4 {
|
|
border-inline-end-width: 4px;
|
|
}
|
|
.border-r-8 {
|
|
border-inline-end-width: 8px;
|
|
}
|
|
.border-r {
|
|
border-inline-end-width: 1px;
|
|
}
|
|
.border-b-0 {
|
|
border-block-end-width: 0px;
|
|
}
|
|
.border-b-2 {
|
|
border-block-end-width: 2px;
|
|
}
|
|
.border-b-4 {
|
|
border-block-end-width: 4px;
|
|
}
|
|
.border-b-8 {
|
|
border-block-end-width: 8px;
|
|
}
|
|
.border-b {
|
|
border-block-end-width: 1px;
|
|
}
|
|
.border-l-0 {
|
|
border-inline-start-width: 0px;
|
|
}
|
|
.border-l-2 {
|
|
border-inline-start-width: 2px;
|
|
}
|
|
.border-l-4 {
|
|
border-inline-start-width: 4px;
|
|
}
|
|
.border-l-8 {
|
|
border-inline-start-width: 8px;
|
|
}
|
|
.border-l {
|
|
border-inline-start-width: 1px;
|
|
}
|
|
`;function t(n){const d={h1:"h1",...s(),...n.components};return r.jsxs(r.Fragment,{children:[r.jsx(b,{title:"Styles/Tokens/Borders",parameters:{...a}}),`
|
|
`,r.jsx(d.h1,{id:"border-tokens",children:"Border tokens"}),`
|
|
`,r.jsx(e,{title:"Border color",mdnLink:"border-color",header:["Class","Properties"],body:o(i),copyable:[!0,!1]}),`
|
|
`,r.jsx(e,{title:"Border radius",mdnLink:"border-radius",header:["Class","Properties"],body:o(u),copyable:[!0,!1]}),`
|
|
`,r.jsx(e,{title:"Border style",mdnLink:"border-style",header:["Class","Properties"],body:o(l),copyable:[!0,!1]}),`
|
|
`,r.jsx(e,{title:"Border width",mdnLink:"border-width",header:["Class","Properties"],body:o(m),copyable:[!0,!1]})]})}function B(n={}){const{wrapper:d}={...s(),...n.components};return d?r.jsx(d,{...n,children:r.jsx(t,{...n})}):t(n)}export{B as default};
|