17 lines
362 B
TypeScript
17 lines
362 B
TypeScript
import type React from 'react';
|
|
import { Theme } from '@radix-ui/themes';
|
|
|
|
export type AppThemeProps = {
|
|
children: React.ReactNode;
|
|
};
|
|
|
|
export function AppTheme({ children }: AppThemeProps) {
|
|
return (
|
|
<Theme accentColor="iris" grayColor="slate" panelBackground="translucent" radius="large">
|
|
{children}
|
|
</Theme>
|
|
);
|
|
}
|
|
|
|
export default AppTheme;
|