Big News: Socket raises $60M Series C at a $1B valuation to secure software supply chains for AI-driven development.Announcement
Sign In

@daikin-dsv/tailwind

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@daikin-dsv/tailwind

Tailwind plugin using DDS styling

alpha
latest
Source
npmnpm
Version
1.0.0-alpha.2
Version published
Maintainers
1
Created
Source

tailwind

Tailwind plugin utilizing Daikin-specific styles

Installation

Install the plugin from npm:

npm install -D @daikin-dsv/tailwind

Then add to your tailwind configuration file:

const daikinPlugin = require('@daikin-dsv/tailwind');

module.exports = {
    content: ['./src/**/*.js'],
    theme: {},
    variants: {
        extend: {}
    },
    plugins: [daikinPlugin(), ...otherPlugins]
};

Basic Usage

Colors

You can use extended colors anywhere you usually would.

<button class="text-daikinBlue-500 border-daikinBlue-500 hover:bg-daikinBlue-100">
    My Button
</button>

Available extensions:

daikinBlue
daikinNeutral
daikinRed
daikinYellow
daikinGreen

Available weight:

50
100
200
300
400
500
600
700
800
900
1000

All extensions have a default weight except for daikinNeutral.

Font Family

A daikinSerif fontFamily option has been added.

<h1 class="text-xl font-medium font-daikinSerif">Text</h1>

Note that the current default font is Roboto, so you would have to import that on your own.

Keywords

tailwind

FAQs

Package last updated on 16 Apr 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts