All Projects → patternfly → Patternfly

patternfly / Patternfly

Licence: mit
This repo contains core (HTML/CSS) implementation for PatternFly. Issues related to CSS/HTML and layout should be filed here.

Projects that are alternatives of or similar to Patternfly

Web App
Mifos X Web App is the revamped version of the Mifos X Community App built on top of the Fineract Platform leveraging the popular Angular framework.
Stars: ✭ 87 (-73.48%)
Mutual labels:  hacktoberfest, scss
Colaboradados.github.io
O VEÍCULO COLABORATIVO SOBRE TRANSPARÊNCIA E OPEN DATA NO BRASIL.
Stars: ✭ 201 (-38.72%)
Mutual labels:  hacktoberfest, scss
Phpid Learning
🙋 Belajar daring bersama PHPID
Stars: ✭ 125 (-61.89%)
Mutual labels:  hacktoberfest, scss
Ifme
Free, open source mental health communication web app to share experiences with loved ones
Stars: ✭ 1,147 (+249.7%)
Mutual labels:  hacktoberfest, scss
Docs
Parse Platform docs
Stars: ✭ 296 (-9.76%)
Mutual labels:  hacktoberfest, scss
Commudle Ng
World's first community management platform. And it's free!
Stars: ✭ 81 (-75.3%)
Mutual labels:  hacktoberfest, scss
Bootstrap Italia
Bootstrap Italia è un tema Bootstrap 4 conforme alle linee guida di design per i servizi web della PA
Stars: ✭ 193 (-41.16%)
Mutual labels:  hacktoberfest, scss
Magento2 Theme Blank Sass
SASS based version of Magento 2 Blank theme
Stars: ✭ 373 (+13.72%)
Mutual labels:  hacktoberfest, scss
Elixirschool
The content behind Elixir School
Stars: ✭ 3,171 (+866.77%)
Mutual labels:  hacktoberfest, scss
Stylesheet
The GTK Stylesheet for elementary OS
Stars: ✭ 260 (-20.73%)
Mutual labels:  hacktoberfest, scss
React Foundation
Foundation as React components.
Stars: ✭ 573 (+74.7%)
Mutual labels:  hacktoberfest, scss
Devlopr Jekyll
Build and Deploy your Static Site 🚀 using this beautiful Jekyll Framework/Theme built for Creatives
Stars: ✭ 309 (-5.79%)
Mutual labels:  hacktoberfest, scss
Alembic
⚗️ A Jekyll boilerplate theme designed to be a starting point for any Jekyll website
Stars: ✭ 501 (+52.74%)
Mutual labels:  hacktoberfest, scss
Garth
🥁 A really basic theme for Jekyll
Stars: ✭ 85 (-74.09%)
Mutual labels:  hacktoberfest, scss
Github Dark Theme
GitHub Dark Theme - Extension for Chrome, Firefox, and Microsoft Edge
Stars: ✭ 413 (+25.91%)
Mutual labels:  hacktoberfest, scss
Media Manager
A simple file browser and up-loader for Laravel written in Vue.JS
Stars: ✭ 190 (-42.07%)
Mutual labels:  hacktoberfest, scss
Awesome Learning
Awesome Learning - Learn JavaScript and Front-End Fundamentals at your own pace
Stars: ✭ 216 (-34.15%)
Mutual labels:  hacktoberfest, scss
Scssphp
SCSS compiler written in PHP
Stars: ✭ 309 (-5.79%)
Mutual labels:  hacktoberfest, scss
Letra Extension
Passively learn a new language every time you open a new tab
Stars: ✭ 323 (-1.52%)
Mutual labels:  hacktoberfest, scss
Jenkins
Jenkins automation server
Stars: ✭ 18,225 (+5456.4%)
Mutual labels:  hacktoberfest

PatternFly 4

Install

When you install PatternFly 4, the package includes:

  • a single file for the entire compiled library: node_modules/@patternfly/patternfly/patternfly.css
  • individual files with each component compiled separately: node_modules/@patternfly/patternfly/<ComponentName>/styles.css
  • a single file for the entire library's source (SASS): node_modules/@patternfly/patternfly/patternfly.scss
  • individual files for each component's source (SASS): node_modules/@patternfly/patternfly/<ComponentName>/styles.scss

Any of the files above are meant for use in consuming the library. The recommended consumption approach will vary from project to project.

Development

PatternFly 4 Development requires Node v12.0.0 or greater

To setup the PatternFly 4 development environment:

  • clone the project
  • run npm install from the project root
  • run npm start
  • open your browser to http://localhost:8001

After working on your contribution, check for accessibility violations.

Create components, layouts...

To create source file scaffolding for a new component, layout, utility, or demo, run the NPM script:

node generate <CamelName>

Below are the full options for this script:

Options:
  -f, --folder <folder>  Source folder (components, demos, layouts, or utilities) (default: "components")

Examples

To create a "Test component" component (.pf-c-test-component), run:

node generate TestComponent

To create a "Test layout" layout (.pf-l-test-layout), run:

node generate TestLayout -f layouts

To create 3 new demos named "Test demo", "Test demo 2", and "Test demo 3", run:

node generate TestDemo TestDemo2 TestDemo3 -f demos

Update screenshots

When making visual changes to a full page example, new example preview screenshots must be generated. To update the screenshots:

  • open a terminal and run npm run build and npm run serve
  • in another terminal, run npm run screenshots

Guidelines for CSS development

  • For issues created in Core that will affect a component in PF-React, a follow up issue must be created in PF-React once the Pull Request is merged. The issue should include the Core PR #, the Core Release, a link to the component in https://pf4.patternfly.org, and information detailing the change.
  • If global variables are modified in Core, a React issue should be opened to address this.
  • CSS developers should ensure that animation is well documented and communicated to the respective React developer.
  • Once the component/enhancement is complete it should receive sign off from a visual designer who can then update the master sketch file with any changes.

Beta components

When creating a brand new component, it should be released as beta in order to get feedback.

Testing for accessibility

PatternFly uses aXe: The Accessibility Engine to check for accessibility violations. Our goal is to meet WCAG 2.0 AA requirements, as noted in our Accessibility guide.

How to perform an accessibility audit with aXe

aXe is available as either a browser extension or npm script.

To run the a11y audit locally:

  • install the latest chromedriver and ensure its available on your system $PATH
    • macOS users can simply brew cask install chromedriver
  • run npm run dev
  • run npm run a11y (in another console)

The tool is configured to return WCAG 2.0 AA violations for the full page renderings of all components, layouts, utilities, and demos. The tool will provide feedback about what the violation is and a link to documentation about how to address the violation.

The same tool is also available as a browser extension for Chrome and Firefox.

Fixing violations

Ignore the violations that aren’t related to your contribution.

Fix violations related to your contribution.

If there are violations that are not obvious how to fix, then create an issue with information about the violation that was found. For example, some violations might require further discussion before they can be addressed. And some violations may not be valid and require changes to the workspace or tooling to stop flagging the violation.

If you have any suggestions about ways that we can improve how we use this tool, please let us know by opening an issue.

FAQ

CSS Variables

How do I use CSS variables to customize the library?

Browser support

PatternFly 4 is supported on the latest two major versions of the following browsers:

  • Chrome
  • Firefox
  • Safari
  • Edge
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].