create-stylesheet

WebJar for create-stylesheet

License

License

MIT
GroupId

GroupId

org.webjars.npm
ArtifactId

ArtifactId

create-stylesheet
Last Version

Last Version

0.3.0
Release Date

Release Date

Type

Type

jar
Description

Description

create-stylesheet
WebJar for create-stylesheet
Project URL

Project URL

https://www.webjars.org
Source Code Management

Source Code Management

https://github.com/mzabriskie/create-stylesheet

Download create-stylesheet

How to add to project

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

Dependencies

There are no dependencies for this project. It is a standalone project that does not depend on any other jars.

Project Modules

There are no modules declared in this project.

create-stylesheet build status

Dynamically create a stylesheet

Example

import createStyleSheet from 'create-stylesheet';

let style = createStyleSheet({
  '.foo': {
    fontSize: 12,
    padding: 5
  },
  '.bar': {
    fontSize: 16,
    color: 'grey'
  }
});

document.head.appendChild(style);

Versions

Version
0.3.0