Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Migrate to tailwindcss #202

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 17 additions & 0 deletions components.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"$schema": "https://ui.shadcn.com/schema.json",
"style": "new-york",
"rsc": false,
"tsx": true,
"tailwind": {
"config": "tailwind.config.js",
"css": "src/index.css",
"baseColor": "zinc",
"cssVariables": true,
"prefix": ""
},
"aliases": {
"components": "@/components",
"utils": "@/lib/utils"
}
}
10 changes: 4 additions & 6 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,13 @@
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="description" content="A minimal, purely client-side program for viewing Zarr-based images." />
<title>vizarr</title>
<style>
/* #deckgl-overlay { border: 1px solid red; } */
</style>
</head>
<body>
<body class="bg-black overflow-hidden 100-vh 100-wh">
<div id="root"></div>
<noscript>You need to enable JavaScript to run this app.</noscript>
<script type="module" src="/main.ts"></script>
<style>
html {
background-color: black;
}
</style>
</body>
</html>
19 changes: 15 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,19 @@
},
"dependencies": {
"@hms-dbmi/viv": "^0.16.0",
"@material-ui/core": "^4.11.0",
"@material-ui/icons": "^4.9.1",
"@material-ui/styles": "^4.11.5",
"@hms-dbmi/vizarr": "link:",
"@radix-ui/react-accordion": "^1.2.0",
"@radix-ui/react-icons": "^1.3.0",
"@radix-ui/react-popover": "^1.1.1",
"@radix-ui/react-select": "^2.1.1",
"@radix-ui/react-separator": "^1.1.0",
"@radix-ui/react-slider": "^1.2.0",
"@radix-ui/react-slot": "^1.1.0",
"@tailwindcss/vite": "4.0.0-alpha.17",
"@vivjs/types": "^0.16.1",
"@zarrita/storage": "^0.0.2",
"@zarrita/storage": "0.1.0-next.5",
"class-variance-authority": "^0.7.0",
"clsx": "^2.1.1",
"deck.gl": "^8.9.34",
"jotai": "^1.0.0",
"just-debounce-it": "^3.1.1",
Expand All @@ -25,6 +33,9 @@
"quick-lru": "^7.0.0",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"tailwind-merge": "^2.4.0",
"tailwindcss": "4.0.0-alpha.17",
"tailwindcss-animate": "^1.0.7",
"zarrita": "^0.4.0-next.14"
},
"devDependencies": {
Expand Down
Loading