feat: implement Figlet, Pastel, and Unit tools with a unified layout

- Add Figlet text converter with font selection and history
- Add Pastel color palette generator and manipulation suite
- Add comprehensive Units converter with category-based logic
- Introduce AppShell with Sidebar and Header for navigation
- Modernize theme system with CSS variables and new animations
- Update project configuration and dependencies
This commit is contained in:
2026-02-22 21:35:53 +01:00
parent ff6bb873eb
commit 2000623c67
540 changed files with 338653 additions and 809 deletions

30
types/units/convert-units.d.ts vendored Normal file
View File

@@ -0,0 +1,30 @@
declare module 'convert-units' {
export interface Unit {
abbr: string;
measure: string;
system: string;
singular: string;
plural: string;
}
export interface Converter {
from(unit: string): {
to(toUnit: string): number;
toBest(options?: { exclude?: string[]; cutOffNumber?: number }): {
val: number;
unit: string;
singular: string;
plural: string;
};
getUnit(): Unit;
possibilities(): string[];
};
measures(): string[];
possibilities(measure?: string): string[];
describe(unit: string): Unit;
}
function convert(value?: number): Converter;
export default convert;
}