char-fork/llama.cpp

git clone https://git.t4t.associates/char-fork/llama.cpp

Aleksander Grygierui: Restructure repo to use `tools/ui` folder and `ui` / `UI` / `llama-ui` / `LLAMA_UI` naming (#23064)59778f019

char/aliceai-t5-moe
830 B42 linesraw
1import type { Preview } from '@storybook/sveltekit';
2import '../src/app.css';
3import ModeWatcherDecorator from './decorators/ModeWatcherDecorator.svelte';
4import TooltipProviderDecorator from './decorators/TooltipProviderDecorator.svelte';
5
6const preview: Preview = {
7	parameters: {
8		controls: {
9			matchers: {
10				color: /(background|color)$/i,
11				date: /Date$/i
12			}
13		},
14
15		backgrounds: {
16			disabled: true
17		},
18
19		a11y: {
20			// 'todo' - show a11y violations in the test UI only
21			// 'error' - fail CI on a11y violations
22			// 'off' - skip a11y checks entirely
23			test: 'todo'
24		}
25	},
26	decorators: [
27		(story) => ({
28			Component: ModeWatcherDecorator,
29			props: {
30				children: story
31			}
32		}),
33		(story) => ({
34			Component: TooltipProviderDecorator,
35			props: {
36				children: story
37			}
38		})
39	]
40};
41
42export default preview;