github-corner

WebJar for github-corner

License

License

MIT
Categories

Categories

Github Development Tools Version Controls
GroupId

GroupId

org.webjars.bowergithub.afonsopacifer
ArtifactId

ArtifactId

github-corner
Last Version

Last Version

2.0.0
Release Date

Release Date

Type

Type

jar
Description

Description

github-corner
WebJar for github-corner
Project URL

Project URL

http://webjars.org
Source Code Management

Source Code Management

https://github.com/afonsopacifer/github-corner

Download github-corner

How to add to project

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

Dependencies

compile (1)

Group / Artifact Type Version
org.webjars.bowergithub.polymer : polymer jar [1.5.0,2)

Project Modules

There are no modules declared in this project.

<github-corner>

<:octocat:/> A Polymer 2.0 element for github corner.

Travis CI Status bower Published on webcomponents.org

How to install and use

1 - Install the element using Bower:

bower install github-corner --save

2 - Import the element:

<link rel="import" href="bower_components/github-corner/github-corner.html">

3 - Start using it!

<github-corner href="https://github.com/afonsopacifer/github-corner"></github-corner>

Properties

Property Type Default Description
href String # Hyperlink reference

Styling

The following custom properties and mixins are available for styling:

Custom property Default Description
--github-corner-background #24292E Background color
--github-corner-color #ffffff Octocats color
--github-corner-size 80px Badge size
--github-corner-z-index 1 z-index

Browser Support

Using the webcomponents.js:

Chrome Opera Firefox Safari IE Edge
Latest Latest Latest Latest 🚫 Latest

Development

1 - Install Bower & Polymer-CLI:

npm install -g bower polymer-cli

2 - Install local dependencies:

bower install

3 - Start the development server:

polymer serve --open

Tests

Linting

Linting with polylint:

polymer lint

Linting with eslint:

npm install -g eslint
npm install -g eslint-plugin-html

eslint *.html

Unit tests

Run tests:

polymer test --skip-plugin sauce

Quick tip: To run the selenium driver for safari, you need follow some instructions.

Versioning

To keep better organization of releases we follow the Semantic Versioning 2.0.0 guidelines.

Contributing

Find on our issues the next steps of the project ;)

Want to contribute? Follow these recommendations.

History

See Releases for detailed changelog.

License

MIT License © Afonso Pacifer

Versions

Version
2.0.0