Files
ss-tools/frontend/svelte.config.js
busya db527dca98 style(frontend): unify styling on semantic design tokens and drop legacy src/components zone
- Replace raw Tailwind colors, hex arbitrary values, inline color styles and
  undefined CSS vars with semantic tokens from tailwind.config.js across
  routes and lib/components (modal backdrops -> bg-surface-overlay, sky-* ->
  info family, dark log console -> terminal/log tokens, etc.)
- Rewrite unstyled AgentRunPanel/DraftArtifactList on $lib/ui atoms
  (Button/Badge) and align MarkdownRenderer fallbacks with the token palette
- Extend audit-frontend-style.mjs gate: missing palettes, hex-arbitrary,
  inline style color/var checks, routes/*.svelte + lib/components .ts scan;
  fix quadratic inline-style regex and duplicate bg-white rule
- Remove legacy src/components zone: $components aliases (svelte/vitest
  configs), LEGACY_COMPONENTS walk, stale prompt rules in .kilo/.agents
2026-08-03 10:29:04 +07:00

24 lines
439 B
JavaScript
Executable File

import adapter from '@sveltejs/adapter-static';
import { vitePreprocess } from '@sveltejs/vite-plugin-svelte';
/** @type {import('@sveltejs/kit').Config} */
const config = {
preprocess: vitePreprocess(),
kit: {
alias: {
'$lib': 'src/lib',
'$types': 'src/types'
},
adapter: adapter({
pages: 'build',
assets: 'build',
fallback: 'index.html',
precompress: false,
strict: true
})
}
};
export default config;