Footer
On this page
Style
A footer is a stack of two containers that include a variety of elements or content, mostly links and text blocks. Elements in a footer are high in contrast so they grab the attention of users and meet accessibility guidelines. A footer is designed to look similar in style to the primary navigation to ensure a consistent user experience across websites.
Anatomy
Grays
The website-specific footer background color is a slightly lighter gray than the universal footer background color. This variant creates separation and helps distinguish both footers from each other.
Theme
A footer only has one theme, but visually it could be considered in the dark theme.
Website-specific footer
Property | Token or value |
---|---|
Color - social media icons | --rh-color-gray-40 |
Color - divider lines | --rh-color-gray-50 |
Border width - divider lines | --rh-border-width-sm |
Color - titles and link text | --rh-color-white |
Color - body text | --rh-color-gray-30 |
Color - call to action | #73BCF7 |
Color - language selector icons and text | --rh-color-gray-30 |
Color - background | --rh-color-surface-dark-alt |
Universal footer
Property | Current value |
---|---|
Color - social media icons | --rh-color-gray-40 |
Color - link text | --rh-color-white |
Color - body text | --rh-color-gray-30 |
Color - background | --rh-color-surface-darkest |
Language selector
Property | Token or value |
---|---|
Color - link text | --rh-color-white |
Color - menu border | --rh-color-gray-50 |
Color - menu surface | --rh-color-surface-darkest |
Border radius - menu surface | 8px 0.5rem |
Configuration
A footer is a group of regions where various types of content can be organized. Within these regions, position and alignment are somewhat rigid in order to maintain consistency.
Space
Spacing tokens
Example
Token
Description
md
8px spacer
lg
16px spacer
xl
24px spacer
2xl
32px spacer
3xl
48px spacer
Interaction states
Hover
Property | Token or value |
---|---|
Color - social media icons | --rh-color-interactive-secondary-default |
Text decoration - link text | Underline |
Color - call to action | #BEE1F4 |
Color - language selector icons and text | --rh-color-white |
Color - Red Hat fedora | --rh-color-interactive-secondary-default |
Hover - language selector
Property | Light theme |
---|---|
Text decoration - link text | Underline |
Focus
Helpful tip
The Focus state has the same styles as the Hover state.
Property | Light theme |
---|---|
Color - focus ring | #73BCF7 |
Focus - language selector
Helpful tip
The Focus state has the same styles as the Hover state.
Property | Light theme |
---|---|
Color - focus ring | #73BCF7 |
Active
Helpful tip
The Active state has the same styles as the Hover state.
Property | Light theme |
---|---|
Color - focus ring | #73BCF7 |
Active - language selector
Helpful tip
The Active state has the same styles as the Hover state.
Property | Light theme |
---|---|
Color - focus ring | #73BCF7 |
Other libraries
To learn more about our other libraries, visit this page.
Feedback
To give feedback about anything on this page, contact us.