package.theme.lumo.vaadin-horizontal-layout-styles.js Maven / Gradle / Ivy
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);
}
`;
registerStyles('vaadin-horizontal-layout', horizontalLayout, { moduleId: 'lumo-horizontal-layout' });