style(shadcn-ui): use space instead of tab on config fixture (#1707)

* style: use space instead of tab on config fixture

* style: fix identation on template script

* chore(shadcn-ui): add changeset

---------

Co-authored-by: shadcn <m@shadcn.com>
This commit is contained in:
Caíque de Castro Soares da Silva
2023-10-16 06:16:55 -03:00
committed by GitHub
parent 4083876e80
commit 46f247c47f
3 changed files with 11 additions and 6 deletions

View File

@@ -0,0 +1,5 @@
---
"shadcn-ui": patch
---
fix code style

View File

@@ -1,6 +1,6 @@
export const UTILS = `import { type ClassValue, clsx } from "clsx"
import { twMerge } from "tailwind-merge"
export function cn(...inputs: ClassValue[]) {
return twMerge(clsx(inputs))
}
@@ -8,7 +8,7 @@ export function cn(...inputs: ClassValue[]) {
export const UTILS_JS = `import { clsx } from "clsx"
import { twMerge } from "tailwind-merge"
export function cn(...inputs) {
return twMerge(clsx(inputs))
}
@@ -22,7 +22,7 @@ module.exports = {
'./components/**/*.{<%- extension %>,<%- extension %>x}',
'./app/**/*.{<%- extension %>,<%- extension %>x}',
'./src/**/*.{<%- extension %>,<%- extension %>x}',
],
],
theme: {
container: {
center: true,
@@ -59,7 +59,7 @@ module.exports = {
'./components/**/*.{<%- extension %>,<%- extension %>x}',
'./app/**/*.{<%- extension %>,<%- extension %>x}',
'./src/**/*.{<%- extension %>,<%- extension %>x}',
],
],
theme: {
container: {
center: true,

View File

@@ -6,7 +6,7 @@ module.exports = {
'./components/**/*.{ts,tsx}',
'./app/**/*.{ts,tsx}',
'./src/**/*.{ts,tsx}',
],
],
theme: {
container: {
center: true,
@@ -73,4 +73,4 @@ module.exports = {
},
},
plugins: [require("tailwindcss-animate")],
}
}