px-theme

WebJar for px-theme

License

License

GroupId

GroupId

org.webjars.bower
ArtifactId

ArtifactId

px-theme
Last Version

Last Version

2.0.4
Release Date

Release Date

Type

Type

jar
Description

Description

px-theme
WebJar for px-theme
Project URL

Project URL

http://webjars.org
Source Code Management

Source Code Management

https://github.com/PredixDev/px-theme

Download px-theme

How to add to project

<!-- https://jarcasting.com/artifacts/org.webjars.bower/px-theme/ -->
<dependency>
    <groupId>org.webjars.bower</groupId>
    <artifactId>px-theme</artifactId>
    <version>2.0.4</version>
</dependency>
// https://jarcasting.com/artifacts/org.webjars.bower/px-theme/
implementation 'org.webjars.bower:px-theme:2.0.4'
// https://jarcasting.com/artifacts/org.webjars.bower/px-theme/
implementation ("org.webjars.bower:px-theme:2.0.4")
'org.webjars.bower:px-theme:jar:2.0.4'
<dependency org="org.webjars.bower" name="px-theme" rev="2.0.4">
  <artifact name="px-theme" type="jar" />
</dependency>
@Grapes(
@Grab(group='org.webjars.bower', module='px-theme', version='2.0.4')
)
libraryDependencies += "org.webjars.bower" % "px-theme" % "2.0.4"
[org.webjars.bower/px-theme "2.0.4"]

Dependencies

compile (3)

Group / Artifact Type Version
org.webjars.bower : polymer jar [1.7.0,2)
org.webjars.bower : px-typography-design jar [1.2.0,2)
org.webjars.bower : px-iconography-design jar [0.3.8,0.4)

Project Modules

There are no modules declared in this project.

px-theme

Overview

Px-theme is a Predix UI component which serves as the starting point for theming other Predix UI components. It is based loosely on the concepts outlined here.

Usage

Prerequisites

  1. node.js
  2. npm
  3. bower
  4. webcomponents-lite.js polyfill

Node, npm, and bower are necessary to install the component and dependencies. webcomponents.js adds support for web components and custom elements to your application.

Getting Started

First, install the style module via bower on the command line:

bower install px-theme --save

Second, import the style module in your application with the following tag in your head:

<link rel="import" href="/bower_components/px-theme/px-theme-styles.html"/>

Finally, use the style module in your application.

<style include="px-theme-styles"></style>

Read more about Polymer style modules here.

Local Development

From the component's directory...

$ npm install
$ bower install
$ gulp sass

From the component's directory, to start a local server run:

$ gulp serve

Navigate to the root of that server (e.g. http://localhost:8080/) in a browser to open the API documentation page, with link to the "Demo" / working examples.

GE Coding Style Guide

GE JS Developer's Guide



Known Issues

Please use Github Issues to submit any bugs you might find.

org.webjars.bower

Predix

Versions

Version
2.0.4