Skip to content

Commit 1b131ba

Browse files
committed
fix: formatting.
1 parent 77ef0c5 commit 1b131ba

File tree

5 files changed

+54
-59
lines changed

5 files changed

+54
-59
lines changed
Lines changed: 12 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,20 @@
11
import type { StorybookConfig } from '@storybook/sveltekit';
22

3-
import { join, dirname } from "path"
3+
import { join, dirname } from 'path';
44

55
/**
6-
* This function is used to resolve the absolute path of a package.
7-
* It is needed in projects that use Yarn PnP or are set up within a monorepo.
8-
*/
6+
* This function is used to resolve the absolute path of a package.
7+
* It is needed in projects that use Yarn PnP or are set up within a monorepo.
8+
*/
99
function getAbsolutePath(value: string): any {
10-
return dirname(require.resolve(join(value, 'package.json')))
10+
return dirname(require.resolve(join(value, 'package.json')));
1111
}
1212
const config: StorybookConfig = {
13-
"stories": [
14-
"../src/**/*.mdx",
15-
"../src/**/*.stories.@(js|ts|svelte)"
16-
],
17-
"addons": [
18-
getAbsolutePath('@storybook/addon-svelte-csf')
19-
],
20-
"framework": {
21-
"name": getAbsolutePath('@storybook/sveltekit'),
22-
"options": {}
23-
}
13+
stories: ['../src/**/*.mdx', '../src/**/*.stories.@(js|ts|svelte)'],
14+
addons: [getAbsolutePath('@storybook/addon-svelte-csf')],
15+
framework: {
16+
name: getAbsolutePath('@storybook/sveltekit'),
17+
options: {}
18+
}
2419
};
25-
export default config;
20+
export default config;
Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
1-
import type { Preview } from '@storybook/sveltekit'
2-
import "../src/app.css";
1+
import type { Preview } from '@storybook/sveltekit';
2+
import '../src/app.css';
33

44
const preview: Preview = {
5-
parameters: {
6-
controls: {
7-
matchers: {
8-
color: /(background|color)$/i,
9-
date: /Date$/i,
10-
},
11-
},
12-
},
5+
parameters: {
6+
controls: {
7+
matchers: {
8+
color: /(background|color)$/i,
9+
date: /Date$/i
10+
}
11+
}
12+
}
1313
};
1414

15-
export default preview;
15+
export default preview;
Lines changed: 28 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -1,36 +1,35 @@
11
@import 'tailwindcss';
22

3-
43
@theme {
5-
/* Custom theme */
6-
--color-primary: #8e52ff;
7-
--color-primary-100: #e8dcff;
8-
--color-primary-200: #d2baff;
9-
--color-primary-300: #bb97ff;
10-
--color-primary-400: #a575ff;
11-
--color-primary-500: #8e52ff;
4+
/* Custom theme */
5+
--color-primary: #8e52ff;
6+
--color-primary-100: #e8dcff;
7+
--color-primary-200: #d2baff;
8+
--color-primary-300: #bb97ff;
9+
--color-primary-400: #a575ff;
10+
--color-primary-500: #8e52ff;
1211

13-
--color-secondary: #73efd5;
14-
--color-secondary-100: #e3fcf7;
15-
--color-secondary-200: #c7f9ee;
16-
--color-secondary-300: #abf6e6;
17-
--color-secondary-400: #8ff2dd;
18-
--color-secondary-500: #73efd5;
12+
--color-secondary: #73efd5;
13+
--color-secondary-100: #e3fcf7;
14+
--color-secondary-200: #c7f9ee;
15+
--color-secondary-300: #abf6e6;
16+
--color-secondary-400: #8ff2dd;
17+
--color-secondary-500: #73efd5;
1918

20-
--color-white: #ffffff;
21-
--color-gray: #f5f5f5;
19+
--color-white: #ffffff;
20+
--color-gray: #f5f5f5;
2221

23-
--color-black: #1f1f1f;
24-
--color-black-100: #d2d2d2;
25-
--color-black-300: #a5a5a5;
26-
--color-black-500: #797979;
27-
--color-black-700: #4c4c4c;
28-
--color-black-900: #1f1f1f;
22+
--color-black: #1f1f1f;
23+
--color-black-100: #d2d2d2;
24+
--color-black-300: #a5a5a5;
25+
--color-black-500: #797979;
26+
--color-black-700: #4c4c4c;
27+
--color-black-900: #1f1f1f;
2928

30-
--color-danger: #ff5255;
31-
--color-danger-100: #ffdcdd;
32-
--color-danger-200: #ffb1a7;
33-
--color-danger-300: #ff968e;
34-
--color-danger-400: #ff7b77;
35-
--color-danger-500: #ff5255;
36-
}
29+
--color-danger: #ff5255;
30+
--color-danger-100: #ffdcdd;
31+
--color-danger-200: #ffb1a7;
32+
--color-danger-300: #ff968e;
33+
--color-danger-400: #ff7b77;
34+
--color-danger-500: #ff5255;
35+
}

platforms/blabsy/src/components/chat/chat-window.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,8 @@ export function ChatWindow(): JSX.Element {
119119
void Promise.all(
120120
unreadMessages.map((message) => markAsRead(message.id))
121121
);
122-
}});
122+
}
123+
});
123124

124125
const handleSubmit = async (e: React.FormEvent): Promise<void> => {
125126
e.preventDefault();

platforms/pictique/src/lib/types.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,4 +77,4 @@ export type GroupInfo = {
7777
id: string;
7878
name: string;
7979
avatar: string;
80-
};
80+
};

0 commit comments

Comments
 (0)