mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-23 19:49:50 +02:00
feat: move to css chunk 2
This commit is contained in:
1 parent
a2b67e215d
commit
6b8433c690
6 files changed
+19
-17
No files matched your search
@@ -1,3 +0,0 @@
|
||||
.blitzkit-theme {
|
||||
min-height: unset !important;
|
||||
}
|
||||
@@ -1,6 +1,5 @@
|
||||
import { Theme, type ThemeProps } from '@radix-ui/themes';
|
||||
import type { ReactNode } from 'react';
|
||||
import './index.css';
|
||||
|
||||
interface BlitzKitThemeProps extends ThemeProps {
|
||||
children: ReactNode;
|
||||
@@ -8,12 +7,14 @@ interface BlitzKitThemeProps extends ThemeProps {
|
||||
|
||||
export function BlitzKitTheme({
|
||||
children,
|
||||
className,
|
||||
style,
|
||||
...props
|
||||
}: BlitzKitThemeProps) {
|
||||
return (
|
||||
<Theme
|
||||
className="blitzkit-theme"
|
||||
style={{ minHeight: 'unset', ...style }}
|
||||
className={`blitzkit-theme ${className}`}
|
||||
grayColor="mauve"
|
||||
appearance="dark"
|
||||
panelBackground="solid"
|
||||
|
||||
Reference in new issue
Block a user