mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-23 19:49:50 +02:00
feat: move to css chunk 1
This commit is contained in:
1 parent
42c1cb653a
commit
a2b67e215d
9 files changed
+57
-55
No files matched your search
@@ -0,0 +1,3 @@
|
||||
.blitzkit-theme {
|
||||
min-height: unset !important;
|
||||
}
|
||||
@@ -0,0 +1,29 @@
|
||||
import { Theme, type ThemeProps } from '@radix-ui/themes';
|
||||
import type { ReactNode } from 'react';
|
||||
import './index.css';
|
||||
|
||||
interface BlitzKitThemeProps extends ThemeProps {
|
||||
children: ReactNode;
|
||||
}
|
||||
|
||||
export function BlitzKitTheme({
|
||||
children,
|
||||
style,
|
||||
...props
|
||||
}: BlitzKitThemeProps) {
|
||||
return (
|
||||
<Theme
|
||||
className="blitzkit-theme"
|
||||
grayColor="mauve"
|
||||
appearance="dark"
|
||||
panelBackground="solid"
|
||||
radius="full"
|
||||
accentColor="amber"
|
||||
suppressHydrationWarning
|
||||
suppressContentEditableWarning
|
||||
{...props}
|
||||
>
|
||||
{children}
|
||||
</Theme>
|
||||
);
|
||||
}
|
||||
Reference in new issue
Block a user