import { DefaultVisibility } from "./dtos/shared/DefaultVisibility"; const DEFAULT_PAGE_SIZE = 10; const DEFAULT_ROW_VISIBILITY = DefaultVisibility.Tenant; const MAX_PAGE_SIZE = 100; const MAX_EXPORT_PAGE_SIZE = 100000; const PAGE_SIZE_OPTIONS = [5, 10, 25, 50, 100]; const VERSION = "1.7.0"; // HiveGrid ships without a dark theme for now: disabling this hides the // light/dark toggle in the profile dropdowns (SubframeAppShell + nav-user) // and keeps the app/admin area from applying the `dark` root class (root.tsx). export const DARK_MODE_IN_APP = false; // export const DARK_SIDEBAR_IN_LIGHT_MODE = true; export default { DEFAULT_PAGE_SIZE, DEFAULT_ROW_VISIBILITY, MAX_PAGE_SIZE, MAX_EXPORT_PAGE_SIZE, PAGE_SIZE_OPTIONS, VERSION, }; export const DARK_SIDEBAR_IN_LIGHT_MODE = ({ layout }: { layout?: "app" | "admin" | "docs" }) => { if (layout === "admin") { return true; } return false; };