Notably Polite Mariner

    gloss
    TypeScript icon, indicating that this package has built-in type declarations

    2.8.23 • Public • Published

    TODO

    • get much better static extraction
      • extract from gloss() style views
      • extract css variables stuff
    • support flattened transform props (x, y, scale, etc)
    • maybe flatten psuedos

    gloss 💅

    usage:

    full-featured example:

    import React from 'react'
    import ReactDOM from 'react-dom'
    import Icon from './icon'
    import Popover from './popover'
    
    const LINE_HEIGHT = 30
    
    ReactDOM.render(
      <ThemeProvide bright={{ background: '#000' }}>
        <Theme name="bright">
          <Surface icon="name" />
        </Theme>
      </ThemeProvide>,
      document.querySelector('#app'),
    )

    Keywords

    none

    Install

    npm i gloss

    DownloadsWeekly Downloads

    218

    Version

    2.8.23

    License

    MIT

    Unpacked Size

    564 kB

    Total Files

    249

    Last publish

    Collaborators

    • nwienert
    • steelbrain