The `lumo-css-framework` package provides a set of utility-first CSS classes and foundational styles derived from Vaadin's Lumo design system. It was designed to help developers build web applications with a consistent Vaadin Lumo theme, offering customizable style properties like colors, fonts, sizing, spacing, and icons, along with dark and compact variants. While this specific npm package (version 4.0.10, last updated over five years ago) saw use in older Vaadin projects (pre-Vaadin 20), it is now considered deprecated. For current Vaadin applications (Vaadin 20+), the utility classes and Lumo theme are either built directly into the Vaadin framework or available through the actively maintained `@vaadin/vaadin-lumo-styles` package, which is part of the broader `web-components` monorepository and receives regular updates (current stable version 24.10.0). Users are strongly advised against using this standalone `lumo-css-framework` package for new projects or upgrading existing ones, and should instead rely on the integrated Vaadin theming or `@vaadin/vaadin-lumo-styles` for web component-based projects. Key differentiators of Lumo include its deep integration with Vaadin components, robust CSS custom property system for theming, and comprehensive set of utility classes for flexible layouting, which conform to some Tailwind CSS patterns.
npm install lumo-css-frameworkVerified import paths — ran on the pinned version, not inferred.
Demonstrates how to import the Lumo CSS framework's styles in a Vaadin project's main stylesheet and provides context on its deprecation.
For new Vaadin projects (Vaadin 20+), avoid `lumo-css-framework`. Rely on Vaadin's built-in theming system. For web component projects, use `npm install @vaadin/vaadin-lumo-styles`. Refer to Vaadin's official documentation for migration guidance and modern usage patterns.
If migrating to Vaadin 25+ (or using Aura theme), carefully review the Vaadin migration guides for Lumo to Aura. Be prepared to update CSS variable names and potentially switch to other utility class systems like Tailwind CSS if not using Vaadin's built-in options.
Always import CSS files using side-effect imports (e.g., `import 'lumo-css-framework/all-classes.css';`) in JavaScript/TypeScript bundler setups, or use `<link>` tags in HTML or `@import` rules in CSS files.
Ensure `lumo-css-framework` is listed in your `package.json` and installed via `npm install`. For Vaadin Flow projects, check that the `@NpmDependency` annotation (if used) is correct, or if you're on Vaadin 20+, remove this dependency and rely on built-in Lumo support or `@vaadin/vaadin-lumo-styles`.
Verify that `all-classes.css` or the appropriate Lumo base styles are correctly imported at the beginning of your main stylesheet. If using a custom Vaadin theme, ensure the theme setup is correct and not inadvertently blocking Lumo's variable definitions. Check Vaadin documentation for how to properly extend or override Lumo variables.
No dependency data recorded yet.