Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
sqs committed May 18, 2024
1 parent d62ad75 commit c1ed570
Show file tree
Hide file tree
Showing 5 changed files with 28 additions and 24 deletions.
32 changes: 9 additions & 23 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 4 additions & 1 deletion web/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,9 @@
"vscode-uri": "^3.0.7"
},
"devDependencies": {
"@vitejs/plugin-react-swc": "^3.6.0"
"@vitejs/plugin-react-swc": "^3.6.0",
"postcss": "^8.4.38",
"tailwind-merge": "^2.3.0",
"tailwindcss": "^3.4.3"
}
}
5 changes: 5 additions & 0 deletions web/postcss.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
module.exports = {
plugins: {
tailwindcss: __dirname + '/tailwind.config.mjs',
},
}
1 change: 1 addition & 0 deletions web/src/index.css
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
@import '../../vscode/webviews/storybook/vscode-dark-theme.css';
@import '../../vscode/webviews/components/shadcn/shadcn.css';
@import '../node_modules/@vscode/codicons/dist/codicon.css';

:root {
Expand Down
9 changes: 9 additions & 0 deletions web/tailwind.config.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
import webviewTailwindConfig from '../vscode/webviews/tailwind.config.mjs'

export default {
...webviewTailwindConfig,
content: {
relative: true,
files: ['src/*.{ts,tsx}', '../vscode/webviews/**/*.{ts,tsx}'],
},
}

0 comments on commit c1ed570

Please sign in to comment.