@mui/material
Version:
Material UI is an open-source React component library that implements Google's Material Design. It's comprehensive and can be used in production out of the box.
7 lines • 471 B
TypeScript
import type { DensityEnhancedTheme, DensityScaleOverrides, EnhanceableTheme } from "./densityScale.js";
/**
* Make every component density-aware on the one shipped scale (`scale`
* overrides any step). Apply LAST, on the final composed theme — later
* `createTheme()` wraps rebuild the vars machinery and drop the emitted scale.
*/
export default function enhanceDensity<T extends EnhanceableTheme>(theme: T, scale?: DensityScaleOverrides): DensityEnhancedTheme<T>;