Skip to content

Commit 9d790b7

Browse files
SutuSebastianSebastian Sutu
andauthored
fix prettier tailwind plugin + format code (#1170)
Co-authored-by: Sebastian Sutu <[email protected]>
1 parent 6154e8e commit 9d790b7

File tree

8 files changed

+10
-9
lines changed

8 files changed

+10
-9
lines changed

.prettierrc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
{
2+
"plugins": ["prettier-plugin-tailwindcss"],
23
"printWidth": 120,
34
"singleQuote": true,
45
"trailingComma": "all"

app/docs/layout.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,7 @@ function NewBadge({ children }: PropsWithChildren) {
208208
return (
209209
<span className="flex items-center gap-2">
210210
{children}
211-
<Badge color="cyan" className="px-1.5 h-4">
211+
<Badge color="cyan" className="h-4 px-1.5">
212212
New
213213
</Badge>
214214
</span>

examples/fileInput/index.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
export { root } from './fileInput.root';
1+
export { dropzone } from './fileInput.dropzone';
22
export { helper } from './fileInput.helper';
33
export { multiple } from './fileInput.multiple';
4+
export { root } from './fileInput.root';
45
export { sizes } from './fileInput.sizes';
5-
export { dropzone } from './fileInput.dropzone';

examples/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@ export * as floatingLabel from './floatingLabel';
1616
export * as footer from './footer';
1717
export * as forms from './forms';
1818
export * as kbd from './kbd';
19-
export * as listGroup from './listGroup';
2019
export * as list from './list';
20+
export * as listGroup from './listGroup';
2121
export * as modal from './modal';
2222
export * as navbar from './navbar';
2323
export * as pagination from './pagination';

examples/list/index.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
export { root } from './list.root';
2-
export { unstyled } from './list.unstyled';
31
export { nested } from './list.nested';
42
export { ordered } from './list.ordered';
3+
export { root } from './list.root';
4+
export { unstyled } from './list.unstyled';

src/components/Flowbite/FlowbiteTheme.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@ import type { FlowbiteFooterTheme } from '../Footer';
1818
import type { FlowbiteHelperTextTheme } from '../HelperText';
1919
import type { FlowbiteKbdTheme } from '../Kbd';
2020
import type { FlowbiteLabelTheme } from '../Label';
21-
import type { FlowbiteListGroupTheme } from '../ListGroup';
2221
import type { FlowbiteListTheme } from '../List';
22+
import type { FlowbiteListGroupTheme } from '../ListGroup';
2323
import type { FlowbiteModalTheme } from '../Modal';
2424
import type { FlowbiteNavbarTheme } from '../Navbar';
2525
import type { FlowbitePaginationTheme } from '../Pagination';

src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@ export * from './components/Footer';
2020
export * from './components/HelperText';
2121
export * from './components/Kbd';
2222
export * from './components/Label';
23-
export * from './components/ListGroup';
2423
export * from './components/List';
24+
export * from './components/ListGroup';
2525
export * from './components/Modal';
2626
export * from './components/Navbar';
2727
export * from './components/Pagination';

src/theme.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@ import { footerTheme } from './components/Footer/theme';
1818
import { helperTextTheme } from './components/HelperText/theme';
1919
import { kbdTheme } from './components/Kbd/theme';
2020
import { labelTheme } from './components/Label/theme';
21-
import { listGroupTheme } from './components/ListGroup/theme';
2221
import { listTheme } from './components/List/theme';
22+
import { listGroupTheme } from './components/ListGroup/theme';
2323
import { modalTheme } from './components/Modal/theme';
2424
import { navbarTheme } from './components/Navbar/theme';
2525
import { paginationTheme } from './components/Pagination/theme';

0 commit comments

Comments
 (0)