Narrating Prophetic Monks

    @twind/preset-mini
    TypeScript icon, indicating that this package has built-in type declarations

    1.0.0-next.1 • Public • Published

    @twind/preset-mini


    READ THIS FIRST!

    Twind v1 is still in beta. Expect bugs!


    Installation

    Install from npm:

    # Using npm
    npm install @twind/preset-mini@next
    
    # Using Yarn
    yarn add @twind/preset-mini@next

    Usage

    import { defineConfig, twind, cssom, observe } from '@twind/core'
    import mini from '@twind/preset-mini'
    
    const config = defineConfig({
      presets: [mini()],
    })
    
    const tw = observe(twind(config, cssom()))

    Documentation missing: Look at the source for now.

    Short CSS

    Allows any CSS properties to be added:

    <div class="background-color[#1da1f1]" />

    ↓ ↓ ↓ ↓ ↓ ↓

    .background-color\[\#1da1f1\] {
      background-color: #1da1f1;
    }

    Install

    npm i @twind/preset-mini

    Homepage

    twind.dev

    DownloadsWeekly Downloads

    15

    Version

    1.0.0-next.1

    License

    MIT

    Unpacked Size

    17 kB

    Total Files

    15

    Last publish

    Collaborators

    • sastan