forked from github/plane
4c2cb2368a
* chore: store various shades of accent color * refactor: custom theme selector * refactor: custom theme selector * chore: update custom theme input labels * fix: color generator function logic * fix: accent color preloaded data * chore: new theming structure * chore: update shades calculation logic * refactor: variable names * chore: update color scheming * chore: new color scheming * refactor: themes folder structure * chore: update classnames to the new ones * chore: update static colors * chore: sidebar link colors * chore: placeholder color * chore: update border classnames
18 lines
395 B
TypeScript
18 lines
395 B
TypeScript
type Props = {
|
|
children: React.ReactNode;
|
|
noPadding?: boolean;
|
|
bg?: "primary" | "secondary";
|
|
noHeader?: boolean;
|
|
breadcrumbs?: JSX.Element;
|
|
left?: JSX.Element;
|
|
right?: JSX.Element;
|
|
};
|
|
|
|
const DefaultLayout: React.FC<Props> = ({ children }) => (
|
|
<div className="h-screen w-full overflow-auto bg-custom-background-90">
|
|
<>{children}</>
|
|
</div>
|
|
);
|
|
|
|
export default DefaultLayout;
|