Added Tailwind CSS and tw-animate-css imports to globals.css. Introduced a custom dark variant and an extensive @theme inline block with CSS variables for colors, radii, and animations. Included keyframes for shimmer-slide, spin-around, gradient, shine, and background-position-spin to enable consistent theming and dynamic UI effects across the application.
49 lines
901 B
TypeScript
49 lines
901 B
TypeScript
import { TibiaStats, TibiaRequirements, TibiaProtection } from "./currency";
|
|
|
|
export interface TibiaItem {
|
|
id: string;
|
|
name: string;
|
|
image: string;
|
|
category:
|
|
| "weapon"
|
|
| "armor"
|
|
| "helmet"
|
|
| "legs"
|
|
| "boots"
|
|
| "shield"
|
|
| "amulet"
|
|
| "ring"
|
|
| "potion"
|
|
| "rune"
|
|
| "tool"
|
|
| "ammunition"
|
|
| "other";
|
|
rarity: "common" | "uncommon" | "rare" | "epic" | "legendary";
|
|
stats?: TibiaStats;
|
|
requirements?: TibiaRequirements;
|
|
protections?: TibiaProtection;
|
|
stackable?: boolean;
|
|
dropLocation?: string;
|
|
npcPrice?: number;
|
|
price: {
|
|
buy: number;
|
|
sell: number;
|
|
bid?: number;
|
|
};
|
|
priceHistory: {
|
|
highest: number;
|
|
lowest: number;
|
|
average: number;
|
|
};
|
|
}
|
|
|
|
export interface MarketOffer {
|
|
id: string;
|
|
item: TibiaItem;
|
|
seller: string;
|
|
price: number;
|
|
quantity: number;
|
|
type: "buy" | "sell";
|
|
timestamp: Date;
|
|
}
|