Skip to content

luke-john/swm-glamor-prefixer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

swm-glamor-prefixer

This custom glamor prefixer allows you to use glamor with the following browser/device support.

const browserList = {
    chrome: 41, // Google search bot
    firefox: 52,
    android: 4, // mainly needed for Samsung browser
    ios_saf: 9,
    safari: 9,
    ie: 10,
    edge: 13,
}

Installing

yarn add swm-glamor-prefixer

Usage

In an entry file import applyPrefixer and call it before using glamor.

ie.

import { applyPrefixer } from 'swm-glamorous-prefixer'

applyPrefixer()

About

Custom glamor prefixer used by SWM WA

Resources

Stars

Watchers

Forks

Packages