@pajn-linaria/logger
TypeScript icon, indicating that this package has built-in type declarations

4.0.1 • Public • Published

Linaria

Zero-runtime CSS in JS library.


📖 Please refer to the GitHub for full documentation.

Features

  • Write CSS in JS, but with zero runtime, CSS is extracted to CSS files during build
  • Familiar CSS syntax with Sass like nesting
  • Use dynamic prop based styles with the React bindings, uses CSS variables behind the scenes
  • Easily find where the style was defined with CSS sourcemaps
  • Lint your CSS in JS with stylelint
  • Use JavaScript for logic, no CSS preprocessor needed
  • Optionally use any CSS preprocessor such as Sass or PostCSS

Why use Linaria

Installation

npm install @pajn-linaria/core @pajn-linaria/react @pajn-linaria/babel-preset

or

yarn add @pajn-linaria/core @pajn-linaria/react @pajn-linaria/babel-preset

/@pajn-linaria/logger/

    Package Sidebar

    Install

    npm i @pajn-linaria/logger

    Weekly Downloads

    0

    Version

    4.0.1

    License

    MIT

    Unpacked Size

    21.1 kB

    Total Files

    8

    Last publish

    Collaborators

    • pajn