package.theme.lumo.vaadin-horizontal-layout-styles.js Maven / Gradle / Ivy
The newest version!
import '@vaadin/vaadin-lumo-styles/spacing.js';
import { css, registerStyles } from '@vaadin/vaadin-themable-mixin/vaadin-themable-mixin.js';
const horizontalLayout = css`
:host([theme~='margin']) {
margin: var(--lumo-space-m);
}
:host([theme~='padding']) {
padding: var(--lumo-space-m);
}
:host([theme~='spacing-xs']) {
gap: var(--lumo-space-xs);
}
:host([theme~='spacing-s']) {
gap: var(--lumo-space-s);
}
:host([theme~='spacing']) {
gap: var(--lumo-space-m);
}
:host([theme~='spacing-l']) {
gap: var(--lumo-space-l);
}
:host([theme~='spacing-xl']) {
gap: var(--lumo-space-xl);
}
:host([theme~='wrap']) {
flex-wrap: wrap;
}
`;
registerStyles('vaadin-horizontal-layout', horizontalLayout, { moduleId: 'lumo-horizontal-layout' });
© 2015 - 2024 Weber Informatics LLC | Privacy Policy