Skip to content

anybody got this working with shadcn ui? #608

Answered by kevinrss01
kamigerami asked this question in Q&A
Discussion options

You must be logged in to vote

You can use shadcn + tremor you have to update your tailwind.config.ts like this (after the installation of tremor and shadcn) :

import type { Config } from "tailwindcss";

const config: Config = {
  content: [
    "./pages/**/*.{js,ts,jsx,tsx,mdx}",
    "./components/**/*.{js,ts,jsx,tsx,mdx}",
    "./app/**/*.{js,ts,jsx,tsx,mdx}",
    "./node_modules/@tremor/**/*.{js,ts,jsx,tsx}",
  ],
  theme: {
    transparent: "transparent",
    current: "currentColor",
    extend: {
      colors: {
        //shadcn
        border: "hsl(var(--border))",
        input: "hsl(var(--input))",
        ring: "hsl(var(--ring))",
        background: "hsl(var(--background))",
        foreground: "hsl(var(--for…

Replies: 4 comments 3 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@luisalrp
Comment options

Comment options

You must be logged in to vote
2 replies
@eby-paul-daniel-codeglo
Comment options

@trevorpfiz
Comment options

Answer selected by christopherkindl
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
7 participants