Releases: grommet/grommet-theme-hpe
v6.0.0
The changes in this version reflect a major visual update to the HPE theme. Read Migrating from HPE Theme v5.x to v6.x for additional migration details.
Typography
Heading
Heading sizes, line-heights, and font-weights have been adjusted to improve legibility and page hierarchy. Additionally, all typography has been exported in rem
as opposed to px
.
heading.level.1.medium
lineHeight
updated from 36px to 40px (exported as rem)fontWeight
updated from medium to regular
heading.level.2.medium
fontSize
updated from 24px to 28px (exported as rem)lineHeight
updated from 24px to 32px (exported as rem)fontWeight
updated from medium to regular
heading.level.3.medium
fontSize
updated from 20px to 24px (exported as rem)lineHeight
updated from 20px to 28px (exported as rem)fontWeight
updated from medium to regular
heading.level.4.medium
fontSize
updated from 16px to 20px (exported as rem)lineHeight
updated from 20px to 24px (exported as rem)fontWeight
updated from medium to regular
heading.level.5.medium
fontSize
updated from 12px to 18px (exported as rem)lineHeight
updated from 12px to 20px (exported as rem)
heading.level.6.medium
fontSize
updated from 12px to 16px (exported as rem)lineHeight
updated from 12px to 18px (exported as rem)

Text
Text font-weights have been updated to use font weight 400
across all text sizes by default.

Anchor
- Anchor color has been updated from
text-strong
totext-primary
.

Buttons
Because of improved color contrast ratios in the updated color palette, all medium buttons have been updated to use 18px (exported as rem) as opposed to 19px which was previously required on HPE green background.
Primary
rest state
background
pulls in darker green frombackground-primary-strong
.fontWeight
updated from bold to semibold.
hover state
background
pulls in darker green frombackground-primary-strong-hover
.fontWeight
updated from bold to semibold.
selected state (active={true}
)
background
updated frombackground-contrast
tobackground-primary-xstrong
.fontWeight
updated from bold to semibold.
selected + hover state
background
updated frombackground-contrast
tobackground-primary-xstrong
.fontWeight
updated from bold to semibold.

Secondary
rest state
background
updated fromtransparent
tobackground-contrast
.borderColor
updated frombrand
totransparent
- label
color
updated fromtext-strong
totext-primary
. - icon
color
updated fromtext-strong
toicon-primary
.
hover state
background
updated fromtransparent
tobackground-contrast
.borderColor
updated frombrand
totransparent
- label
color
updated fromtext-strong
totext-primary
. - icon
color
updated fromtext-strong
toicon-primary
.
selected state (active={true}
)
background
updated frombackground-contrast
tobackground-selected-primary
.- label
color
updated fromtext-strong
totext-primary
. - icon
color
updated fromtext-strong
toicon-primary
.
selected + hover state
background
updated frombackground-contrast
tobackground-selected-primary-hover
.- text
color
updated fromtext-strong
totext-primary
. - icon
color
updated fromtext-strong
toicon-primary
.

Default
rest state
fontWeight
updated from semibold to medium.
hover state
fontWeight
updated from semibold to medium.
selected state (active={true}
)
- text
color
updated fromtext-strong
totext-primary
. - icon
color
updated fromtext-strong
toicon-primary
.
selected + hover state
- text
color
updated fromtext-strong
totext-primary
. - icon
color
updated fromtext-strong
toicon-primary
.

Toolbar
rest state
borderColor
updated fromborder-default
totransparent
.- text
color
updated fromtext-strong
totext-default
. - icon
color
updated fromtext-strong
toicon-default
.
hover state
- text
color
updated fromtext-strong
totext-default
. - icon
color
updated fromtext-strong
toicon-default
.
selected state (active={true}
)
background
updated frombackground-contrast
tobackground-selected-primary
.- text
color
updated fromtext-strong
totext-primary
. - icon
color
updated fromtext-strong
toicon-primary
.
selected + hover state
background
updated frombackground-contrast
tobackground-selected-primary-hover
.- text
color
updated fromtext-strong
totext-primary
. - icon
color
updated fromtext-strong
toicon-primary
.

ToggleGroup
Applies toolbar
Button style to options.

Tabs
- Removes borders
- Applies
background-selected-primary-strong
to selected tab.

Menu
- Applies padding of 6px around menu items.
- Adds border-radius of 6px onto individual menu items.

Select
- Applies padding of 6px around options.
- Adds border-radius of 6px onto individual options.
- Updates selected background from
brand
tobackground-selected-primary
and adds selected "marker" for accessibility affordance.

Checkbox
rest state
background
updated frombackground-default
totransparent
.
hover state
background
updated frombackground-default
tobackground-hover
.
checked / indeterminate state
background
pulls in updatedbackground-primary-strong
.
checked + hover / indeterminate + hover state
background
pulls in updatedbackground-primary-strong-hover
.
label
fontWeight
across all states updated from medium to regular.
control
borderRadius
updated from 4px to 6px.

Switch
track rest state
background
updated frombackground-default
todecorative-neutral
.borderColor
updated fromborder-default
totransparent
.
track hover state
background
updated fromcolor.default
todecorative-neutral-hover
.borderColor
updated fromborder-strong
totransparent
.
track disabled state
background
updated fromtransparent
tocolor.background.disabled
.borderColor
updated fromborder-default
totransparent
.
track checked state
background
pulls in updatedbackground-primary-strong
.borderColor
updated fromborder-default
totransparent
.
track checked + hover state
background
pulls in updatedbackground-primary-strong-hover
.borderColor
updated fromborder-strong
totransparent
.
label
fontWeight
across all states updated from medium to regular.
knob
height
,width
updated from24px
to22px
.

RadioButton
rest state
background
updated frombackground-default
tobackground-selected-primary-strong
.borderColor
updated fromborder-selected
totransparent
.- icon
color
updated frombrand
toicon-onSelectedPrimaryStrong
.
selected state
background
updated frombackground-default
tobackground-selected-primary-strong-hover
.borderColor
updated fromborder-selected
totransparent
.- icon
color
updated frombrand
toicon-onSelectedPrimaryStrong
.
label
fontWeight
across all states updated from medium to regular.

FormField
value
fontWeight
updated from medium to regular.- text
color
updated fromtext-default
totext-strong
.
input container
borderRadius
updated from 6px to 8px.
group container (around Ch...
v5.8.0
v5.7.0
- Updated font URLs based on changes from Brand. (#406)
NOTE: Depending on how specific an application's Content Security Policy is, it may need to be updated to allow the new URL. “https://www.hpe.com/h41225/hfws-static/” has been updated to “https://www.hpe.com/content/dam/hpe/“.
Old URL example: https://www.hpe.com/h41225/hfws-static/fonts/metric-hpe-web/MetricHPE-Web-Regular.woff2
New URL example: https://www.hpe.com/content/dam/hpe/fonts/metric-hpe-web/MetricHPE-Web-Regular.woff2 - Fixed DataTable sorting icons for Ascending and Descending. (#405)
- Fixed text-strong value to meet color contrast requirements on light mode secondary palette. (#402)