Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

@filbert-js/core

kuldeepkeshwar2kMIT0.0.14

A light weight(~1KB) css-in-js solution(framework)🎨

javascript, react, preact, css, css-in-js, filbert-js, 1kb, light-weight, styling, styled, emotion, styled-components

readme

@filbert-js/core

A light weight(~1KB) css-in-js solution(framework)🎨.

Install

yarn add @filbert-js/core

Usage

`jsx editor=static import React from 'react'; import { styled, Global } from '@filbert-js/core';

const Button = styled('button')background: pink; border: solid 1px gray;;

render( <> <Button>This is a Button component.</Button> <Global styles={.text { background: hotpink; padding: 1rem; }} />

I'm pink
</>, ); `

More documentation is available at https://filbert-js.vercel.app.

changelog

@filbert-js/core

0.0.14

Patch Changes

0.0.13

Patch Changes

  • fcf4d50: Add @filbert-js/stylesheet to @filbert-js/core dependency list.

0.0.12

Patch Changes

0.0.11

Patch Changes

0.0.10

Patch Changes

0.0.9

Patch Changes

0.0.8

Patch Changes

  • 002e3f5: - Prepend #PURE comment to help minifiers with dead code elimination (=DCE)
    • Remove StyleSheetContext from styled api
    • Refactored website(sidebar)

0.0.7

Patch Changes

  • 28ecee8: - Add babel-plugin-filbert/ gatsby-browser.js to gatsby-plugin-filbert
    • remove babel-plugin-filbert/ gatsby-browser.js from website
    • Fix jsx API: handle null props case & children

0.0.6

Patch Changes

  • fa304df: Add cache for hashing

0.0.5

Patch Changes