Skip to content

Commit

Permalink
fix: styling
Browse files Browse the repository at this point in the history
  • Loading branch information
mrevanzak committed May 3, 2024
1 parent 509a66b commit 13f9dbf
Show file tree
Hide file tree
Showing 5 changed files with 1,455 additions and 39 deletions.
2 changes: 1 addition & 1 deletion apps/web/src/components/signin-form.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ export function SigninForm() {
</div>
<Input id="password" type="password" required />
</div>
<Button type="submit" className="w-full">
<Button color="primary" type="submit" className="w-full">
Login
</Button>
<Button variant="bordered" className="w-full">
Expand Down
Binary file modified bun.lockb
Binary file not shown.
2 changes: 1 addition & 1 deletion packages/ui/src/theme.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ function ThemeToggle() {
const { setTheme } = useTheme();

return (
<Dropdown>
<Dropdown classNames={{ content: "min-w-24" }}>
<DropdownTrigger>
<Button variant="bordered" isIconOnly>
<SunIcon className="size-5 rotate-0 scale-100 transition-all dark:-rotate-90 dark:scale-0" />
Expand Down
9 changes: 2 additions & 7 deletions packages/ui/tailwind.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ export default {
darkMode: ["class"],
content: [
"src/**/*.{ts,tsx}",
"../../node_modules/@nextui-org/theme/dist/components/(button|table).js",
"../../node_modules/@nextui-org/theme/dist/components/(button|dropdown).js",
],
theme: {
container: {
Expand Down Expand Up @@ -76,10 +76,5 @@ export default {
},
},
},
plugins: [
animate,
nextui({
prefix: "nextui-",
}),
],
plugins: [animate, nextui()],
} satisfies Config;
Loading

0 comments on commit 13f9dbf

Please sign in to comment.