Skip to content

Commit 8e30620

Browse files
committed
feat: Migrate to tailwindcss
1 parent eb2b77f commit 8e30620

34 files changed

+2205
-1328
lines changed

components.json

+17
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
{
2+
"$schema": "https://ui.shadcn.com/schema.json",
3+
"style": "new-york",
4+
"rsc": false,
5+
"tsx": true,
6+
"tailwind": {
7+
"config": "tailwind.config.js",
8+
"css": "src/index.css",
9+
"baseColor": "zinc",
10+
"cssVariables": true,
11+
"prefix": ""
12+
},
13+
"aliases": {
14+
"components": "@/components",
15+
"utils": "@/lib/utils"
16+
}
17+
}

index.html

+4-6
Original file line numberDiff line numberDiff line change
@@ -10,15 +10,13 @@
1010
<meta name="viewport" content="width=device-width, initial-scale=1" />
1111
<meta name="description" content="A minimal, purely client-side program for viewing Zarr-based images." />
1212
<title>vizarr</title>
13+
<style>
14+
/* #deckgl-overlay { border: 1px solid red; } */
15+
</style>
1316
</head>
14-
<body>
17+
<body class="bg-black overflow-hidden 100-vh 100-wh">
1518
<div id="root"></div>
1619
<noscript>You need to enable JavaScript to run this app.</noscript>
1720
<script type="module" src="/main.ts"></script>
18-
<style>
19-
html {
20-
background-color: black;
21-
}
22-
</style>
2321
</body>
2422
</html>

package.json

+15-5
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,18 @@
1212
},
1313
"dependencies": {
1414
"@hms-dbmi/viv": "~0.17.2",
15-
"@material-ui/core": "^4.11.0",
16-
"@material-ui/icons": "^4.9.1",
17-
"@material-ui/styles": "^4.11.5",
18-
"@vivjs/types": "~0.17.0",
19-
"@zarrita/storage": "0.1.0-next.9",
15+
"@radix-ui/react-accordion": "^1.2.0",
16+
"@radix-ui/react-icons": "^1.3.0",
17+
"@radix-ui/react-popover": "^1.1.1",
18+
"@radix-ui/react-select": "^2.1.1",
19+
"@radix-ui/react-separator": "^1.1.0",
20+
"@radix-ui/react-slider": "^1.2.0",
21+
"@radix-ui/react-slot": "^1.1.0",
22+
"@tailwindcss/vite": "4.0.0-alpha.17",
23+
"@vivjs/types": "^0.16.1",
24+
"@zarrita/storage": "^0.1.0",
25+
"class-variance-authority": "^0.7.0",
26+
"clsx": "^2.1.1",
2027
"deck.gl": "~9.0.0",
2128
"jotai": "^1.0.0",
2229
"just-debounce-it": "^3.1.1",
@@ -25,6 +32,9 @@
2532
"quick-lru": "^7.0.0",
2633
"react": "^18.2.0",
2734
"react-dom": "^18.2.0",
35+
"tailwind-merge": "^2.4.0",
36+
"tailwindcss": "4.0.0-alpha.17",
37+
"tailwindcss-animate": "^1.0.7",
2838
"zarrita": "0.4.0"
2939
},
3040
"devDependencies": {

0 commit comments

Comments
 (0)