New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@deckweiss/tailwindcss-config

Package Overview
Dependencies
Maintainers
0
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@deckweiss/tailwindcss-config

Copy and paste everything you need in your next project. Preferably, colors are copied as a whole to guarantee compatibility with figma design prototypes. The colors are optimized to work with shadcn. ## Installation ### 1. Install packages ```sh pnpm i @

  • 1.0.1
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
0
Created
Source

TailwindCSS Configuration

Copy and paste everything you need in your next project. Preferably, colors are copied as a whole to guarantee compatibility with figma design prototypes. The colors are optimized to work with shadcn.

Installation

1. Install packages

pnpm i @deckweiss/tailwindcss-config
pnpm i -D postcss-import

2. Update tailwind.config

import { colors } from '@deckweiss/tailwindcss-config';

export default {
    theme: {
        extend: {
            colors
        }
    }
}
 

2. Update postcss.config.js

// /postcss.config.js
module.exports = {
    plugins: {
        "postcss-import": {}
    }
}

3. Replace TailwindCSS statements

/* root css file */
@import "tailwindcss/base"; /* used to be `@tailwind base;` */
@import "tailwindcss/components"; /* used to be `@tailwind components;` */
@import "tailwindcss/utilities"; /* used to be `@tailwind utilities;` */

@import "@deckweiss/tailwindcss-config/variables";

Contribution

Please create a tag for every substantial change to keep track of compatibility.

FAQs

Package last updated on 27 Jul 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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc