(feat): add ttp-tauri and integrate it
All checks were successful
/ build-web (push) Successful in 1m27s
/ build-desktop (linux) (push) Successful in 6m46s
/ build-mobile (push) Successful in 17m23s
/ release (push) Successful in 32s

(feat): change font to Public Sans
This commit is contained in:
Alois 2026-06-09 19:48:18 +02:00
commit 4c0f2fde91
13 changed files with 73 additions and 64 deletions

View file

@ -12,7 +12,7 @@
"preview": "cd dist && nix-shell -p python3 --run 'python3 -m http.server 3000' && cd .."
},
"dependencies": {
"@fontsource-variable/inter": "^5.2.8",
"@fontsource-variable/public-sans": "^5.2.7",
"@tailwindcss/vite": "^4.2.4",
"@tanstack/react-router": "^1.169.1",
"@tanstack/react-virtual": "^3.13.24",

View file

@ -98,7 +98,9 @@ export function List<K extends ListStorageKey>({
};
const deleteItems = (indexes: Set<number>) => {
const nextItems = items.filter((_, index) => !indexes.has(index)) as Storage[K];
const nextItems = items.filter(
(_, index) => !indexes.has(index),
) as Storage[K];
setItems(nextItems);
setSelectedItems(new Set());

View file

@ -1,13 +1,13 @@
@import "tailwindcss";
@import "tailwind-scrollbar-hide/v4";
@import "tw-animate-css";
@import "@fontsource-variable/inter";
@import "@fontsource-variable/public-sans";
@source "./**/*.{ts,tsx}";
@source "../../../packages/**/src/**/*.{ts,tsx}";
@theme {
--font-sans: "Inter Variable", sans-serif;
--font-sans: "Public Sans Variable", sans-serif;
--animate-wiggle: wiggle 0.5s ease-in-out infinite;
@ -31,7 +31,7 @@ body,
}
body {
font-family: "Inter Variable", sans-serif;
font-family: "Public Sans Variable", sans-serif;
}
#root {

View file

@ -96,6 +96,9 @@ export default defineConfig({
},
},
envPrefix: ["VITE_", "TAURI_ENV_*"],
optimizeDeps: {
exclude: ["@tensamin/ttp-core"],
},
build: {
minify: !process.env.TAURI_ENV_DEBUG ? "esbuild" : false,
sourcemap: !!process.env.TAURI_ENV_DEBUG,