@rhelements/cp-theme
v1.0.0-prerelease.9
Published
cp-theme for Red Hat's Customer Portal and PFElements
Downloads
8
Readme
# WIP 🐣: Customer Portal Theme for PFElements
Styles PFElements for the Red Hat Customer Portal.
Usage
cp-theme
requires Overpass font to be included via CDN.
RequireJS / UMD
<link rel="stylesheet" href="http://overpass-30e2.kxcdn.com/overpass.css" />
<script>require(['/path/to/themes/cp-theme/cp-theme.umd.js'])</script>
W3C Spec
<link rel="stylesheet" href="http://overpass-30e2.kxcdn.com/overpass.css" />
<link rel="stylesheet" href="/path/to/themes/cp-theme/cp-theme.css" />
Test
npm run test
Build
npm run build
Demo
From the PFElements root directory, run:
npm start
Code style
Cta (and all PFElements) use Prettier to auto-format JS and JSON. The style rules get applied when you commit a change. If you choose to, you can integrate your editor with Prettier to have the style rules applied on every save.