import type { LibraLayout } from '../../api/types'; const defaultStyles = (scheme?: 'light' | 'dark') => ` #root { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"; padding: 16px; font-size: 14px; background: ${scheme === 'light' ? '#ffffff' : '#18181a'}; } * { color: ${scheme === 'light' ? 'black' : 'white'}; } h1 { font-size: 20px; } `; const DefaultLayout: LibraLayout = ({ children, scheme }) => { if (!children) { return ( <>
You can customize this default view by creating a custom layout.
See github.com/jonambas/libra{' '} for more information.