Zum Hauptinhalt springen Seitenleiste
Auf dieser Seite
Zum Inhaltsverzeichnis springen

Component groups

Dieser Inhalt ist noch nicht in deiner Sprache verfügbar.

For components that share similar qualities, Placer Toolkit includes custom properties to change the appearance of these related components all at once.

Form controls

Components such as Input, Select, Textarea and Checkbox share a number of styles to give your forms a cohesive appearance. Placer Toolkit defines custom properties for these styles using the --pc-form-control-{style} format.

Not every form control uses all of these custom properties. For example, <pc-radio> defines its own height and border radius to achieve its familiar shape but shares many other styles with other components for a cohesive look and feel. Similarly, <pc-button> defines many of its own styles but matches the height and border width of other form controls.

Custom propertyDefault value
--pc-form-control-background-colorvar(--pc-color-surface-default)
--pc-form-control-border-widthvar(--pc-border-width-s)
--pc-form-control-border-stylevar(--pc-border-style)
--pc-form-control-border-colorvar(--pc-color-neutral-border-loud)
--pc-form-control-border-radiusvar(--pc-border-radius-m)
--pc-form-control-activated-colorvar(--pc-color-primary-fill-loud)
--pc-form-control-label-colorvar(--pc-color-text-normal)
--pc-form-control-label-font-weightvar(--pc-font-weight-medium)
--pc-form-control-label-line-heightvar(--pc-line-height-dense)
--pc-form-control-value-colorvar(--pc-color-text-normal)
--pc-form-control-value-font-weightvar(--pc-font-weight-normal)
--pc-form-control-value-line-heightvar(--pc-line-height-dense)
--pc-form-control-hint-colorvar(--pc-color-text-quiet)
--pc-form-control-hint-font-weightvar(--pc-font-weight-normal)
--pc-form-control-hint-line-heightvar(--pc-line-height-normal)
--pc-form-control-placeholder-colorvar(--pc-color-neutral-50)
--pc-form-control-required-content"*"
--pc-form-control-required-content-offset0.125em
--pc-form-control-required-content-colorvar(--pc-color-danger-60)
--pc-form-control-padding-block0.6em
--pc-form-control-padding-inline0.85em
--pc-form-control-heightround(calc(2 * var(--pc-form-control-padding-block) + 1em * var(--pc-form-control-value-line-height)), 1px)
--pc-form-control-toggle-sizeround(1.25em, 1px)

Panels

Panels consist of components with larger, contained surface areas like callouts, cards, details and dialogs.

Custom propertyDefault value
--pc-panel-border-stylevar(--pc-border-style)
--pc-panel-border-widthvar(--pc-border-width-s)
--pc-panel-border-radiusvar(--pc-border-radius-l)

Tooltips

Tooltip styles are used in the Tooltip component.

Custom propertyDefault value
--pc-tooltip-border-radiusvar(--pc-border-radius-s)
--pc-tooltip-background-colorvar(--pc-color-neutral-fill-normal)
--pc-tooltip-colorvar(--pc-color-text-normal)
--pc-tooltip-font-familyvar(--pc-font-sans)
--pc-tooltip-font-weightvar(--pc-font-weight-medium)
--pc-tooltip-font-sizevar(--pc-font-size-s)
--pc-tooltip-line-heightvar(--pc-line-height-dense)
--pc-tooltip-paddingvar(--pc-spacing-xs) var(--pc-spacing-s)
--pc-tooltip-arrow-size0.375rem

Wir würden uns freuen, von dir zu hören. Kontaktiere uns bitte bei Fragen oder Anliegen, die du hast.

Du kannst uns per E‐Mail unter placer.coc.reports+contact@gmail.com erreichen.

Wir freuen uns darauf, von dir zu hören!

Alles klar!
Gefährliche Lande

Ui! Du bist in die gefährlichen Lande von Placer Toolkit geraten. Version 0 ist veraltet und entspricht nicht den EU‐Datenschutzstandards, einschließlich DSGVO.

Willst du die neuesten Kräfte, Sicherheit und Compliance? Bleib bei der aktuellen Version von Placer Toolkit!

Ups! Aufladen!

Unsere Website ist zu 100 % frei von Cookies! Wir legen großen Wert auf deine Privatsphäre und speichern daher keinerlei Cookies oder persönliche Informationen über dich.

Dein Browserverlauf bleibt sauber und deine Daten sind geschützt, ganz im Einklang mit modernen Datenschutzstandards wie der DSGVO. Genieße deinen Besuch ganz ohne digitale Cookies! 🍪🚫

Weitere Informationen findest du in unserer Datenschutzerklärung.

Alles klar!