Skip to content
Merged
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
3 changes: 0 additions & 3 deletions app/global.css
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,6 @@
/* Reference tailwind.config.js for HeroUI compatibility */
@config "../tailwind.config.js";

/* HeroUI Plugin */
@plugin "./hero.ts";

/* Theme configuration - migrated from tailwind.config.ts */
@theme {
/* Primary colors from tailwind.config.ts */
Expand Down
27 changes: 0 additions & 27 deletions app/hero.ts

This file was deleted.

3 changes: 2 additions & 1 deletion biome.jsonc
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,8 @@
"tsconfig.json",
"src/constants/oracle/**/*.json",
"public/manifest.json",
"src/components/ui/*.tsx"
"src/components/ui/*.tsx",
"src/components/shared/date-picker.tsx"
],
"formatter": {
"enabled": false
Expand Down
8 changes: 4 additions & 4 deletions docs/Styling.md
Original file line number Diff line number Diff line change
Expand Up @@ -298,11 +298,11 @@ import { Button } from '@/components/ui/button';
Variants: `primary` | `surface` | `default` | `ghost`
Sizes: `xs` | `sm` | `md` | `lg` | `icon`

When wrapping Button in HeroUI Tooltip, wrap it in a `<span>` to prevent ResizeObserver errors.
When wrapping Button in Tooltip, wrap it in a `<span>` to prevent ResizeObserver errors.

### Switch

Always use `IconSwitch` from `@/components/ui/icon-switch`. Never use HeroUI Switch.
Always use `IconSwitch` from `@/components/ui/icon-switch`.

```tsx
import { IconSwitch } from '@/components/ui/icon-switch';
Expand Down Expand Up @@ -332,7 +332,7 @@ Sizes: `xs` | `sm` | `md` | `lg`

### Checkbox

Always use `Checkbox` from `@/components/ui/checkbox`. Never use HeroUI Checkbox.
Always use `Checkbox` from `@/components/ui/checkbox`.

```tsx
import { Checkbox } from '@/components/ui/checkbox';
Expand Down Expand Up @@ -546,7 +546,7 @@ import { TablePagination } from '@/components/common/TablePagination';
</div>
</TableCell>
```
4. **Pagination**: Always use `TablePagination` component (not HeroUI `Pagination`)
4. **Pagination**: Always use `TablePagination` component

**Styling:** All styling applied via `app/global.css` - don't add inline styles or override padding.

Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,6 @@
},
"dependencies": {
"@heroicons/react": "^2.2.0",
"@heroui/react": "^2.4.2",
"@heroui/theme": "^2.2.6",
"@internationalized/date": "^3.8.2",
"@merkl/api": "^1.7.0",
"@morpho-org/blue-sdk": "^5.3.0",
Expand Down Expand Up @@ -50,6 +48,7 @@
"animejs": "^4.2.2",
"class-variance-authority": "^0.7.1",
"clsx": "^2.1.0",
"date-fns": "^4.1.0",
"framer-motion": "^11.2.10",
"graphql": "^16.8.1",
"graphql-request": "6",
Expand All @@ -60,6 +59,7 @@
"perfume.js": "9.2.0",
"pino-pretty": "^13.1.3",
"react": "^18",
"react-day-picker": "^9.13.0",
"react-dom": "^18",
"react-icons": "^5.2.1",
"react-remove-scroll": "^2.5.7",
Expand Down
Loading