Security News
Oracle Drags Its Feet in the JavaScript Trademark Dispute
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
@vaadin/vaadin-lumo-styles
Advanced tools
Lumo is a design system foundation for modern web applications, used by Vaadin components
@vaadin/vaadin-lumo-styles is a package that provides a set of customizable CSS styles and design tokens for Vaadin components. It is part of the Vaadin platform, which is used for building modern web applications. The package includes a variety of styles such as typography, color schemes, and spacing utilities that can be applied to enhance the appearance of web components.
Typography
The typography feature provides a set of CSS custom properties for font families, sizes, and weights. These can be used to ensure consistent typography across your application.
import '@vaadin/vaadin-lumo-styles/typography.js';
// Usage in HTML
// <style>
// h1 {
// font-family: var(--lumo-font-family);
// font-size: var(--lumo-font-size-xl);
// }
// </style>
Color Schemes
The color schemes feature offers a range of CSS custom properties for defining primary, secondary, and contrast colors. This allows for easy theming and color management in your application.
import '@vaadin/vaadin-lumo-styles/color.js';
// Usage in HTML
// <style>
// .primary-button {
// background-color: var(--lumo-primary-color);
// color: var(--lumo-primary-contrast-color);
// }
// </style>
Spacing Utilities
Spacing utilities provide CSS custom properties for margins and paddings, enabling consistent spacing throughout your application.
import '@vaadin/vaadin-lumo-styles/spacing.js';
// Usage in HTML
// <style>
// .content {
// padding: var(--lumo-space-m);
// margin: var(--lumo-space-l);
// }
// </style>
Bootstrap is a popular front-end framework that provides a wide range of CSS styles and components for building responsive web applications. Unlike @vaadin/vaadin-lumo-styles, which is specifically designed for Vaadin components, Bootstrap offers a more general-purpose set of styles and components that can be used with any HTML elements.
Material Components for the web is a library that implements Google's Material Design guidelines. It provides a set of UI components and styles similar to @vaadin/vaadin-lumo-styles but follows the Material Design principles. It is suitable for developers looking to implement Material Design in their web applications.
Tailwind CSS is a utility-first CSS framework that provides low-level utility classes for building custom designs. Unlike @vaadin/vaadin-lumo-styles, which offers predefined styles for Vaadin components, Tailwind CSS allows developers to create custom designs by composing utility classes.
Lumo – ✨ enchantment (Finnish) and 🔆 light (Esperanto)
Lumo is a design system foundation for modern, beautiful and accessible web applications.
Lumo contains foundational styles – typography, colors, visual style, sizing & spacing and icons – that components and applications can use to achieve a consistent visual design.
The implementation of Lumo is based on CSS custom properties, and Polymer style modules. Note, that you don’t need to use Polymer to build your application in order to use Lumo.
🚧 Documentation will eventually be deployed at https://vaadin.com 🚧
For documentation and instructions how to get started, use the “Documentation” link in the latest release notes.
Lumo is maintained as a part of the Vaadin platform.
Vaadin components is a collection of web components that use the Lumo design language as their default theme. The Vaadin app starters are also based on Lumo.
Cross-browser Testing Platform and Open Source <3 Provided by Sauce Labs.
Reporting issues and feature request is a great way to help! If you have questions, join the Vaadin components chat – we’re happy to answer Lumo related questions there.
Fork the vaadin-lumo-styles
repository and clone it locally.
When in the vaadin-lumo-styles
directory, run npm install
and then bower install
to install dependencies.
Run npm start
, browser will automatically open the component API documentation.
You can also open demo/documentation by adding demo to the URL, for example:
Open icons/Lumo Icons.sketch
using Sketch
Follow the instructions in the Sketch document
Run npm install
to install dependencies
Run gulp icons
to generate new versions of iconset.html
and font-icons.html
We are using ESLint for linting JavaScript code. You can check if your code is following our standards by running gulp lint
, which will automatically lint all .js
files as well as JavaScript snippets inside .html
files. CSS inside .html
files is also linted at the same time.
gulp lint
Use npm version <new version>
to update the version number in package.json
and in other relevant places such as version.html
, when preparing to release a new version.
Apache License 2.0
FAQs
Lumo is a design system foundation for modern web applications, used by Vaadin components
The npm package @vaadin/vaadin-lumo-styles receives a total of 0 weekly downloads. As such, @vaadin/vaadin-lumo-styles popularity was classified as not popular.
We found that @vaadin/vaadin-lumo-styles demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 12 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Security News
The Linux Foundation is warning open source developers that compliance with global sanctions is mandatory, highlighting legal risks and restrictions on contributions.
Security News
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.