Skip to content

Commit

Permalink
feat: Add Tailwind and shadcn-svelte
Browse files Browse the repository at this point in the history
BREAKING CHANGES
  • Loading branch information
mateoroldos committed Dec 20, 2023
1 parent 10153cc commit c54431c
Show file tree
Hide file tree
Showing 11 changed files with 746 additions and 41 deletions.
10 changes: 9 additions & 1 deletion .prettierrc
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,13 @@
"trailingComma": "none",
"printWidth": 100,
"pluginSearchDirs": ["."],
"overrides": [{ "files": "*.svelte", "options": { "parser": "svelte" } }]
"overrides": [
{
"files": "*.svelte",
"options": {
"parser": "svelte"
}
}
],
"plugins": ["prettier-plugin-tailwindcss"]
}
13 changes: 13 additions & 0 deletions components.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{
"$schema": "https://shadcn-svelte.com/schema.json",
"style": "default",
"tailwind": {
"config": "tailwind.config.js",
"css": "src/app.pcss",
"baseColor": "slate"
},
"aliases": {
"components": "$lib/components",
"utils": "$lib/utils"
}
}
Loading

0 comments on commit c54431c

Please sign in to comment.