feat: integrate Tailwind CSS with custom theme and animations
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.
This commit is contained in:
1 parent
55c169bd6e
commit
5c1ccbc69a
67 files changed
+8984
-160
No files matched your search
@@ -0,0 +1,39 @@
|
||||
export type Currency = "gp" | "tc";
|
||||
|
||||
export interface Price {
|
||||
value: number;
|
||||
currency: Currency;
|
||||
tcEquivalent?: number; // 1 TC ≈ 35.000 gp
|
||||
}
|
||||
|
||||
export interface TibiaProtection {
|
||||
fire?: number;
|
||||
ice?: number;
|
||||
energy?: number;
|
||||
earth?: number;
|
||||
death?: number;
|
||||
holy?: number;
|
||||
}
|
||||
|
||||
export interface TibiaStats {
|
||||
attack?: number;
|
||||
defense?: number;
|
||||
armor?: number;
|
||||
weight?: number;
|
||||
speed?: number;
|
||||
manaRegen?: number;
|
||||
hpRegen?: number;
|
||||
skillBoost?: {
|
||||
sword?: number;
|
||||
axe?: number;
|
||||
club?: number;
|
||||
distance?: number;
|
||||
shielding?: number;
|
||||
fishing?: number;
|
||||
};
|
||||
}
|
||||
|
||||
export interface TibiaRequirements {
|
||||
level?: number;
|
||||
vocation?: "Knight" | "Paladin" | "Sorcerer" | "Druid" | "No Vocation";
|
||||
}
|
||||
@@ -0,0 +1,48 @@
|
||||
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;
|
||||
}
|
||||
Reference in new issue
Block a user