Skip to content

RedHat-UX/red-hat-theme-for-patternfly6

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

61 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Red Hat Brand Theme

The Red Hat Brand Theme is an ongoing initiative to adapt and standardize the CSS styles of components from PatternFly and PatternFly Elements to align with the Red Hat Design System. This initiative ensures design and user experience consistency across Red Hat’s digital products, in full alignment with the standards and guidelines established in the Red Hat Design System.

Usage

To integrate the Red Hat Brand theme into your project, follow the steps below:

Install the Red Hat Brand Theme

Run the following command to install the redhat-brand-theme package via npm:

npm install redhat-brand-theme

Import the Red Hat Brand Theme CSS

In your main application file (e.g., index.js or App.js), import the RHDS theme CSS. Ensure that the RHDS theme has precedence over other framework styles by placing the import statement at the appropriate location:

import 'redhat-brand-theme/dist/redhat-brand-theme.css';  // Import RHDS theme

It is recommended to place this import after any other CSS imports to ensure that the RHDS theme styles take priority over framework-specific styles.

By following these steps, the RHDS theme will be applied to your project, providing a consistent design and user experience in line with the Red Hat Design System.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages