Giter Club home page Giter Club logo

preact-glam's Introduction

preact-glam

A tiny glamorous implementation for preact

Travis David npm npm JavaScript Style Guide MIT License

The current size of preact-glam/dist/preact-glam.umd.min.js is:

gzip size

IMPORTANT NOTE ABOUT SIZE: Because preact-glam depends on glamor, you should consider the full size you'll be adding to your application if you don't already have glamor.

Install

This project uses node and npm. Go check them out if you don't have them locally installed.

$ yarn add preact-glam

Then with a module bundler like rollup or webpack, use as you would anything else:

// using ES6 modules
import glam from 'preact-glam'

// using CommonJS modules
var glam = require('preact-glam')

The UMD build is also available on unpkg:

<script src="https://unpkg.com/preact-glam/dist/preact-glam.umd.js"></script>

You can find the library on window.preactGlam.

Usage

Please refer to glamorous-tiny.

It should support all the features supported by glamorous-tiny (with the exception of theming support).

Tests

$ yarn run test

MIT License © Alessandro Arnodo

preact-glam's People

Contributors

vesparny avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

kentcdodds

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.