Overview

Installation

npm install @rhds/elements

Slots

None

Attributes

color-palette

Sets color palette, which affects the element's styles as well as descendants' color theme. Overrides parent color context. Your theme will influence these colors so check there first if you are seeing inconsistencies. See CSS Custom Properties for default values

DOM Property
colorPalette
Type
ColorPalette | undefined
Default
unknown
centered
DOM Property
centered
Type
boolean
Default
false
theme
DOM Property
theme
Type
'base' | null | undefined
Default
null
box
DOM Property
box
Type
'box' | 'inset' | null | undefined
Default
null
vertical
DOM Property
vertical
Type
boolean
Default
false

Methods

None

Events

None

CSS Custom Properties

None

CSS Shadow Parts

None

© 2021-2023 Red Hat, Inc. Deploys by Netlify