Skip to main content Sidebar
Skip to table of contents

    Borders

    Placer Toolkit’s border system is defined by CSS custom properties, helping you apply consistent and predictable strokes, outlines and separators throughout your project.

    Border style#

    Border style controls the standard line shape of borders throughout Placer Toolkit.

    Custom propertyDefault valuePreview
    --pc-border-stylesolid

    Border width#

    Border widths use rem units to scale proportionately with the root font size.

    Custom propertyDefault valuePreview
    --pc-border-width-s0.0625rem (1 px)
    --pc-border-width-m0.125rem (2 px)
    --pc-border-width-l0.1875rem (3 px)
    --pc-border-width-xl0.25rem (4 px)

    To scale all borders at once, you can use the --pc-border-width-scale property which specifies a multiplier on border-width. Values under 1 make all borders uniformly thinner, while values over 1 make them thicker.

    Border radius#

    Border radius controls the corners of Placer Toolkit components.

    Common border radius properties allow you to achieve shapes beyond your theme’s preferred corner styles.

    Custom propertyDefault valuePreview
    --pc-border-radius-square0px
    --pc-border-radius-pill9999px
    --pc-border-radius-circle50%

    Size‐based border radius properties allow you to customise the overall roundness of Placer Toolkit components. They use rem units in order to scale proportionately with the root font size.

    Custom propertyDefault valuePreview
    --pc-border-radius-s0.25rem (4 px)
    --pc-border-radius-m0.5rem (8 px)
    --pc-border-radius-l0.75rem (12 px)
    --pc-border-radius-xl1rem (16 px)

    To scale all border radii at once, you can use the --pc-border-radius-scale property, which specifies a multiplier on border-radius. Values under 1 make corners sharper, while values over 1 make them more rounded.

    We’d love to hear from you. Please reach out to us with any questions or enquiries you may have.

    You can contact us via e‐mail at placer.coc.reports+contact@gmail.com.

    We look forward to hearing from you!

    Got it!
    Dangerous lands

    Whoa! You’ve wandered into the dangerous lands of Placer Toolkit. Version 0 is out of date and doesn’t meet EU privacy standards, including GDPR.

    Want the latest powers, security and compliance? Stick with the current version of Placer Toolkit!

    Yikes! Power up!