chore(deps): remove radix-ui and install tailwind-scrollbar

Removed radix-ui as it's no longer needed. Installed tailwind-scrollbar for custom scrollbar
styling.
This commit is contained in:
2025-11-15 23:49:54 +08:00
parent ec99b0cf6a
commit c3ec7f70ee
3 changed files with 3 additions and 11 deletions

View File

@@ -13,6 +13,7 @@
"dependencies": {
"@radix-ui/themes": "^3.2.1",
"solid-js": "^1.9.10",
"tailwind-scrollbar": "^4.0.2",
"tailwindcss": "^4.1.17"
},
"devDependencies": {

View File

@@ -1,11 +1,10 @@
@import 'tailwindcss';
@plugin 'tailwind-scrollbar';
@import "@radix-ui/themes/styles.css";
html,
body,
#root {
@apply flex h-full w-full items-center;
@apply flex h-full w-full items-center justify-center;
}
@custom-variant dark (&:where(.dark, .dark *));

View File

@@ -2,15 +2,7 @@
import { render } from 'solid-js/web';
import './index.css';
import App from './App.tsx';
import { Theme } from '@radix-ui/themes';
const root = document.getElementById('root');
render(
() => (
<Theme>
<App />
</Theme>
),
root!
);
render(() => <App />, root!);